From 3ffaaa341260f11efcc9ef6255a346fd4872c1b4 Mon Sep 17 00:00:00 2001 From: David Lick Date: Fri, 24 Nov 2023 09:36:37 -0500 Subject: [PATCH] get and store last run time in ssm --- Makefile | 8 +- index.mjs | 47 +- node_modules/.package-lock.json | 64 +- node_modules/@aws-sdk/client-lambda/README.md | 798 -- .../@aws-sdk/client-lambda/dist-cjs/Lambda.js | 143 - .../GetFunctionCodeSigningConfigCommand.js | 51 - .../GetProvisionedConcurrencyConfigCommand.js | 51 - .../dist-cjs/commands/InvokeCommand.js | 52 - .../InvokeWithResponseStreamCommand.js | 52 - .../ListEventSourceMappingsCommand.js | 51 - .../PutFunctionCodeSigningConfigCommand.js | 51 - .../PutFunctionEventInvokeConfigCommand.js | 51 - .../PutProvisionedConcurrencyConfigCommand.js | 51 - .../RemoveLayerVersionPermissionCommand.js | 51 - .../dist-cjs/commands/UpdateAliasCommand.js | 51 - .../UpdateCodeSigningConfigCommand.js | 51 - .../commands/UpdateFunctionCodeCommand.js | 52 - .../UpdateFunctionEventInvokeConfigCommand.js | 51 - .../UpdateFunctionUrlConfigCommand.js | 51 - .../client-lambda/dist-cjs/commands/index.js | 69 - .../dist-cjs/endpoint/ruleset.js | 7 - .../@aws-sdk/client-lambda/dist-cjs/index.js | 13 - .../client-lambda/dist-cjs/models/models_0.js | 915 -- .../pagination/ListAliasesPaginator.js | 29 - .../ListCodeSigningConfigsPaginator.js | 29 - .../ListEventSourceMappingsPaginator.js | 29 - ...ListFunctionEventInvokeConfigsPaginator.js | 29 - .../ListFunctionUrlConfigsPaginator.js | 29 - ...stFunctionsByCodeSigningConfigPaginator.js | 29 - .../pagination/ListFunctionsPaginator.js | 29 - .../pagination/ListLayerVersionsPaginator.js | 29 - .../pagination/ListLayersPaginator.js | 29 - ...tProvisionedConcurrencyConfigsPaginator.js | 29 - .../ListVersionsByFunctionPaginator.js | 29 - .../dist-cjs/pagination/index.js | 15 - .../dist-cjs/protocols/Aws_restJson1.js | 5784 ---------- .../client-lambda/dist-cjs/waiters/index.js | 9 - .../dist-cjs/waiters/waitForFunctionActive.js | 54 - .../waiters/waitForFunctionActiveV2.js | 54 - .../dist-cjs/waiters/waitForFunctionExists.js | 31 - .../waiters/waitForFunctionUpdated.js | 54 - .../waiters/waitForFunctionUpdatedV2.js | 54 - .../waiters/waitForPublishedVersionActive.js | 54 - .../@aws-sdk/client-lambda/dist-es/Lambda.js | 139 - .../dist-es/commands/CreateFunctionCommand.js | 48 - .../commands/GetFunctionUrlConfigCommand.js | 47 - .../commands/GetLayerVersionByArnCommand.js | 47 - .../commands/GetLayerVersionCommand.js | 47 - .../commands/GetLayerVersionPolicyCommand.js | 47 - .../InvokeWithResponseStreamCommand.js | 48 - .../dist-es/commands/ListAliasesCommand.js | 47 - .../ListEventSourceMappingsCommand.js | 47 - .../commands/ListFunctionUrlConfigsCommand.js | 47 - .../dist-es/commands/ListFunctionsCommand.js | 48 - .../commands/ListVersionsByFunctionCommand.js | 48 - .../dist-es/commands/PublishVersionCommand.js | 48 - .../commands/PutFunctionConcurrencyCommand.js | 47 - .../PutProvisionedConcurrencyConfigCommand.js | 47 - .../RemoveLayerVersionPermissionCommand.js | 47 - .../commands/RemovePermissionCommand.js | 47 - .../dist-es/commands/TagResourceCommand.js | 47 - .../dist-es/commands/UntagResourceCommand.js | 47 - .../dist-es/commands/UpdateAliasCommand.js | 47 - .../UpdateCodeSigningConfigCommand.js | 47 - .../commands/UpdateFunctionCodeCommand.js | 48 - .../UpdateFunctionEventInvokeConfigCommand.js | 47 - .../UpdateFunctionUrlConfigCommand.js | 47 - .../client-lambda/dist-es/commands/index.js | 66 - .../client-lambda/dist-es/endpoint/ruleset.js | 4 - .../client-lambda/dist-es/models/index.js | 1 - .../client-lambda/dist-es/models/models_0.js | 849 -- .../pagination/ListAliasesPaginator.js | 25 - .../ListCodeSigningConfigsPaginator.js | 25 - ...stFunctionsByCodeSigningConfigPaginator.js | 25 - .../dist-es/pagination/ListLayersPaginator.js | 25 - ...tProvisionedConcurrencyConfigsPaginator.js | 25 - .../client-lambda/dist-es/pagination/index.js | 12 - .../dist-es/protocols/Aws_restJson1.js | 5647 ---------- .../client-lambda/dist-es/waiters/index.js | 6 - .../dist-es/waiters/waitForFunctionActive.js | 49 - .../waiters/waitForFunctionActiveV2.js | 49 - .../dist-es/waiters/waitForFunctionExists.js | 26 - .../dist-es/waiters/waitForFunctionUpdated.js | 49 - .../waiters/waitForFunctionUpdatedV2.js | 49 - .../waiters/waitForPublishedVersionActive.js | 49 - .../client-lambda/dist-types/Lambda.d.ts | 536 - .../dist-types/LambdaClient.d.ts | 304 - .../AddLayerVersionPermissionCommand.d.ts | 107 - .../commands/AddPermissionCommand.d.ts | 117 - .../commands/CreateAliasCommand.d.ts | 110 - .../CreateCodeSigningConfigCommand.d.ts | 102 - .../CreateEventSourceMappingCommand.d.ts | 329 - .../commands/CreateFunctionCommand.d.ts | 312 - .../CreateFunctionUrlConfigCommand.d.ts | 128 - .../commands/DeleteAliasCommand.d.ts | 84 - .../DeleteCodeSigningConfigCommand.d.ts | 84 - .../DeleteEventSourceMappingCommand.d.ts | 161 - ...eleteFunctionCodeSigningConfigCommand.d.ts | 89 - .../commands/DeleteFunctionCommand.d.ts | 91 - .../DeleteFunctionConcurrencyCommand.d.ts | 86 - ...eleteFunctionEventInvokeConfigCommand.d.ts | 88 - .../DeleteFunctionUrlConfigCommand.d.ts | 85 - .../commands/DeleteLayerVersionCommand.d.ts | 80 - ...teProvisionedConcurrencyConfigCommand.d.ts | 87 - .../commands/GetAccountSettingsCommand.d.ts | 87 - .../dist-types/commands/GetAliasCommand.d.ts | 95 - .../commands/GetCodeSigningConfigCommand.d.ts | 95 - .../GetEventSourceMappingCommand.d.ts | 152 - .../GetFunctionCodeSigningConfigCommand.d.ts | 86 - .../commands/GetFunctionCommand.d.ts | 202 - .../GetFunctionConcurrencyCommand.d.ts | 86 - .../GetFunctionConfigurationCommand.d.ts | 188 - .../GetFunctionEventInvokeConfigCommand.d.ts | 98 - .../commands/GetFunctionUrlConfigCommand.d.ts | 107 - .../commands/GetLayerVersionByArnCommand.d.ts | 105 - .../commands/GetLayerVersionCommand.d.ts | 106 - .../GetLayerVersionPolicyCommand.d.ts | 88 - .../dist-types/commands/GetPolicyCommand.d.ts | 87 - ...etProvisionedConcurrencyConfigCommand.d.ts | 94 - .../GetRuntimeManagementConfigCommand.d.ts | 90 - .../commands/InvokeAsyncCommand.d.ts | 95 - .../dist-types/commands/InvokeCommand.d.ts | 225 - .../InvokeWithResponseStreamCommand.d.ts | 202 - .../commands/ListAliasesCommand.d.ts | 103 - .../ListCodeSigningConfigsCommand.d.ts | 98 - .../ListEventSourceMappingsCommand.d.ts | 160 - ...ListFunctionEventInvokeConfigsCommand.d.ts | 104 - .../ListFunctionUrlConfigsCommand.d.ts | 113 - ...stFunctionsByCodeSigningConfigCommand.d.ts | 88 - .../commands/ListFunctionsCommand.d.ts | 198 - .../commands/ListLayerVersionsCommand.d.ts | 107 - .../commands/ListLayersCommand.d.ts | 109 - ...tProvisionedConcurrencyConfigsCommand.d.ts | 98 - .../dist-types/commands/ListTagsCommand.d.ts | 88 - .../ListVersionsByFunctionCommand.d.ts | 193 - .../commands/PublishLayerVersionCommand.d.ts | 123 - .../commands/PublishVersionCommand.d.ts | 204 - .../PutFunctionCodeSigningConfigCommand.d.ts | 94 - .../PutFunctionConcurrencyCommand.d.ts | 97 - .../PutFunctionEventInvokeConfigCommand.d.ts | 120 - ...utProvisionedConcurrencyConfigCommand.d.ts | 95 - .../PutRuntimeManagementConfigCommand.d.ts | 94 - .../RemoveLayerVersionPermissionCommand.d.ts | 92 - .../commands/RemovePermissionCommand.d.ts | 91 - .../commands/TagResourceCommand.d.ts | 89 - .../commands/UntagResourceCommand.d.ts | 89 - .../commands/UpdateAliasCommand.d.ts | 110 - .../UpdateCodeSigningConfigCommand.d.ts | 105 - .../UpdateEventSourceMappingCommand.d.ts | 313 - .../commands/UpdateFunctionCodeCommand.d.ts | 232 - .../UpdateFunctionConfigurationCommand.d.ts | 272 - ...pdateFunctionEventInvokeConfigCommand.d.ts | 111 - .../UpdateFunctionUrlConfigCommand.d.ts | 128 - .../dist-types/commands/index.d.ts | 66 - .../client-lambda/dist-types/index.d.ts | 80 - .../dist-types/models/index.d.ts | 1 - .../dist-types/models/models_0.d.ts | 6378 ----------- .../dist-types/pagination/Interfaces.d.ts | 8 - .../pagination/ListAliasesPaginator.d.ts | 7 - .../ListCodeSigningConfigsPaginator.d.ts | 7 - .../ListEventSourceMappingsPaginator.d.ts | 7 - ...stFunctionEventInvokeConfigsPaginator.d.ts | 7 - .../ListFunctionUrlConfigsPaginator.d.ts | 7 - ...FunctionsByCodeSigningConfigPaginator.d.ts | 7 - .../pagination/ListFunctionsPaginator.d.ts | 7 - .../ListLayerVersionsPaginator.d.ts | 7 - .../pagination/ListLayersPaginator.d.ts | 7 - ...rovisionedConcurrencyConfigsPaginator.d.ts | 7 - .../ListVersionsByFunctionPaginator.d.ts | 7 - .../dist-types/pagination/index.d.ts | 12 - .../dist-types/protocols/Aws_restJson1.d.ts | 596 - .../dist-types/ts3.4/Lambda.d.ts | 1139 -- .../dist-types/ts3.4/LambdaClient.d.ts | 522 - .../AddLayerVersionPermissionCommand.d.ts | 42 - .../CreateCodeSigningConfigCommand.d.ts | 42 - .../CreateEventSourceMappingCommand.d.ts | 42 - .../CreateFunctionUrlConfigCommand.d.ts | 42 - .../ts3.4/commands/DeleteAliasCommand.d.ts | 33 - .../DeleteCodeSigningConfigCommand.d.ts | 42 - .../DeleteEventSourceMappingCommand.d.ts | 42 - ...eleteFunctionCodeSigningConfigCommand.d.ts | 38 - .../ts3.4/commands/DeleteFunctionCommand.d.ts | 33 - .../DeleteFunctionConcurrencyCommand.d.ts | 38 - ...eleteFunctionEventInvokeConfigCommand.d.ts | 38 - .../DeleteFunctionUrlConfigCommand.d.ts | 38 - .../commands/DeleteLayerVersionCommand.d.ts | 34 - ...teProvisionedConcurrencyConfigCommand.d.ts | 38 - .../commands/GetAccountSettingsCommand.d.ts | 39 - .../GetEventSourceMappingCommand.d.ts | 42 - .../GetFunctionCodeSigningConfigCommand.d.ts | 42 - .../GetFunctionConcurrencyCommand.d.ts | 42 - .../GetFunctionConfigurationCommand.d.ts | 42 - .../GetFunctionEventInvokeConfigCommand.d.ts | 42 - .../GetLayerVersionPolicyCommand.d.ts | 42 - ...etProvisionedConcurrencyConfigCommand.d.ts | 42 - .../GetRuntimeManagementConfigCommand.d.ts | 42 - .../ts3.4/commands/InvokeAsyncCommand.d.ts | 42 - .../ts3.4/commands/InvokeCommand.d.ts | 49 - .../InvokeWithResponseStreamCommand.d.ts | 49 - .../ts3.4/commands/ListAliasesCommand.d.ts | 35 - .../ListEventSourceMappingsCommand.d.ts | 42 - ...ListFunctionEventInvokeConfigsCommand.d.ts | 42 - .../ListFunctionUrlConfigsCommand.d.ts | 42 - ...stFunctionsByCodeSigningConfigCommand.d.ts | 42 - ...tProvisionedConcurrencyConfigsCommand.d.ts | 42 - .../ListVersionsByFunctionCommand.d.ts | 42 - .../PutFunctionCodeSigningConfigCommand.d.ts | 42 - .../PutFunctionConcurrencyCommand.d.ts | 39 - .../PutFunctionEventInvokeConfigCommand.d.ts | 42 - ...utProvisionedConcurrencyConfigCommand.d.ts | 42 - .../PutRuntimeManagementConfigCommand.d.ts | 42 - .../RemoveLayerVersionPermissionCommand.d.ts | 38 - .../commands/RemovePermissionCommand.d.ts | 33 - .../ts3.4/commands/TagResourceCommand.d.ts | 33 - .../ts3.4/commands/UntagResourceCommand.d.ts | 33 - .../UpdateCodeSigningConfigCommand.d.ts | 42 - .../UpdateEventSourceMappingCommand.d.ts | 42 - .../commands/UpdateFunctionCodeCommand.d.ts | 39 - .../UpdateFunctionConfigurationCommand.d.ts | 42 - ...pdateFunctionEventInvokeConfigCommand.d.ts | 42 - .../UpdateFunctionUrlConfigCommand.d.ts | 42 - .../dist-types/ts3.4/commands/index.d.ts | 66 - .../dist-types/ts3.4/models/index.d.ts | 1 - .../dist-types/ts3.4/models/models_0.d.ts | 1587 --- .../ts3.4/pagination/Interfaces.d.ts | 5 - .../pagination/ListAliasesPaginator.d.ts | 11 - .../ListCodeSigningConfigsPaginator.d.ts | 11 - .../ListEventSourceMappingsPaginator.d.ts | 11 - ...stFunctionEventInvokeConfigsPaginator.d.ts | 11 - .../ListFunctionUrlConfigsPaginator.d.ts | 11 - ...FunctionsByCodeSigningConfigPaginator.d.ts | 11 - .../pagination/ListFunctionsPaginator.d.ts | 11 - .../ListLayerVersionsPaginator.d.ts | 11 - .../ts3.4/pagination/ListLayersPaginator.d.ts | 11 - ...rovisionedConcurrencyConfigsPaginator.d.ts | 11 - .../ListVersionsByFunctionPaginator.d.ts | 11 - .../dist-types/ts3.4/pagination/index.d.ts | 12 - .../ts3.4/protocols/Aws_restJson1.d.ts | 800 -- .../dist-types/ts3.4/waiters/index.d.ts | 6 - .../ts3.4/waiters/waitForFunctionActive.d.ts | 11 - .../waiters/waitForFunctionActiveV2.d.ts | 11 - .../ts3.4/waiters/waitForFunctionExists.d.ts | 11 - .../ts3.4/waiters/waitForFunctionUpdated.d.ts | 11 - .../waiters/waitForFunctionUpdatedV2.d.ts | 11 - .../waitForPublishedVersionActive.d.ts | 11 - .../dist-types/waiters/index.d.ts | 6 - .../waiters/waitForFunctionActive.d.ts | 14 - .../waiters/waitForFunctionActiveV2.d.ts | 14 - .../waiters/waitForFunctionExists.d.ts | 14 - .../waiters/waitForFunctionUpdated.d.ts | 14 - .../waiters/waitForFunctionUpdatedV2.d.ts | 14 - .../waitForPublishedVersionActive.d.ts | 14 - .../{client-lambda => client-ssm}/LICENSE | 0 node_modules/@aws-sdk/client-ssm/README.md | 1352 +++ .../@aws-sdk/client-ssm/dist-cjs/SSM.js | 289 + .../dist-cjs/SSMClient.js} | 14 +- .../commands/AddTagsToResourceCommand.js} | 22 +- .../AssociateOpsItemRelatedItemCommand.js} | 22 +- .../commands/CancelCommandCommand.js} | 22 +- ...ancelMaintenanceWindowExecutionCommand.js} | 22 +- .../commands/CreateActivationCommand.js | 51 + .../CreateAssociationBatchCommand.js} | 26 +- .../commands/CreateAssociationCommand.js} | 26 +- .../commands/CreateDocumentCommand.js | 51 + .../CreateMaintenanceWindowCommand.js | 52 + .../commands/CreateOpsItemCommand.js} | 22 +- .../commands/CreateOpsMetadataCommand.js | 51 + .../commands/CreatePatchBaselineCommand.js} | 24 +- .../CreateResourceDataSyncCommand.js} | 22 +- .../commands/DeleteActivationCommand.js | 51 + .../commands/DeleteAssociationCommand.js | 51 + .../commands/DeleteDocumentCommand.js | 51 + .../commands/DeleteInventoryCommand.js} | 22 +- .../DeleteMaintenanceWindowCommand.js} | 22 +- .../commands/DeleteOpsItemCommand.js} | 22 +- .../commands/DeleteOpsMetadataCommand.js | 51 + .../commands/DeleteParameterCommand.js} | 22 +- .../commands/DeleteParametersCommand.js | 51 + .../commands/DeletePatchBaselineCommand.js | 51 + .../DeleteResourceDataSyncCommand.js} | 22 +- .../commands/DeleteResourcePolicyCommand.js} | 22 +- .../DeregisterManagedInstanceCommand.js} | 22 +- ...gisterPatchBaselineForPatchGroupCommand.js | 51 + ...isterTargetFromMaintenanceWindowCommand.js | 51 + ...egisterTaskFromMaintenanceWindowCommand.js | 51 + .../commands/DescribeActivationsCommand.js | 51 + .../commands/DescribeAssociationCommand.js} | 24 +- ...cribeAssociationExecutionTargetsCommand.js | 51 + .../DescribeAssociationExecutionsCommand.js | 51 + .../DescribeAutomationExecutionsCommand.js} | 22 +- ...DescribeAutomationStepExecutionsCommand.js | 51 + .../DescribeAvailablePatchesCommand.js} | 22 +- .../commands/DescribeDocumentCommand.js} | 22 +- .../DescribeDocumentPermissionCommand.js} | 22 +- ...ibeEffectiveInstanceAssociationsCommand.js | 51 + ...EffectivePatchesForPatchBaselineCommand.js | 51 + ...cribeInstanceAssociationsStatusCommand.js} | 22 +- .../DescribeInstanceInformationCommand.js} | 22 +- .../DescribeInstancePatchStatesCommand.js | 52 + ...InstancePatchStatesForPatchGroupCommand.js | 52 + .../DescribeInstancePatchesCommand.js} | 22 +- .../DescribeInventoryDeletionsCommand.js} | 22 +- ...ceWindowExecutionTaskInvocationsCommand.js | 52 + ...eMaintenanceWindowExecutionTasksCommand.js | 51 + ...cribeMaintenanceWindowExecutionsCommand.js | 51 + ...scribeMaintenanceWindowScheduleCommand.js} | 22 +- ...DescribeMaintenanceWindowTargetsCommand.js | 52 + .../DescribeMaintenanceWindowTasksCommand.js | 52 + .../DescribeMaintenanceWindowsCommand.js} | 24 +- ...cribeMaintenanceWindowsForTargetCommand.js | 51 + .../commands/DescribeOpsItemsCommand.js | 51 + .../commands/DescribeParametersCommand.js} | 22 +- .../DescribePatchBaselinesCommand.js} | 22 +- .../DescribePatchGroupStateCommand.js | 51 + .../commands/DescribePatchGroupsCommand.js | 51 + .../DescribePatchPropertiesCommand.js | 51 + .../commands/DescribeSessionsCommand.js | 51 + .../DisassociateOpsItemRelatedItemCommand.js} | 22 +- .../GetAutomationExecutionCommand.js} | 22 +- .../commands/GetCalendarStateCommand.js | 51 + .../commands/GetCommandInvocationCommand.js} | 22 +- .../commands/GetConnectionStatusCommand.js | 51 + .../GetDefaultPatchBaselineCommand.js | 51 + ...ployablePatchSnapshotForInstanceCommand.js | 52 + .../dist-cjs/commands/GetDocumentCommand.js} | 22 +- .../dist-cjs/commands/GetInventoryCommand.js} | 22 +- .../commands/GetInventorySchemaCommand.js | 51 + .../commands/GetMaintenanceWindowCommand.js | 52 + .../GetMaintenanceWindowExecutionCommand.js | 51 + ...etMaintenanceWindowExecutionTaskCommand.js | 52 + ...nceWindowExecutionTaskInvocationCommand.js | 52 + .../GetMaintenanceWindowTaskCommand.js} | 25 +- .../dist-cjs/commands/GetOpsItemCommand.js} | 22 +- .../commands/GetOpsMetadataCommand.js | 51 + .../commands/GetOpsSummaryCommand.js} | 22 +- .../dist-cjs/commands/GetParameterCommand.js | 52 + .../commands/GetParameterHistoryCommand.js | 52 + .../commands/GetParametersByPathCommand.js | 52 + .../commands/GetParametersCommand.js} | 26 +- .../commands/GetPatchBaselineCommand.js} | 26 +- .../GetPatchBaselineForPatchGroupCommand.js | 51 + .../commands/GetResourcePoliciesCommand.js | 51 + .../commands/GetServiceSettingCommand.js | 51 + .../commands/LabelParameterVersionCommand.js} | 22 +- .../ListAssociationVersionsCommand.js | 52 + .../commands/ListAssociationsCommand.js | 51 + .../commands/ListCommandInvocationsCommand.js | 51 + .../dist-cjs/commands/ListCommandsCommand.js | 52 + .../commands/ListComplianceItemsCommand.js | 51 + .../ListComplianceSummariesCommand.js | 51 + .../ListDocumentMetadataHistoryCommand.js | 51 + .../commands/ListDocumentVersionsCommand.js | 51 + .../commands/ListDocumentsCommand.js} | 22 +- .../commands/ListInventoryEntriesCommand.js | 51 + .../commands/ListOpsItemEventsCommand.js | 51 + .../ListOpsItemRelatedItemsCommand.js | 51 + .../commands/ListOpsMetadataCommand.js | 51 + ...ListResourceComplianceSummariesCommand.js} | 22 +- .../commands/ListResourceDataSyncCommand.js | 51 + .../commands/ListTagsForResourceCommand.js | 51 + .../ModifyDocumentPermissionCommand.js} | 22 +- .../commands/PutComplianceItemsCommand.js | 51 + .../dist-cjs/commands/PutInventoryCommand.js | 51 + .../dist-cjs/commands/PutParameterCommand.js | 52 + .../commands/PutResourcePolicyCommand.js | 51 + .../RegisterDefaultPatchBaselineCommand.js} | 22 +- ...isterPatchBaselineForPatchGroupCommand.js} | 22 +- ...isterTargetWithMaintenanceWindowCommand.js | 52 + ...egisterTaskWithMaintenanceWindowCommand.js | 52 + .../commands/RemoveTagsFromResourceCommand.js | 51 + .../commands/ResetServiceSettingCommand.js | 51 + .../dist-cjs/commands/ResumeSessionCommand.js | 51 + .../commands/SendAutomationSignalCommand.js | 51 + .../dist-cjs/commands/SendCommandCommand.js} | 28 +- .../commands/StartAssociationsOnceCommand.js} | 22 +- .../StartAutomationExecutionCommand.js} | 22 +- .../StartChangeRequestExecutionCommand.js | 51 + .../dist-cjs/commands/StartSessionCommand.js | 51 + .../StopAutomationExecutionCommand.js | 51 + .../commands/TerminateSessionCommand.js | 51 + .../UnlabelParameterVersionCommand.js | 51 + .../commands/UpdateAssociationCommand.js} | 27 +- .../UpdateAssociationStatusCommand.js | 52 + .../commands/UpdateDocumentCommand.js | 51 + .../UpdateDocumentDefaultVersionCommand.js} | 22 +- .../commands/UpdateDocumentMetadataCommand.js | 51 + .../UpdateMaintenanceWindowCommand.js | 52 + .../UpdateMaintenanceWindowTargetCommand.js | 52 + .../UpdateMaintenanceWindowTaskCommand.js} | 28 +- .../UpdateManagedInstanceRoleCommand.js} | 22 +- .../dist-cjs/commands/UpdateOpsItemCommand.js | 51 + .../commands/UpdateOpsMetadataCommand.js | 51 + .../commands/UpdatePatchBaselineCommand.js | 52 + .../commands/UpdateResourceDataSyncCommand.js | 51 + .../commands/UpdateServiceSettingCommand.js | 51 + .../client-ssm/dist-cjs/commands/index.js | 142 + .../dist-cjs/endpoint/EndpointParameters.js | 2 +- .../dist-cjs/endpoint/endpointResolver.js | 0 .../client-ssm/dist-cjs/endpoint/ruleset.js | 7 + .../dist-cjs/extensionConfiguration.js | 0 .../@aws-sdk/client-ssm/dist-cjs/index.js | 13 + .../dist-cjs/models/SSMServiceException.js} | 8 +- .../dist-cjs/models/index.js | 2 + .../client-ssm/dist-cjs/models/models_0.js | 1399 +++ .../client-ssm/dist-cjs/models/models_1.js | 1135 ++ .../client-ssm/dist-cjs/models/models_2.js | 192 + .../DescribeActivationsPaginator.js | 29 + ...ibeAssociationExecutionTargetsPaginator.js | 29 + .../DescribeAssociationExecutionsPaginator.js | 29 + .../DescribeAutomationExecutionsPaginator.js | 29 + ...scribeAutomationStepExecutionsPaginator.js | 29 + .../DescribeAvailablePatchesPaginator.js | 29 + ...eEffectiveInstanceAssociationsPaginator.js | 29 + ...fectivePatchesForPatchBaselinePaginator.js | 29 + ...ribeInstanceAssociationsStatusPaginator.js | 29 + .../DescribeInstanceInformationPaginator.js | 29 + ...stancePatchStatesForPatchGroupPaginator.js | 29 + .../DescribeInstancePatchStatesPaginator.js | 29 + .../DescribeInstancePatchesPaginator.js | 29 + .../DescribeInventoryDeletionsPaginator.js | 29 + ...WindowExecutionTaskInvocationsPaginator.js | 29 + ...aintenanceWindowExecutionTasksPaginator.js | 29 + ...ibeMaintenanceWindowExecutionsPaginator.js | 29 + ...cribeMaintenanceWindowSchedulePaginator.js | 29 + ...scribeMaintenanceWindowTargetsPaginator.js | 29 + ...DescribeMaintenanceWindowTasksPaginator.js | 29 + ...ibeMaintenanceWindowsForTargetPaginator.js | 29 + .../DescribeMaintenanceWindowsPaginator.js | 29 + .../pagination/DescribeOpsItemsPaginator.js | 29 + .../pagination/DescribeParametersPaginator.js | 29 + .../DescribePatchBaselinesPaginator.js | 29 + .../DescribePatchGroupsPaginator.js | 29 + .../DescribePatchPropertiesPaginator.js | 29 + .../pagination/DescribeSessionsPaginator.js | 29 + .../pagination/GetInventoryPaginator.js | 29 + .../pagination/GetInventorySchemaPaginator.js | 29 + .../pagination/GetOpsSummaryPaginator.js | 29 + .../GetParameterHistoryPaginator.js | 29 + .../GetParametersByPathPaginator.js | 29 + .../GetResourcePoliciesPaginator.js | 29 + .../dist-cjs/pagination/Interfaces.js | 0 .../ListAssociationVersionsPaginator.js | 29 + .../pagination/ListAssociationsPaginator.js | 29 + .../ListCommandInvocationsPaginator.js | 29 + .../pagination/ListCommandsPaginator.js | 29 + .../ListComplianceItemsPaginator.js | 29 + .../ListComplianceSummariesPaginator.js | 29 + .../ListDocumentVersionsPaginator.js | 29 + .../pagination/ListDocumentsPaginator.js | 29 + .../pagination/ListOpsItemEventsPaginator.js | 29 + .../ListOpsItemRelatedItemsPaginator.js | 29 + .../pagination/ListOpsMetadataPaginator.js | 29 + ...istResourceComplianceSummariesPaginator.js | 29 + .../ListResourceDataSyncPaginator.js | 29 + .../client-ssm/dist-cjs/pagination/index.js | 51 + .../dist-cjs/protocols/Aws_json1_1.js | 9692 +++++++++++++++++ .../dist-cjs/runtimeConfig.browser.js | 2 - .../dist-cjs/runtimeConfig.js | 2 - .../dist-cjs/runtimeConfig.native.js | 0 .../dist-cjs/runtimeConfig.shared.js | 4 +- .../dist-cjs/runtimeExtensions.js | 0 .../client-ssm/dist-cjs/waiters}/index.js | 2 +- .../waiters/waitForCommandExecuted.js | 102 + .../@aws-sdk/client-ssm/dist-es/SSM.js | 285 + .../dist-es/SSMClient.js} | 10 +- .../commands/AddTagsToResourceCommand.js | 47 + .../AssociateOpsItemRelatedItemCommand.js | 47 + .../dist-es/commands/CancelCommandCommand.js} | 18 +- ...ancelMaintenanceWindowExecutionCommand.js} | 18 +- .../commands/CreateActivationCommand.js} | 18 +- .../CreateAssociationBatchCommand.js} | 23 +- .../commands/CreateAssociationCommand.js | 48 + .../dist-es/commands/CreateDocumentCommand.js | 47 + .../CreateMaintenanceWindowCommand.js | 48 + .../dist-es/commands/CreateOpsItemCommand.js} | 18 +- .../commands/CreateOpsMetadataCommand.js | 47 + .../commands/CreatePatchBaselineCommand.js} | 22 +- .../CreateResourceDataSyncCommand.js} | 18 +- .../commands/DeleteActivationCommand.js | 47 + .../commands/DeleteAssociationCommand.js | 47 + .../dist-es/commands/DeleteDocumentCommand.js | 47 + .../commands/DeleteInventoryCommand.js} | 18 +- .../DeleteMaintenanceWindowCommand.js} | 18 +- .../dist-es/commands/DeleteOpsItemCommand.js | 47 + .../commands/DeleteOpsMetadataCommand.js | 47 + .../commands/DeleteParameterCommand.js | 47 + .../commands/DeleteParametersCommand.js | 47 + .../commands/DeletePatchBaselineCommand.js | 47 + .../DeleteResourceDataSyncCommand.js} | 18 +- .../commands/DeleteResourcePolicyCommand.js | 47 + .../DeregisterManagedInstanceCommand.js} | 18 +- ...gisterPatchBaselineForPatchGroupCommand.js | 47 + ...isterTargetFromMaintenanceWindowCommand.js | 47 + ...egisterTaskFromMaintenanceWindowCommand.js | 47 + .../commands/DescribeActivationsCommand.js | 47 + .../commands/DescribeAssociationCommand.js | 48 + ...cribeAssociationExecutionTargetsCommand.js | 47 + .../DescribeAssociationExecutionsCommand.js | 47 + .../DescribeAutomationExecutionsCommand.js} | 18 +- ...escribeAutomationStepExecutionsCommand.js} | 18 +- .../DescribeAvailablePatchesCommand.js} | 18 +- .../commands/DescribeDocumentCommand.js | 47 + .../DescribeDocumentPermissionCommand.js} | 18 +- ...ibeEffectiveInstanceAssociationsCommand.js | 47 + ...EffectivePatchesForPatchBaselineCommand.js | 47 + ...cribeInstanceAssociationsStatusCommand.js} | 18 +- .../DescribeInstanceInformationCommand.js | 47 + .../DescribeInstancePatchStatesCommand.js | 48 + ...InstancePatchStatesForPatchGroupCommand.js | 48 + .../DescribeInstancePatchesCommand.js} | 18 +- .../DescribeInventoryDeletionsCommand.js} | 18 +- ...eWindowExecutionTaskInvocationsCommand.js} | 24 +- ...eMaintenanceWindowExecutionTasksCommand.js | 47 + ...cribeMaintenanceWindowExecutionsCommand.js | 47 + ...scribeMaintenanceWindowScheduleCommand.js} | 18 +- ...DescribeMaintenanceWindowTargetsCommand.js | 48 + .../DescribeMaintenanceWindowTasksCommand.js} | 21 +- .../DescribeMaintenanceWindowsCommand.js | 48 + ...cribeMaintenanceWindowsForTargetCommand.js | 47 + .../commands/DescribeOpsItemsCommand.js | 47 + .../commands/DescribeParametersCommand.js | 47 + .../DescribePatchBaselinesCommand.js} | 18 +- .../DescribePatchGroupStateCommand.js} | 18 +- .../commands/DescribePatchGroupsCommand.js | 47 + .../DescribePatchPropertiesCommand.js} | 18 +- .../commands/DescribeSessionsCommand.js | 47 + .../DisassociateOpsItemRelatedItemCommand.js} | 18 +- .../commands/GetAutomationExecutionCommand.js | 47 + .../commands/GetCalendarStateCommand.js | 47 + .../commands/GetCommandInvocationCommand.js | 47 + .../commands/GetConnectionStatusCommand.js | 47 + .../GetDefaultPatchBaselineCommand.js} | 18 +- ...ployablePatchSnapshotForInstanceCommand.js | 48 + .../dist-es/commands/GetDocumentCommand.js} | 18 +- .../dist-es/commands/GetInventoryCommand.js} | 18 +- .../commands/GetInventorySchemaCommand.js | 47 + .../commands/GetMaintenanceWindowCommand.js} | 21 +- .../GetMaintenanceWindowExecutionCommand.js | 47 + ...etMaintenanceWindowExecutionTaskCommand.js | 48 + ...nceWindowExecutionTaskInvocationCommand.js | 48 + .../GetMaintenanceWindowTaskCommand.js} | 22 +- .../dist-es/commands/GetOpsItemCommand.js} | 18 +- .../dist-es/commands/GetOpsMetadataCommand.js | 47 + .../dist-es/commands/GetOpsSummaryCommand.js | 47 + .../dist-es/commands/GetParameterCommand.js | 48 + .../commands/GetParameterHistoryCommand.js | 48 + .../commands/GetParametersByPathCommand.js | 48 + .../dist-es/commands/GetParametersCommand.js} | 22 +- .../commands/GetPatchBaselineCommand.js | 48 + .../GetPatchBaselineForPatchGroupCommand.js | 47 + .../commands/GetResourcePoliciesCommand.js | 47 + .../commands/GetServiceSettingCommand.js | 47 + .../commands/LabelParameterVersionCommand.js} | 18 +- .../ListAssociationVersionsCommand.js | 48 + .../commands/ListAssociationsCommand.js | 47 + .../commands/ListCommandInvocationsCommand.js | 47 + .../dist-es/commands/ListCommandsCommand.js | 48 + .../commands/ListComplianceItemsCommand.js | 47 + .../ListComplianceSummariesCommand.js | 47 + .../ListDocumentMetadataHistoryCommand.js | 47 + .../commands/ListDocumentVersionsCommand.js | 47 + .../dist-es/commands/ListDocumentsCommand.js | 47 + .../commands/ListInventoryEntriesCommand.js | 47 + .../commands/ListOpsItemEventsCommand.js | 47 + .../ListOpsItemRelatedItemsCommand.js | 47 + .../commands/ListOpsMetadataCommand.js | 47 + ...ListResourceComplianceSummariesCommand.js} | 18 +- .../commands/ListResourceDataSyncCommand.js | 47 + .../commands/ListTagsForResourceCommand.js | 47 + .../ModifyDocumentPermissionCommand.js} | 18 +- .../commands/PutComplianceItemsCommand.js | 47 + .../dist-es/commands/PutInventoryCommand.js} | 18 +- .../dist-es/commands/PutParameterCommand.js | 48 + .../commands/PutResourcePolicyCommand.js | 47 + .../RegisterDefaultPatchBaselineCommand.js} | 18 +- ...isterPatchBaselineForPatchGroupCommand.js} | 18 +- ...isterTargetWithMaintenanceWindowCommand.js | 48 + ...egisterTaskWithMaintenanceWindowCommand.js | 48 + .../commands/RemoveTagsFromResourceCommand.js | 47 + .../commands/ResetServiceSettingCommand.js | 47 + .../dist-es/commands/ResumeSessionCommand.js | 47 + .../commands/SendAutomationSignalCommand.js | 47 + .../dist-es/commands/SendCommandCommand.js} | 24 +- .../commands/StartAssociationsOnceCommand.js | 47 + .../StartAutomationExecutionCommand.js} | 18 +- .../StartChangeRequestExecutionCommand.js | 47 + .../dist-es/commands/StartSessionCommand.js | 47 + .../StopAutomationExecutionCommand.js | 47 + .../commands/TerminateSessionCommand.js | 47 + .../UnlabelParameterVersionCommand.js | 47 + .../commands/UpdateAssociationCommand.js | 48 + .../UpdateAssociationStatusCommand.js | 48 + .../dist-es/commands/UpdateDocumentCommand.js | 47 + .../UpdateDocumentDefaultVersionCommand.js} | 18 +- .../commands/UpdateDocumentMetadataCommand.js | 47 + .../UpdateMaintenanceWindowCommand.js | 48 + .../UpdateMaintenanceWindowTargetCommand.js | 48 + .../UpdateMaintenanceWindowTaskCommand.js} | 24 +- .../UpdateManagedInstanceRoleCommand.js} | 18 +- .../dist-es/commands/UpdateOpsItemCommand.js | 47 + .../commands/UpdateOpsMetadataCommand.js | 47 + .../commands/UpdatePatchBaselineCommand.js | 48 + .../commands/UpdateResourceDataSyncCommand.js | 47 + .../commands/UpdateServiceSettingCommand.js | 47 + .../client-ssm/dist-es/commands/index.js | 139 + .../dist-es/endpoint/EndpointParameters.js | 2 +- .../dist-es/endpoint/endpointResolver.js | 0 .../client-ssm/dist-es/endpoint/ruleset.js | 4 + .../dist-es/extensionConfiguration.js | 0 .../dist-es/index.js | 6 +- .../dist-es/models/SSMServiceException.js} | 4 +- .../client-ssm/dist-es/models/index.js | 3 + .../client-ssm/dist-es/models/models_0.js | 1304 +++ .../client-ssm/dist-es/models/models_1.js | 1050 ++ .../client-ssm/dist-es/models/models_2.js | 170 + .../DescribeActivationsPaginator.js | 25 + ...ibeAssociationExecutionTargetsPaginator.js | 25 + .../DescribeAssociationExecutionsPaginator.js | 25 + .../DescribeAutomationExecutionsPaginator.js | 25 + ...scribeAutomationStepExecutionsPaginator.js | 25 + .../DescribeAvailablePatchesPaginator.js | 25 + ...eEffectiveInstanceAssociationsPaginator.js | 25 + ...fectivePatchesForPatchBaselinePaginator.js | 25 + ...ribeInstanceAssociationsStatusPaginator.js | 25 + .../DescribeInstanceInformationPaginator.js | 25 + ...stancePatchStatesForPatchGroupPaginator.js | 25 + .../DescribeInstancePatchStatesPaginator.js | 25 + .../DescribeInstancePatchesPaginator.js} | 18 +- .../DescribeInventoryDeletionsPaginator.js | 25 + ...WindowExecutionTaskInvocationsPaginator.js | 25 + ...aintenanceWindowExecutionTasksPaginator.js | 25 + ...ibeMaintenanceWindowExecutionsPaginator.js | 25 + ...cribeMaintenanceWindowSchedulePaginator.js | 25 + ...scribeMaintenanceWindowTargetsPaginator.js | 25 + ...escribeMaintenanceWindowTasksPaginator.js} | 18 +- ...ibeMaintenanceWindowsForTargetPaginator.js | 25 + .../DescribeMaintenanceWindowsPaginator.js | 25 + .../pagination/DescribeOpsItemsPaginator.js | 25 + .../pagination/DescribeParametersPaginator.js | 25 + .../DescribePatchBaselinesPaginator.js} | 18 +- .../DescribePatchGroupsPaginator.js | 25 + .../DescribePatchPropertiesPaginator.js | 25 + .../pagination/DescribeSessionsPaginator.js | 25 + .../pagination/GetInventoryPaginator.js | 25 + .../pagination/GetInventorySchemaPaginator.js | 25 + .../pagination/GetOpsSummaryPaginator.js} | 18 +- .../GetParameterHistoryPaginator.js | 25 + .../GetParametersByPathPaginator.js | 25 + .../GetResourcePoliciesPaginator.js | 25 + .../dist-es/pagination/Interfaces.js | 0 .../ListAssociationVersionsPaginator.js | 25 + .../pagination/ListAssociationsPaginator.js | 25 + .../ListCommandInvocationsPaginator.js} | 18 +- .../pagination/ListCommandsPaginator.js | 25 + .../ListComplianceItemsPaginator.js | 25 + .../ListComplianceSummariesPaginator.js | 25 + .../ListDocumentVersionsPaginator.js | 25 + .../pagination/ListDocumentsPaginator.js | 25 + .../pagination/ListOpsItemEventsPaginator.js} | 18 +- .../ListOpsItemRelatedItemsPaginator.js | 25 + .../pagination/ListOpsMetadataPaginator.js | 25 + ...istResourceComplianceSummariesPaginator.js | 25 + .../ListResourceDataSyncPaginator.js | 25 + .../client-ssm/dist-es/pagination/index.js | 48 + .../dist-es/protocols/Aws_json1_1.js | 9406 ++++++++++++++++ .../dist-es/runtimeConfig.browser.js | 2 - .../dist-es/runtimeConfig.js | 2 - .../dist-es/runtimeConfig.native.js | 0 .../dist-es/runtimeConfig.shared.js | 4 +- .../dist-es/runtimeExtensions.js | 0 .../client-ssm/dist-es/waiters/index.js | 1 + .../dist-es/waiters/waitForCommandExecuted.js | 97 + .../@aws-sdk/client-ssm/dist-types/SSM.d.ts | 1018 ++ .../client-ssm/dist-types/SSMClient.d.ts | 343 + .../commands/AddTagsToResourceCommand.d.ts | 141 + .../AssociateOpsItemRelatedItemCommand.d.ts | 97 + .../commands/CancelCommandCommand.d.ts | 104 + ...ncelMaintenanceWindowExecutionCommand.d.ts | 84 + .../commands/CreateActivationCommand.d.ts | 106 + .../CreateAssociationBatchCommand.d.ts | 373 + .../commands/CreateAssociationCommand.d.ts | 314 + .../commands/CreateDocumentCommand.d.ts | 189 + .../CreateMaintenanceWindowCommand.d.ts | 110 + .../commands/CreateOpsItemCommand.d.ts | 130 + .../commands/CreateOpsMetadataCommand.d.ts | 102 + .../commands/CreatePatchBaselineCommand.d.ts | 147 + .../CreateResourceDataSyncCommand.d.ts | 130 + .../commands/DeleteActivationCommand.d.ts | 87 + .../commands/DeleteAssociationCommand.d.ts | 111 + .../commands/DeleteDocumentCommand.d.ts | 89 + .../commands/DeleteInventoryCommand.d.ts | 105 + .../DeleteMaintenanceWindowCommand.d.ts | 76 + .../commands/DeleteOpsItemCommand.d.ts | 105 + .../commands/DeleteOpsMetadataCommand.d.ts | 80 + .../commands/DeleteParameterCommand.d.ts | 78 + .../commands/DeleteParametersCommand.d.ts | 84 + .../commands/DeletePatchBaselineCommand.d.ts | 80 + .../DeleteResourceDataSyncCommand.d.ts | 83 + .../commands/DeleteResourcePolicyCommand.d.ts | 88 + .../DeregisterManagedInstanceCommand.d.ts | 96 + ...sterPatchBaselineForPatchGroupCommand.d.ts | 81 + ...terTargetFromMaintenanceWindowCommand.d.ts | 89 + ...isterTaskFromMaintenanceWindowCommand.d.ts | 84 + .../commands/DescribeActivationsCommand.d.ts | 113 + .../commands/DescribeAssociationCommand.d.ts | 209 + ...ibeAssociationExecutionTargetsCommand.d.ts | 110 + .../DescribeAssociationExecutionsCommand.d.ts | 117 + .../DescribeAutomationExecutionsCommand.d.ts | 211 + ...scribeAutomationStepExecutionsCommand.d.ts | 185 + .../DescribeAvailablePatchesCommand.d.ts | 118 + .../commands/DescribeDocumentCommand.d.ts | 150 + .../DescribeDocumentPermissionCommand.d.ts | 104 + ...eEffectiveInstanceAssociationsCommand.d.ts | 109 + ...fectivePatchesForPatchBaselineCommand.d.ts | 132 + ...ribeInstanceAssociationsStatusCommand.d.ts | 121 + .../DescribeInstanceInformationCommand.d.ts | 161 + .../DescribeInstancePatchStatesCommand.d.ts | 109 + ...stancePatchStatesForPatchGroupCommand.d.ts | 120 + .../DescribeInstancePatchesCommand.d.ts | 124 + .../DescribeInventoryDeletionsCommand.d.ts | 106 + ...WindowExecutionTaskInvocationsCommand.d.ts | 110 + ...aintenanceWindowExecutionTasksCommand.d.ts | 118 + ...ibeMaintenanceWindowExecutionsCommand.d.ts | 98 + ...cribeMaintenanceWindowScheduleCommand.d.ts | 108 + ...scribeMaintenanceWindowTargetsCommand.d.ts | 110 + ...DescribeMaintenanceWindowTasksCommand.d.ts | 142 + .../DescribeMaintenanceWindowsCommand.d.ts | 101 + ...ibeMaintenanceWindowsForTargetCommand.d.ts | 93 + .../commands/DescribeOpsItemsCommand.d.ts | 117 + .../commands/DescribeParametersCommand.d.ts | 140 + .../DescribePatchBaselinesCommand.d.ts | 94 + .../DescribePatchGroupStateCommand.d.ts | 90 + .../commands/DescribePatchGroupsCommand.d.ts | 97 + .../DescribePatchPropertiesCommand.d.ts | 148 + .../commands/DescribeSessionsCommand.d.ts | 109 + ...DisassociateOpsItemRelatedItemCommand.d.ts | 91 + .../GetAutomationExecutionCommand.d.ts | 274 + .../commands/GetCalendarStateCommand.d.ts | 99 + .../commands/GetCommandInvocationCommand.d.ts | 131 + .../commands/GetConnectionStatusCommand.d.ts | 78 + .../GetDefaultPatchBaselineCommand.d.ts | 80 + ...oyablePatchSnapshotForInstanceCommand.d.ts | 149 + .../commands/GetDocumentCommand.d.ts | 112 + .../commands/GetInventoryCommand.d.ts | 162 + .../commands/GetInventorySchemaCommand.d.ts | 100 + .../commands/GetMaintenanceWindowCommand.d.ts | 96 + .../GetMaintenanceWindowExecutionCommand.d.ts | 89 + ...MaintenanceWindowExecutionTaskCommand.d.ts | 118 + ...eWindowExecutionTaskInvocationCommand.d.ts | 95 + .../GetMaintenanceWindowTaskCommand.d.ts | 173 + .../commands/GetOpsItemCommand.d.ts | 127 + .../commands/GetOpsMetadataCommand.d.ts | 90 + .../commands/GetOpsSummaryCommand.d.ts | 159 + .../commands/GetParameterCommand.d.ts | 100 + .../commands/GetParameterHistoryCommand.d.ts | 119 + .../commands/GetParametersByPathCommand.d.ts | 124 + .../commands/GetParametersCommand.d.ts | 101 + .../commands/GetPatchBaselineCommand.d.ts | 141 + .../GetPatchBaselineForPatchGroupCommand.d.ts | 79 + .../commands/GetResourcePoliciesCommand.d.ts | 89 + .../commands/GetServiceSettingCommand.d.ts | 100 + .../LabelParameterVersionCommand.d.ts | 132 + .../ListAssociationVersionsCommand.d.ts | 152 + .../commands/ListAssociationsCommand.d.ts | 123 + .../ListCommandInvocationsCommand.d.ts | 163 + .../commands/ListCommandsCommand.d.ts | 178 + .../commands/ListComplianceItemsCommand.d.ts | 126 + .../ListComplianceSummariesCommand.d.ts | 121 + .../ListDocumentMetadataHistoryCommand.d.ts | 108 + .../commands/ListDocumentVersionsCommand.d.ts | 98 + .../commands/ListDocumentsCommand.d.ts | 131 + .../commands/ListInventoryEntriesCommand.d.ts | 126 + .../commands/ListOpsItemEventsCommand.d.ts | 110 + .../ListOpsItemRelatedItemsCommand.d.ts | 109 + .../commands/ListOpsMetadataCommand.d.ts | 98 + ...istResourceComplianceSummariesCommand.d.ts | 130 + .../commands/ListResourceDataSyncCommand.d.ts | 131 + .../commands/ListTagsForResourceCommand.d.ts | 90 + .../ModifyDocumentPermissionCommand.d.ts | 103 + .../commands/PutComplianceItemsCommand.d.ts | 169 + .../commands/PutInventoryCommand.d.ts | 149 + .../commands/PutParameterCommand.d.ts | 156 + .../commands/PutResourcePolicyCommand.d.ts | 98 + .../RegisterDefaultPatchBaselineCommand.d.ts | 89 + ...sterPatchBaselineForPatchGroupCommand.d.ts | 97 + ...terTargetWithMaintenanceWindowCommand.d.ts | 105 + ...isterTaskWithMaintenanceWindowCommand.d.ts | 179 + .../RemoveTagsFromResourceCommand.d.ts | 88 + .../commands/ResetServiceSettingCommand.d.ts | 104 + .../commands/ResumeSessionCommand.d.ts | 89 + .../commands/SendAutomationSignalCommand.d.ts | 92 + .../commands/SendCommandCommand.d.ts | 235 + .../StartAssociationsOnceCommand.d.ts | 80 + .../StartAutomationExecutionCommand.d.ts | 160 + .../StartChangeRequestExecutionCommand.d.ts | 169 + .../commands/StartSessionCommand.d.ts | 104 + .../StopAutomationExecutionCommand.d.ts | 82 + .../commands/TerminateSessionCommand.d.ts | 78 + .../UnlabelParameterVersionCommand.d.ts | 95 + .../commands/UpdateAssociationCommand.d.ts | 304 + .../UpdateAssociationStatusCommand.d.ts | 217 + .../commands/UpdateDocumentCommand.d.ts | 188 + .../UpdateDocumentDefaultVersionCommand.d.ts | 95 + .../UpdateDocumentMetadataCommand.d.ts | 95 + .../UpdateMaintenanceWindowCommand.d.ts | 113 + .../UpdateMaintenanceWindowTargetCommand.d.ts | 132 + .../UpdateMaintenanceWindowTaskCommand.d.ts | 302 + .../UpdateManagedInstanceRoleCommand.d.ts | 97 + .../commands/UpdateOpsItemCommand.d.ts | 130 + .../commands/UpdateOpsMetadataCommand.d.ts | 98 + .../commands/UpdatePatchBaselineCommand.d.ts | 191 + .../UpdateResourceDataSyncCommand.d.ts | 110 + .../commands/UpdateServiceSettingCommand.d.ts | 95 + .../client-ssm/dist-types/commands/index.d.ts | 139 + .../endpoint/EndpointParameters.d.ts | 0 .../dist-types/endpoint/endpointResolver.d.ts | 0 .../dist-types/endpoint/ruleset.d.ts | 0 .../dist-types/extensionConfiguration.d.ts | 2 +- .../@aws-sdk/client-ssm/dist-types/index.d.ts | 51 + .../models/SSMServiceException.d.ts} | 4 +- .../client-ssm/dist-types/models/index.d.ts | 3 + .../dist-types/models/models_0.d.ts | 7976 ++++++++++++++ .../dist-types/models/models_1.d.ts | 9465 ++++++++++++++++ .../dist-types/models/models_2.d.ts | 1739 +++ .../DescribeActivationsPaginator.d.ts | 7 + ...eAssociationExecutionTargetsPaginator.d.ts | 7 + ...escribeAssociationExecutionsPaginator.d.ts | 7 + ...DescribeAutomationExecutionsPaginator.d.ts | 7 + ...ribeAutomationStepExecutionsPaginator.d.ts | 7 + .../DescribeAvailablePatchesPaginator.d.ts | 7 + ...ffectiveInstanceAssociationsPaginator.d.ts | 7 + ...ctivePatchesForPatchBaselinePaginator.d.ts | 7 + ...beInstanceAssociationsStatusPaginator.d.ts | 7 + .../DescribeInstanceInformationPaginator.d.ts | 7 + ...ancePatchStatesForPatchGroupPaginator.d.ts | 7 + .../DescribeInstancePatchStatesPaginator.d.ts | 7 + .../DescribeInstancePatchesPaginator.d.ts | 7 + .../DescribeInventoryDeletionsPaginator.d.ts | 7 + ...ndowExecutionTaskInvocationsPaginator.d.ts | 7 + ...ntenanceWindowExecutionTasksPaginator.d.ts | 7 + ...eMaintenanceWindowExecutionsPaginator.d.ts | 7 + ...ibeMaintenanceWindowSchedulePaginator.d.ts | 7 + ...ribeMaintenanceWindowTargetsPaginator.d.ts | 7 + ...scribeMaintenanceWindowTasksPaginator.d.ts | 7 + ...eMaintenanceWindowsForTargetPaginator.d.ts | 7 + .../DescribeMaintenanceWindowsPaginator.d.ts | 7 + .../pagination/DescribeOpsItemsPaginator.d.ts | 7 + .../DescribeParametersPaginator.d.ts | 7 + .../DescribePatchBaselinesPaginator.d.ts | 7 + .../DescribePatchGroupsPaginator.d.ts | 7 + .../DescribePatchPropertiesPaginator.d.ts | 7 + .../pagination/DescribeSessionsPaginator.d.ts | 7 + .../pagination/GetInventoryPaginator.d.ts | 7 + .../GetInventorySchemaPaginator.d.ts | 7 + .../pagination/GetOpsSummaryPaginator.d.ts | 7 + .../GetParameterHistoryPaginator.d.ts | 7 + .../GetParametersByPathPaginator.d.ts | 7 + .../GetResourcePoliciesPaginator.d.ts | 7 + .../dist-types/pagination/Interfaces.d.ts | 8 + .../ListAssociationVersionsPaginator.d.ts | 7 + .../pagination/ListAssociationsPaginator.d.ts | 7 + .../ListCommandInvocationsPaginator.d.ts | 7 + .../pagination/ListCommandsPaginator.d.ts | 7 + .../ListComplianceItemsPaginator.d.ts | 7 + .../ListComplianceSummariesPaginator.d.ts | 7 + .../ListDocumentVersionsPaginator.d.ts | 7 + .../pagination/ListDocumentsPaginator.d.ts | 7 + .../ListOpsItemEventsPaginator.d.ts | 7 + .../ListOpsItemRelatedItemsPaginator.d.ts | 7 + .../pagination/ListOpsMetadataPaginator.d.ts | 7 + ...tResourceComplianceSummariesPaginator.d.ts | 7 + .../ListResourceDataSyncPaginator.d.ts | 7 + .../dist-types/pagination/index.d.ts | 48 + .../dist-types/protocols/Aws_json1_1.d.ts | 1253 +++ .../dist-types/runtimeConfig.browser.d.ts | 5 +- .../dist-types/runtimeConfig.d.ts | 5 +- .../dist-types/runtimeConfig.native.d.ts | 5 +- .../dist-types/runtimeConfig.shared.d.ts | 4 +- .../dist-types/runtimeExtensions.d.ts | 4 +- .../client-ssm/dist-types/ts3.4/SSM.d.ts | 2482 +++++ .../dist-types/ts3.4/SSMClient.d.ts | 949 ++ .../commands/AddTagsToResourceCommand.d.ts} | 36 +- .../AssociateOpsItemRelatedItemCommand.d.ts | 42 + .../ts3.4/commands/CancelCommandCommand.d.ts | 35 + ...ncelMaintenanceWindowExecutionCommand.d.ts | 42 + .../commands/CreateActivationCommand.d.ts | 38 + .../CreateAssociationBatchCommand.d.ts} | 38 +- .../commands/CreateAssociationCommand.d.ts | 39 + .../commands/CreateDocumentCommand.d.ts} | 34 +- .../CreateMaintenanceWindowCommand.d.ts | 42 + .../ts3.4/commands/CreateOpsItemCommand.d.ts} | 34 +- .../commands/CreateOpsMetadataCommand.d.ts | 39 + .../commands/CreatePatchBaselineCommand.d.ts | 39 + .../CreateResourceDataSyncCommand.d.ts} | 38 +- .../commands/DeleteActivationCommand.d.ts | 38 + .../commands/DeleteAssociationCommand.d.ts | 39 + .../commands/DeleteDocumentCommand.d.ts} | 34 +- .../commands/DeleteInventoryCommand.d.ts} | 34 +- .../DeleteMaintenanceWindowCommand.d.ts | 42 + .../ts3.4/commands/DeleteOpsItemCommand.d.ts} | 34 +- .../commands/DeleteOpsMetadataCommand.d.ts | 39 + .../commands/DeleteParameterCommand.d.ts | 38 + .../commands/DeleteParametersCommand.d.ts | 38 + .../commands/DeletePatchBaselineCommand.d.ts | 39 + .../DeleteResourceDataSyncCommand.d.ts | 42 + .../DeleteResourcePolicyCommand.d.ts} | 38 +- .../DeregisterManagedInstanceCommand.d.ts | 42 + ...sterPatchBaselineForPatchGroupCommand.d.ts | 42 + ...terTargetFromMaintenanceWindowCommand.d.ts | 42 + ...isterTaskFromMaintenanceWindowCommand.d.ts | 42 + .../commands/DescribeActivationsCommand.d.ts | 39 + .../commands/DescribeAssociationCommand.d.ts} | 36 +- ...ibeAssociationExecutionTargetsCommand.d.ts | 42 + .../DescribeAssociationExecutionsCommand.d.ts | 42 + .../DescribeAutomationExecutionsCommand.d.ts | 42 + ...scribeAutomationStepExecutionsCommand.d.ts | 42 + .../DescribeAvailablePatchesCommand.d.ts | 42 + .../commands/DescribeDocumentCommand.d.ts | 38 + .../DescribeDocumentPermissionCommand.d.ts | 42 + ...eEffectiveInstanceAssociationsCommand.d.ts | 42 + ...fectivePatchesForPatchBaselineCommand.d.ts | 42 + ...ribeInstanceAssociationsStatusCommand.d.ts | 42 + .../DescribeInstanceInformationCommand.d.ts | 42 + .../DescribeInstancePatchStatesCommand.d.ts | 42 + ...stancePatchStatesForPatchGroupCommand.d.ts | 42 + .../DescribeInstancePatchesCommand.d.ts | 42 + .../DescribeInventoryDeletionsCommand.d.ts | 42 + ...WindowExecutionTaskInvocationsCommand.d.ts | 44 + ...aintenanceWindowExecutionTasksCommand.d.ts | 42 + ...ibeMaintenanceWindowExecutionsCommand.d.ts | 42 + ...cribeMaintenanceWindowScheduleCommand.d.ts | 42 + ...scribeMaintenanceWindowTargetsCommand.d.ts | 42 + ...DescribeMaintenanceWindowTasksCommand.d.ts | 40 + .../DescribeMaintenanceWindowsCommand.d.ts | 42 + ...ibeMaintenanceWindowsForTargetCommand.d.ts | 42 + .../commands/DescribeOpsItemsCommand.d.ts | 38 + .../commands/DescribeParametersCommand.d.ts | 39 + .../DescribePatchBaselinesCommand.d.ts | 42 + .../DescribePatchGroupStateCommand.d.ts | 42 + .../commands/DescribePatchGroupsCommand.d.ts | 39 + .../DescribePatchPropertiesCommand.d.ts | 42 + .../commands/DescribeSessionsCommand.d.ts | 38 + ...DisassociateOpsItemRelatedItemCommand.d.ts | 42 + .../GetAutomationExecutionCommand.d.ts} | 38 +- .../commands/GetCalendarStateCommand.d.ts | 38 + .../commands/GetCommandInvocationCommand.d.ts | 42 + .../commands/GetConnectionStatusCommand.d.ts | 39 + .../GetDefaultPatchBaselineCommand.d.ts | 42 + ...oyablePatchSnapshotForInstanceCommand.d.ts | 42 + .../ts3.4/commands/GetDocumentCommand.d.ts} | 28 +- .../ts3.4/commands/GetInventoryCommand.d.ts | 36 + .../commands/GetInventorySchemaCommand.d.ts | 39 + .../commands/GetMaintenanceWindowCommand.d.ts | 42 + .../GetMaintenanceWindowExecutionCommand.d.ts | 42 + ...MaintenanceWindowExecutionTaskCommand.d.ts | 42 + ...eWindowExecutionTaskInvocationCommand.d.ts | 42 + .../GetMaintenanceWindowTaskCommand.d.ts | 42 + .../ts3.4/commands/GetOpsItemCommand.d.ts} | 28 +- .../ts3.4/commands/GetOpsMetadataCommand.d.ts | 38 + .../ts3.4/commands/GetOpsSummaryCommand.d.ts | 36 + .../ts3.4/commands/GetParameterCommand.d.ts} | 28 +- .../commands/GetParameterHistoryCommand.d.ts | 39 + .../commands/GetParametersByPathCommand.d.ts | 39 + .../ts3.4/commands/GetParametersCommand.d.ts | 35 + .../commands/GetPatchBaselineCommand.d.ts | 38 + .../GetPatchBaselineForPatchGroupCommand.d.ts | 42 + .../commands/GetResourcePoliciesCommand.d.ts | 39 + .../commands/GetServiceSettingCommand.d.ts | 39 + .../LabelParameterVersionCommand.d.ts | 42 + .../ListAssociationVersionsCommand.d.ts | 42 + .../commands/ListAssociationsCommand.d.ts | 38 + .../ListCommandInvocationsCommand.d.ts | 42 + .../ts3.4/commands/ListCommandsCommand.d.ts} | 28 +- .../commands/ListComplianceItemsCommand.d.ts | 39 + .../ListComplianceSummariesCommand.d.ts | 42 + .../ListDocumentMetadataHistoryCommand.d.ts | 42 + .../commands/ListDocumentVersionsCommand.d.ts | 42 + .../ts3.4/commands/ListDocumentsCommand.d.ts | 35 + .../commands/ListInventoryEntriesCommand.d.ts | 42 + .../commands/ListOpsItemEventsCommand.d.ts | 39 + .../ListOpsItemRelatedItemsCommand.d.ts | 42 + .../commands/ListOpsMetadataCommand.d.ts | 38 + ...istResourceComplianceSummariesCommand.d.ts | 42 + .../commands/ListResourceDataSyncCommand.d.ts | 42 + .../commands/ListTagsForResourceCommand.d.ts | 39 + .../ModifyDocumentPermissionCommand.d.ts | 42 + .../commands/PutComplianceItemsCommand.d.ts | 39 + .../ts3.4/commands/PutInventoryCommand.d.ts} | 28 +- .../ts3.4/commands/PutParameterCommand.d.ts | 35 + .../commands/PutResourcePolicyCommand.d.ts | 39 + .../RegisterDefaultPatchBaselineCommand.d.ts | 42 + ...sterPatchBaselineForPatchGroupCommand.d.ts | 42 + ...terTargetWithMaintenanceWindowCommand.d.ts | 42 + ...isterTaskWithMaintenanceWindowCommand.d.ts | 42 + .../RemoveTagsFromResourceCommand.d.ts | 42 + .../commands/ResetServiceSettingCommand.d.ts | 39 + .../ts3.4/commands/ResumeSessionCommand.d.ts | 38 + .../commands/SendAutomationSignalCommand.d.ts | 42 + .../ts3.4/commands/SendCommandCommand.d.ts} | 28 +- .../StartAssociationsOnceCommand.d.ts | 42 + .../StartAutomationExecutionCommand.d.ts | 42 + .../StartChangeRequestExecutionCommand.d.ts | 42 + .../ts3.4/commands/StartSessionCommand.d.ts} | 28 +- .../StopAutomationExecutionCommand.d.ts | 42 + .../commands/TerminateSessionCommand.d.ts | 36 + .../UnlabelParameterVersionCommand.d.ts | 42 + .../commands/UpdateAssociationCommand.d.ts | 39 + .../UpdateAssociationStatusCommand.d.ts | 42 + .../ts3.4/commands/UpdateDocumentCommand.d.ts | 38 + .../UpdateDocumentDefaultVersionCommand.d.ts | 42 + .../UpdateDocumentMetadataCommand.d.ts | 42 + .../UpdateMaintenanceWindowCommand.d.ts | 42 + .../UpdateMaintenanceWindowTargetCommand.d.ts | 42 + .../UpdateMaintenanceWindowTaskCommand.d.ts | 42 + .../UpdateManagedInstanceRoleCommand.d.ts | 42 + .../ts3.4/commands/UpdateOpsItemCommand.d.ts | 38 + .../commands/UpdateOpsMetadataCommand.d.ts | 39 + .../commands/UpdatePatchBaselineCommand.d.ts | 39 + .../UpdateResourceDataSyncCommand.d.ts | 42 + .../commands/UpdateServiceSettingCommand.d.ts | 42 + .../dist-types/ts3.4/commands/index.d.ts | 139 + .../ts3.4/endpoint/EndpointParameters.d.ts | 0 .../ts3.4/endpoint/endpointResolver.d.ts | 0 .../dist-types/ts3.4/endpoint/ruleset.d.ts | 0 .../ts3.4/extensionConfiguration.d.ts | 2 +- .../dist-types/ts3.4/index.d.ts | 8 +- .../ts3.4/models/SSMServiceException.d.ts} | 2 +- .../dist-types/ts3.4/models/index.d.ts | 3 + .../dist-types/ts3.4/models/models_0.d.ts | 2121 ++++ .../dist-types/ts3.4/models/models_1.d.ts | 2279 ++++ .../dist-types/ts3.4/models/models_2.d.ts | 415 + .../DescribeActivationsPaginator.d.ts | 11 + ...eAssociationExecutionTargetsPaginator.d.ts | 11 + ...escribeAssociationExecutionsPaginator.d.ts | 11 + ...DescribeAutomationExecutionsPaginator.d.ts | 11 + ...ribeAutomationStepExecutionsPaginator.d.ts | 11 + .../DescribeAvailablePatchesPaginator.d.ts | 11 + ...ffectiveInstanceAssociationsPaginator.d.ts | 11 + ...ctivePatchesForPatchBaselinePaginator.d.ts | 11 + ...beInstanceAssociationsStatusPaginator.d.ts | 11 + .../DescribeInstanceInformationPaginator.d.ts | 11 + ...ancePatchStatesForPatchGroupPaginator.d.ts | 11 + .../DescribeInstancePatchStatesPaginator.d.ts | 11 + .../DescribeInstancePatchesPaginator.d.ts | 11 + .../DescribeInventoryDeletionsPaginator.d.ts | 11 + ...ndowExecutionTaskInvocationsPaginator.d.ts | 11 + ...ntenanceWindowExecutionTasksPaginator.d.ts | 11 + ...eMaintenanceWindowExecutionsPaginator.d.ts | 11 + ...ibeMaintenanceWindowSchedulePaginator.d.ts | 11 + ...ribeMaintenanceWindowTargetsPaginator.d.ts | 11 + ...scribeMaintenanceWindowTasksPaginator.d.ts | 11 + ...eMaintenanceWindowsForTargetPaginator.d.ts | 11 + .../DescribeMaintenanceWindowsPaginator.d.ts | 11 + .../pagination/DescribeOpsItemsPaginator.d.ts | 11 + .../DescribeParametersPaginator.d.ts | 11 + .../DescribePatchBaselinesPaginator.d.ts | 11 + .../DescribePatchGroupsPaginator.d.ts | 11 + .../DescribePatchPropertiesPaginator.d.ts | 11 + .../pagination/DescribeSessionsPaginator.d.ts | 11 + .../pagination/GetInventoryPaginator.d.ts | 11 + .../GetInventorySchemaPaginator.d.ts | 11 + .../pagination/GetOpsSummaryPaginator.d.ts | 11 + .../GetParameterHistoryPaginator.d.ts | 11 + .../GetParametersByPathPaginator.d.ts | 11 + .../GetResourcePoliciesPaginator.d.ts | 11 + .../ts3.4/pagination/Interfaces.d.ts | 5 + .../ListAssociationVersionsPaginator.d.ts | 11 + .../pagination/ListAssociationsPaginator.d.ts | 11 + .../ListCommandInvocationsPaginator.d.ts | 11 + .../pagination/ListCommandsPaginator.d.ts | 11 + .../ListComplianceItemsPaginator.d.ts | 11 + .../ListComplianceSummariesPaginator.d.ts | 11 + .../ListDocumentVersionsPaginator.d.ts | 11 + .../pagination/ListDocumentsPaginator.d.ts | 11 + .../ListOpsItemEventsPaginator.d.ts | 11 + .../ListOpsItemRelatedItemsPaginator.d.ts | 11 + .../pagination/ListOpsMetadataPaginator.d.ts | 11 + ...tResourceComplianceSummariesPaginator.d.ts | 11 + .../ListResourceDataSyncPaginator.d.ts | 11 + .../dist-types/ts3.4/pagination/index.d.ts | 48 + .../ts3.4/protocols/Aws_json1_1.d.ts | 1673 +++ .../ts3.4/runtimeConfig.browser.d.ts | 5 +- .../dist-types/ts3.4/runtimeConfig.d.ts | 5 +- .../ts3.4/runtimeConfig.native.d.ts | 5 +- .../ts3.4/runtimeConfig.shared.d.ts | 4 +- .../dist-types/ts3.4/runtimeExtensions.d.ts | 4 +- .../dist-types/ts3.4/waiters/index.d.ts | 1 + .../ts3.4/waiters/waitForCommandExecuted.d.ts | 11 + .../client-ssm/dist-types/waiters/index.d.ts | 1 + .../waiters/waitForCommandExecuted.d.ts | 14 + .../package.json | 18 +- .../@smithy/eventstream-serde-browser/LICENSE | 201 - .../eventstream-serde-browser/README.md | 10 - .../dist-cjs/EventStreamMarshaller.js | 23 - .../dist-cjs/index.js | 6 - .../dist-cjs/provider.js | 6 - .../dist-cjs/utils.js | 33 - .../dist-es/EventStreamMarshaller.js | 19 - .../dist-es/index.js | 3 - .../dist-es/provider.js | 2 - .../dist-es/utils.js | 28 - .../dist-types/EventStreamMarshaller.d.ts | 47 - .../dist-types/index.d.ts | 12 - .../dist-types/provider.d.ts | 3 - .../ts3.4/EventStreamMarshaller.d.ts | 47 - .../dist-types/ts3.4/index.d.ts | 12 - .../dist-types/ts3.4/provider.d.ts | 3 - .../dist-types/ts3.4/utils.d.ts | 13 - .../dist-types/utils.d.ts | 13 - .../eventstream-serde-browser/package.json | 61 - .../eventstream-serde-config-resolver/LICENSE | 201 - .../README.md | 10 - .../dist-cjs/EventStreamSerdeConfig.js | 8 - .../dist-es/EventStreamSerdeConfig.js | 4 - .../dist-es/index.js | 1 - .../dist-types/EventStreamSerdeConfig.d.ts | 24 - .../dist-types/index.d.ts | 4 - .../ts3.4/EventStreamSerdeConfig.d.ts | 24 - .../dist-types/ts3.4/index.d.ts | 4 - .../package.json | 61 - .../@smithy/eventstream-serde-node/LICENSE | 201 - .../@smithy/eventstream-serde-node/README.md | 10 - .../dist-cjs/EventStreamMarshaller.js | 22 - .../eventstream-serde-node/dist-cjs/index.js | 5 - .../dist-cjs/provider.js | 6 - .../eventstream-serde-node/dist-cjs/utils.js | 30 - .../dist-es/EventStreamMarshaller.js | 18 - .../eventstream-serde-node/dist-es/index.js | 2 - .../dist-es/provider.js | 2 - .../eventstream-serde-node/dist-es/utils.js | 26 - .../dist-types/EventStreamMarshaller.d.ts | 24 - .../dist-types/index.d.ts | 8 - .../dist-types/provider.d.ts | 3 - .../ts3.4/EventStreamMarshaller.d.ts | 24 - .../dist-types/ts3.4/index.d.ts | 8 - .../dist-types/ts3.4/provider.d.ts | 3 - .../dist-types/ts3.4/utils.d.ts | 13 - .../dist-types/utils.d.ts | 13 - .../eventstream-serde-node/package.json | 62 - .../eventstream-serde-universal/LICENSE | 201 - .../eventstream-serde-universal/README.md | 10 - .../dist-cjs/EventStreamMarshaller.js | 27 - .../MockEventMessageSource.fixture.js | 34 - .../dist-cjs/fixtures/event.fixture.js | 7 - .../dist-cjs/getChunkedStream.js | 70 - .../dist-cjs/getUnmarshalledStream.js | 52 - .../dist-cjs/index.js | 5 - .../dist-cjs/provider.js | 6 - .../dist-es/EventStreamMarshaller.js | 23 - .../MockEventMessageSource.fixture.js | 30 - .../dist-es/fixtures/event.fixture.js | 4 - .../dist-es/getChunkedStream.js | 66 - .../dist-es/getUnmarshalledStream.js | 47 - .../dist-es/index.js | 2 - .../dist-es/provider.js | 2 - .../dist-types/EventStreamMarshaller.d.ts | 23 - .../MockEventMessageSource.fixture.d.ts | 22 - .../dist-types/fixtures/event.fixture.d.ts | 17 - .../dist-types/getChunkedStream.d.ts | 4 - .../dist-types/getUnmarshalledStream.d.ts | 18 - .../dist-types/index.d.ts | 8 - .../dist-types/provider.d.ts | 3 - .../ts3.4/EventStreamMarshaller.d.ts | 23 - .../MockEventMessageSource.fixture.d.ts | 21 - .../ts3.4/fixtures/event.fixture.d.ts | 17 - .../dist-types/ts3.4/getChunkedStream.d.ts | 4 - .../ts3.4/getUnmarshalledStream.d.ts | 18 - .../dist-types/ts3.4/index.d.ts | 8 - .../dist-types/ts3.4/provider.d.ts | 3 - .../eventstream-serde-universal/package.json | 63 - package-lock.json | 66 +- package.json | 2 +- 1172 files changed, 94979 insertions(+), 43814 deletions(-) delete mode 100644 node_modules/@aws-sdk/client-lambda/README.md delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-cjs/Lambda.js delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-cjs/commands/GetFunctionCodeSigningConfigCommand.js delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-cjs/commands/GetProvisionedConcurrencyConfigCommand.js delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-cjs/commands/InvokeCommand.js delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-cjs/commands/InvokeWithResponseStreamCommand.js delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-cjs/commands/ListEventSourceMappingsCommand.js delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-cjs/commands/PutFunctionCodeSigningConfigCommand.js delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-cjs/commands/PutFunctionEventInvokeConfigCommand.js delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-cjs/commands/PutProvisionedConcurrencyConfigCommand.js delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-cjs/commands/RemoveLayerVersionPermissionCommand.js delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-cjs/commands/UpdateAliasCommand.js delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-cjs/commands/UpdateCodeSigningConfigCommand.js delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-cjs/commands/UpdateFunctionCodeCommand.js delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-cjs/commands/UpdateFunctionEventInvokeConfigCommand.js delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-cjs/commands/UpdateFunctionUrlConfigCommand.js delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-cjs/commands/index.js delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-cjs/endpoint/ruleset.js delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-cjs/index.js delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-cjs/models/models_0.js delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-cjs/pagination/ListAliasesPaginator.js delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-cjs/pagination/ListCodeSigningConfigsPaginator.js delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-cjs/pagination/ListEventSourceMappingsPaginator.js delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-cjs/pagination/ListFunctionEventInvokeConfigsPaginator.js delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-cjs/pagination/ListFunctionUrlConfigsPaginator.js delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-cjs/pagination/ListFunctionsByCodeSigningConfigPaginator.js delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-cjs/pagination/ListFunctionsPaginator.js delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-cjs/pagination/ListLayerVersionsPaginator.js delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-cjs/pagination/ListLayersPaginator.js delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-cjs/pagination/ListProvisionedConcurrencyConfigsPaginator.js delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-cjs/pagination/ListVersionsByFunctionPaginator.js delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-cjs/pagination/index.js delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-cjs/protocols/Aws_restJson1.js delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-cjs/waiters/index.js delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-cjs/waiters/waitForFunctionActive.js delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-cjs/waiters/waitForFunctionActiveV2.js delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-cjs/waiters/waitForFunctionExists.js delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-cjs/waiters/waitForFunctionUpdated.js delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-cjs/waiters/waitForFunctionUpdatedV2.js delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-cjs/waiters/waitForPublishedVersionActive.js delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-es/Lambda.js delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-es/commands/CreateFunctionCommand.js delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-es/commands/GetFunctionUrlConfigCommand.js delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-es/commands/GetLayerVersionByArnCommand.js delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-es/commands/GetLayerVersionCommand.js delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-es/commands/GetLayerVersionPolicyCommand.js delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-es/commands/InvokeWithResponseStreamCommand.js delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-es/commands/ListAliasesCommand.js delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-es/commands/ListEventSourceMappingsCommand.js delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-es/commands/ListFunctionUrlConfigsCommand.js delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-es/commands/ListFunctionsCommand.js delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-es/commands/ListVersionsByFunctionCommand.js delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-es/commands/PublishVersionCommand.js delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-es/commands/PutFunctionConcurrencyCommand.js delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-es/commands/PutProvisionedConcurrencyConfigCommand.js delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-es/commands/RemoveLayerVersionPermissionCommand.js delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-es/commands/RemovePermissionCommand.js delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-es/commands/TagResourceCommand.js delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-es/commands/UntagResourceCommand.js delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-es/commands/UpdateAliasCommand.js delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-es/commands/UpdateCodeSigningConfigCommand.js delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-es/commands/UpdateFunctionCodeCommand.js delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-es/commands/UpdateFunctionEventInvokeConfigCommand.js delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-es/commands/UpdateFunctionUrlConfigCommand.js delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-es/commands/index.js delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-es/endpoint/ruleset.js delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-es/models/index.js delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-es/models/models_0.js delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-es/pagination/ListAliasesPaginator.js delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-es/pagination/ListCodeSigningConfigsPaginator.js delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-es/pagination/ListFunctionsByCodeSigningConfigPaginator.js delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-es/pagination/ListLayersPaginator.js delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-es/pagination/ListProvisionedConcurrencyConfigsPaginator.js delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-es/pagination/index.js delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-es/protocols/Aws_restJson1.js delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-es/waiters/index.js delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-es/waiters/waitForFunctionActive.js delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-es/waiters/waitForFunctionActiveV2.js delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-es/waiters/waitForFunctionExists.js delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-es/waiters/waitForFunctionUpdated.js delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-es/waiters/waitForFunctionUpdatedV2.js delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-es/waiters/waitForPublishedVersionActive.js delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/Lambda.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/LambdaClient.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/commands/AddLayerVersionPermissionCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/commands/AddPermissionCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/commands/CreateAliasCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/commands/CreateCodeSigningConfigCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/commands/CreateEventSourceMappingCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/commands/CreateFunctionCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/commands/CreateFunctionUrlConfigCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/commands/DeleteAliasCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/commands/DeleteCodeSigningConfigCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/commands/DeleteEventSourceMappingCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/commands/DeleteFunctionCodeSigningConfigCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/commands/DeleteFunctionCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/commands/DeleteFunctionConcurrencyCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/commands/DeleteFunctionEventInvokeConfigCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/commands/DeleteFunctionUrlConfigCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/commands/DeleteLayerVersionCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/commands/DeleteProvisionedConcurrencyConfigCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/commands/GetAccountSettingsCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/commands/GetAliasCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/commands/GetCodeSigningConfigCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/commands/GetEventSourceMappingCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/commands/GetFunctionCodeSigningConfigCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/commands/GetFunctionCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/commands/GetFunctionConcurrencyCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/commands/GetFunctionConfigurationCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/commands/GetFunctionEventInvokeConfigCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/commands/GetFunctionUrlConfigCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/commands/GetLayerVersionByArnCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/commands/GetLayerVersionCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/commands/GetLayerVersionPolicyCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/commands/GetPolicyCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/commands/GetProvisionedConcurrencyConfigCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/commands/GetRuntimeManagementConfigCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/commands/InvokeAsyncCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/commands/InvokeCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/commands/InvokeWithResponseStreamCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/commands/ListAliasesCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/commands/ListCodeSigningConfigsCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/commands/ListEventSourceMappingsCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/commands/ListFunctionEventInvokeConfigsCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/commands/ListFunctionUrlConfigsCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/commands/ListFunctionsByCodeSigningConfigCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/commands/ListFunctionsCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/commands/ListLayerVersionsCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/commands/ListLayersCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/commands/ListProvisionedConcurrencyConfigsCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/commands/ListTagsCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/commands/ListVersionsByFunctionCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/commands/PublishLayerVersionCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/commands/PublishVersionCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/commands/PutFunctionCodeSigningConfigCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/commands/PutFunctionConcurrencyCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/commands/PutFunctionEventInvokeConfigCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/commands/PutProvisionedConcurrencyConfigCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/commands/PutRuntimeManagementConfigCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/commands/RemoveLayerVersionPermissionCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/commands/RemovePermissionCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/commands/TagResourceCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/commands/UntagResourceCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/commands/UpdateAliasCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/commands/UpdateCodeSigningConfigCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/commands/UpdateEventSourceMappingCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/commands/UpdateFunctionCodeCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/commands/UpdateFunctionConfigurationCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/commands/UpdateFunctionEventInvokeConfigCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/commands/UpdateFunctionUrlConfigCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/commands/index.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/index.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/models/index.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/models/models_0.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/pagination/Interfaces.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/pagination/ListAliasesPaginator.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/pagination/ListCodeSigningConfigsPaginator.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/pagination/ListEventSourceMappingsPaginator.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/pagination/ListFunctionEventInvokeConfigsPaginator.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/pagination/ListFunctionUrlConfigsPaginator.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/pagination/ListFunctionsByCodeSigningConfigPaginator.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/pagination/ListFunctionsPaginator.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/pagination/ListLayerVersionsPaginator.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/pagination/ListLayersPaginator.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/pagination/ListProvisionedConcurrencyConfigsPaginator.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/pagination/ListVersionsByFunctionPaginator.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/pagination/index.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/protocols/Aws_restJson1.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/Lambda.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/LambdaClient.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/AddLayerVersionPermissionCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/CreateCodeSigningConfigCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/CreateEventSourceMappingCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/CreateFunctionUrlConfigCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/DeleteAliasCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/DeleteCodeSigningConfigCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/DeleteEventSourceMappingCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/DeleteFunctionCodeSigningConfigCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/DeleteFunctionCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/DeleteFunctionConcurrencyCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/DeleteFunctionEventInvokeConfigCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/DeleteFunctionUrlConfigCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/DeleteLayerVersionCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/DeleteProvisionedConcurrencyConfigCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetAccountSettingsCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetEventSourceMappingCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetFunctionCodeSigningConfigCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetFunctionConcurrencyCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetFunctionConfigurationCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetFunctionEventInvokeConfigCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetLayerVersionPolicyCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetProvisionedConcurrencyConfigCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetRuntimeManagementConfigCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/InvokeAsyncCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/InvokeCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/InvokeWithResponseStreamCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/ListAliasesCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/ListEventSourceMappingsCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/ListFunctionEventInvokeConfigsCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/ListFunctionUrlConfigsCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/ListFunctionsByCodeSigningConfigCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/ListProvisionedConcurrencyConfigsCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/ListVersionsByFunctionCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/PutFunctionCodeSigningConfigCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/PutFunctionConcurrencyCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/PutFunctionEventInvokeConfigCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/PutProvisionedConcurrencyConfigCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/PutRuntimeManagementConfigCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/RemoveLayerVersionPermissionCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/RemovePermissionCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/TagResourceCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/UntagResourceCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/UpdateCodeSigningConfigCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/UpdateEventSourceMappingCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/UpdateFunctionCodeCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/UpdateFunctionConfigurationCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/UpdateFunctionEventInvokeConfigCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/UpdateFunctionUrlConfigCommand.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/index.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/models/index.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/models/models_0.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/pagination/Interfaces.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/pagination/ListAliasesPaginator.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/pagination/ListCodeSigningConfigsPaginator.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/pagination/ListEventSourceMappingsPaginator.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/pagination/ListFunctionEventInvokeConfigsPaginator.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/pagination/ListFunctionUrlConfigsPaginator.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/pagination/ListFunctionsByCodeSigningConfigPaginator.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/pagination/ListFunctionsPaginator.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/pagination/ListLayerVersionsPaginator.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/pagination/ListLayersPaginator.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/pagination/ListProvisionedConcurrencyConfigsPaginator.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/pagination/ListVersionsByFunctionPaginator.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/pagination/index.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/protocols/Aws_restJson1.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/waiters/index.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/waiters/waitForFunctionActive.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/waiters/waitForFunctionActiveV2.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/waiters/waitForFunctionExists.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/waiters/waitForFunctionUpdated.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/waiters/waitForFunctionUpdatedV2.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/waiters/waitForPublishedVersionActive.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/waiters/index.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/waiters/waitForFunctionActive.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/waiters/waitForFunctionActiveV2.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/waiters/waitForFunctionExists.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/waiters/waitForFunctionUpdated.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/waiters/waitForFunctionUpdatedV2.d.ts delete mode 100644 node_modules/@aws-sdk/client-lambda/dist-types/waiters/waitForPublishedVersionActive.d.ts rename node_modules/@aws-sdk/{client-lambda => client-ssm}/LICENSE (100%) create mode 100644 node_modules/@aws-sdk/client-ssm/README.md create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/SSM.js rename node_modules/@aws-sdk/{client-lambda/dist-cjs/LambdaClient.js => client-ssm/dist-cjs/SSMClient.js} (82%) rename node_modules/@aws-sdk/{client-lambda/dist-cjs/commands/GetLayerVersionCommand.js => client-ssm/dist-cjs/commands/AddTagsToResourceCommand.js} (73%) rename node_modules/@aws-sdk/{client-lambda/dist-cjs/commands/DeleteFunctionConcurrencyCommand.js => client-ssm/dist-cjs/commands/AssociateOpsItemRelatedItemCommand.js} (71%) rename node_modules/@aws-sdk/{client-lambda/dist-cjs/commands/TagResourceCommand.js => client-ssm/dist-cjs/commands/CancelCommandCommand.js} (74%) rename node_modules/@aws-sdk/{client-lambda/dist-cjs/commands/ListFunctionsByCodeSigningConfigCommand.js => client-ssm/dist-cjs/commands/CancelMaintenanceWindowExecutionCommand.js} (70%) create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/commands/CreateActivationCommand.js rename node_modules/@aws-sdk/{client-lambda/dist-cjs/commands/ListVersionsByFunctionCommand.js => client-ssm/dist-cjs/commands/CreateAssociationBatchCommand.js} (67%) rename node_modules/@aws-sdk/{client-lambda/dist-cjs/commands/CreateFunctionCommand.js => client-ssm/dist-cjs/commands/CreateAssociationCommand.js} (67%) create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/commands/CreateDocumentCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/commands/CreateMaintenanceWindowCommand.js rename node_modules/@aws-sdk/{client-lambda/dist-cjs/commands/DeleteFunctionCommand.js => client-ssm/dist-cjs/commands/CreateOpsItemCommand.js} (74%) create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/commands/CreateOpsMetadataCommand.js rename node_modules/@aws-sdk/{client-lambda/dist-cjs/commands/PublishLayerVersionCommand.js => client-ssm/dist-cjs/commands/CreatePatchBaselineCommand.js} (69%) rename node_modules/@aws-sdk/{client-lambda/dist-cjs/commands/GetCodeSigningConfigCommand.js => client-ssm/dist-cjs/commands/CreateResourceDataSyncCommand.js} (72%) create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DeleteActivationCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DeleteAssociationCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DeleteDocumentCommand.js rename node_modules/@aws-sdk/{client-lambda/dist-cjs/commands/AddPermissionCommand.js => client-ssm/dist-cjs/commands/DeleteInventoryCommand.js} (73%) rename node_modules/@aws-sdk/{client-lambda/dist-cjs/commands/CreateCodeSigningConfigCommand.js => client-ssm/dist-cjs/commands/DeleteMaintenanceWindowCommand.js} (72%) rename node_modules/@aws-sdk/{client-lambda/dist-cjs/commands/CreateAliasCommand.js => client-ssm/dist-cjs/commands/DeleteOpsItemCommand.js} (74%) create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DeleteOpsMetadataCommand.js rename node_modules/@aws-sdk/{client-lambda/dist-cjs/commands/UntagResourceCommand.js => client-ssm/dist-cjs/commands/DeleteParameterCommand.js} (73%) create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DeleteParametersCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DeletePatchBaselineCommand.js rename node_modules/@aws-sdk/{client-lambda/dist-cjs/commands/GetFunctionUrlConfigCommand.js => client-ssm/dist-cjs/commands/DeleteResourceDataSyncCommand.js} (72%) rename node_modules/@aws-sdk/{client-lambda/dist-cjs/commands/DeleteLayerVersionCommand.js => client-ssm/dist-cjs/commands/DeleteResourcePolicyCommand.js} (72%) rename node_modules/@aws-sdk/{client-lambda/dist-cjs/commands/DeleteCodeSigningConfigCommand.js => client-ssm/dist-cjs/commands/DeregisterManagedInstanceCommand.js} (71%) create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DeregisterPatchBaselineForPatchGroupCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DeregisterTargetFromMaintenanceWindowCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DeregisterTaskFromMaintenanceWindowCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeActivationsCommand.js rename node_modules/@aws-sdk/{client-lambda/dist-cjs/commands/ListFunctionsCommand.js => client-ssm/dist-cjs/commands/DescribeAssociationCommand.js} (69%) create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeAssociationExecutionTargetsCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeAssociationExecutionsCommand.js rename node_modules/@aws-sdk/{client-lambda/dist-cjs/commands/PutRuntimeManagementConfigCommand.js => client-ssm/dist-cjs/commands/DescribeAutomationExecutionsCommand.js} (71%) create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeAutomationStepExecutionsCommand.js rename node_modules/@aws-sdk/{client-lambda/dist-cjs/commands/ListFunctionUrlConfigsCommand.js => client-ssm/dist-cjs/commands/DescribeAvailablePatchesCommand.js} (72%) rename node_modules/@aws-sdk/{client-lambda/dist-cjs/commands/ListLayerVersionsCommand.js => client-ssm/dist-cjs/commands/DescribeDocumentCommand.js} (73%) rename node_modules/@aws-sdk/{client-lambda/dist-cjs/commands/DeleteEventSourceMappingCommand.js => client-ssm/dist-cjs/commands/DescribeDocumentPermissionCommand.js} (71%) create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeEffectiveInstanceAssociationsCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeEffectivePatchesForPatchBaselineCommand.js rename node_modules/@aws-sdk/{client-lambda/dist-cjs/commands/DeleteProvisionedConcurrencyConfigCommand.js => client-ssm/dist-cjs/commands/DescribeInstanceAssociationsStatusCommand.js} (70%) rename node_modules/@aws-sdk/{client-lambda/dist-cjs/commands/AddLayerVersionPermissionCommand.js => client-ssm/dist-cjs/commands/DescribeInstanceInformationCommand.js} (71%) create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeInstancePatchStatesCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeInstancePatchStatesForPatchGroupCommand.js rename node_modules/@aws-sdk/{client-lambda/dist-cjs/commands/CreateFunctionUrlConfigCommand.js => client-ssm/dist-cjs/commands/DescribeInstancePatchesCommand.js} (72%) rename node_modules/@aws-sdk/{client-lambda/dist-cjs/commands/UpdateEventSourceMappingCommand.js => client-ssm/dist-cjs/commands/DescribeInventoryDeletionsCommand.js} (71%) create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeMaintenanceWindowExecutionTaskInvocationsCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeMaintenanceWindowExecutionTasksCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeMaintenanceWindowExecutionsCommand.js rename node_modules/@aws-sdk/{client-lambda/dist-cjs/commands/ListProvisionedConcurrencyConfigsCommand.js => client-ssm/dist-cjs/commands/DescribeMaintenanceWindowScheduleCommand.js} (70%) create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeMaintenanceWindowTargetsCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeMaintenanceWindowTasksCommand.js rename node_modules/@aws-sdk/{client-lambda/dist-cjs/commands/GetFunctionConfigurationCommand.js => client-ssm/dist-cjs/commands/DescribeMaintenanceWindowsCommand.js} (69%) create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeMaintenanceWindowsForTargetCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeOpsItemsCommand.js rename node_modules/@aws-sdk/{client-lambda/dist-cjs/commands/RemovePermissionCommand.js => client-ssm/dist-cjs/commands/DescribeParametersCommand.js} (73%) rename node_modules/@aws-sdk/{client-lambda/dist-cjs/commands/GetLayerVersionByArnCommand.js => client-ssm/dist-cjs/commands/DescribePatchBaselinesCommand.js} (72%) create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribePatchGroupStateCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribePatchGroupsCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribePatchPropertiesCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeSessionsCommand.js rename node_modules/@aws-sdk/{client-lambda/dist-cjs/commands/ListFunctionEventInvokeConfigsCommand.js => client-ssm/dist-cjs/commands/DisassociateOpsItemRelatedItemCommand.js} (71%) rename node_modules/@aws-sdk/{client-lambda/dist-cjs/commands/GetFunctionConcurrencyCommand.js => client-ssm/dist-cjs/commands/GetAutomationExecutionCommand.js} (72%) create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/commands/GetCalendarStateCommand.js rename node_modules/@aws-sdk/{client-lambda/dist-cjs/commands/GetAccountSettingsCommand.js => client-ssm/dist-cjs/commands/GetCommandInvocationCommand.js} (72%) create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/commands/GetConnectionStatusCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/commands/GetDefaultPatchBaselineCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/commands/GetDeployablePatchSnapshotForInstanceCommand.js rename node_modules/@aws-sdk/{client-lambda/dist-cjs/commands/GetPolicyCommand.js => client-ssm/dist-cjs/commands/GetDocumentCommand.js} (74%) rename node_modules/@aws-sdk/{client-lambda/dist-cjs/commands/ListLayersCommand.js => client-ssm/dist-cjs/commands/GetInventoryCommand.js} (74%) create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/commands/GetInventorySchemaCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/commands/GetMaintenanceWindowCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/commands/GetMaintenanceWindowExecutionCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/commands/GetMaintenanceWindowExecutionTaskCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/commands/GetMaintenanceWindowExecutionTaskInvocationCommand.js rename node_modules/@aws-sdk/{client-lambda/dist-cjs/commands/CreateEventSourceMappingCommand.js => client-ssm/dist-cjs/commands/GetMaintenanceWindowTaskCommand.js} (67%) rename node_modules/@aws-sdk/{client-lambda/dist-cjs/commands/ListTagsCommand.js => client-ssm/dist-cjs/commands/GetOpsItemCommand.js} (74%) create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/commands/GetOpsMetadataCommand.js rename node_modules/@aws-sdk/{client-lambda/dist-cjs/commands/DeleteAliasCommand.js => client-ssm/dist-cjs/commands/GetOpsSummaryCommand.js} (74%) create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/commands/GetParameterCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/commands/GetParameterHistoryCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/commands/GetParametersByPathCommand.js rename node_modules/@aws-sdk/{client-lambda/dist-cjs/commands/GetFunctionCommand.js => client-ssm/dist-cjs/commands/GetParametersCommand.js} (69%) rename node_modules/@aws-sdk/{client-lambda/dist-cjs/commands/PublishVersionCommand.js => client-ssm/dist-cjs/commands/GetPatchBaselineCommand.js} (69%) create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/commands/GetPatchBaselineForPatchGroupCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/commands/GetResourcePoliciesCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/commands/GetServiceSettingCommand.js rename node_modules/@aws-sdk/{client-lambda/dist-cjs/commands/GetEventSourceMappingCommand.js => client-ssm/dist-cjs/commands/LabelParameterVersionCommand.js} (72%) create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/commands/ListAssociationVersionsCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/commands/ListAssociationsCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/commands/ListCommandInvocationsCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/commands/ListCommandsCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/commands/ListComplianceItemsCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/commands/ListComplianceSummariesCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/commands/ListDocumentMetadataHistoryCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/commands/ListDocumentVersionsCommand.js rename node_modules/@aws-sdk/{client-lambda/dist-cjs/commands/ListAliasesCommand.js => client-ssm/dist-cjs/commands/ListDocumentsCommand.js} (74%) create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/commands/ListInventoryEntriesCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/commands/ListOpsItemEventsCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/commands/ListOpsItemRelatedItemsCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/commands/ListOpsMetadataCommand.js rename node_modules/@aws-sdk/{client-lambda/dist-cjs/commands/DeleteFunctionCodeSigningConfigCommand.js => client-ssm/dist-cjs/commands/ListResourceComplianceSummariesCommand.js} (71%) create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/commands/ListResourceDataSyncCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/commands/ListTagsForResourceCommand.js rename node_modules/@aws-sdk/{client-lambda/dist-cjs/commands/ListCodeSigningConfigsCommand.js => client-ssm/dist-cjs/commands/ModifyDocumentPermissionCommand.js} (72%) create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/commands/PutComplianceItemsCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/commands/PutInventoryCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/commands/PutParameterCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/commands/PutResourcePolicyCommand.js rename node_modules/@aws-sdk/{client-lambda/dist-cjs/commands/GetRuntimeManagementConfigCommand.js => client-ssm/dist-cjs/commands/RegisterDefaultPatchBaselineCommand.js} (71%) rename node_modules/@aws-sdk/{client-lambda/dist-cjs/commands/DeleteFunctionEventInvokeConfigCommand.js => client-ssm/dist-cjs/commands/RegisterPatchBaselineForPatchGroupCommand.js} (68%) create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/commands/RegisterTargetWithMaintenanceWindowCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/commands/RegisterTaskWithMaintenanceWindowCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/commands/RemoveTagsFromResourceCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/commands/ResetServiceSettingCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/commands/ResumeSessionCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/commands/SendAutomationSignalCommand.js rename node_modules/@aws-sdk/{client-lambda/dist-cjs/commands/InvokeAsyncCommand.js => client-ssm/dist-cjs/commands/SendCommandCommand.js} (68%) rename node_modules/@aws-sdk/{client-lambda/dist-cjs/commands/GetLayerVersionPolicyCommand.js => client-ssm/dist-cjs/commands/StartAssociationsOnceCommand.js} (72%) rename node_modules/@aws-sdk/{client-lambda/dist-cjs/commands/PutFunctionConcurrencyCommand.js => client-ssm/dist-cjs/commands/StartAutomationExecutionCommand.js} (72%) create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/commands/StartChangeRequestExecutionCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/commands/StartSessionCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/commands/StopAutomationExecutionCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/commands/TerminateSessionCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/commands/UnlabelParameterVersionCommand.js rename node_modules/@aws-sdk/{client-lambda/dist-cjs/commands/GetAliasCommand.js => client-ssm/dist-cjs/commands/UpdateAssociationCommand.js} (65%) create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/commands/UpdateAssociationStatusCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/commands/UpdateDocumentCommand.js rename node_modules/@aws-sdk/{client-lambda/dist-cjs/commands/GetFunctionEventInvokeConfigCommand.js => client-ssm/dist-cjs/commands/UpdateDocumentDefaultVersionCommand.js} (71%) create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/commands/UpdateDocumentMetadataCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/commands/UpdateMaintenanceWindowCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/commands/UpdateMaintenanceWindowTargetCommand.js rename node_modules/@aws-sdk/{client-lambda/dist-cjs/commands/UpdateFunctionConfigurationCommand.js => client-ssm/dist-cjs/commands/UpdateMaintenanceWindowTaskCommand.js} (64%) rename node_modules/@aws-sdk/{client-lambda/dist-cjs/commands/DeleteFunctionUrlConfigCommand.js => client-ssm/dist-cjs/commands/UpdateManagedInstanceRoleCommand.js} (71%) create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/commands/UpdateOpsItemCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/commands/UpdateOpsMetadataCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/commands/UpdatePatchBaselineCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/commands/UpdateResourceDataSyncCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/commands/UpdateServiceSettingCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/commands/index.js rename node_modules/@aws-sdk/{client-lambda => client-ssm}/dist-cjs/endpoint/EndpointParameters.js (91%) rename node_modules/@aws-sdk/{client-lambda => client-ssm}/dist-cjs/endpoint/endpointResolver.js (100%) create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/endpoint/ruleset.js rename node_modules/@aws-sdk/{client-lambda => client-ssm}/dist-cjs/extensionConfiguration.js (100%) create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/index.js rename node_modules/@aws-sdk/{client-lambda/dist-cjs/models/LambdaServiceException.js => client-ssm/dist-cjs/models/SSMServiceException.js} (55%) rename node_modules/@aws-sdk/{client-lambda => client-ssm}/dist-cjs/models/index.js (60%) create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/models/models_0.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/models/models_1.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/models/models_2.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeActivationsPaginator.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeAssociationExecutionTargetsPaginator.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeAssociationExecutionsPaginator.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeAutomationExecutionsPaginator.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeAutomationStepExecutionsPaginator.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeAvailablePatchesPaginator.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeEffectiveInstanceAssociationsPaginator.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeEffectivePatchesForPatchBaselinePaginator.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeInstanceAssociationsStatusPaginator.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeInstanceInformationPaginator.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeInstancePatchStatesForPatchGroupPaginator.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeInstancePatchStatesPaginator.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeInstancePatchesPaginator.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeInventoryDeletionsPaginator.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeMaintenanceWindowExecutionTaskInvocationsPaginator.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeMaintenanceWindowExecutionTasksPaginator.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeMaintenanceWindowExecutionsPaginator.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeMaintenanceWindowSchedulePaginator.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeMaintenanceWindowTargetsPaginator.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeMaintenanceWindowTasksPaginator.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeMaintenanceWindowsForTargetPaginator.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeMaintenanceWindowsPaginator.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeOpsItemsPaginator.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeParametersPaginator.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribePatchBaselinesPaginator.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribePatchGroupsPaginator.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribePatchPropertiesPaginator.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeSessionsPaginator.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/GetInventoryPaginator.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/GetInventorySchemaPaginator.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/GetOpsSummaryPaginator.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/GetParameterHistoryPaginator.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/GetParametersByPathPaginator.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/GetResourcePoliciesPaginator.js rename node_modules/@aws-sdk/{client-lambda => client-ssm}/dist-cjs/pagination/Interfaces.js (100%) create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/ListAssociationVersionsPaginator.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/ListAssociationsPaginator.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/ListCommandInvocationsPaginator.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/ListCommandsPaginator.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/ListComplianceItemsPaginator.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/ListComplianceSummariesPaginator.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/ListDocumentVersionsPaginator.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/ListDocumentsPaginator.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/ListOpsItemEventsPaginator.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/ListOpsItemRelatedItemsPaginator.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/ListOpsMetadataPaginator.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/ListResourceComplianceSummariesPaginator.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/ListResourceDataSyncPaginator.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/index.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/protocols/Aws_json1_1.js rename node_modules/@aws-sdk/{client-lambda => client-ssm}/dist-cjs/runtimeConfig.browser.js (92%) rename node_modules/@aws-sdk/{client-lambda => client-ssm}/dist-cjs/runtimeConfig.js (94%) rename node_modules/@aws-sdk/{client-lambda => client-ssm}/dist-cjs/runtimeConfig.native.js (100%) rename node_modules/@aws-sdk/{client-lambda => client-ssm}/dist-cjs/runtimeConfig.shared.js (92%) rename node_modules/@aws-sdk/{client-lambda => client-ssm}/dist-cjs/runtimeExtensions.js (100%) rename node_modules/{@smithy/eventstream-serde-config-resolver/dist-cjs => @aws-sdk/client-ssm/dist-cjs/waiters}/index.js (64%) create mode 100644 node_modules/@aws-sdk/client-ssm/dist-cjs/waiters/waitForCommandExecuted.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/SSM.js rename node_modules/@aws-sdk/{client-lambda/dist-es/LambdaClient.js => client-ssm/dist-es/SSMClient.js} (86%) create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/commands/AddTagsToResourceCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/commands/AssociateOpsItemRelatedItemCommand.js rename node_modules/@aws-sdk/{client-lambda/dist-es/commands/DeleteAliasCommand.js => client-ssm/dist-es/commands/CancelCommandCommand.js} (75%) rename node_modules/@aws-sdk/{client-lambda/dist-es/commands/ListFunctionsByCodeSigningConfigCommand.js => client-ssm/dist-es/commands/CancelMaintenanceWindowExecutionCommand.js} (72%) rename node_modules/@aws-sdk/{client-lambda/dist-es/commands/DeleteFunctionCommand.js => client-ssm/dist-es/commands/CreateActivationCommand.js} (75%) rename node_modules/@aws-sdk/{client-lambda/dist-es/commands/GetFunctionConcurrencyCommand.js => client-ssm/dist-es/commands/CreateAssociationBatchCommand.js} (63%) create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/commands/CreateAssociationCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/commands/CreateDocumentCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/commands/CreateMaintenanceWindowCommand.js rename node_modules/@aws-sdk/{client-lambda/dist-es/commands/CreateAliasCommand.js => client-ssm/dist-es/commands/CreateOpsItemCommand.js} (75%) create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/commands/CreateOpsMetadataCommand.js rename node_modules/@aws-sdk/{client-lambda/dist-es/commands/PublishLayerVersionCommand.js => client-ssm/dist-es/commands/CreatePatchBaselineCommand.js} (69%) rename node_modules/@aws-sdk/{client-lambda/dist-es/commands/DeleteLayerVersionCommand.js => client-ssm/dist-es/commands/CreateResourceDataSyncCommand.js} (73%) create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/commands/DeleteActivationCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/commands/DeleteAssociationCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/commands/DeleteDocumentCommand.js rename node_modules/@aws-sdk/{client-lambda/dist-es/commands/AddPermissionCommand.js => client-ssm/dist-es/commands/DeleteInventoryCommand.js} (75%) rename node_modules/@aws-sdk/{client-lambda/dist-es/commands/DeleteCodeSigningConfigCommand.js => client-ssm/dist-es/commands/DeleteMaintenanceWindowCommand.js} (73%) create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/commands/DeleteOpsItemCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/commands/DeleteOpsMetadataCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/commands/DeleteParameterCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/commands/DeleteParametersCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/commands/DeletePatchBaselineCommand.js rename node_modules/@aws-sdk/{client-lambda/dist-es/commands/GetAccountSettingsCommand.js => client-ssm/dist-es/commands/DeleteResourceDataSyncCommand.js} (73%) create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/commands/DeleteResourcePolicyCommand.js rename node_modules/@aws-sdk/{client-lambda/dist-es/commands/AddLayerVersionPermissionCommand.js => client-ssm/dist-es/commands/DeregisterManagedInstanceCommand.js} (73%) create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/commands/DeregisterPatchBaselineForPatchGroupCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/commands/DeregisterTargetFromMaintenanceWindowCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/commands/DeregisterTaskFromMaintenanceWindowCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeActivationsCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeAssociationCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeAssociationExecutionTargetsCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeAssociationExecutionsCommand.js rename node_modules/@aws-sdk/{client-lambda/dist-es/commands/GetFunctionCodeSigningConfigCommand.js => client-ssm/dist-es/commands/DescribeAutomationExecutionsCommand.js} (72%) rename node_modules/@aws-sdk/{client-lambda/dist-es/commands/DeleteFunctionCodeSigningConfigCommand.js => client-ssm/dist-es/commands/DescribeAutomationStepExecutionsCommand.js} (71%) rename node_modules/@aws-sdk/{client-lambda/dist-es/commands/DeleteEventSourceMappingCommand.js => client-ssm/dist-es/commands/DescribeAvailablePatchesCommand.js} (73%) create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeDocumentCommand.js rename node_modules/@aws-sdk/{client-lambda/dist-es/commands/GetRuntimeManagementConfigCommand.js => client-ssm/dist-es/commands/DescribeDocumentPermissionCommand.js} (73%) create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeEffectiveInstanceAssociationsCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeEffectivePatchesForPatchBaselineCommand.js rename node_modules/@aws-sdk/{client-lambda/dist-es/commands/DeleteProvisionedConcurrencyConfigCommand.js => client-ssm/dist-es/commands/DescribeInstanceAssociationsStatusCommand.js} (72%) create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeInstanceInformationCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeInstancePatchStatesCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeInstancePatchStatesForPatchGroupCommand.js rename node_modules/@aws-sdk/{client-lambda/dist-es/commands/CreateFunctionUrlConfigCommand.js => client-ssm/dist-es/commands/DescribeInstancePatchesCommand.js} (73%) rename node_modules/@aws-sdk/{client-lambda/dist-es/commands/PutRuntimeManagementConfigCommand.js => client-ssm/dist-es/commands/DescribeInventoryDeletionsCommand.js} (73%) rename node_modules/@aws-sdk/{client-lambda/dist-es/commands/InvokeCommand.js => client-ssm/dist-es/commands/DescribeMaintenanceWindowExecutionTaskInvocationsCommand.js} (60%) create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeMaintenanceWindowExecutionTasksCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeMaintenanceWindowExecutionsCommand.js rename node_modules/@aws-sdk/{client-lambda/dist-es/commands/ListProvisionedConcurrencyConfigsCommand.js => client-ssm/dist-es/commands/DescribeMaintenanceWindowScheduleCommand.js} (72%) create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeMaintenanceWindowTargetsCommand.js rename node_modules/@aws-sdk/{client-lambda/dist-es/commands/GetProvisionedConcurrencyConfigCommand.js => client-ssm/dist-es/commands/DescribeMaintenanceWindowTasksCommand.js} (65%) create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeMaintenanceWindowsCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeMaintenanceWindowsForTargetCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeOpsItemsCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeParametersCommand.js rename node_modules/@aws-sdk/{client-lambda/dist-es/commands/ListCodeSigningConfigsCommand.js => client-ssm/dist-es/commands/DescribePatchBaselinesCommand.js} (73%) rename node_modules/@aws-sdk/{client-lambda/dist-es/commands/DeleteFunctionUrlConfigCommand.js => client-ssm/dist-es/commands/DescribePatchGroupStateCommand.js} (73%) create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribePatchGroupsCommand.js rename node_modules/@aws-sdk/{client-lambda/dist-es/commands/GetFunctionEventInvokeConfigCommand.js => client-ssm/dist-es/commands/DescribePatchPropertiesCommand.js} (74%) create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeSessionsCommand.js rename node_modules/@aws-sdk/{client-lambda/dist-es/commands/ListFunctionEventInvokeConfigsCommand.js => client-ssm/dist-es/commands/DisassociateOpsItemRelatedItemCommand.js} (72%) create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/commands/GetAutomationExecutionCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/commands/GetCalendarStateCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/commands/GetCommandInvocationCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/commands/GetConnectionStatusCommand.js rename node_modules/@aws-sdk/{client-lambda/dist-es/commands/CreateCodeSigningConfigCommand.js => client-ssm/dist-es/commands/GetDefaultPatchBaselineCommand.js} (73%) create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/commands/GetDeployablePatchSnapshotForInstanceCommand.js rename node_modules/@aws-sdk/{client-lambda/dist-es/commands/GetPolicyCommand.js => client-ssm/dist-es/commands/GetDocumentCommand.js} (76%) rename node_modules/@aws-sdk/{client-lambda/dist-es/commands/ListLayersCommand.js => client-ssm/dist-es/commands/GetInventoryCommand.js} (76%) create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/commands/GetInventorySchemaCommand.js rename node_modules/@aws-sdk/{client-lambda/dist-es/commands/GetCodeSigningConfigCommand.js => client-ssm/dist-es/commands/GetMaintenanceWindowCommand.js} (67%) create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/commands/GetMaintenanceWindowExecutionCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/commands/GetMaintenanceWindowExecutionTaskCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/commands/GetMaintenanceWindowExecutionTaskInvocationCommand.js rename node_modules/@aws-sdk/{client-lambda/dist-es/commands/GetFunctionConfigurationCommand.js => client-ssm/dist-es/commands/GetMaintenanceWindowTaskCommand.js} (67%) rename node_modules/@aws-sdk/{client-lambda/dist-es/commands/ListTagsCommand.js => client-ssm/dist-es/commands/GetOpsItemCommand.js} (76%) create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/commands/GetOpsMetadataCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/commands/GetOpsSummaryCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/commands/GetParameterCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/commands/GetParameterHistoryCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/commands/GetParametersByPathCommand.js rename node_modules/@aws-sdk/{client-lambda/dist-es/commands/GetFunctionCommand.js => client-ssm/dist-es/commands/GetParametersCommand.js} (70%) create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/commands/GetPatchBaselineCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/commands/GetPatchBaselineForPatchGroupCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/commands/GetResourcePoliciesCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/commands/GetServiceSettingCommand.js rename node_modules/@aws-sdk/{client-lambda/dist-es/commands/ListLayerVersionsCommand.js => client-ssm/dist-es/commands/LabelParameterVersionCommand.js} (73%) create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/commands/ListAssociationVersionsCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/commands/ListAssociationsCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/commands/ListCommandInvocationsCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/commands/ListCommandsCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/commands/ListComplianceItemsCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/commands/ListComplianceSummariesCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/commands/ListDocumentMetadataHistoryCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/commands/ListDocumentVersionsCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/commands/ListDocumentsCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/commands/ListInventoryEntriesCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/commands/ListOpsItemEventsCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/commands/ListOpsItemRelatedItemsCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/commands/ListOpsMetadataCommand.js rename node_modules/@aws-sdk/{client-lambda/dist-es/commands/DeleteFunctionEventInvokeConfigCommand.js => client-ssm/dist-es/commands/ListResourceComplianceSummariesCommand.js} (72%) create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/commands/ListResourceDataSyncCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/commands/ListTagsForResourceCommand.js rename node_modules/@aws-sdk/{client-lambda/dist-es/commands/CreateEventSourceMappingCommand.js => client-ssm/dist-es/commands/ModifyDocumentPermissionCommand.js} (73%) create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/commands/PutComplianceItemsCommand.js rename node_modules/@aws-sdk/{client-lambda/dist-es/commands/GetAliasCommand.js => client-ssm/dist-es/commands/PutInventoryCommand.js} (76%) create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/commands/PutParameterCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/commands/PutResourcePolicyCommand.js rename node_modules/@aws-sdk/{client-lambda/dist-es/commands/PutFunctionCodeSigningConfigCommand.js => client-ssm/dist-es/commands/RegisterDefaultPatchBaselineCommand.js} (72%) rename node_modules/@aws-sdk/{client-lambda/dist-es/commands/GetEventSourceMappingCommand.js => client-ssm/dist-es/commands/RegisterPatchBaselineForPatchGroupCommand.js} (70%) create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/commands/RegisterTargetWithMaintenanceWindowCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/commands/RegisterTaskWithMaintenanceWindowCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/commands/RemoveTagsFromResourceCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/commands/ResetServiceSettingCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/commands/ResumeSessionCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/commands/SendAutomationSignalCommand.js rename node_modules/@aws-sdk/{client-lambda/dist-es/commands/InvokeAsyncCommand.js => client-ssm/dist-es/commands/SendCommandCommand.js} (66%) create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/commands/StartAssociationsOnceCommand.js rename node_modules/@aws-sdk/{client-lambda/dist-es/commands/UpdateEventSourceMappingCommand.js => client-ssm/dist-es/commands/StartAutomationExecutionCommand.js} (73%) create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/commands/StartChangeRequestExecutionCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/commands/StartSessionCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/commands/StopAutomationExecutionCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/commands/TerminateSessionCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/commands/UnlabelParameterVersionCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/commands/UpdateAssociationCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/commands/UpdateAssociationStatusCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/commands/UpdateDocumentCommand.js rename node_modules/@aws-sdk/{client-lambda/dist-es/commands/PutFunctionEventInvokeConfigCommand.js => client-ssm/dist-es/commands/UpdateDocumentDefaultVersionCommand.js} (72%) create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/commands/UpdateDocumentMetadataCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/commands/UpdateMaintenanceWindowCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/commands/UpdateMaintenanceWindowTargetCommand.js rename node_modules/@aws-sdk/{client-lambda/dist-es/commands/UpdateFunctionConfigurationCommand.js => client-ssm/dist-es/commands/UpdateMaintenanceWindowTaskCommand.js} (63%) rename node_modules/@aws-sdk/{client-lambda/dist-es/commands/DeleteFunctionConcurrencyCommand.js => client-ssm/dist-es/commands/UpdateManagedInstanceRoleCommand.js} (73%) create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/commands/UpdateOpsItemCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/commands/UpdateOpsMetadataCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/commands/UpdatePatchBaselineCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/commands/UpdateResourceDataSyncCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/commands/UpdateServiceSettingCommand.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/commands/index.js rename node_modules/@aws-sdk/{client-lambda => client-ssm}/dist-es/endpoint/EndpointParameters.js (85%) rename node_modules/@aws-sdk/{client-lambda => client-ssm}/dist-es/endpoint/endpointResolver.js (100%) create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/endpoint/ruleset.js rename node_modules/@aws-sdk/{client-lambda => client-ssm}/dist-es/extensionConfiguration.js (100%) rename node_modules/@aws-sdk/{client-lambda => client-ssm}/dist-es/index.js (52%) rename node_modules/@aws-sdk/{client-lambda/dist-es/models/LambdaServiceException.js => client-ssm/dist-es/models/SSMServiceException.js} (55%) create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/models/index.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/models/models_0.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/models/models_1.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/models/models_2.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeActivationsPaginator.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeAssociationExecutionTargetsPaginator.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeAssociationExecutionsPaginator.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeAutomationExecutionsPaginator.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeAutomationStepExecutionsPaginator.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeAvailablePatchesPaginator.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeEffectiveInstanceAssociationsPaginator.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeEffectivePatchesForPatchBaselinePaginator.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeInstanceAssociationsStatusPaginator.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeInstanceInformationPaginator.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeInstancePatchStatesForPatchGroupPaginator.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeInstancePatchStatesPaginator.js rename node_modules/@aws-sdk/{client-lambda/dist-es/pagination/ListEventSourceMappingsPaginator.js => client-ssm/dist-es/pagination/DescribeInstancePatchesPaginator.js} (50%) create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeInventoryDeletionsPaginator.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeMaintenanceWindowExecutionTaskInvocationsPaginator.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeMaintenanceWindowExecutionTasksPaginator.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeMaintenanceWindowExecutionsPaginator.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeMaintenanceWindowSchedulePaginator.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeMaintenanceWindowTargetsPaginator.js rename node_modules/@aws-sdk/{client-lambda/dist-es/pagination/ListFunctionEventInvokeConfigsPaginator.js => client-ssm/dist-es/pagination/DescribeMaintenanceWindowTasksPaginator.js} (50%) create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeMaintenanceWindowsForTargetPaginator.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeMaintenanceWindowsPaginator.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeOpsItemsPaginator.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeParametersPaginator.js rename node_modules/@aws-sdk/{client-lambda/dist-es/pagination/ListVersionsByFunctionPaginator.js => client-ssm/dist-es/pagination/DescribePatchBaselinesPaginator.js} (50%) create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribePatchGroupsPaginator.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribePatchPropertiesPaginator.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeSessionsPaginator.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/pagination/GetInventoryPaginator.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/pagination/GetInventorySchemaPaginator.js rename node_modules/@aws-sdk/{client-lambda/dist-es/pagination/ListFunctionsPaginator.js => client-ssm/dist-es/pagination/GetOpsSummaryPaginator.js} (51%) create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/pagination/GetParameterHistoryPaginator.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/pagination/GetParametersByPathPaginator.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/pagination/GetResourcePoliciesPaginator.js rename node_modules/@aws-sdk/{client-lambda => client-ssm}/dist-es/pagination/Interfaces.js (100%) create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/pagination/ListAssociationVersionsPaginator.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/pagination/ListAssociationsPaginator.js rename node_modules/@aws-sdk/{client-lambda/dist-es/pagination/ListFunctionUrlConfigsPaginator.js => client-ssm/dist-es/pagination/ListCommandInvocationsPaginator.js} (50%) create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/pagination/ListCommandsPaginator.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/pagination/ListComplianceItemsPaginator.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/pagination/ListComplianceSummariesPaginator.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/pagination/ListDocumentVersionsPaginator.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/pagination/ListDocumentsPaginator.js rename node_modules/@aws-sdk/{client-lambda/dist-es/pagination/ListLayerVersionsPaginator.js => client-ssm/dist-es/pagination/ListOpsItemEventsPaginator.js} (50%) create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/pagination/ListOpsItemRelatedItemsPaginator.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/pagination/ListOpsMetadataPaginator.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/pagination/ListResourceComplianceSummariesPaginator.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/pagination/ListResourceDataSyncPaginator.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/pagination/index.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/protocols/Aws_json1_1.js rename node_modules/@aws-sdk/{client-lambda => client-ssm}/dist-es/runtimeConfig.browser.js (92%) rename node_modules/@aws-sdk/{client-lambda => client-ssm}/dist-es/runtimeConfig.js (94%) rename node_modules/@aws-sdk/{client-lambda => client-ssm}/dist-es/runtimeConfig.native.js (100%) rename node_modules/@aws-sdk/{client-lambda => client-ssm}/dist-es/runtimeConfig.shared.js (91%) rename node_modules/@aws-sdk/{client-lambda => client-ssm}/dist-es/runtimeExtensions.js (100%) create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/waiters/index.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-es/waiters/waitForCommandExecuted.js create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/SSM.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/SSMClient.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/AddTagsToResourceCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/AssociateOpsItemRelatedItemCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/CancelCommandCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/CancelMaintenanceWindowExecutionCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateActivationCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateAssociationBatchCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateAssociationCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateDocumentCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateMaintenanceWindowCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateOpsItemCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateOpsMetadataCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/CreatePatchBaselineCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateResourceDataSyncCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteActivationCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteAssociationCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteDocumentCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteInventoryCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteMaintenanceWindowCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteOpsItemCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteOpsMetadataCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteParameterCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteParametersCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/DeletePatchBaselineCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteResourceDataSyncCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteResourcePolicyCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/DeregisterManagedInstanceCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/DeregisterPatchBaselineForPatchGroupCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/DeregisterTargetFromMaintenanceWindowCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/DeregisterTaskFromMaintenanceWindowCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeActivationsCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeAssociationCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeAssociationExecutionTargetsCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeAssociationExecutionsCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeAutomationExecutionsCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeAutomationStepExecutionsCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeAvailablePatchesCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeDocumentCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeDocumentPermissionCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeEffectiveInstanceAssociationsCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeEffectivePatchesForPatchBaselineCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeInstanceAssociationsStatusCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeInstanceInformationCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeInstancePatchStatesCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeInstancePatchStatesForPatchGroupCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeInstancePatchesCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeInventoryDeletionsCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeMaintenanceWindowExecutionTaskInvocationsCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeMaintenanceWindowExecutionTasksCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeMaintenanceWindowExecutionsCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeMaintenanceWindowScheduleCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeMaintenanceWindowTargetsCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeMaintenanceWindowTasksCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeMaintenanceWindowsCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeMaintenanceWindowsForTargetCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeOpsItemsCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeParametersCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribePatchBaselinesCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribePatchGroupStateCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribePatchGroupsCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribePatchPropertiesCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeSessionsCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/DisassociateOpsItemRelatedItemCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/GetAutomationExecutionCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/GetCalendarStateCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/GetCommandInvocationCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/GetConnectionStatusCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/GetDefaultPatchBaselineCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/GetDeployablePatchSnapshotForInstanceCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/GetDocumentCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/GetInventoryCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/GetInventorySchemaCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/GetMaintenanceWindowCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/GetMaintenanceWindowExecutionCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/GetMaintenanceWindowExecutionTaskCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/GetMaintenanceWindowExecutionTaskInvocationCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/GetMaintenanceWindowTaskCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/GetOpsItemCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/GetOpsMetadataCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/GetOpsSummaryCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/GetParameterCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/GetParameterHistoryCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/GetParametersByPathCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/GetParametersCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/GetPatchBaselineCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/GetPatchBaselineForPatchGroupCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/GetResourcePoliciesCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/GetServiceSettingCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/LabelParameterVersionCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/ListAssociationVersionsCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/ListAssociationsCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/ListCommandInvocationsCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/ListCommandsCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/ListComplianceItemsCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/ListComplianceSummariesCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/ListDocumentMetadataHistoryCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/ListDocumentVersionsCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/ListDocumentsCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/ListInventoryEntriesCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/ListOpsItemEventsCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/ListOpsItemRelatedItemsCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/ListOpsMetadataCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/ListResourceComplianceSummariesCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/ListResourceDataSyncCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/ListTagsForResourceCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/ModifyDocumentPermissionCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/PutComplianceItemsCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/PutInventoryCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/PutParameterCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/PutResourcePolicyCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/RegisterDefaultPatchBaselineCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/RegisterPatchBaselineForPatchGroupCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/RegisterTargetWithMaintenanceWindowCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/RegisterTaskWithMaintenanceWindowCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/RemoveTagsFromResourceCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/ResetServiceSettingCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/ResumeSessionCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/SendAutomationSignalCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/SendCommandCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/StartAssociationsOnceCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/StartAutomationExecutionCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/StartChangeRequestExecutionCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/StartSessionCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/StopAutomationExecutionCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/TerminateSessionCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/UnlabelParameterVersionCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateAssociationCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateAssociationStatusCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateDocumentCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateDocumentDefaultVersionCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateDocumentMetadataCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateMaintenanceWindowCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateMaintenanceWindowTargetCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateMaintenanceWindowTaskCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateManagedInstanceRoleCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateOpsItemCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateOpsMetadataCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdatePatchBaselineCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateResourceDataSyncCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateServiceSettingCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/commands/index.d.ts rename node_modules/@aws-sdk/{client-lambda => client-ssm}/dist-types/endpoint/EndpointParameters.d.ts (100%) rename node_modules/@aws-sdk/{client-lambda => client-ssm}/dist-types/endpoint/endpointResolver.d.ts (100%) rename node_modules/@aws-sdk/{client-lambda => client-ssm}/dist-types/endpoint/ruleset.d.ts (100%) rename node_modules/@aws-sdk/{client-lambda => client-ssm}/dist-types/extensionConfiguration.d.ts (59%) create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/index.d.ts rename node_modules/@aws-sdk/{client-lambda/dist-types/models/LambdaServiceException.d.ts => client-ssm/dist-types/models/SSMServiceException.d.ts} (67%) create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/models/index.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/models/models_0.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/models/models_1.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/models/models_2.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeActivationsPaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeAssociationExecutionTargetsPaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeAssociationExecutionsPaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeAutomationExecutionsPaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeAutomationStepExecutionsPaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeAvailablePatchesPaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeEffectiveInstanceAssociationsPaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeEffectivePatchesForPatchBaselinePaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeInstanceAssociationsStatusPaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeInstanceInformationPaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeInstancePatchStatesForPatchGroupPaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeInstancePatchStatesPaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeInstancePatchesPaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeInventoryDeletionsPaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeMaintenanceWindowExecutionTaskInvocationsPaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeMaintenanceWindowExecutionTasksPaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeMaintenanceWindowExecutionsPaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeMaintenanceWindowSchedulePaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeMaintenanceWindowTargetsPaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeMaintenanceWindowTasksPaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeMaintenanceWindowsForTargetPaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeMaintenanceWindowsPaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeOpsItemsPaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeParametersPaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribePatchBaselinesPaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribePatchGroupsPaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribePatchPropertiesPaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeSessionsPaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/pagination/GetInventoryPaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/pagination/GetInventorySchemaPaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/pagination/GetOpsSummaryPaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/pagination/GetParameterHistoryPaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/pagination/GetParametersByPathPaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/pagination/GetResourcePoliciesPaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/pagination/Interfaces.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/pagination/ListAssociationVersionsPaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/pagination/ListAssociationsPaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/pagination/ListCommandInvocationsPaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/pagination/ListCommandsPaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/pagination/ListComplianceItemsPaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/pagination/ListComplianceSummariesPaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/pagination/ListDocumentVersionsPaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/pagination/ListDocumentsPaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/pagination/ListOpsItemEventsPaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/pagination/ListOpsItemRelatedItemsPaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/pagination/ListOpsMetadataPaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/pagination/ListResourceComplianceSummariesPaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/pagination/ListResourceDataSyncPaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/pagination/index.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/protocols/Aws_json1_1.d.ts rename node_modules/@aws-sdk/{client-lambda => client-ssm}/dist-types/runtimeConfig.browser.d.ts (94%) rename node_modules/@aws-sdk/{client-lambda => client-ssm}/dist-types/runtimeConfig.d.ts (94%) rename node_modules/@aws-sdk/{client-lambda => client-ssm}/dist-types/runtimeConfig.native.d.ts (93%) rename node_modules/@aws-sdk/{client-lambda => client-ssm}/dist-types/runtimeConfig.shared.d.ts (84%) rename node_modules/@aws-sdk/{client-lambda => client-ssm}/dist-types/runtimeExtensions.d.ts (65%) create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/SSM.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/SSMClient.d.ts rename node_modules/@aws-sdk/{client-lambda/dist-types/ts3.4/commands/ListLayerVersionsCommand.d.ts => client-ssm/dist-types/ts3.4/commands/AddTagsToResourceCommand.d.ts} (51%) create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/AssociateOpsItemRelatedItemCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/CancelCommandCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/CancelMaintenanceWindowExecutionCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/CreateActivationCommand.d.ts rename node_modules/@aws-sdk/{client-lambda/dist-types/ts3.4/commands/GetCodeSigningConfigCommand.d.ts => client-ssm/dist-types/ts3.4/commands/CreateAssociationBatchCommand.d.ts} (50%) create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/CreateAssociationCommand.d.ts rename node_modules/@aws-sdk/{client-lambda/dist-types/ts3.4/commands/CreateFunctionCommand.d.ts => client-ssm/dist-types/ts3.4/commands/CreateDocumentCommand.d.ts} (53%) create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/CreateMaintenanceWindowCommand.d.ts rename node_modules/@aws-sdk/{client-lambda/dist-types/ts3.4/commands/AddPermissionCommand.d.ts => client-ssm/dist-types/ts3.4/commands/CreateOpsItemCommand.d.ts} (54%) create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/CreateOpsMetadataCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/CreatePatchBaselineCommand.d.ts rename node_modules/@aws-sdk/{client-lambda/dist-types/ts3.4/commands/GetFunctionUrlConfigCommand.d.ts => client-ssm/dist-types/ts3.4/commands/CreateResourceDataSyncCommand.d.ts} (50%) create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeleteActivationCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeleteAssociationCommand.d.ts rename node_modules/@aws-sdk/{client-lambda/dist-types/ts3.4/commands/PublishVersionCommand.d.ts => client-ssm/dist-types/ts3.4/commands/DeleteDocumentCommand.d.ts} (53%) rename node_modules/@aws-sdk/{client-lambda/dist-types/ts3.4/commands/GetLayerVersionCommand.d.ts => client-ssm/dist-types/ts3.4/commands/DeleteInventoryCommand.d.ts} (52%) create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeleteMaintenanceWindowCommand.d.ts rename node_modules/@aws-sdk/{client-lambda/dist-types/ts3.4/commands/ListFunctionsCommand.d.ts => client-ssm/dist-types/ts3.4/commands/DeleteOpsItemCommand.d.ts} (54%) create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeleteOpsMetadataCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeleteParameterCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeleteParametersCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeletePatchBaselineCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeleteResourceDataSyncCommand.d.ts rename node_modules/@aws-sdk/{client-lambda/dist-types/ts3.4/commands/GetLayerVersionByArnCommand.d.ts => client-ssm/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts} (50%) create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeregisterManagedInstanceCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeregisterPatchBaselineForPatchGroupCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeregisterTargetFromMaintenanceWindowCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeregisterTaskFromMaintenanceWindowCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeActivationsCommand.d.ts rename node_modules/@aws-sdk/{client-lambda/dist-types/ts3.4/commands/PublishLayerVersionCommand.d.ts => client-ssm/dist-types/ts3.4/commands/DescribeAssociationCommand.d.ts} (51%) create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeAssociationExecutionTargetsCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeAssociationExecutionsCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeAutomationExecutionsCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeAutomationStepExecutionsCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeAvailablePatchesCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeDocumentCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeDocumentPermissionCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeEffectiveInstanceAssociationsCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeEffectivePatchesForPatchBaselineCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeInstanceAssociationsStatusCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeInstanceInformationCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeInstancePatchStatesCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeInstancePatchStatesForPatchGroupCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeInstancePatchesCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeInventoryDeletionsCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeMaintenanceWindowExecutionTaskInvocationsCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeMaintenanceWindowExecutionTasksCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeMaintenanceWindowExecutionsCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeMaintenanceWindowScheduleCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeMaintenanceWindowTargetsCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeMaintenanceWindowTasksCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeMaintenanceWindowsCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeMaintenanceWindowsForTargetCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeOpsItemsCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeParametersCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribePatchBaselinesCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribePatchGroupStateCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribePatchGroupsCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribePatchPropertiesCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeSessionsCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DisassociateOpsItemRelatedItemCommand.d.ts rename node_modules/@aws-sdk/{client-lambda/dist-types/ts3.4/commands/ListCodeSigningConfigsCommand.d.ts => client-ssm/dist-types/ts3.4/commands/GetAutomationExecutionCommand.d.ts} (50%) create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetCalendarStateCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetCommandInvocationCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetConnectionStatusCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetDefaultPatchBaselineCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetDeployablePatchSnapshotForInstanceCommand.d.ts rename node_modules/@aws-sdk/{client-lambda/dist-types/ts3.4/commands/CreateAliasCommand.d.ts => client-ssm/dist-types/ts3.4/commands/GetDocumentCommand.d.ts} (52%) create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetInventoryCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetInventorySchemaCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetMaintenanceWindowCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetMaintenanceWindowExecutionCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetMaintenanceWindowExecutionTaskCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetMaintenanceWindowExecutionTaskInvocationCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetMaintenanceWindowTaskCommand.d.ts rename node_modules/@aws-sdk/{client-lambda/dist-types/ts3.4/commands/GetAliasCommand.d.ts => client-ssm/dist-types/ts3.4/commands/GetOpsItemCommand.d.ts} (52%) create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetOpsMetadataCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetOpsSummaryCommand.d.ts rename node_modules/@aws-sdk/{client-lambda/dist-types/ts3.4/commands/ListLayersCommand.d.ts => client-ssm/dist-types/ts3.4/commands/GetParameterCommand.d.ts} (51%) create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetParameterHistoryCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetParametersByPathCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetParametersCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetPatchBaselineCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetPatchBaselineForPatchGroupCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetResourcePoliciesCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetServiceSettingCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/LabelParameterVersionCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListAssociationVersionsCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListAssociationsCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListCommandInvocationsCommand.d.ts rename node_modules/@aws-sdk/{client-lambda/dist-types/ts3.4/commands/ListTagsCommand.d.ts => client-ssm/dist-types/ts3.4/commands/ListCommandsCommand.d.ts} (53%) create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListComplianceItemsCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListComplianceSummariesCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListDocumentMetadataHistoryCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListDocumentVersionsCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListDocumentsCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListInventoryEntriesCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListOpsItemEventsCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListOpsItemRelatedItemsCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListOpsMetadataCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListResourceComplianceSummariesCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListResourceDataSyncCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ModifyDocumentPermissionCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/PutComplianceItemsCommand.d.ts rename node_modules/@aws-sdk/{client-lambda/dist-types/ts3.4/commands/GetPolicyCommand.d.ts => client-ssm/dist-types/ts3.4/commands/PutInventoryCommand.d.ts} (51%) create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/PutParameterCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/RegisterDefaultPatchBaselineCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/RegisterPatchBaselineForPatchGroupCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/RegisterTargetWithMaintenanceWindowCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/RegisterTaskWithMaintenanceWindowCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/RemoveTagsFromResourceCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ResetServiceSettingCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ResumeSessionCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/SendAutomationSignalCommand.d.ts rename node_modules/@aws-sdk/{client-lambda/dist-types/ts3.4/commands/UpdateAliasCommand.d.ts => client-ssm/dist-types/ts3.4/commands/SendCommandCommand.d.ts} (52%) create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/StartAssociationsOnceCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/StartAutomationExecutionCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/StartChangeRequestExecutionCommand.d.ts rename node_modules/@aws-sdk/{client-lambda/dist-types/ts3.4/commands/GetFunctionCommand.d.ts => client-ssm/dist-types/ts3.4/commands/StartSessionCommand.d.ts} (51%) create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/StopAutomationExecutionCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/TerminateSessionCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UnlabelParameterVersionCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateAssociationCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateAssociationStatusCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateDocumentCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateDocumentDefaultVersionCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateDocumentMetadataCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateMaintenanceWindowCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateMaintenanceWindowTargetCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateMaintenanceWindowTaskCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateManagedInstanceRoleCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateOpsItemCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateOpsMetadataCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdatePatchBaselineCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateResourceDataSyncCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateServiceSettingCommand.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/index.d.ts rename node_modules/@aws-sdk/{client-lambda => client-ssm}/dist-types/ts3.4/endpoint/EndpointParameters.d.ts (100%) rename node_modules/@aws-sdk/{client-lambda => client-ssm}/dist-types/ts3.4/endpoint/endpointResolver.d.ts (100%) rename node_modules/@aws-sdk/{client-lambda => client-ssm}/dist-types/ts3.4/endpoint/ruleset.d.ts (100%) rename node_modules/@aws-sdk/{client-lambda => client-ssm}/dist-types/ts3.4/extensionConfiguration.d.ts (87%) rename node_modules/@aws-sdk/{client-lambda => client-ssm}/dist-types/ts3.4/index.d.ts (57%) rename node_modules/@aws-sdk/{client-lambda/dist-types/ts3.4/models/LambdaServiceException.d.ts => client-ssm/dist-types/ts3.4/models/SSMServiceException.d.ts} (77%) create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/models/index.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/models/models_0.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/models/models_1.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/models/models_2.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeActivationsPaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeAssociationExecutionTargetsPaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeAssociationExecutionsPaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeAutomationExecutionsPaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeAutomationStepExecutionsPaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeAvailablePatchesPaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeEffectiveInstanceAssociationsPaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeEffectivePatchesForPatchBaselinePaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeInstanceAssociationsStatusPaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeInstanceInformationPaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeInstancePatchStatesForPatchGroupPaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeInstancePatchStatesPaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeInstancePatchesPaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeInventoryDeletionsPaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeMaintenanceWindowExecutionTaskInvocationsPaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeMaintenanceWindowExecutionTasksPaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeMaintenanceWindowExecutionsPaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeMaintenanceWindowSchedulePaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeMaintenanceWindowTargetsPaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeMaintenanceWindowTasksPaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeMaintenanceWindowsForTargetPaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeMaintenanceWindowsPaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeOpsItemsPaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeParametersPaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribePatchBaselinesPaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribePatchGroupsPaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribePatchPropertiesPaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeSessionsPaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/GetInventoryPaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/GetInventorySchemaPaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/GetOpsSummaryPaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/GetParameterHistoryPaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/GetParametersByPathPaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/GetResourcePoliciesPaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/Interfaces.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/ListAssociationVersionsPaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/ListAssociationsPaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/ListCommandInvocationsPaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/ListCommandsPaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/ListComplianceItemsPaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/ListComplianceSummariesPaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/ListDocumentVersionsPaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/ListDocumentsPaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/ListOpsItemEventsPaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/ListOpsItemRelatedItemsPaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/ListOpsMetadataPaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/ListResourceComplianceSummariesPaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/ListResourceDataSyncPaginator.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/index.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/protocols/Aws_json1_1.d.ts rename node_modules/@aws-sdk/{client-lambda => client-ssm}/dist-types/ts3.4/runtimeConfig.browser.d.ts (94%) rename node_modules/@aws-sdk/{client-lambda => client-ssm}/dist-types/ts3.4/runtimeConfig.d.ts (94%) rename node_modules/@aws-sdk/{client-lambda => client-ssm}/dist-types/ts3.4/runtimeConfig.native.d.ts (94%) rename node_modules/@aws-sdk/{client-lambda => client-ssm}/dist-types/ts3.4/runtimeConfig.shared.d.ts (83%) rename node_modules/@aws-sdk/{client-lambda => client-ssm}/dist-types/ts3.4/runtimeExtensions.d.ts (61%) create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/waiters/index.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/waiters/waitForCommandExecuted.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/waiters/index.d.ts create mode 100644 node_modules/@aws-sdk/client-ssm/dist-types/waiters/waitForCommandExecuted.d.ts rename node_modules/@aws-sdk/{client-lambda => client-ssm}/package.json (88%) delete mode 100644 node_modules/@smithy/eventstream-serde-browser/LICENSE delete mode 100644 node_modules/@smithy/eventstream-serde-browser/README.md delete mode 100644 node_modules/@smithy/eventstream-serde-browser/dist-cjs/EventStreamMarshaller.js delete mode 100644 node_modules/@smithy/eventstream-serde-browser/dist-cjs/index.js delete mode 100644 node_modules/@smithy/eventstream-serde-browser/dist-cjs/provider.js delete mode 100644 node_modules/@smithy/eventstream-serde-browser/dist-cjs/utils.js delete mode 100644 node_modules/@smithy/eventstream-serde-browser/dist-es/EventStreamMarshaller.js delete mode 100644 node_modules/@smithy/eventstream-serde-browser/dist-es/index.js delete mode 100644 node_modules/@smithy/eventstream-serde-browser/dist-es/provider.js delete mode 100644 node_modules/@smithy/eventstream-serde-browser/dist-es/utils.js delete mode 100644 node_modules/@smithy/eventstream-serde-browser/dist-types/EventStreamMarshaller.d.ts delete mode 100644 node_modules/@smithy/eventstream-serde-browser/dist-types/index.d.ts delete mode 100644 node_modules/@smithy/eventstream-serde-browser/dist-types/provider.d.ts delete mode 100644 node_modules/@smithy/eventstream-serde-browser/dist-types/ts3.4/EventStreamMarshaller.d.ts delete mode 100644 node_modules/@smithy/eventstream-serde-browser/dist-types/ts3.4/index.d.ts delete mode 100644 node_modules/@smithy/eventstream-serde-browser/dist-types/ts3.4/provider.d.ts delete mode 100644 node_modules/@smithy/eventstream-serde-browser/dist-types/ts3.4/utils.d.ts delete mode 100644 node_modules/@smithy/eventstream-serde-browser/dist-types/utils.d.ts delete mode 100644 node_modules/@smithy/eventstream-serde-browser/package.json delete mode 100644 node_modules/@smithy/eventstream-serde-config-resolver/LICENSE delete mode 100644 node_modules/@smithy/eventstream-serde-config-resolver/README.md delete mode 100644 node_modules/@smithy/eventstream-serde-config-resolver/dist-cjs/EventStreamSerdeConfig.js delete mode 100644 node_modules/@smithy/eventstream-serde-config-resolver/dist-es/EventStreamSerdeConfig.js delete mode 100644 node_modules/@smithy/eventstream-serde-config-resolver/dist-es/index.js delete mode 100644 node_modules/@smithy/eventstream-serde-config-resolver/dist-types/EventStreamSerdeConfig.d.ts delete mode 100644 node_modules/@smithy/eventstream-serde-config-resolver/dist-types/index.d.ts delete mode 100644 node_modules/@smithy/eventstream-serde-config-resolver/dist-types/ts3.4/EventStreamSerdeConfig.d.ts delete mode 100644 node_modules/@smithy/eventstream-serde-config-resolver/dist-types/ts3.4/index.d.ts delete mode 100644 node_modules/@smithy/eventstream-serde-config-resolver/package.json delete mode 100644 node_modules/@smithy/eventstream-serde-node/LICENSE delete mode 100644 node_modules/@smithy/eventstream-serde-node/README.md delete mode 100644 node_modules/@smithy/eventstream-serde-node/dist-cjs/EventStreamMarshaller.js delete mode 100644 node_modules/@smithy/eventstream-serde-node/dist-cjs/index.js delete mode 100644 node_modules/@smithy/eventstream-serde-node/dist-cjs/provider.js delete mode 100644 node_modules/@smithy/eventstream-serde-node/dist-cjs/utils.js delete mode 100644 node_modules/@smithy/eventstream-serde-node/dist-es/EventStreamMarshaller.js delete mode 100644 node_modules/@smithy/eventstream-serde-node/dist-es/index.js delete mode 100644 node_modules/@smithy/eventstream-serde-node/dist-es/provider.js delete mode 100644 node_modules/@smithy/eventstream-serde-node/dist-es/utils.js delete mode 100644 node_modules/@smithy/eventstream-serde-node/dist-types/EventStreamMarshaller.d.ts delete mode 100644 node_modules/@smithy/eventstream-serde-node/dist-types/index.d.ts delete mode 100644 node_modules/@smithy/eventstream-serde-node/dist-types/provider.d.ts delete mode 100644 node_modules/@smithy/eventstream-serde-node/dist-types/ts3.4/EventStreamMarshaller.d.ts delete mode 100644 node_modules/@smithy/eventstream-serde-node/dist-types/ts3.4/index.d.ts delete mode 100644 node_modules/@smithy/eventstream-serde-node/dist-types/ts3.4/provider.d.ts delete mode 100644 node_modules/@smithy/eventstream-serde-node/dist-types/ts3.4/utils.d.ts delete mode 100644 node_modules/@smithy/eventstream-serde-node/dist-types/utils.d.ts delete mode 100644 node_modules/@smithy/eventstream-serde-node/package.json delete mode 100644 node_modules/@smithy/eventstream-serde-universal/LICENSE delete mode 100644 node_modules/@smithy/eventstream-serde-universal/README.md delete mode 100644 node_modules/@smithy/eventstream-serde-universal/dist-cjs/EventStreamMarshaller.js delete mode 100644 node_modules/@smithy/eventstream-serde-universal/dist-cjs/fixtures/MockEventMessageSource.fixture.js delete mode 100644 node_modules/@smithy/eventstream-serde-universal/dist-cjs/fixtures/event.fixture.js delete mode 100644 node_modules/@smithy/eventstream-serde-universal/dist-cjs/getChunkedStream.js delete mode 100644 node_modules/@smithy/eventstream-serde-universal/dist-cjs/getUnmarshalledStream.js delete mode 100644 node_modules/@smithy/eventstream-serde-universal/dist-cjs/index.js delete mode 100644 node_modules/@smithy/eventstream-serde-universal/dist-cjs/provider.js delete mode 100644 node_modules/@smithy/eventstream-serde-universal/dist-es/EventStreamMarshaller.js delete mode 100644 node_modules/@smithy/eventstream-serde-universal/dist-es/fixtures/MockEventMessageSource.fixture.js delete mode 100644 node_modules/@smithy/eventstream-serde-universal/dist-es/fixtures/event.fixture.js delete mode 100644 node_modules/@smithy/eventstream-serde-universal/dist-es/getChunkedStream.js delete mode 100644 node_modules/@smithy/eventstream-serde-universal/dist-es/getUnmarshalledStream.js delete mode 100644 node_modules/@smithy/eventstream-serde-universal/dist-es/index.js delete mode 100644 node_modules/@smithy/eventstream-serde-universal/dist-es/provider.js delete mode 100644 node_modules/@smithy/eventstream-serde-universal/dist-types/EventStreamMarshaller.d.ts delete mode 100644 node_modules/@smithy/eventstream-serde-universal/dist-types/fixtures/MockEventMessageSource.fixture.d.ts delete mode 100644 node_modules/@smithy/eventstream-serde-universal/dist-types/fixtures/event.fixture.d.ts delete mode 100644 node_modules/@smithy/eventstream-serde-universal/dist-types/getChunkedStream.d.ts delete mode 100644 node_modules/@smithy/eventstream-serde-universal/dist-types/getUnmarshalledStream.d.ts delete mode 100644 node_modules/@smithy/eventstream-serde-universal/dist-types/index.d.ts delete mode 100644 node_modules/@smithy/eventstream-serde-universal/dist-types/provider.d.ts delete mode 100644 node_modules/@smithy/eventstream-serde-universal/dist-types/ts3.4/EventStreamMarshaller.d.ts delete mode 100644 node_modules/@smithy/eventstream-serde-universal/dist-types/ts3.4/fixtures/MockEventMessageSource.fixture.d.ts delete mode 100644 node_modules/@smithy/eventstream-serde-universal/dist-types/ts3.4/fixtures/event.fixture.d.ts delete mode 100644 node_modules/@smithy/eventstream-serde-universal/dist-types/ts3.4/getChunkedStream.d.ts delete mode 100644 node_modules/@smithy/eventstream-serde-universal/dist-types/ts3.4/getUnmarshalledStream.d.ts delete mode 100644 node_modules/@smithy/eventstream-serde-universal/dist-types/ts3.4/index.d.ts delete mode 100644 node_modules/@smithy/eventstream-serde-universal/dist-types/ts3.4/provider.d.ts delete mode 100644 node_modules/@smithy/eventstream-serde-universal/package.json diff --git a/Makefile b/Makefile index 49254d7f..dfc17515 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ setup: export EAGER_SERVICE_LOADING=1 \ - SERVICES=sqs \ + SERVICES=lambda,ssm \ AWS_ACCESS_KEY_ID=test \ AWS_SECRET_ACCESS_KEY=test dockerd & @@ -14,6 +14,10 @@ setup: --handler index.handler \ --role arn:aws:iam::000000000000:role/lambda-role \ --region us-east-1 + awslocal ssm put-parameter \ + --name /rss-nostr-lambda/last-run-time \ + --value "2023-11-23T00:00:00Z" \ + --overwrite rm handler.zip invoke: @@ -21,7 +25,7 @@ invoke: --region us-east-1 \ --function-name rss-nostr-lambda \ --cli-binary-format raw-in-base64-out \ - --payload '{"feedUrl":"https://nitter.1d4.us/culturaltutor/rss","nostrNsec":"nsec1wp68lflspznnmelmjh5ktflyv6c4ljf8xrlkey0w8yqr4305awcs8wyakj","since":"2023-11-23T00:00:00Z"}' \ + --payload '{"feedUrl":"https://nitter.1d4.us/culturaltutor/rss","nostrNsec":"nsec1wp68lflspznnmelmjh5ktflyv6c4ljf8xrlkey0w8yqr4305awcs8wyakj","lastRunTimeParam":"/rss-nostr-lambda/last-run-time"}' \ response.json recreate: diff --git a/index.mjs b/index.mjs index be785037..e26fc4ce 100644 --- a/index.mjs +++ b/index.mjs @@ -1,4 +1,5 @@ import 'websocket-polyfill' +import { SSMClient, GetParameterCommand, PutParameterCommand } from '@aws-sdk/client-ssm' import { extract } from '@extractus/feed-extractor' import NDK, { NDKEvent, NDKPrivateKeySigner } from '@nostr-dev-kit/ndk' import bech32 from 'bech32-buffer' @@ -17,7 +18,30 @@ export const handler = async (event) => { const region = process.env.AWS_REGION || "us-east-1" const feed = event.feedUrl const privkey = toHexString(event.nostrNsec) - const since = event.since + const lastRunTimeParam = event.lastRunTimeParam + + let response = { + totalItems: 0, + successes: 0, + errors: [] + } + + const ssmClient = new SSMClient({ region }) + const params = { + Name: lastRunTimeParam + } + const ssmGetCommand = new GetParameterCommand(params); + + let since = "" + ssmClient.send(ssmGetCommand) + .then(data => { + since = data.Parameter.Value + }).catch(err => { + console.error(err) + response.errors.push(err) + return response + }) + if (feed === "") { console.error("feedUrl was not set.") @@ -26,13 +50,7 @@ export const handler = async (event) => { body: "feedUrl must be provided in payload." } } - - let response = { - totalItems: 0, - successes: 0, - errors: [] - } - + const ndk = new NDK({ signer: new NDKPrivateKeySigner(privkey), explicitRelayUrls: [ @@ -80,6 +98,19 @@ export const handler = async (event) => { } } + params.Name = lastRunTimeParam + params.Value = new Date().toISOString() + params.Type = "String" + params.Overwrite = true + + const ssmPutCommand = new PutParameterCommand(params) + ssmClient.send(ssmPutCommand) + .catch(err => { + console.error(err) + response.errors.push(err) + return response + }) + return response } diff --git a/node_modules/.package-lock.json b/node_modules/.package-lock.json index fce6505e..a22d0df8 100644 --- a/node_modules/.package-lock.json +++ b/node_modules/.package-lock.json @@ -95,10 +95,10 @@ "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" }, - "node_modules/@aws-sdk/client-lambda": { + "node_modules/@aws-sdk/client-ssm": { "version": "3.454.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/client-lambda/-/client-lambda-3.454.0.tgz", - "integrity": "sha512-nYak+ojl0H0AG0WTF2894npak4Uj2slBr09+3lBUz4rwPol93TsUHy8/5GfGLcqPMNnEKOknc4jioJOK7cb2Pw==", + "resolved": "https://registry.npmjs.org/@aws-sdk/client-ssm/-/client-ssm-3.454.0.tgz", + "integrity": "sha512-Vrf93hOzB4FAUpkGHvKywZ0yOVbghS0KbCsnlN1Mka780zmyc185YXGYSLv6B+yrI2tMj0cBvEad3M0qk69qVw==", "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", @@ -116,9 +116,6 @@ "@aws-sdk/util-user-agent-browser": "3.451.0", "@aws-sdk/util-user-agent-node": "3.451.0", "@smithy/config-resolver": "^2.0.18", - "@smithy/eventstream-serde-browser": "^2.0.13", - "@smithy/eventstream-serde-config-resolver": "^2.0.13", - "@smithy/eventstream-serde-node": "^2.0.13", "@smithy/fetch-http-handler": "^2.2.6", "@smithy/hash-node": "^2.0.15", "@smithy/invalid-dependency": "^2.0.13", @@ -140,10 +137,10 @@ "@smithy/util-defaults-mode-node": "^2.0.25", "@smithy/util-endpoints": "^1.0.4", "@smithy/util-retry": "^2.0.6", - "@smithy/util-stream": "^2.0.20", "@smithy/util-utf8": "^2.0.2", "@smithy/util-waiter": "^2.0.13", - "tslib": "^2.5.0" + "tslib": "^2.5.0", + "uuid": "^8.3.2" }, "engines": { "node": ">=14.0.0" @@ -792,57 +789,6 @@ "tslib": "^2.5.0" } }, - "node_modules/@smithy/eventstream-serde-browser": { - "version": "2.0.14", - "resolved": "https://registry.npmjs.org/@smithy/eventstream-serde-browser/-/eventstream-serde-browser-2.0.14.tgz", - "integrity": "sha512-41wmYE9smDGJi1ZXp+LogH6BR7MkSsQD91wneIFISF/mupKULvoOJUkv/Nf0NMRxWlM3Bf1Vvi9FlR2oV4KU8Q==", - "dependencies": { - "@smithy/eventstream-serde-universal": "^2.0.14", - "@smithy/types": "^2.6.0", - "tslib": "^2.5.0" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "node_modules/@smithy/eventstream-serde-config-resolver": { - "version": "2.0.14", - "resolved": "https://registry.npmjs.org/@smithy/eventstream-serde-config-resolver/-/eventstream-serde-config-resolver-2.0.14.tgz", - "integrity": "sha512-43IyRIzQ82s+5X+t/3Ood00CcWtAXQdmUIUKMed2Qg9REPk8SVIHhpm3rwewLwg+3G2Nh8NOxXlEQu6DsPUcMw==", - "dependencies": { - "@smithy/types": "^2.6.0", - "tslib": "^2.5.0" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "node_modules/@smithy/eventstream-serde-node": { - "version": "2.0.14", - "resolved": "https://registry.npmjs.org/@smithy/eventstream-serde-node/-/eventstream-serde-node-2.0.14.tgz", - "integrity": "sha512-jVh9E2qAr6DxH5tWfCAl9HV6tI0pEQ3JVmu85JknDvYTC66djcjDdhctPV2EHuKWf2kjRiFJcMIn0eercW4THA==", - "dependencies": { - "@smithy/eventstream-serde-universal": "^2.0.14", - "@smithy/types": "^2.6.0", - "tslib": "^2.5.0" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "node_modules/@smithy/eventstream-serde-universal": { - "version": "2.0.14", - "resolved": "https://registry.npmjs.org/@smithy/eventstream-serde-universal/-/eventstream-serde-universal-2.0.14.tgz", - "integrity": "sha512-Ie35+AISNn1NmEjn5b2SchIE49pvKp4Q74bE9ME5RULWI1MgXyGkQUajWd5E6OBSr/sqGcs+rD3IjPErXnCm9g==", - "dependencies": { - "@smithy/eventstream-codec": "^2.0.14", - "@smithy/types": "^2.6.0", - "tslib": "^2.5.0" - }, - "engines": { - "node": ">=14.0.0" - } - }, "node_modules/@smithy/fetch-http-handler": { "version": "2.2.7", "resolved": "https://registry.npmjs.org/@smithy/fetch-http-handler/-/fetch-http-handler-2.2.7.tgz", diff --git a/node_modules/@aws-sdk/client-lambda/README.md b/node_modules/@aws-sdk/client-lambda/README.md deleted file mode 100644 index bf9758a9..00000000 --- a/node_modules/@aws-sdk/client-lambda/README.md +++ /dev/null @@ -1,798 +0,0 @@ - - -# @aws-sdk/client-lambda - -## Description - -AWS SDK for JavaScript Lambda Client for Node.js, Browser and React Native. - -Lambda - -

-Overview -

-

Lambda is a compute service that lets you run code without provisioning or managing servers. -Lambda runs your code on a high-availability compute infrastructure and performs all of the -administration of the compute resources, including server and operating system maintenance, capacity provisioning -and automatic scaling, code monitoring and logging. With Lambda, you can run code for virtually any -type of application or backend service. For more information about the Lambda service, see What is Lambda in the Lambda Developer Guide.

-

The Lambda API Reference provides information about -each of the API methods, including details about the parameters in each API request and -response.

-

-

You can use Software Development Kits (SDKs), Integrated Development Environment (IDE) Toolkits, and command -line tools to access the API. For installation instructions, see Tools for -Amazon Web Services.

-

For a list of Region-specific endpoints that Lambda supports, -see Lambda -endpoints and quotas in the Amazon Web Services General Reference..

-

When making the API calls, you will need to -authenticate your request by providing a signature. Lambda supports signature version 4. For more information, -see Signature Version 4 signing process in the -Amazon Web Services General Reference..

-

-CA certificates -

-

Because Amazon Web Services SDKs use the CA certificates from your computer, changes to the certificates on the Amazon Web Services servers -can cause connection failures when you attempt to use an SDK. You can prevent these failures by keeping your -computer's CA certificates and operating system up-to-date. If you encounter this issue in a corporate -environment and do not manage your own computer, you might need to ask an administrator to assist with the -update process. The following list shows minimum operating system and Java versions:

- -

When accessing the Lambda management console or Lambda API endpoints, whether through browsers or -programmatically, you will need to ensure your client machines support any of the following CAs:

- -

Root certificates from the first two authorities are available from Amazon trust services, but keeping your computer -up-to-date is the more straightforward solution. To learn more about ACM-provided certificates, see Amazon Web Services Certificate Manager FAQs. -

- -## Installing - -To install the this package, simply type add or install @aws-sdk/client-lambda -using your favorite package manager: - -- `npm install @aws-sdk/client-lambda` -- `yarn add @aws-sdk/client-lambda` -- `pnpm add @aws-sdk/client-lambda` - -## Getting Started - -### Import - -The AWS SDK is modulized by clients and commands. -To send a request, you only need to import the `LambdaClient` and -the commands you need, for example `ListLayersCommand`: - -```js -// ES5 example -const { LambdaClient, ListLayersCommand } = require("@aws-sdk/client-lambda"); -``` - -```ts -// ES6+ example -import { LambdaClient, ListLayersCommand } from "@aws-sdk/client-lambda"; -``` - -### Usage - -To send a request, you: - -- Initiate client with configuration (e.g. credentials, region). -- Initiate command with input parameters. -- Call `send` operation on client with command object as input. -- If you are using a custom http handler, you may call `destroy()` to close open connections. - -```js -// a client can be shared by different commands. -const client = new LambdaClient({ region: "REGION" }); - -const params = { - /** input parameters */ -}; -const command = new ListLayersCommand(params); -``` - -#### Async/await - -We recommend using [await](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/await) -operator to wait for the promise returned by send operation as follows: - -```js -// async/await. -try { - const data = await client.send(command); - // process data. -} catch (error) { - // error handling. -} finally { - // finally. -} -``` - -Async-await is clean, concise, intuitive, easy to debug and has better error handling -as compared to using Promise chains or callbacks. - -#### Promises - -You can also use [Promise chaining](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Using_promises#chaining) -to execute send operation. - -```js -client.send(command).then( - (data) => { - // process data. - }, - (error) => { - // error handling. - } -); -``` - -Promises can also be called using `.catch()` and `.finally()` as follows: - -```js -client - .send(command) - .then((data) => { - // process data. - }) - .catch((error) => { - // error handling. - }) - .finally(() => { - // finally. - }); -``` - -#### Callbacks - -We do not recommend using callbacks because of [callback hell](http://callbackhell.com/), -but they are supported by the send operation. - -```js -// callbacks. -client.send(command, (err, data) => { - // process err and data. -}); -``` - -#### v2 compatible style - -The client can also send requests using v2 compatible style. -However, it results in a bigger bundle size and may be dropped in next major version. More details in the blog post -on [modular packages in AWS SDK for JavaScript](https://aws.amazon.com/blogs/developer/modular-packages-in-aws-sdk-for-javascript/) - -```ts -import * as AWS from "@aws-sdk/client-lambda"; -const client = new AWS.Lambda({ region: "REGION" }); - -// async/await. -try { - const data = await client.listLayers(params); - // process data. -} catch (error) { - // error handling. -} - -// Promises. -client - .listLayers(params) - .then((data) => { - // process data. - }) - .catch((error) => { - // error handling. - }); - -// callbacks. -client.listLayers(params, (err, data) => { - // process err and data. -}); -``` - -### Troubleshooting - -When the service returns an exception, the error will include the exception information, -as well as response metadata (e.g. request id). - -```js -try { - const data = await client.send(command); - // process data. -} catch (error) { - const { requestId, cfId, extendedRequestId } = error.$metadata; - console.log({ requestId, cfId, extendedRequestId }); - /** - * The keys within exceptions are also parsed. - * You can access them by specifying exception names: - * if (error.name === 'SomeServiceException') { - * const value = error.specialKeyInException; - * } - */ -} -``` - -## Getting Help - -Please use these community resources for getting help. -We use the GitHub issues for tracking bugs and feature requests, but have limited bandwidth to address them. - -- Visit [Developer Guide](https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/welcome.html) - or [API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/index.html). -- Check out the blog posts tagged with [`aws-sdk-js`](https://aws.amazon.com/blogs/developer/tag/aws-sdk-js/) - on AWS Developer Blog. -- Ask a question on [StackOverflow](https://stackoverflow.com/questions/tagged/aws-sdk-js) and tag it with `aws-sdk-js`. -- Join the AWS JavaScript community on [gitter](https://gitter.im/aws/aws-sdk-js-v3). -- If it turns out that you may have found a bug, please [open an issue](https://github.com/aws/aws-sdk-js-v3/issues/new/choose). - -To test your universal JavaScript code in Node.js, browser and react-native environments, -visit our [code samples repo](https://github.com/aws-samples/aws-sdk-js-tests). - -## Contributing - -This client code is generated automatically. Any modifications will be overwritten the next time the `@aws-sdk/client-lambda` package is updated. -To contribute to client you can check our [generate clients scripts](https://github.com/aws/aws-sdk-js-v3/tree/main/scripts/generate-clients). - -## License - -This SDK is distributed under the -[Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0), -see LICENSE for more information. - -## Client Commands (Operations List) - -
- -AddLayerVersionPermission - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/addlayerversionpermissioncommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/addlayerversionpermissioncommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/addlayerversionpermissioncommandoutput.html) - -
-
- -AddPermission - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/addpermissioncommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/addpermissioncommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/addpermissioncommandoutput.html) - -
-
- -CreateAlias - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/createaliascommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/createaliascommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/createaliascommandoutput.html) - -
-
- -CreateCodeSigningConfig - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/createcodesigningconfigcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/createcodesigningconfigcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/createcodesigningconfigcommandoutput.html) - -
-
- -CreateEventSourceMapping - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/createeventsourcemappingcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/createeventsourcemappingcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/createeventsourcemappingcommandoutput.html) - -
-
- -CreateFunction - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/createfunctioncommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/createfunctioncommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/createfunctioncommandoutput.html) - -
-
- -CreateFunctionUrlConfig - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/createfunctionurlconfigcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/createfunctionurlconfigcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/createfunctionurlconfigcommandoutput.html) - -
-
- -DeleteAlias - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/deletealiascommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/deletealiascommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/deletealiascommandoutput.html) - -
-
- -DeleteCodeSigningConfig - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/deletecodesigningconfigcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/deletecodesigningconfigcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/deletecodesigningconfigcommandoutput.html) - -
-
- -DeleteEventSourceMapping - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/deleteeventsourcemappingcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/deleteeventsourcemappingcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/deleteeventsourcemappingcommandoutput.html) - -
-
- -DeleteFunction - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/deletefunctioncommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/deletefunctioncommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/deletefunctioncommandoutput.html) - -
-
- -DeleteFunctionCodeSigningConfig - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/deletefunctioncodesigningconfigcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/deletefunctioncodesigningconfigcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/deletefunctioncodesigningconfigcommandoutput.html) - -
-
- -DeleteFunctionConcurrency - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/deletefunctionconcurrencycommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/deletefunctionconcurrencycommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/deletefunctionconcurrencycommandoutput.html) - -
-
- -DeleteFunctionEventInvokeConfig - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/deletefunctioneventinvokeconfigcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/deletefunctioneventinvokeconfigcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/deletefunctioneventinvokeconfigcommandoutput.html) - -
-
- -DeleteFunctionUrlConfig - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/deletefunctionurlconfigcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/deletefunctionurlconfigcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/deletefunctionurlconfigcommandoutput.html) - -
-
- -DeleteLayerVersion - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/deletelayerversioncommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/deletelayerversioncommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/deletelayerversioncommandoutput.html) - -
-
- -DeleteProvisionedConcurrencyConfig - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/deleteprovisionedconcurrencyconfigcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/deleteprovisionedconcurrencyconfigcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/deleteprovisionedconcurrencyconfigcommandoutput.html) - -
-
- -GetAccountSettings - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/getaccountsettingscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/getaccountsettingscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/getaccountsettingscommandoutput.html) - -
-
- -GetAlias - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/getaliascommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/getaliascommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/getaliascommandoutput.html) - -
-
- -GetCodeSigningConfig - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/getcodesigningconfigcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/getcodesigningconfigcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/getcodesigningconfigcommandoutput.html) - -
-
- -GetEventSourceMapping - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/geteventsourcemappingcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/geteventsourcemappingcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/geteventsourcemappingcommandoutput.html) - -
-
- -GetFunction - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/getfunctioncommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/getfunctioncommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/getfunctioncommandoutput.html) - -
-
- -GetFunctionCodeSigningConfig - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/getfunctioncodesigningconfigcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/getfunctioncodesigningconfigcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/getfunctioncodesigningconfigcommandoutput.html) - -
-
- -GetFunctionConcurrency - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/getfunctionconcurrencycommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/getfunctionconcurrencycommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/getfunctionconcurrencycommandoutput.html) - -
-
- -GetFunctionConfiguration - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/getfunctionconfigurationcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/getfunctionconfigurationcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/getfunctionconfigurationcommandoutput.html) - -
-
- -GetFunctionEventInvokeConfig - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/getfunctioneventinvokeconfigcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/getfunctioneventinvokeconfigcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/getfunctioneventinvokeconfigcommandoutput.html) - -
-
- -GetFunctionUrlConfig - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/getfunctionurlconfigcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/getfunctionurlconfigcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/getfunctionurlconfigcommandoutput.html) - -
-
- -GetLayerVersion - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/getlayerversioncommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/getlayerversioncommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/getlayerversioncommandoutput.html) - -
-
- -GetLayerVersionByArn - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/getlayerversionbyarncommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/getlayerversionbyarncommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/getlayerversionbyarncommandoutput.html) - -
-
- -GetLayerVersionPolicy - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/getlayerversionpolicycommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/getlayerversionpolicycommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/getlayerversionpolicycommandoutput.html) - -
-
- -GetPolicy - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/getpolicycommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/getpolicycommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/getpolicycommandoutput.html) - -
-
- -GetProvisionedConcurrencyConfig - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/getprovisionedconcurrencyconfigcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/getprovisionedconcurrencyconfigcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/getprovisionedconcurrencyconfigcommandoutput.html) - -
-
- -GetRuntimeManagementConfig - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/getruntimemanagementconfigcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/getruntimemanagementconfigcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/getruntimemanagementconfigcommandoutput.html) - -
-
- -Invoke - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/invokecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/invokecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/invokecommandoutput.html) - -
-
- -InvokeAsync - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/invokeasynccommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/invokeasynccommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/invokeasynccommandoutput.html) - -
-
- -InvokeWithResponseStream - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/invokewithresponsestreamcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/invokewithresponsestreamcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/invokewithresponsestreamcommandoutput.html) - -
-
- -ListAliases - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/listaliasescommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/listaliasescommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/listaliasescommandoutput.html) - -
-
- -ListCodeSigningConfigs - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/listcodesigningconfigscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/listcodesigningconfigscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/listcodesigningconfigscommandoutput.html) - -
-
- -ListEventSourceMappings - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/listeventsourcemappingscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/listeventsourcemappingscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/listeventsourcemappingscommandoutput.html) - -
-
- -ListFunctionEventInvokeConfigs - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/listfunctioneventinvokeconfigscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/listfunctioneventinvokeconfigscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/listfunctioneventinvokeconfigscommandoutput.html) - -
-
- -ListFunctions - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/listfunctionscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/listfunctionscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/listfunctionscommandoutput.html) - -
-
- -ListFunctionsByCodeSigningConfig - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/listfunctionsbycodesigningconfigcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/listfunctionsbycodesigningconfigcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/listfunctionsbycodesigningconfigcommandoutput.html) - -
-
- -ListFunctionUrlConfigs - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/listfunctionurlconfigscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/listfunctionurlconfigscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/listfunctionurlconfigscommandoutput.html) - -
-
- -ListLayers - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/listlayerscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/listlayerscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/listlayerscommandoutput.html) - -
-
- -ListLayerVersions - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/listlayerversionscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/listlayerversionscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/listlayerversionscommandoutput.html) - -
-
- -ListProvisionedConcurrencyConfigs - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/listprovisionedconcurrencyconfigscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/listprovisionedconcurrencyconfigscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/listprovisionedconcurrencyconfigscommandoutput.html) - -
-
- -ListTags - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/listtagscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/listtagscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/listtagscommandoutput.html) - -
-
- -ListVersionsByFunction - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/listversionsbyfunctioncommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/listversionsbyfunctioncommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/listversionsbyfunctioncommandoutput.html) - -
-
- -PublishLayerVersion - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/publishlayerversioncommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/publishlayerversioncommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/publishlayerversioncommandoutput.html) - -
-
- -PublishVersion - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/publishversioncommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/publishversioncommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/publishversioncommandoutput.html) - -
-
- -PutFunctionCodeSigningConfig - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/putfunctioncodesigningconfigcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/putfunctioncodesigningconfigcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/putfunctioncodesigningconfigcommandoutput.html) - -
-
- -PutFunctionConcurrency - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/putfunctionconcurrencycommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/putfunctionconcurrencycommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/putfunctionconcurrencycommandoutput.html) - -
-
- -PutFunctionEventInvokeConfig - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/putfunctioneventinvokeconfigcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/putfunctioneventinvokeconfigcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/putfunctioneventinvokeconfigcommandoutput.html) - -
-
- -PutProvisionedConcurrencyConfig - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/putprovisionedconcurrencyconfigcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/putprovisionedconcurrencyconfigcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/putprovisionedconcurrencyconfigcommandoutput.html) - -
-
- -PutRuntimeManagementConfig - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/putruntimemanagementconfigcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/putruntimemanagementconfigcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/putruntimemanagementconfigcommandoutput.html) - -
-
- -RemoveLayerVersionPermission - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/removelayerversionpermissioncommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/removelayerversionpermissioncommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/removelayerversionpermissioncommandoutput.html) - -
-
- -RemovePermission - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/removepermissioncommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/removepermissioncommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/removepermissioncommandoutput.html) - -
-
- -TagResource - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/tagresourcecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/tagresourcecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/tagresourcecommandoutput.html) - -
-
- -UntagResource - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/untagresourcecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/untagresourcecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/untagresourcecommandoutput.html) - -
-
- -UpdateAlias - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/updatealiascommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/updatealiascommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/updatealiascommandoutput.html) - -
-
- -UpdateCodeSigningConfig - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/updatecodesigningconfigcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/updatecodesigningconfigcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/updatecodesigningconfigcommandoutput.html) - -
-
- -UpdateEventSourceMapping - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/updateeventsourcemappingcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/updateeventsourcemappingcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/updateeventsourcemappingcommandoutput.html) - -
-
- -UpdateFunctionCode - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/updatefunctioncodecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/updatefunctioncodecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/updatefunctioncodecommandoutput.html) - -
-
- -UpdateFunctionConfiguration - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/updatefunctionconfigurationcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/updatefunctionconfigurationcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/updatefunctionconfigurationcommandoutput.html) - -
-
- -UpdateFunctionEventInvokeConfig - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/updatefunctioneventinvokeconfigcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/updatefunctioneventinvokeconfigcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/updatefunctioneventinvokeconfigcommandoutput.html) - -
-
- -UpdateFunctionUrlConfig - - -[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/classes/updatefunctionurlconfigcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/updatefunctionurlconfigcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-lambda/interfaces/updatefunctionurlconfigcommandoutput.html) - -
diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/Lambda.js b/node_modules/@aws-sdk/client-lambda/dist-cjs/Lambda.js deleted file mode 100644 index 7d1a5b13..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-cjs/Lambda.js +++ /dev/null @@ -1,143 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.Lambda = void 0; -const smithy_client_1 = require("@smithy/smithy-client"); -const AddLayerVersionPermissionCommand_1 = require("./commands/AddLayerVersionPermissionCommand"); -const AddPermissionCommand_1 = require("./commands/AddPermissionCommand"); -const CreateAliasCommand_1 = require("./commands/CreateAliasCommand"); -const CreateCodeSigningConfigCommand_1 = require("./commands/CreateCodeSigningConfigCommand"); -const CreateEventSourceMappingCommand_1 = require("./commands/CreateEventSourceMappingCommand"); -const CreateFunctionCommand_1 = require("./commands/CreateFunctionCommand"); -const CreateFunctionUrlConfigCommand_1 = require("./commands/CreateFunctionUrlConfigCommand"); -const DeleteAliasCommand_1 = require("./commands/DeleteAliasCommand"); -const DeleteCodeSigningConfigCommand_1 = require("./commands/DeleteCodeSigningConfigCommand"); -const DeleteEventSourceMappingCommand_1 = require("./commands/DeleteEventSourceMappingCommand"); -const DeleteFunctionCodeSigningConfigCommand_1 = require("./commands/DeleteFunctionCodeSigningConfigCommand"); -const DeleteFunctionCommand_1 = require("./commands/DeleteFunctionCommand"); -const DeleteFunctionConcurrencyCommand_1 = require("./commands/DeleteFunctionConcurrencyCommand"); -const DeleteFunctionEventInvokeConfigCommand_1 = require("./commands/DeleteFunctionEventInvokeConfigCommand"); -const DeleteFunctionUrlConfigCommand_1 = require("./commands/DeleteFunctionUrlConfigCommand"); -const DeleteLayerVersionCommand_1 = require("./commands/DeleteLayerVersionCommand"); -const DeleteProvisionedConcurrencyConfigCommand_1 = require("./commands/DeleteProvisionedConcurrencyConfigCommand"); -const GetAccountSettingsCommand_1 = require("./commands/GetAccountSettingsCommand"); -const GetAliasCommand_1 = require("./commands/GetAliasCommand"); -const GetCodeSigningConfigCommand_1 = require("./commands/GetCodeSigningConfigCommand"); -const GetEventSourceMappingCommand_1 = require("./commands/GetEventSourceMappingCommand"); -const GetFunctionCodeSigningConfigCommand_1 = require("./commands/GetFunctionCodeSigningConfigCommand"); -const GetFunctionCommand_1 = require("./commands/GetFunctionCommand"); -const GetFunctionConcurrencyCommand_1 = require("./commands/GetFunctionConcurrencyCommand"); -const GetFunctionConfigurationCommand_1 = require("./commands/GetFunctionConfigurationCommand"); -const GetFunctionEventInvokeConfigCommand_1 = require("./commands/GetFunctionEventInvokeConfigCommand"); -const GetFunctionUrlConfigCommand_1 = require("./commands/GetFunctionUrlConfigCommand"); -const GetLayerVersionByArnCommand_1 = require("./commands/GetLayerVersionByArnCommand"); -const GetLayerVersionCommand_1 = require("./commands/GetLayerVersionCommand"); -const GetLayerVersionPolicyCommand_1 = require("./commands/GetLayerVersionPolicyCommand"); -const GetPolicyCommand_1 = require("./commands/GetPolicyCommand"); -const GetProvisionedConcurrencyConfigCommand_1 = require("./commands/GetProvisionedConcurrencyConfigCommand"); -const GetRuntimeManagementConfigCommand_1 = require("./commands/GetRuntimeManagementConfigCommand"); -const InvokeAsyncCommand_1 = require("./commands/InvokeAsyncCommand"); -const InvokeCommand_1 = require("./commands/InvokeCommand"); -const InvokeWithResponseStreamCommand_1 = require("./commands/InvokeWithResponseStreamCommand"); -const ListAliasesCommand_1 = require("./commands/ListAliasesCommand"); -const ListCodeSigningConfigsCommand_1 = require("./commands/ListCodeSigningConfigsCommand"); -const ListEventSourceMappingsCommand_1 = require("./commands/ListEventSourceMappingsCommand"); -const ListFunctionEventInvokeConfigsCommand_1 = require("./commands/ListFunctionEventInvokeConfigsCommand"); -const ListFunctionsByCodeSigningConfigCommand_1 = require("./commands/ListFunctionsByCodeSigningConfigCommand"); -const ListFunctionsCommand_1 = require("./commands/ListFunctionsCommand"); -const ListFunctionUrlConfigsCommand_1 = require("./commands/ListFunctionUrlConfigsCommand"); -const ListLayersCommand_1 = require("./commands/ListLayersCommand"); -const ListLayerVersionsCommand_1 = require("./commands/ListLayerVersionsCommand"); -const ListProvisionedConcurrencyConfigsCommand_1 = require("./commands/ListProvisionedConcurrencyConfigsCommand"); -const ListTagsCommand_1 = require("./commands/ListTagsCommand"); -const ListVersionsByFunctionCommand_1 = require("./commands/ListVersionsByFunctionCommand"); -const PublishLayerVersionCommand_1 = require("./commands/PublishLayerVersionCommand"); -const PublishVersionCommand_1 = require("./commands/PublishVersionCommand"); -const PutFunctionCodeSigningConfigCommand_1 = require("./commands/PutFunctionCodeSigningConfigCommand"); -const PutFunctionConcurrencyCommand_1 = require("./commands/PutFunctionConcurrencyCommand"); -const PutFunctionEventInvokeConfigCommand_1 = require("./commands/PutFunctionEventInvokeConfigCommand"); -const PutProvisionedConcurrencyConfigCommand_1 = require("./commands/PutProvisionedConcurrencyConfigCommand"); -const PutRuntimeManagementConfigCommand_1 = require("./commands/PutRuntimeManagementConfigCommand"); -const RemoveLayerVersionPermissionCommand_1 = require("./commands/RemoveLayerVersionPermissionCommand"); -const RemovePermissionCommand_1 = require("./commands/RemovePermissionCommand"); -const TagResourceCommand_1 = require("./commands/TagResourceCommand"); -const UntagResourceCommand_1 = require("./commands/UntagResourceCommand"); -const UpdateAliasCommand_1 = require("./commands/UpdateAliasCommand"); -const UpdateCodeSigningConfigCommand_1 = require("./commands/UpdateCodeSigningConfigCommand"); -const UpdateEventSourceMappingCommand_1 = require("./commands/UpdateEventSourceMappingCommand"); -const UpdateFunctionCodeCommand_1 = require("./commands/UpdateFunctionCodeCommand"); -const UpdateFunctionConfigurationCommand_1 = require("./commands/UpdateFunctionConfigurationCommand"); -const UpdateFunctionEventInvokeConfigCommand_1 = require("./commands/UpdateFunctionEventInvokeConfigCommand"); -const UpdateFunctionUrlConfigCommand_1 = require("./commands/UpdateFunctionUrlConfigCommand"); -const LambdaClient_1 = require("./LambdaClient"); -const commands = { - AddLayerVersionPermissionCommand: AddLayerVersionPermissionCommand_1.AddLayerVersionPermissionCommand, - AddPermissionCommand: AddPermissionCommand_1.AddPermissionCommand, - CreateAliasCommand: CreateAliasCommand_1.CreateAliasCommand, - CreateCodeSigningConfigCommand: CreateCodeSigningConfigCommand_1.CreateCodeSigningConfigCommand, - CreateEventSourceMappingCommand: CreateEventSourceMappingCommand_1.CreateEventSourceMappingCommand, - CreateFunctionCommand: CreateFunctionCommand_1.CreateFunctionCommand, - CreateFunctionUrlConfigCommand: CreateFunctionUrlConfigCommand_1.CreateFunctionUrlConfigCommand, - DeleteAliasCommand: DeleteAliasCommand_1.DeleteAliasCommand, - DeleteCodeSigningConfigCommand: DeleteCodeSigningConfigCommand_1.DeleteCodeSigningConfigCommand, - DeleteEventSourceMappingCommand: DeleteEventSourceMappingCommand_1.DeleteEventSourceMappingCommand, - DeleteFunctionCommand: DeleteFunctionCommand_1.DeleteFunctionCommand, - DeleteFunctionCodeSigningConfigCommand: DeleteFunctionCodeSigningConfigCommand_1.DeleteFunctionCodeSigningConfigCommand, - DeleteFunctionConcurrencyCommand: DeleteFunctionConcurrencyCommand_1.DeleteFunctionConcurrencyCommand, - DeleteFunctionEventInvokeConfigCommand: DeleteFunctionEventInvokeConfigCommand_1.DeleteFunctionEventInvokeConfigCommand, - DeleteFunctionUrlConfigCommand: DeleteFunctionUrlConfigCommand_1.DeleteFunctionUrlConfigCommand, - DeleteLayerVersionCommand: DeleteLayerVersionCommand_1.DeleteLayerVersionCommand, - DeleteProvisionedConcurrencyConfigCommand: DeleteProvisionedConcurrencyConfigCommand_1.DeleteProvisionedConcurrencyConfigCommand, - GetAccountSettingsCommand: GetAccountSettingsCommand_1.GetAccountSettingsCommand, - GetAliasCommand: GetAliasCommand_1.GetAliasCommand, - GetCodeSigningConfigCommand: GetCodeSigningConfigCommand_1.GetCodeSigningConfigCommand, - GetEventSourceMappingCommand: GetEventSourceMappingCommand_1.GetEventSourceMappingCommand, - GetFunctionCommand: GetFunctionCommand_1.GetFunctionCommand, - GetFunctionCodeSigningConfigCommand: GetFunctionCodeSigningConfigCommand_1.GetFunctionCodeSigningConfigCommand, - GetFunctionConcurrencyCommand: GetFunctionConcurrencyCommand_1.GetFunctionConcurrencyCommand, - GetFunctionConfigurationCommand: GetFunctionConfigurationCommand_1.GetFunctionConfigurationCommand, - GetFunctionEventInvokeConfigCommand: GetFunctionEventInvokeConfigCommand_1.GetFunctionEventInvokeConfigCommand, - GetFunctionUrlConfigCommand: GetFunctionUrlConfigCommand_1.GetFunctionUrlConfigCommand, - GetLayerVersionCommand: GetLayerVersionCommand_1.GetLayerVersionCommand, - GetLayerVersionByArnCommand: GetLayerVersionByArnCommand_1.GetLayerVersionByArnCommand, - GetLayerVersionPolicyCommand: GetLayerVersionPolicyCommand_1.GetLayerVersionPolicyCommand, - GetPolicyCommand: GetPolicyCommand_1.GetPolicyCommand, - GetProvisionedConcurrencyConfigCommand: GetProvisionedConcurrencyConfigCommand_1.GetProvisionedConcurrencyConfigCommand, - GetRuntimeManagementConfigCommand: GetRuntimeManagementConfigCommand_1.GetRuntimeManagementConfigCommand, - InvokeCommand: InvokeCommand_1.InvokeCommand, - InvokeAsyncCommand: InvokeAsyncCommand_1.InvokeAsyncCommand, - InvokeWithResponseStreamCommand: InvokeWithResponseStreamCommand_1.InvokeWithResponseStreamCommand, - ListAliasesCommand: ListAliasesCommand_1.ListAliasesCommand, - ListCodeSigningConfigsCommand: ListCodeSigningConfigsCommand_1.ListCodeSigningConfigsCommand, - ListEventSourceMappingsCommand: ListEventSourceMappingsCommand_1.ListEventSourceMappingsCommand, - ListFunctionEventInvokeConfigsCommand: ListFunctionEventInvokeConfigsCommand_1.ListFunctionEventInvokeConfigsCommand, - ListFunctionsCommand: ListFunctionsCommand_1.ListFunctionsCommand, - ListFunctionsByCodeSigningConfigCommand: ListFunctionsByCodeSigningConfigCommand_1.ListFunctionsByCodeSigningConfigCommand, - ListFunctionUrlConfigsCommand: ListFunctionUrlConfigsCommand_1.ListFunctionUrlConfigsCommand, - ListLayersCommand: ListLayersCommand_1.ListLayersCommand, - ListLayerVersionsCommand: ListLayerVersionsCommand_1.ListLayerVersionsCommand, - ListProvisionedConcurrencyConfigsCommand: ListProvisionedConcurrencyConfigsCommand_1.ListProvisionedConcurrencyConfigsCommand, - ListTagsCommand: ListTagsCommand_1.ListTagsCommand, - ListVersionsByFunctionCommand: ListVersionsByFunctionCommand_1.ListVersionsByFunctionCommand, - PublishLayerVersionCommand: PublishLayerVersionCommand_1.PublishLayerVersionCommand, - PublishVersionCommand: PublishVersionCommand_1.PublishVersionCommand, - PutFunctionCodeSigningConfigCommand: PutFunctionCodeSigningConfigCommand_1.PutFunctionCodeSigningConfigCommand, - PutFunctionConcurrencyCommand: PutFunctionConcurrencyCommand_1.PutFunctionConcurrencyCommand, - PutFunctionEventInvokeConfigCommand: PutFunctionEventInvokeConfigCommand_1.PutFunctionEventInvokeConfigCommand, - PutProvisionedConcurrencyConfigCommand: PutProvisionedConcurrencyConfigCommand_1.PutProvisionedConcurrencyConfigCommand, - PutRuntimeManagementConfigCommand: PutRuntimeManagementConfigCommand_1.PutRuntimeManagementConfigCommand, - RemoveLayerVersionPermissionCommand: RemoveLayerVersionPermissionCommand_1.RemoveLayerVersionPermissionCommand, - RemovePermissionCommand: RemovePermissionCommand_1.RemovePermissionCommand, - TagResourceCommand: TagResourceCommand_1.TagResourceCommand, - UntagResourceCommand: UntagResourceCommand_1.UntagResourceCommand, - UpdateAliasCommand: UpdateAliasCommand_1.UpdateAliasCommand, - UpdateCodeSigningConfigCommand: UpdateCodeSigningConfigCommand_1.UpdateCodeSigningConfigCommand, - UpdateEventSourceMappingCommand: UpdateEventSourceMappingCommand_1.UpdateEventSourceMappingCommand, - UpdateFunctionCodeCommand: UpdateFunctionCodeCommand_1.UpdateFunctionCodeCommand, - UpdateFunctionConfigurationCommand: UpdateFunctionConfigurationCommand_1.UpdateFunctionConfigurationCommand, - UpdateFunctionEventInvokeConfigCommand: UpdateFunctionEventInvokeConfigCommand_1.UpdateFunctionEventInvokeConfigCommand, - UpdateFunctionUrlConfigCommand: UpdateFunctionUrlConfigCommand_1.UpdateFunctionUrlConfigCommand, -}; -class Lambda extends LambdaClient_1.LambdaClient { -} -exports.Lambda = Lambda; -(0, smithy_client_1.createAggregatedClient)(commands, Lambda); diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/GetFunctionCodeSigningConfigCommand.js b/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/GetFunctionCodeSigningConfigCommand.js deleted file mode 100644 index 36893d6a..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/GetFunctionCodeSigningConfigCommand.js +++ /dev/null @@ -1,51 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.GetFunctionCodeSigningConfigCommand = exports.$Command = void 0; -const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); -const middleware_serde_1 = require("@smithy/middleware-serde"); -const smithy_client_1 = require("@smithy/smithy-client"); -Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); -const types_1 = require("@smithy/types"); -const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); -class GetFunctionCodeSigningConfigCommand extends smithy_client_1.Command { - static getEndpointParameterInstructions() { - return { - UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, - Endpoint: { type: "builtInParams", name: "endpoint" }, - Region: { type: "builtInParams", name: "region" }, - UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, - }; - } - constructor(input) { - super(); - this.input = input; - } - resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetFunctionCodeSigningConfigCommand.getEndpointParameterInstructions())); - const stack = clientStack.concat(this.middlewareStack); - const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "GetFunctionCodeSigningConfigCommand"; - const handlerExecutionContext = { - logger, - clientName, - commandName, - inputFilterSensitiveLog: (_) => _, - outputFilterSensitiveLog: (_) => _, - [types_1.SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "GetFunctionCodeSigningConfig", - }, - }; - const { requestHandler } = configuration; - return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); - } - serialize(input, context) { - return (0, Aws_restJson1_1.se_GetFunctionCodeSigningConfigCommand)(input, context); - } - deserialize(output, context) { - return (0, Aws_restJson1_1.de_GetFunctionCodeSigningConfigCommand)(output, context); - } -} -exports.GetFunctionCodeSigningConfigCommand = GetFunctionCodeSigningConfigCommand; diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/GetProvisionedConcurrencyConfigCommand.js b/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/GetProvisionedConcurrencyConfigCommand.js deleted file mode 100644 index 6e983ff2..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/GetProvisionedConcurrencyConfigCommand.js +++ /dev/null @@ -1,51 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.GetProvisionedConcurrencyConfigCommand = exports.$Command = void 0; -const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); -const middleware_serde_1 = require("@smithy/middleware-serde"); -const smithy_client_1 = require("@smithy/smithy-client"); -Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); -const types_1 = require("@smithy/types"); -const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); -class GetProvisionedConcurrencyConfigCommand extends smithy_client_1.Command { - static getEndpointParameterInstructions() { - return { - UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, - Endpoint: { type: "builtInParams", name: "endpoint" }, - Region: { type: "builtInParams", name: "region" }, - UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, - }; - } - constructor(input) { - super(); - this.input = input; - } - resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetProvisionedConcurrencyConfigCommand.getEndpointParameterInstructions())); - const stack = clientStack.concat(this.middlewareStack); - const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "GetProvisionedConcurrencyConfigCommand"; - const handlerExecutionContext = { - logger, - clientName, - commandName, - inputFilterSensitiveLog: (_) => _, - outputFilterSensitiveLog: (_) => _, - [types_1.SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "GetProvisionedConcurrencyConfig", - }, - }; - const { requestHandler } = configuration; - return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); - } - serialize(input, context) { - return (0, Aws_restJson1_1.se_GetProvisionedConcurrencyConfigCommand)(input, context); - } - deserialize(output, context) { - return (0, Aws_restJson1_1.de_GetProvisionedConcurrencyConfigCommand)(output, context); - } -} -exports.GetProvisionedConcurrencyConfigCommand = GetProvisionedConcurrencyConfigCommand; diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/InvokeCommand.js b/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/InvokeCommand.js deleted file mode 100644 index ce27dc0d..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/InvokeCommand.js +++ /dev/null @@ -1,52 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.InvokeCommand = exports.$Command = void 0; -const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); -const middleware_serde_1 = require("@smithy/middleware-serde"); -const smithy_client_1 = require("@smithy/smithy-client"); -Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); -const types_1 = require("@smithy/types"); -const models_0_1 = require("../models/models_0"); -const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); -class InvokeCommand extends smithy_client_1.Command { - static getEndpointParameterInstructions() { - return { - UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, - Endpoint: { type: "builtInParams", name: "endpoint" }, - Region: { type: "builtInParams", name: "region" }, - UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, - }; - } - constructor(input) { - super(); - this.input = input; - } - resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, InvokeCommand.getEndpointParameterInstructions())); - const stack = clientStack.concat(this.middlewareStack); - const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "InvokeCommand"; - const handlerExecutionContext = { - logger, - clientName, - commandName, - inputFilterSensitiveLog: models_0_1.InvocationRequestFilterSensitiveLog, - outputFilterSensitiveLog: models_0_1.InvocationResponseFilterSensitiveLog, - [types_1.SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "Invoke", - }, - }; - const { requestHandler } = configuration; - return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); - } - serialize(input, context) { - return (0, Aws_restJson1_1.se_InvokeCommand)(input, context); - } - deserialize(output, context) { - return (0, Aws_restJson1_1.de_InvokeCommand)(output, context); - } -} -exports.InvokeCommand = InvokeCommand; diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/InvokeWithResponseStreamCommand.js b/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/InvokeWithResponseStreamCommand.js deleted file mode 100644 index 8bf06d9a..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/InvokeWithResponseStreamCommand.js +++ /dev/null @@ -1,52 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.InvokeWithResponseStreamCommand = exports.$Command = void 0; -const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); -const middleware_serde_1 = require("@smithy/middleware-serde"); -const smithy_client_1 = require("@smithy/smithy-client"); -Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); -const types_1 = require("@smithy/types"); -const models_0_1 = require("../models/models_0"); -const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); -class InvokeWithResponseStreamCommand extends smithy_client_1.Command { - static getEndpointParameterInstructions() { - return { - UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, - Endpoint: { type: "builtInParams", name: "endpoint" }, - Region: { type: "builtInParams", name: "region" }, - UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, - }; - } - constructor(input) { - super(); - this.input = input; - } - resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, InvokeWithResponseStreamCommand.getEndpointParameterInstructions())); - const stack = clientStack.concat(this.middlewareStack); - const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "InvokeWithResponseStreamCommand"; - const handlerExecutionContext = { - logger, - clientName, - commandName, - inputFilterSensitiveLog: models_0_1.InvokeWithResponseStreamRequestFilterSensitiveLog, - outputFilterSensitiveLog: models_0_1.InvokeWithResponseStreamResponseFilterSensitiveLog, - [types_1.SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "InvokeWithResponseStream", - }, - }; - const { requestHandler } = configuration; - return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); - } - serialize(input, context) { - return (0, Aws_restJson1_1.se_InvokeWithResponseStreamCommand)(input, context); - } - deserialize(output, context) { - return (0, Aws_restJson1_1.de_InvokeWithResponseStreamCommand)(output, context); - } -} -exports.InvokeWithResponseStreamCommand = InvokeWithResponseStreamCommand; diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/ListEventSourceMappingsCommand.js b/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/ListEventSourceMappingsCommand.js deleted file mode 100644 index 1e0df6c5..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/ListEventSourceMappingsCommand.js +++ /dev/null @@ -1,51 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.ListEventSourceMappingsCommand = exports.$Command = void 0; -const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); -const middleware_serde_1 = require("@smithy/middleware-serde"); -const smithy_client_1 = require("@smithy/smithy-client"); -Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); -const types_1 = require("@smithy/types"); -const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); -class ListEventSourceMappingsCommand extends smithy_client_1.Command { - static getEndpointParameterInstructions() { - return { - UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, - Endpoint: { type: "builtInParams", name: "endpoint" }, - Region: { type: "builtInParams", name: "region" }, - UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, - }; - } - constructor(input) { - super(); - this.input = input; - } - resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListEventSourceMappingsCommand.getEndpointParameterInstructions())); - const stack = clientStack.concat(this.middlewareStack); - const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "ListEventSourceMappingsCommand"; - const handlerExecutionContext = { - logger, - clientName, - commandName, - inputFilterSensitiveLog: (_) => _, - outputFilterSensitiveLog: (_) => _, - [types_1.SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "ListEventSourceMappings", - }, - }; - const { requestHandler } = configuration; - return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); - } - serialize(input, context) { - return (0, Aws_restJson1_1.se_ListEventSourceMappingsCommand)(input, context); - } - deserialize(output, context) { - return (0, Aws_restJson1_1.de_ListEventSourceMappingsCommand)(output, context); - } -} -exports.ListEventSourceMappingsCommand = ListEventSourceMappingsCommand; diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/PutFunctionCodeSigningConfigCommand.js b/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/PutFunctionCodeSigningConfigCommand.js deleted file mode 100644 index 431ba692..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/PutFunctionCodeSigningConfigCommand.js +++ /dev/null @@ -1,51 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.PutFunctionCodeSigningConfigCommand = exports.$Command = void 0; -const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); -const middleware_serde_1 = require("@smithy/middleware-serde"); -const smithy_client_1 = require("@smithy/smithy-client"); -Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); -const types_1 = require("@smithy/types"); -const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); -class PutFunctionCodeSigningConfigCommand extends smithy_client_1.Command { - static getEndpointParameterInstructions() { - return { - UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, - Endpoint: { type: "builtInParams", name: "endpoint" }, - Region: { type: "builtInParams", name: "region" }, - UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, - }; - } - constructor(input) { - super(); - this.input = input; - } - resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, PutFunctionCodeSigningConfigCommand.getEndpointParameterInstructions())); - const stack = clientStack.concat(this.middlewareStack); - const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "PutFunctionCodeSigningConfigCommand"; - const handlerExecutionContext = { - logger, - clientName, - commandName, - inputFilterSensitiveLog: (_) => _, - outputFilterSensitiveLog: (_) => _, - [types_1.SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "PutFunctionCodeSigningConfig", - }, - }; - const { requestHandler } = configuration; - return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); - } - serialize(input, context) { - return (0, Aws_restJson1_1.se_PutFunctionCodeSigningConfigCommand)(input, context); - } - deserialize(output, context) { - return (0, Aws_restJson1_1.de_PutFunctionCodeSigningConfigCommand)(output, context); - } -} -exports.PutFunctionCodeSigningConfigCommand = PutFunctionCodeSigningConfigCommand; diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/PutFunctionEventInvokeConfigCommand.js b/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/PutFunctionEventInvokeConfigCommand.js deleted file mode 100644 index 1b0e3b1f..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/PutFunctionEventInvokeConfigCommand.js +++ /dev/null @@ -1,51 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.PutFunctionEventInvokeConfigCommand = exports.$Command = void 0; -const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); -const middleware_serde_1 = require("@smithy/middleware-serde"); -const smithy_client_1 = require("@smithy/smithy-client"); -Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); -const types_1 = require("@smithy/types"); -const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); -class PutFunctionEventInvokeConfigCommand extends smithy_client_1.Command { - static getEndpointParameterInstructions() { - return { - UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, - Endpoint: { type: "builtInParams", name: "endpoint" }, - Region: { type: "builtInParams", name: "region" }, - UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, - }; - } - constructor(input) { - super(); - this.input = input; - } - resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, PutFunctionEventInvokeConfigCommand.getEndpointParameterInstructions())); - const stack = clientStack.concat(this.middlewareStack); - const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "PutFunctionEventInvokeConfigCommand"; - const handlerExecutionContext = { - logger, - clientName, - commandName, - inputFilterSensitiveLog: (_) => _, - outputFilterSensitiveLog: (_) => _, - [types_1.SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "PutFunctionEventInvokeConfig", - }, - }; - const { requestHandler } = configuration; - return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); - } - serialize(input, context) { - return (0, Aws_restJson1_1.se_PutFunctionEventInvokeConfigCommand)(input, context); - } - deserialize(output, context) { - return (0, Aws_restJson1_1.de_PutFunctionEventInvokeConfigCommand)(output, context); - } -} -exports.PutFunctionEventInvokeConfigCommand = PutFunctionEventInvokeConfigCommand; diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/PutProvisionedConcurrencyConfigCommand.js b/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/PutProvisionedConcurrencyConfigCommand.js deleted file mode 100644 index e6b61e14..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/PutProvisionedConcurrencyConfigCommand.js +++ /dev/null @@ -1,51 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.PutProvisionedConcurrencyConfigCommand = exports.$Command = void 0; -const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); -const middleware_serde_1 = require("@smithy/middleware-serde"); -const smithy_client_1 = require("@smithy/smithy-client"); -Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); -const types_1 = require("@smithy/types"); -const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); -class PutProvisionedConcurrencyConfigCommand extends smithy_client_1.Command { - static getEndpointParameterInstructions() { - return { - UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, - Endpoint: { type: "builtInParams", name: "endpoint" }, - Region: { type: "builtInParams", name: "region" }, - UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, - }; - } - constructor(input) { - super(); - this.input = input; - } - resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, PutProvisionedConcurrencyConfigCommand.getEndpointParameterInstructions())); - const stack = clientStack.concat(this.middlewareStack); - const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "PutProvisionedConcurrencyConfigCommand"; - const handlerExecutionContext = { - logger, - clientName, - commandName, - inputFilterSensitiveLog: (_) => _, - outputFilterSensitiveLog: (_) => _, - [types_1.SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "PutProvisionedConcurrencyConfig", - }, - }; - const { requestHandler } = configuration; - return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); - } - serialize(input, context) { - return (0, Aws_restJson1_1.se_PutProvisionedConcurrencyConfigCommand)(input, context); - } - deserialize(output, context) { - return (0, Aws_restJson1_1.de_PutProvisionedConcurrencyConfigCommand)(output, context); - } -} -exports.PutProvisionedConcurrencyConfigCommand = PutProvisionedConcurrencyConfigCommand; diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/RemoveLayerVersionPermissionCommand.js b/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/RemoveLayerVersionPermissionCommand.js deleted file mode 100644 index 24ea34f4..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/RemoveLayerVersionPermissionCommand.js +++ /dev/null @@ -1,51 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.RemoveLayerVersionPermissionCommand = exports.$Command = void 0; -const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); -const middleware_serde_1 = require("@smithy/middleware-serde"); -const smithy_client_1 = require("@smithy/smithy-client"); -Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); -const types_1 = require("@smithy/types"); -const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); -class RemoveLayerVersionPermissionCommand extends smithy_client_1.Command { - static getEndpointParameterInstructions() { - return { - UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, - Endpoint: { type: "builtInParams", name: "endpoint" }, - Region: { type: "builtInParams", name: "region" }, - UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, - }; - } - constructor(input) { - super(); - this.input = input; - } - resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, RemoveLayerVersionPermissionCommand.getEndpointParameterInstructions())); - const stack = clientStack.concat(this.middlewareStack); - const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "RemoveLayerVersionPermissionCommand"; - const handlerExecutionContext = { - logger, - clientName, - commandName, - inputFilterSensitiveLog: (_) => _, - outputFilterSensitiveLog: (_) => _, - [types_1.SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "RemoveLayerVersionPermission", - }, - }; - const { requestHandler } = configuration; - return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); - } - serialize(input, context) { - return (0, Aws_restJson1_1.se_RemoveLayerVersionPermissionCommand)(input, context); - } - deserialize(output, context) { - return (0, Aws_restJson1_1.de_RemoveLayerVersionPermissionCommand)(output, context); - } -} -exports.RemoveLayerVersionPermissionCommand = RemoveLayerVersionPermissionCommand; diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/UpdateAliasCommand.js b/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/UpdateAliasCommand.js deleted file mode 100644 index 9cb1af53..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/UpdateAliasCommand.js +++ /dev/null @@ -1,51 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.UpdateAliasCommand = exports.$Command = void 0; -const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); -const middleware_serde_1 = require("@smithy/middleware-serde"); -const smithy_client_1 = require("@smithy/smithy-client"); -Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); -const types_1 = require("@smithy/types"); -const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); -class UpdateAliasCommand extends smithy_client_1.Command { - static getEndpointParameterInstructions() { - return { - UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, - Endpoint: { type: "builtInParams", name: "endpoint" }, - Region: { type: "builtInParams", name: "region" }, - UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, - }; - } - constructor(input) { - super(); - this.input = input; - } - resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateAliasCommand.getEndpointParameterInstructions())); - const stack = clientStack.concat(this.middlewareStack); - const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "UpdateAliasCommand"; - const handlerExecutionContext = { - logger, - clientName, - commandName, - inputFilterSensitiveLog: (_) => _, - outputFilterSensitiveLog: (_) => _, - [types_1.SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "UpdateAlias", - }, - }; - const { requestHandler } = configuration; - return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); - } - serialize(input, context) { - return (0, Aws_restJson1_1.se_UpdateAliasCommand)(input, context); - } - deserialize(output, context) { - return (0, Aws_restJson1_1.de_UpdateAliasCommand)(output, context); - } -} -exports.UpdateAliasCommand = UpdateAliasCommand; diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/UpdateCodeSigningConfigCommand.js b/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/UpdateCodeSigningConfigCommand.js deleted file mode 100644 index dfbb30b6..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/UpdateCodeSigningConfigCommand.js +++ /dev/null @@ -1,51 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.UpdateCodeSigningConfigCommand = exports.$Command = void 0; -const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); -const middleware_serde_1 = require("@smithy/middleware-serde"); -const smithy_client_1 = require("@smithy/smithy-client"); -Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); -const types_1 = require("@smithy/types"); -const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); -class UpdateCodeSigningConfigCommand extends smithy_client_1.Command { - static getEndpointParameterInstructions() { - return { - UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, - Endpoint: { type: "builtInParams", name: "endpoint" }, - Region: { type: "builtInParams", name: "region" }, - UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, - }; - } - constructor(input) { - super(); - this.input = input; - } - resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateCodeSigningConfigCommand.getEndpointParameterInstructions())); - const stack = clientStack.concat(this.middlewareStack); - const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "UpdateCodeSigningConfigCommand"; - const handlerExecutionContext = { - logger, - clientName, - commandName, - inputFilterSensitiveLog: (_) => _, - outputFilterSensitiveLog: (_) => _, - [types_1.SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "UpdateCodeSigningConfig", - }, - }; - const { requestHandler } = configuration; - return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); - } - serialize(input, context) { - return (0, Aws_restJson1_1.se_UpdateCodeSigningConfigCommand)(input, context); - } - deserialize(output, context) { - return (0, Aws_restJson1_1.de_UpdateCodeSigningConfigCommand)(output, context); - } -} -exports.UpdateCodeSigningConfigCommand = UpdateCodeSigningConfigCommand; diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/UpdateFunctionCodeCommand.js b/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/UpdateFunctionCodeCommand.js deleted file mode 100644 index 70949d35..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/UpdateFunctionCodeCommand.js +++ /dev/null @@ -1,52 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.UpdateFunctionCodeCommand = exports.$Command = void 0; -const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); -const middleware_serde_1 = require("@smithy/middleware-serde"); -const smithy_client_1 = require("@smithy/smithy-client"); -Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); -const types_1 = require("@smithy/types"); -const models_0_1 = require("../models/models_0"); -const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); -class UpdateFunctionCodeCommand extends smithy_client_1.Command { - static getEndpointParameterInstructions() { - return { - UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, - Endpoint: { type: "builtInParams", name: "endpoint" }, - Region: { type: "builtInParams", name: "region" }, - UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, - }; - } - constructor(input) { - super(); - this.input = input; - } - resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateFunctionCodeCommand.getEndpointParameterInstructions())); - const stack = clientStack.concat(this.middlewareStack); - const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "UpdateFunctionCodeCommand"; - const handlerExecutionContext = { - logger, - clientName, - commandName, - inputFilterSensitiveLog: models_0_1.UpdateFunctionCodeRequestFilterSensitiveLog, - outputFilterSensitiveLog: models_0_1.FunctionConfigurationFilterSensitiveLog, - [types_1.SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "UpdateFunctionCode", - }, - }; - const { requestHandler } = configuration; - return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); - } - serialize(input, context) { - return (0, Aws_restJson1_1.se_UpdateFunctionCodeCommand)(input, context); - } - deserialize(output, context) { - return (0, Aws_restJson1_1.de_UpdateFunctionCodeCommand)(output, context); - } -} -exports.UpdateFunctionCodeCommand = UpdateFunctionCodeCommand; diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/UpdateFunctionEventInvokeConfigCommand.js b/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/UpdateFunctionEventInvokeConfigCommand.js deleted file mode 100644 index d0a11475..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/UpdateFunctionEventInvokeConfigCommand.js +++ /dev/null @@ -1,51 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.UpdateFunctionEventInvokeConfigCommand = exports.$Command = void 0; -const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); -const middleware_serde_1 = require("@smithy/middleware-serde"); -const smithy_client_1 = require("@smithy/smithy-client"); -Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); -const types_1 = require("@smithy/types"); -const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); -class UpdateFunctionEventInvokeConfigCommand extends smithy_client_1.Command { - static getEndpointParameterInstructions() { - return { - UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, - Endpoint: { type: "builtInParams", name: "endpoint" }, - Region: { type: "builtInParams", name: "region" }, - UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, - }; - } - constructor(input) { - super(); - this.input = input; - } - resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateFunctionEventInvokeConfigCommand.getEndpointParameterInstructions())); - const stack = clientStack.concat(this.middlewareStack); - const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "UpdateFunctionEventInvokeConfigCommand"; - const handlerExecutionContext = { - logger, - clientName, - commandName, - inputFilterSensitiveLog: (_) => _, - outputFilterSensitiveLog: (_) => _, - [types_1.SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "UpdateFunctionEventInvokeConfig", - }, - }; - const { requestHandler } = configuration; - return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); - } - serialize(input, context) { - return (0, Aws_restJson1_1.se_UpdateFunctionEventInvokeConfigCommand)(input, context); - } - deserialize(output, context) { - return (0, Aws_restJson1_1.de_UpdateFunctionEventInvokeConfigCommand)(output, context); - } -} -exports.UpdateFunctionEventInvokeConfigCommand = UpdateFunctionEventInvokeConfigCommand; diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/UpdateFunctionUrlConfigCommand.js b/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/UpdateFunctionUrlConfigCommand.js deleted file mode 100644 index 5ad07bb6..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/UpdateFunctionUrlConfigCommand.js +++ /dev/null @@ -1,51 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.UpdateFunctionUrlConfigCommand = exports.$Command = void 0; -const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); -const middleware_serde_1 = require("@smithy/middleware-serde"); -const smithy_client_1 = require("@smithy/smithy-client"); -Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); -const types_1 = require("@smithy/types"); -const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); -class UpdateFunctionUrlConfigCommand extends smithy_client_1.Command { - static getEndpointParameterInstructions() { - return { - UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, - Endpoint: { type: "builtInParams", name: "endpoint" }, - Region: { type: "builtInParams", name: "region" }, - UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, - }; - } - constructor(input) { - super(); - this.input = input; - } - resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateFunctionUrlConfigCommand.getEndpointParameterInstructions())); - const stack = clientStack.concat(this.middlewareStack); - const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "UpdateFunctionUrlConfigCommand"; - const handlerExecutionContext = { - logger, - clientName, - commandName, - inputFilterSensitiveLog: (_) => _, - outputFilterSensitiveLog: (_) => _, - [types_1.SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "UpdateFunctionUrlConfig", - }, - }; - const { requestHandler } = configuration; - return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); - } - serialize(input, context) { - return (0, Aws_restJson1_1.se_UpdateFunctionUrlConfigCommand)(input, context); - } - deserialize(output, context) { - return (0, Aws_restJson1_1.de_UpdateFunctionUrlConfigCommand)(output, context); - } -} -exports.UpdateFunctionUrlConfigCommand = UpdateFunctionUrlConfigCommand; diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/index.js b/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/index.js deleted file mode 100644 index b4ac7814..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/index.js +++ /dev/null @@ -1,69 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const tslib_1 = require("tslib"); -tslib_1.__exportStar(require("./AddLayerVersionPermissionCommand"), exports); -tslib_1.__exportStar(require("./AddPermissionCommand"), exports); -tslib_1.__exportStar(require("./CreateAliasCommand"), exports); -tslib_1.__exportStar(require("./CreateCodeSigningConfigCommand"), exports); -tslib_1.__exportStar(require("./CreateEventSourceMappingCommand"), exports); -tslib_1.__exportStar(require("./CreateFunctionCommand"), exports); -tslib_1.__exportStar(require("./CreateFunctionUrlConfigCommand"), exports); -tslib_1.__exportStar(require("./DeleteAliasCommand"), exports); -tslib_1.__exportStar(require("./DeleteCodeSigningConfigCommand"), exports); -tslib_1.__exportStar(require("./DeleteEventSourceMappingCommand"), exports); -tslib_1.__exportStar(require("./DeleteFunctionCodeSigningConfigCommand"), exports); -tslib_1.__exportStar(require("./DeleteFunctionCommand"), exports); -tslib_1.__exportStar(require("./DeleteFunctionConcurrencyCommand"), exports); -tslib_1.__exportStar(require("./DeleteFunctionEventInvokeConfigCommand"), exports); -tslib_1.__exportStar(require("./DeleteFunctionUrlConfigCommand"), exports); -tslib_1.__exportStar(require("./DeleteLayerVersionCommand"), exports); -tslib_1.__exportStar(require("./DeleteProvisionedConcurrencyConfigCommand"), exports); -tslib_1.__exportStar(require("./GetAccountSettingsCommand"), exports); -tslib_1.__exportStar(require("./GetAliasCommand"), exports); -tslib_1.__exportStar(require("./GetCodeSigningConfigCommand"), exports); -tslib_1.__exportStar(require("./GetEventSourceMappingCommand"), exports); -tslib_1.__exportStar(require("./GetFunctionCodeSigningConfigCommand"), exports); -tslib_1.__exportStar(require("./GetFunctionCommand"), exports); -tslib_1.__exportStar(require("./GetFunctionConcurrencyCommand"), exports); -tslib_1.__exportStar(require("./GetFunctionConfigurationCommand"), exports); -tslib_1.__exportStar(require("./GetFunctionEventInvokeConfigCommand"), exports); -tslib_1.__exportStar(require("./GetFunctionUrlConfigCommand"), exports); -tslib_1.__exportStar(require("./GetLayerVersionByArnCommand"), exports); -tslib_1.__exportStar(require("./GetLayerVersionCommand"), exports); -tslib_1.__exportStar(require("./GetLayerVersionPolicyCommand"), exports); -tslib_1.__exportStar(require("./GetPolicyCommand"), exports); -tslib_1.__exportStar(require("./GetProvisionedConcurrencyConfigCommand"), exports); -tslib_1.__exportStar(require("./GetRuntimeManagementConfigCommand"), exports); -tslib_1.__exportStar(require("./InvokeAsyncCommand"), exports); -tslib_1.__exportStar(require("./InvokeCommand"), exports); -tslib_1.__exportStar(require("./InvokeWithResponseStreamCommand"), exports); -tslib_1.__exportStar(require("./ListAliasesCommand"), exports); -tslib_1.__exportStar(require("./ListCodeSigningConfigsCommand"), exports); -tslib_1.__exportStar(require("./ListEventSourceMappingsCommand"), exports); -tslib_1.__exportStar(require("./ListFunctionEventInvokeConfigsCommand"), exports); -tslib_1.__exportStar(require("./ListFunctionUrlConfigsCommand"), exports); -tslib_1.__exportStar(require("./ListFunctionsByCodeSigningConfigCommand"), exports); -tslib_1.__exportStar(require("./ListFunctionsCommand"), exports); -tslib_1.__exportStar(require("./ListLayerVersionsCommand"), exports); -tslib_1.__exportStar(require("./ListLayersCommand"), exports); -tslib_1.__exportStar(require("./ListProvisionedConcurrencyConfigsCommand"), exports); -tslib_1.__exportStar(require("./ListTagsCommand"), exports); -tslib_1.__exportStar(require("./ListVersionsByFunctionCommand"), exports); -tslib_1.__exportStar(require("./PublishLayerVersionCommand"), exports); -tslib_1.__exportStar(require("./PublishVersionCommand"), exports); -tslib_1.__exportStar(require("./PutFunctionCodeSigningConfigCommand"), exports); -tslib_1.__exportStar(require("./PutFunctionConcurrencyCommand"), exports); -tslib_1.__exportStar(require("./PutFunctionEventInvokeConfigCommand"), exports); -tslib_1.__exportStar(require("./PutProvisionedConcurrencyConfigCommand"), exports); -tslib_1.__exportStar(require("./PutRuntimeManagementConfigCommand"), exports); -tslib_1.__exportStar(require("./RemoveLayerVersionPermissionCommand"), exports); -tslib_1.__exportStar(require("./RemovePermissionCommand"), exports); -tslib_1.__exportStar(require("./TagResourceCommand"), exports); -tslib_1.__exportStar(require("./UntagResourceCommand"), exports); -tslib_1.__exportStar(require("./UpdateAliasCommand"), exports); -tslib_1.__exportStar(require("./UpdateCodeSigningConfigCommand"), exports); -tslib_1.__exportStar(require("./UpdateEventSourceMappingCommand"), exports); -tslib_1.__exportStar(require("./UpdateFunctionCodeCommand"), exports); -tslib_1.__exportStar(require("./UpdateFunctionConfigurationCommand"), exports); -tslib_1.__exportStar(require("./UpdateFunctionEventInvokeConfigCommand"), exports); -tslib_1.__exportStar(require("./UpdateFunctionUrlConfigCommand"), exports); diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/endpoint/ruleset.js b/node_modules/@aws-sdk/client-lambda/dist-cjs/endpoint/ruleset.js deleted file mode 100644 index 911a7b39..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-cjs/endpoint/ruleset.js +++ /dev/null @@ -1,7 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.ruleSet = void 0; -const s = "required", t = "fn", u = "argv", v = "ref"; -const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [s]: false, "type": "String" }, i = { [s]: true, "default": false, "type": "Boolean" }, j = { [v]: "Endpoint" }, k = { [t]: c, [u]: [{ [v]: "UseFIPS" }, true] }, l = { [t]: c, [u]: [{ [v]: "UseDualStack" }, true] }, m = {}, n = { [t]: "getAttr", [u]: [{ [v]: g }, "supportsFIPS"] }, o = { [t]: c, [u]: [true, { [t]: "getAttr", [u]: [{ [v]: g }, "supportsDualStack"] }] }, p = [k], q = [l], r = [{ [v]: "Region" }]; -const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h }, rules: [{ conditions: [{ [t]: b, [u]: [j] }], rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: j, properties: m, headers: m }, type: e }], type: f }, { conditions: [{ [t]: b, [u]: r }], rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: g }], rules: [{ conditions: [k, l], rules: [{ conditions: [{ [t]: c, [u]: [a, n] }, o], rules: [{ endpoint: { url: "https://lambda-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: p, rules: [{ conditions: [{ [t]: c, [u]: [n, a] }], rules: [{ endpoint: { url: "https://lambda-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: q, rules: [{ conditions: [o], rules: [{ endpoint: { url: "https://lambda.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { endpoint: { url: "https://lambda.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }] }; -exports.ruleSet = _data; diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/index.js b/node_modules/@aws-sdk/client-lambda/dist-cjs/index.js deleted file mode 100644 index 191c3533..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-cjs/index.js +++ /dev/null @@ -1,13 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.LambdaServiceException = void 0; -const tslib_1 = require("tslib"); -tslib_1.__exportStar(require("./LambdaClient"), exports); -tslib_1.__exportStar(require("./Lambda"), exports); -tslib_1.__exportStar(require("./commands"), exports); -tslib_1.__exportStar(require("./pagination"), exports); -tslib_1.__exportStar(require("./waiters"), exports); -tslib_1.__exportStar(require("./models"), exports); -require("@aws-sdk/util-endpoints"); -var LambdaServiceException_1 = require("./models/LambdaServiceException"); -Object.defineProperty(exports, "LambdaServiceException", { enumerable: true, get: function () { return LambdaServiceException_1.LambdaServiceException; } }); diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/models/models_0.js b/node_modules/@aws-sdk/client-lambda/dist-cjs/models/models_0.js deleted file mode 100644 index 07e6cdc1..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-cjs/models/models_0.js +++ /dev/null @@ -1,915 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.InvalidZipFileException = exports.InvalidSubnetIDException = exports.InvalidSecurityGroupIDException = exports.InvalidRuntimeException = exports.InvalidRequestContentException = exports.ENILimitReachedException = exports.EFSMountTimeoutException = exports.EFSMountFailureException = exports.EFSMountConnectivityException = exports.EFSIOException = exports.EC2UnexpectedException = exports.EC2ThrottledException = exports.EC2AccessDeniedException = exports.UpdateRuntimeOn = exports.ProvisionedConcurrencyConfigNotFoundException = exports.ProvisionedConcurrencyStatusEnum = exports.ResourceInUseException = exports.InvokeMode = exports.InvalidCodeSignatureException = exports.StateReasonCode = exports.State = exports.SnapStartOptimizationStatus = exports.LastUpdateStatusReasonCode = exports.LastUpdateStatus = exports.TracingMode = exports.SnapStartApplyOn = exports.Runtime = exports.PackageType = exports.SystemLogLevel = exports.LogFormat = exports.CodeVerificationFailedException = exports.CodeStorageExceededException = exports.CodeSigningConfigNotFoundException = exports.EventSourcePosition = exports.SourceAccessType = exports.EndPointType = exports.FunctionResponseType = exports.FullDocument = exports.CodeSigningPolicy = exports.Architecture = exports.ApplicationLogLevel = exports.FunctionUrlAuthType = exports.TooManyRequestsException = exports.ThrottleReason = exports.ServiceException = exports.ResourceNotFoundException = exports.ResourceConflictException = exports.PreconditionFailedException = exports.PolicyLengthExceededException = exports.InvalidParameterValueException = void 0; -exports.UpdateFunctionConfigurationRequestFilterSensitiveLog = exports.UpdateFunctionCodeRequestFilterSensitiveLog = exports.PublishLayerVersionRequestFilterSensitiveLog = exports.LayerVersionContentInputFilterSensitiveLog = exports.ListVersionsByFunctionResponseFilterSensitiveLog = exports.ListFunctionsResponseFilterSensitiveLog = exports.InvokeWithResponseStreamResponseFilterSensitiveLog = exports.InvokeWithResponseStreamResponseEventFilterSensitiveLog = exports.InvokeResponseStreamUpdateFilterSensitiveLog = exports.InvokeWithResponseStreamRequestFilterSensitiveLog = exports.InvokeAsyncRequestFilterSensitiveLog = exports.InvocationResponseFilterSensitiveLog = exports.InvocationRequestFilterSensitiveLog = exports.GetFunctionResponseFilterSensitiveLog = exports.FunctionConfigurationFilterSensitiveLog = exports.RuntimeVersionConfigFilterSensitiveLog = exports.RuntimeVersionErrorFilterSensitiveLog = exports.ImageConfigResponseFilterSensitiveLog = exports.ImageConfigErrorFilterSensitiveLog = exports.EnvironmentResponseFilterSensitiveLog = exports.EnvironmentErrorFilterSensitiveLog = exports.CreateFunctionRequestFilterSensitiveLog = exports.EnvironmentFilterSensitiveLog = exports.FunctionCodeFilterSensitiveLog = exports.FunctionVersion = exports.InvokeWithResponseStreamResponseEvent = exports.ResponseStreamingInvocationType = exports.UnsupportedMediaTypeException = exports.SubnetIPAddressLimitReachedException = exports.SnapStartTimeoutException = exports.SnapStartNotReadyException = exports.SnapStartException = exports.ResourceNotReadyException = exports.RequestTooLargeException = exports.RecursiveInvocationException = exports.KMSNotFoundException = exports.KMSInvalidStateException = exports.KMSDisabledException = exports.KMSAccessDeniedException = exports.LogType = exports.InvocationType = void 0; -const smithy_client_1 = require("@smithy/smithy-client"); -const LambdaServiceException_1 = require("./LambdaServiceException"); -class InvalidParameterValueException extends LambdaServiceException_1.LambdaServiceException { - constructor(opts) { - super({ - name: "InvalidParameterValueException", - $fault: "client", - ...opts, - }); - this.name = "InvalidParameterValueException"; - this.$fault = "client"; - Object.setPrototypeOf(this, InvalidParameterValueException.prototype); - this.Type = opts.Type; - } -} -exports.InvalidParameterValueException = InvalidParameterValueException; -class PolicyLengthExceededException extends LambdaServiceException_1.LambdaServiceException { - constructor(opts) { - super({ - name: "PolicyLengthExceededException", - $fault: "client", - ...opts, - }); - this.name = "PolicyLengthExceededException"; - this.$fault = "client"; - Object.setPrototypeOf(this, PolicyLengthExceededException.prototype); - this.Type = opts.Type; - } -} -exports.PolicyLengthExceededException = PolicyLengthExceededException; -class PreconditionFailedException extends LambdaServiceException_1.LambdaServiceException { - constructor(opts) { - super({ - name: "PreconditionFailedException", - $fault: "client", - ...opts, - }); - this.name = "PreconditionFailedException"; - this.$fault = "client"; - Object.setPrototypeOf(this, PreconditionFailedException.prototype); - this.Type = opts.Type; - } -} -exports.PreconditionFailedException = PreconditionFailedException; -class ResourceConflictException extends LambdaServiceException_1.LambdaServiceException { - constructor(opts) { - super({ - name: "ResourceConflictException", - $fault: "client", - ...opts, - }); - this.name = "ResourceConflictException"; - this.$fault = "client"; - Object.setPrototypeOf(this, ResourceConflictException.prototype); - this.Type = opts.Type; - } -} -exports.ResourceConflictException = ResourceConflictException; -class ResourceNotFoundException extends LambdaServiceException_1.LambdaServiceException { - constructor(opts) { - super({ - name: "ResourceNotFoundException", - $fault: "client", - ...opts, - }); - this.name = "ResourceNotFoundException"; - this.$fault = "client"; - Object.setPrototypeOf(this, ResourceNotFoundException.prototype); - this.Type = opts.Type; - this.Message = opts.Message; - } -} -exports.ResourceNotFoundException = ResourceNotFoundException; -class ServiceException extends LambdaServiceException_1.LambdaServiceException { - constructor(opts) { - super({ - name: "ServiceException", - $fault: "server", - ...opts, - }); - this.name = "ServiceException"; - this.$fault = "server"; - Object.setPrototypeOf(this, ServiceException.prototype); - this.Type = opts.Type; - this.Message = opts.Message; - } -} -exports.ServiceException = ServiceException; -exports.ThrottleReason = { - CallerRateLimitExceeded: "CallerRateLimitExceeded", - ConcurrentInvocationLimitExceeded: "ConcurrentInvocationLimitExceeded", - ConcurrentSnapshotCreateLimitExceeded: "ConcurrentSnapshotCreateLimitExceeded", - FunctionInvocationRateLimitExceeded: "FunctionInvocationRateLimitExceeded", - ReservedFunctionConcurrentInvocationLimitExceeded: "ReservedFunctionConcurrentInvocationLimitExceeded", - ReservedFunctionInvocationRateLimitExceeded: "ReservedFunctionInvocationRateLimitExceeded", -}; -class TooManyRequestsException extends LambdaServiceException_1.LambdaServiceException { - constructor(opts) { - super({ - name: "TooManyRequestsException", - $fault: "client", - ...opts, - }); - this.name = "TooManyRequestsException"; - this.$fault = "client"; - Object.setPrototypeOf(this, TooManyRequestsException.prototype); - this.retryAfterSeconds = opts.retryAfterSeconds; - this.Type = opts.Type; - this.Reason = opts.Reason; - } -} -exports.TooManyRequestsException = TooManyRequestsException; -exports.FunctionUrlAuthType = { - AWS_IAM: "AWS_IAM", - NONE: "NONE", -}; -exports.ApplicationLogLevel = { - Debug: "DEBUG", - Error: "ERROR", - Fatal: "FATAL", - Info: "INFO", - Trace: "TRACE", - Warn: "WARN", -}; -exports.Architecture = { - arm64: "arm64", - x86_64: "x86_64", -}; -exports.CodeSigningPolicy = { - Enforce: "Enforce", - Warn: "Warn", -}; -exports.FullDocument = { - Default: "Default", - UpdateLookup: "UpdateLookup", -}; -exports.FunctionResponseType = { - ReportBatchItemFailures: "ReportBatchItemFailures", -}; -exports.EndPointType = { - KAFKA_BOOTSTRAP_SERVERS: "KAFKA_BOOTSTRAP_SERVERS", -}; -exports.SourceAccessType = { - BASIC_AUTH: "BASIC_AUTH", - CLIENT_CERTIFICATE_TLS_AUTH: "CLIENT_CERTIFICATE_TLS_AUTH", - SASL_SCRAM_256_AUTH: "SASL_SCRAM_256_AUTH", - SASL_SCRAM_512_AUTH: "SASL_SCRAM_512_AUTH", - SERVER_ROOT_CA_CERTIFICATE: "SERVER_ROOT_CA_CERTIFICATE", - VIRTUAL_HOST: "VIRTUAL_HOST", - VPC_SECURITY_GROUP: "VPC_SECURITY_GROUP", - VPC_SUBNET: "VPC_SUBNET", -}; -exports.EventSourcePosition = { - AT_TIMESTAMP: "AT_TIMESTAMP", - LATEST: "LATEST", - TRIM_HORIZON: "TRIM_HORIZON", -}; -class CodeSigningConfigNotFoundException extends LambdaServiceException_1.LambdaServiceException { - constructor(opts) { - super({ - name: "CodeSigningConfigNotFoundException", - $fault: "client", - ...opts, - }); - this.name = "CodeSigningConfigNotFoundException"; - this.$fault = "client"; - Object.setPrototypeOf(this, CodeSigningConfigNotFoundException.prototype); - this.Type = opts.Type; - this.Message = opts.Message; - } -} -exports.CodeSigningConfigNotFoundException = CodeSigningConfigNotFoundException; -class CodeStorageExceededException extends LambdaServiceException_1.LambdaServiceException { - constructor(opts) { - super({ - name: "CodeStorageExceededException", - $fault: "client", - ...opts, - }); - this.name = "CodeStorageExceededException"; - this.$fault = "client"; - Object.setPrototypeOf(this, CodeStorageExceededException.prototype); - this.Type = opts.Type; - } -} -exports.CodeStorageExceededException = CodeStorageExceededException; -class CodeVerificationFailedException extends LambdaServiceException_1.LambdaServiceException { - constructor(opts) { - super({ - name: "CodeVerificationFailedException", - $fault: "client", - ...opts, - }); - this.name = "CodeVerificationFailedException"; - this.$fault = "client"; - Object.setPrototypeOf(this, CodeVerificationFailedException.prototype); - this.Type = opts.Type; - this.Message = opts.Message; - } -} -exports.CodeVerificationFailedException = CodeVerificationFailedException; -exports.LogFormat = { - Json: "JSON", - Text: "Text", -}; -exports.SystemLogLevel = { - Debug: "DEBUG", - Info: "INFO", - Warn: "WARN", -}; -exports.PackageType = { - Image: "Image", - Zip: "Zip", -}; -exports.Runtime = { - dotnet6: "dotnet6", - dotnetcore10: "dotnetcore1.0", - dotnetcore20: "dotnetcore2.0", - dotnetcore21: "dotnetcore2.1", - dotnetcore31: "dotnetcore3.1", - go1x: "go1.x", - java11: "java11", - java17: "java17", - java21: "java21", - java8: "java8", - java8al2: "java8.al2", - nodejs: "nodejs", - nodejs10x: "nodejs10.x", - nodejs12x: "nodejs12.x", - nodejs14x: "nodejs14.x", - nodejs16x: "nodejs16.x", - nodejs18x: "nodejs18.x", - nodejs20x: "nodejs20.x", - nodejs43: "nodejs4.3", - nodejs43edge: "nodejs4.3-edge", - nodejs610: "nodejs6.10", - nodejs810: "nodejs8.10", - provided: "provided", - providedal2: "provided.al2", - providedal2023: "provided.al2023", - python27: "python2.7", - python310: "python3.10", - python311: "python3.11", - python312: "python3.12", - python36: "python3.6", - python37: "python3.7", - python38: "python3.8", - python39: "python3.9", - ruby25: "ruby2.5", - ruby27: "ruby2.7", - ruby32: "ruby3.2", -}; -exports.SnapStartApplyOn = { - None: "None", - PublishedVersions: "PublishedVersions", -}; -exports.TracingMode = { - Active: "Active", - PassThrough: "PassThrough", -}; -exports.LastUpdateStatus = { - Failed: "Failed", - InProgress: "InProgress", - Successful: "Successful", -}; -exports.LastUpdateStatusReasonCode = { - DisabledKMSKey: "DisabledKMSKey", - EFSIOError: "EFSIOError", - EFSMountConnectivityError: "EFSMountConnectivityError", - EFSMountFailure: "EFSMountFailure", - EFSMountTimeout: "EFSMountTimeout", - EniLimitExceeded: "EniLimitExceeded", - FunctionError: "FunctionError", - ImageAccessDenied: "ImageAccessDenied", - ImageDeleted: "ImageDeleted", - InsufficientRolePermissions: "InsufficientRolePermissions", - InternalError: "InternalError", - InvalidConfiguration: "InvalidConfiguration", - InvalidImage: "InvalidImage", - InvalidRuntime: "InvalidRuntime", - InvalidSecurityGroup: "InvalidSecurityGroup", - InvalidStateKMSKey: "InvalidStateKMSKey", - InvalidSubnet: "InvalidSubnet", - InvalidZipFileException: "InvalidZipFileException", - KMSKeyAccessDenied: "KMSKeyAccessDenied", - KMSKeyNotFound: "KMSKeyNotFound", - SubnetOutOfIPAddresses: "SubnetOutOfIPAddresses", -}; -exports.SnapStartOptimizationStatus = { - Off: "Off", - On: "On", -}; -exports.State = { - Active: "Active", - Failed: "Failed", - Inactive: "Inactive", - Pending: "Pending", -}; -exports.StateReasonCode = { - Creating: "Creating", - DisabledKMSKey: "DisabledKMSKey", - EFSIOError: "EFSIOError", - EFSMountConnectivityError: "EFSMountConnectivityError", - EFSMountFailure: "EFSMountFailure", - EFSMountTimeout: "EFSMountTimeout", - EniLimitExceeded: "EniLimitExceeded", - FunctionError: "FunctionError", - Idle: "Idle", - ImageAccessDenied: "ImageAccessDenied", - ImageDeleted: "ImageDeleted", - InsufficientRolePermissions: "InsufficientRolePermissions", - InternalError: "InternalError", - InvalidConfiguration: "InvalidConfiguration", - InvalidImage: "InvalidImage", - InvalidRuntime: "InvalidRuntime", - InvalidSecurityGroup: "InvalidSecurityGroup", - InvalidStateKMSKey: "InvalidStateKMSKey", - InvalidSubnet: "InvalidSubnet", - InvalidZipFileException: "InvalidZipFileException", - KMSKeyAccessDenied: "KMSKeyAccessDenied", - KMSKeyNotFound: "KMSKeyNotFound", - Restoring: "Restoring", - SubnetOutOfIPAddresses: "SubnetOutOfIPAddresses", -}; -class InvalidCodeSignatureException extends LambdaServiceException_1.LambdaServiceException { - constructor(opts) { - super({ - name: "InvalidCodeSignatureException", - $fault: "client", - ...opts, - }); - this.name = "InvalidCodeSignatureException"; - this.$fault = "client"; - Object.setPrototypeOf(this, InvalidCodeSignatureException.prototype); - this.Type = opts.Type; - this.Message = opts.Message; - } -} -exports.InvalidCodeSignatureException = InvalidCodeSignatureException; -exports.InvokeMode = { - BUFFERED: "BUFFERED", - RESPONSE_STREAM: "RESPONSE_STREAM", -}; -class ResourceInUseException extends LambdaServiceException_1.LambdaServiceException { - constructor(opts) { - super({ - name: "ResourceInUseException", - $fault: "client", - ...opts, - }); - this.name = "ResourceInUseException"; - this.$fault = "client"; - Object.setPrototypeOf(this, ResourceInUseException.prototype); - this.Type = opts.Type; - this.Message = opts.Message; - } -} -exports.ResourceInUseException = ResourceInUseException; -exports.ProvisionedConcurrencyStatusEnum = { - FAILED: "FAILED", - IN_PROGRESS: "IN_PROGRESS", - READY: "READY", -}; -class ProvisionedConcurrencyConfigNotFoundException extends LambdaServiceException_1.LambdaServiceException { - constructor(opts) { - super({ - name: "ProvisionedConcurrencyConfigNotFoundException", - $fault: "client", - ...opts, - }); - this.name = "ProvisionedConcurrencyConfigNotFoundException"; - this.$fault = "client"; - Object.setPrototypeOf(this, ProvisionedConcurrencyConfigNotFoundException.prototype); - this.Type = opts.Type; - } -} -exports.ProvisionedConcurrencyConfigNotFoundException = ProvisionedConcurrencyConfigNotFoundException; -exports.UpdateRuntimeOn = { - Auto: "Auto", - FunctionUpdate: "FunctionUpdate", - Manual: "Manual", -}; -class EC2AccessDeniedException extends LambdaServiceException_1.LambdaServiceException { - constructor(opts) { - super({ - name: "EC2AccessDeniedException", - $fault: "server", - ...opts, - }); - this.name = "EC2AccessDeniedException"; - this.$fault = "server"; - Object.setPrototypeOf(this, EC2AccessDeniedException.prototype); - this.Type = opts.Type; - this.Message = opts.Message; - } -} -exports.EC2AccessDeniedException = EC2AccessDeniedException; -class EC2ThrottledException extends LambdaServiceException_1.LambdaServiceException { - constructor(opts) { - super({ - name: "EC2ThrottledException", - $fault: "server", - ...opts, - }); - this.name = "EC2ThrottledException"; - this.$fault = "server"; - Object.setPrototypeOf(this, EC2ThrottledException.prototype); - this.Type = opts.Type; - this.Message = opts.Message; - } -} -exports.EC2ThrottledException = EC2ThrottledException; -class EC2UnexpectedException extends LambdaServiceException_1.LambdaServiceException { - constructor(opts) { - super({ - name: "EC2UnexpectedException", - $fault: "server", - ...opts, - }); - this.name = "EC2UnexpectedException"; - this.$fault = "server"; - Object.setPrototypeOf(this, EC2UnexpectedException.prototype); - this.Type = opts.Type; - this.Message = opts.Message; - this.EC2ErrorCode = opts.EC2ErrorCode; - } -} -exports.EC2UnexpectedException = EC2UnexpectedException; -class EFSIOException extends LambdaServiceException_1.LambdaServiceException { - constructor(opts) { - super({ - name: "EFSIOException", - $fault: "client", - ...opts, - }); - this.name = "EFSIOException"; - this.$fault = "client"; - Object.setPrototypeOf(this, EFSIOException.prototype); - this.Type = opts.Type; - this.Message = opts.Message; - } -} -exports.EFSIOException = EFSIOException; -class EFSMountConnectivityException extends LambdaServiceException_1.LambdaServiceException { - constructor(opts) { - super({ - name: "EFSMountConnectivityException", - $fault: "client", - ...opts, - }); - this.name = "EFSMountConnectivityException"; - this.$fault = "client"; - Object.setPrototypeOf(this, EFSMountConnectivityException.prototype); - this.Type = opts.Type; - this.Message = opts.Message; - } -} -exports.EFSMountConnectivityException = EFSMountConnectivityException; -class EFSMountFailureException extends LambdaServiceException_1.LambdaServiceException { - constructor(opts) { - super({ - name: "EFSMountFailureException", - $fault: "client", - ...opts, - }); - this.name = "EFSMountFailureException"; - this.$fault = "client"; - Object.setPrototypeOf(this, EFSMountFailureException.prototype); - this.Type = opts.Type; - this.Message = opts.Message; - } -} -exports.EFSMountFailureException = EFSMountFailureException; -class EFSMountTimeoutException extends LambdaServiceException_1.LambdaServiceException { - constructor(opts) { - super({ - name: "EFSMountTimeoutException", - $fault: "client", - ...opts, - }); - this.name = "EFSMountTimeoutException"; - this.$fault = "client"; - Object.setPrototypeOf(this, EFSMountTimeoutException.prototype); - this.Type = opts.Type; - this.Message = opts.Message; - } -} -exports.EFSMountTimeoutException = EFSMountTimeoutException; -class ENILimitReachedException extends LambdaServiceException_1.LambdaServiceException { - constructor(opts) { - super({ - name: "ENILimitReachedException", - $fault: "server", - ...opts, - }); - this.name = "ENILimitReachedException"; - this.$fault = "server"; - Object.setPrototypeOf(this, ENILimitReachedException.prototype); - this.Type = opts.Type; - this.Message = opts.Message; - } -} -exports.ENILimitReachedException = ENILimitReachedException; -class InvalidRequestContentException extends LambdaServiceException_1.LambdaServiceException { - constructor(opts) { - super({ - name: "InvalidRequestContentException", - $fault: "client", - ...opts, - }); - this.name = "InvalidRequestContentException"; - this.$fault = "client"; - Object.setPrototypeOf(this, InvalidRequestContentException.prototype); - this.Type = opts.Type; - } -} -exports.InvalidRequestContentException = InvalidRequestContentException; -class InvalidRuntimeException extends LambdaServiceException_1.LambdaServiceException { - constructor(opts) { - super({ - name: "InvalidRuntimeException", - $fault: "server", - ...opts, - }); - this.name = "InvalidRuntimeException"; - this.$fault = "server"; - Object.setPrototypeOf(this, InvalidRuntimeException.prototype); - this.Type = opts.Type; - this.Message = opts.Message; - } -} -exports.InvalidRuntimeException = InvalidRuntimeException; -class InvalidSecurityGroupIDException extends LambdaServiceException_1.LambdaServiceException { - constructor(opts) { - super({ - name: "InvalidSecurityGroupIDException", - $fault: "server", - ...opts, - }); - this.name = "InvalidSecurityGroupIDException"; - this.$fault = "server"; - Object.setPrototypeOf(this, InvalidSecurityGroupIDException.prototype); - this.Type = opts.Type; - this.Message = opts.Message; - } -} -exports.InvalidSecurityGroupIDException = InvalidSecurityGroupIDException; -class InvalidSubnetIDException extends LambdaServiceException_1.LambdaServiceException { - constructor(opts) { - super({ - name: "InvalidSubnetIDException", - $fault: "server", - ...opts, - }); - this.name = "InvalidSubnetIDException"; - this.$fault = "server"; - Object.setPrototypeOf(this, InvalidSubnetIDException.prototype); - this.Type = opts.Type; - this.Message = opts.Message; - } -} -exports.InvalidSubnetIDException = InvalidSubnetIDException; -class InvalidZipFileException extends LambdaServiceException_1.LambdaServiceException { - constructor(opts) { - super({ - name: "InvalidZipFileException", - $fault: "server", - ...opts, - }); - this.name = "InvalidZipFileException"; - this.$fault = "server"; - Object.setPrototypeOf(this, InvalidZipFileException.prototype); - this.Type = opts.Type; - this.Message = opts.Message; - } -} -exports.InvalidZipFileException = InvalidZipFileException; -exports.InvocationType = { - DryRun: "DryRun", - Event: "Event", - RequestResponse: "RequestResponse", -}; -exports.LogType = { - None: "None", - Tail: "Tail", -}; -class KMSAccessDeniedException extends LambdaServiceException_1.LambdaServiceException { - constructor(opts) { - super({ - name: "KMSAccessDeniedException", - $fault: "server", - ...opts, - }); - this.name = "KMSAccessDeniedException"; - this.$fault = "server"; - Object.setPrototypeOf(this, KMSAccessDeniedException.prototype); - this.Type = opts.Type; - this.Message = opts.Message; - } -} -exports.KMSAccessDeniedException = KMSAccessDeniedException; -class KMSDisabledException extends LambdaServiceException_1.LambdaServiceException { - constructor(opts) { - super({ - name: "KMSDisabledException", - $fault: "server", - ...opts, - }); - this.name = "KMSDisabledException"; - this.$fault = "server"; - Object.setPrototypeOf(this, KMSDisabledException.prototype); - this.Type = opts.Type; - this.Message = opts.Message; - } -} -exports.KMSDisabledException = KMSDisabledException; -class KMSInvalidStateException extends LambdaServiceException_1.LambdaServiceException { - constructor(opts) { - super({ - name: "KMSInvalidStateException", - $fault: "server", - ...opts, - }); - this.name = "KMSInvalidStateException"; - this.$fault = "server"; - Object.setPrototypeOf(this, KMSInvalidStateException.prototype); - this.Type = opts.Type; - this.Message = opts.Message; - } -} -exports.KMSInvalidStateException = KMSInvalidStateException; -class KMSNotFoundException extends LambdaServiceException_1.LambdaServiceException { - constructor(opts) { - super({ - name: "KMSNotFoundException", - $fault: "server", - ...opts, - }); - this.name = "KMSNotFoundException"; - this.$fault = "server"; - Object.setPrototypeOf(this, KMSNotFoundException.prototype); - this.Type = opts.Type; - this.Message = opts.Message; - } -} -exports.KMSNotFoundException = KMSNotFoundException; -class RecursiveInvocationException extends LambdaServiceException_1.LambdaServiceException { - constructor(opts) { - super({ - name: "RecursiveInvocationException", - $fault: "client", - ...opts, - }); - this.name = "RecursiveInvocationException"; - this.$fault = "client"; - Object.setPrototypeOf(this, RecursiveInvocationException.prototype); - this.Type = opts.Type; - this.Message = opts.Message; - } -} -exports.RecursiveInvocationException = RecursiveInvocationException; -class RequestTooLargeException extends LambdaServiceException_1.LambdaServiceException { - constructor(opts) { - super({ - name: "RequestTooLargeException", - $fault: "client", - ...opts, - }); - this.name = "RequestTooLargeException"; - this.$fault = "client"; - Object.setPrototypeOf(this, RequestTooLargeException.prototype); - this.Type = opts.Type; - } -} -exports.RequestTooLargeException = RequestTooLargeException; -class ResourceNotReadyException extends LambdaServiceException_1.LambdaServiceException { - constructor(opts) { - super({ - name: "ResourceNotReadyException", - $fault: "server", - ...opts, - }); - this.name = "ResourceNotReadyException"; - this.$fault = "server"; - Object.setPrototypeOf(this, ResourceNotReadyException.prototype); - this.Type = opts.Type; - } -} -exports.ResourceNotReadyException = ResourceNotReadyException; -class SnapStartException extends LambdaServiceException_1.LambdaServiceException { - constructor(opts) { - super({ - name: "SnapStartException", - $fault: "client", - ...opts, - }); - this.name = "SnapStartException"; - this.$fault = "client"; - Object.setPrototypeOf(this, SnapStartException.prototype); - this.Type = opts.Type; - this.Message = opts.Message; - } -} -exports.SnapStartException = SnapStartException; -class SnapStartNotReadyException extends LambdaServiceException_1.LambdaServiceException { - constructor(opts) { - super({ - name: "SnapStartNotReadyException", - $fault: "client", - ...opts, - }); - this.name = "SnapStartNotReadyException"; - this.$fault = "client"; - Object.setPrototypeOf(this, SnapStartNotReadyException.prototype); - this.Type = opts.Type; - this.Message = opts.Message; - } -} -exports.SnapStartNotReadyException = SnapStartNotReadyException; -class SnapStartTimeoutException extends LambdaServiceException_1.LambdaServiceException { - constructor(opts) { - super({ - name: "SnapStartTimeoutException", - $fault: "client", - ...opts, - }); - this.name = "SnapStartTimeoutException"; - this.$fault = "client"; - Object.setPrototypeOf(this, SnapStartTimeoutException.prototype); - this.Type = opts.Type; - this.Message = opts.Message; - } -} -exports.SnapStartTimeoutException = SnapStartTimeoutException; -class SubnetIPAddressLimitReachedException extends LambdaServiceException_1.LambdaServiceException { - constructor(opts) { - super({ - name: "SubnetIPAddressLimitReachedException", - $fault: "server", - ...opts, - }); - this.name = "SubnetIPAddressLimitReachedException"; - this.$fault = "server"; - Object.setPrototypeOf(this, SubnetIPAddressLimitReachedException.prototype); - this.Type = opts.Type; - this.Message = opts.Message; - } -} -exports.SubnetIPAddressLimitReachedException = SubnetIPAddressLimitReachedException; -class UnsupportedMediaTypeException extends LambdaServiceException_1.LambdaServiceException { - constructor(opts) { - super({ - name: "UnsupportedMediaTypeException", - $fault: "client", - ...opts, - }); - this.name = "UnsupportedMediaTypeException"; - this.$fault = "client"; - Object.setPrototypeOf(this, UnsupportedMediaTypeException.prototype); - this.Type = opts.Type; - } -} -exports.UnsupportedMediaTypeException = UnsupportedMediaTypeException; -exports.ResponseStreamingInvocationType = { - DryRun: "DryRun", - RequestResponse: "RequestResponse", -}; -var InvokeWithResponseStreamResponseEvent; -(function (InvokeWithResponseStreamResponseEvent) { - InvokeWithResponseStreamResponseEvent.visit = (value, visitor) => { - if (value.PayloadChunk !== undefined) - return visitor.PayloadChunk(value.PayloadChunk); - if (value.InvokeComplete !== undefined) - return visitor.InvokeComplete(value.InvokeComplete); - return visitor._(value.$unknown[0], value.$unknown[1]); - }; -})(InvokeWithResponseStreamResponseEvent = exports.InvokeWithResponseStreamResponseEvent || (exports.InvokeWithResponseStreamResponseEvent = {})); -exports.FunctionVersion = { - ALL: "ALL", -}; -const FunctionCodeFilterSensitiveLog = (obj) => ({ - ...obj, - ...(obj.ZipFile && { ZipFile: smithy_client_1.SENSITIVE_STRING }), -}); -exports.FunctionCodeFilterSensitiveLog = FunctionCodeFilterSensitiveLog; -const EnvironmentFilterSensitiveLog = (obj) => ({ - ...obj, - ...(obj.Variables && { Variables: smithy_client_1.SENSITIVE_STRING }), -}); -exports.EnvironmentFilterSensitiveLog = EnvironmentFilterSensitiveLog; -const CreateFunctionRequestFilterSensitiveLog = (obj) => ({ - ...obj, - ...(obj.Code && { Code: (0, exports.FunctionCodeFilterSensitiveLog)(obj.Code) }), - ...(obj.Environment && { Environment: (0, exports.EnvironmentFilterSensitiveLog)(obj.Environment) }), -}); -exports.CreateFunctionRequestFilterSensitiveLog = CreateFunctionRequestFilterSensitiveLog; -const EnvironmentErrorFilterSensitiveLog = (obj) => ({ - ...obj, - ...(obj.Message && { Message: smithy_client_1.SENSITIVE_STRING }), -}); -exports.EnvironmentErrorFilterSensitiveLog = EnvironmentErrorFilterSensitiveLog; -const EnvironmentResponseFilterSensitiveLog = (obj) => ({ - ...obj, - ...(obj.Variables && { Variables: smithy_client_1.SENSITIVE_STRING }), - ...(obj.Error && { Error: (0, exports.EnvironmentErrorFilterSensitiveLog)(obj.Error) }), -}); -exports.EnvironmentResponseFilterSensitiveLog = EnvironmentResponseFilterSensitiveLog; -const ImageConfigErrorFilterSensitiveLog = (obj) => ({ - ...obj, - ...(obj.Message && { Message: smithy_client_1.SENSITIVE_STRING }), -}); -exports.ImageConfigErrorFilterSensitiveLog = ImageConfigErrorFilterSensitiveLog; -const ImageConfigResponseFilterSensitiveLog = (obj) => ({ - ...obj, - ...(obj.Error && { Error: (0, exports.ImageConfigErrorFilterSensitiveLog)(obj.Error) }), -}); -exports.ImageConfigResponseFilterSensitiveLog = ImageConfigResponseFilterSensitiveLog; -const RuntimeVersionErrorFilterSensitiveLog = (obj) => ({ - ...obj, - ...(obj.Message && { Message: smithy_client_1.SENSITIVE_STRING }), -}); -exports.RuntimeVersionErrorFilterSensitiveLog = RuntimeVersionErrorFilterSensitiveLog; -const RuntimeVersionConfigFilterSensitiveLog = (obj) => ({ - ...obj, - ...(obj.Error && { Error: (0, exports.RuntimeVersionErrorFilterSensitiveLog)(obj.Error) }), -}); -exports.RuntimeVersionConfigFilterSensitiveLog = RuntimeVersionConfigFilterSensitiveLog; -const FunctionConfigurationFilterSensitiveLog = (obj) => ({ - ...obj, - ...(obj.Environment && { Environment: (0, exports.EnvironmentResponseFilterSensitiveLog)(obj.Environment) }), - ...(obj.ImageConfigResponse && { - ImageConfigResponse: (0, exports.ImageConfigResponseFilterSensitiveLog)(obj.ImageConfigResponse), - }), - ...(obj.RuntimeVersionConfig && { - RuntimeVersionConfig: (0, exports.RuntimeVersionConfigFilterSensitiveLog)(obj.RuntimeVersionConfig), - }), -}); -exports.FunctionConfigurationFilterSensitiveLog = FunctionConfigurationFilterSensitiveLog; -const GetFunctionResponseFilterSensitiveLog = (obj) => ({ - ...obj, - ...(obj.Configuration && { Configuration: (0, exports.FunctionConfigurationFilterSensitiveLog)(obj.Configuration) }), -}); -exports.GetFunctionResponseFilterSensitiveLog = GetFunctionResponseFilterSensitiveLog; -const InvocationRequestFilterSensitiveLog = (obj) => ({ - ...obj, - ...(obj.Payload && { Payload: smithy_client_1.SENSITIVE_STRING }), -}); -exports.InvocationRequestFilterSensitiveLog = InvocationRequestFilterSensitiveLog; -const InvocationResponseFilterSensitiveLog = (obj) => ({ - ...obj, - ...(obj.Payload && { Payload: smithy_client_1.SENSITIVE_STRING }), -}); -exports.InvocationResponseFilterSensitiveLog = InvocationResponseFilterSensitiveLog; -const InvokeAsyncRequestFilterSensitiveLog = (obj) => ({ - ...obj, -}); -exports.InvokeAsyncRequestFilterSensitiveLog = InvokeAsyncRequestFilterSensitiveLog; -const InvokeWithResponseStreamRequestFilterSensitiveLog = (obj) => ({ - ...obj, - ...(obj.Payload && { Payload: smithy_client_1.SENSITIVE_STRING }), -}); -exports.InvokeWithResponseStreamRequestFilterSensitiveLog = InvokeWithResponseStreamRequestFilterSensitiveLog; -const InvokeResponseStreamUpdateFilterSensitiveLog = (obj) => ({ - ...obj, - ...(obj.Payload && { Payload: smithy_client_1.SENSITIVE_STRING }), -}); -exports.InvokeResponseStreamUpdateFilterSensitiveLog = InvokeResponseStreamUpdateFilterSensitiveLog; -const InvokeWithResponseStreamResponseEventFilterSensitiveLog = (obj) => { - if (obj.PayloadChunk !== undefined) - return { PayloadChunk: (0, exports.InvokeResponseStreamUpdateFilterSensitiveLog)(obj.PayloadChunk) }; - if (obj.InvokeComplete !== undefined) - return { InvokeComplete: obj.InvokeComplete }; - if (obj.$unknown !== undefined) - return { [obj.$unknown[0]]: "UNKNOWN" }; -}; -exports.InvokeWithResponseStreamResponseEventFilterSensitiveLog = InvokeWithResponseStreamResponseEventFilterSensitiveLog; -const InvokeWithResponseStreamResponseFilterSensitiveLog = (obj) => ({ - ...obj, - ...(obj.EventStream && { EventStream: "STREAMING_CONTENT" }), -}); -exports.InvokeWithResponseStreamResponseFilterSensitiveLog = InvokeWithResponseStreamResponseFilterSensitiveLog; -const ListFunctionsResponseFilterSensitiveLog = (obj) => ({ - ...obj, - ...(obj.Functions && { Functions: obj.Functions.map((item) => (0, exports.FunctionConfigurationFilterSensitiveLog)(item)) }), -}); -exports.ListFunctionsResponseFilterSensitiveLog = ListFunctionsResponseFilterSensitiveLog; -const ListVersionsByFunctionResponseFilterSensitiveLog = (obj) => ({ - ...obj, - ...(obj.Versions && { Versions: obj.Versions.map((item) => (0, exports.FunctionConfigurationFilterSensitiveLog)(item)) }), -}); -exports.ListVersionsByFunctionResponseFilterSensitiveLog = ListVersionsByFunctionResponseFilterSensitiveLog; -const LayerVersionContentInputFilterSensitiveLog = (obj) => ({ - ...obj, - ...(obj.ZipFile && { ZipFile: smithy_client_1.SENSITIVE_STRING }), -}); -exports.LayerVersionContentInputFilterSensitiveLog = LayerVersionContentInputFilterSensitiveLog; -const PublishLayerVersionRequestFilterSensitiveLog = (obj) => ({ - ...obj, - ...(obj.Content && { Content: (0, exports.LayerVersionContentInputFilterSensitiveLog)(obj.Content) }), -}); -exports.PublishLayerVersionRequestFilterSensitiveLog = PublishLayerVersionRequestFilterSensitiveLog; -const UpdateFunctionCodeRequestFilterSensitiveLog = (obj) => ({ - ...obj, - ...(obj.ZipFile && { ZipFile: smithy_client_1.SENSITIVE_STRING }), -}); -exports.UpdateFunctionCodeRequestFilterSensitiveLog = UpdateFunctionCodeRequestFilterSensitiveLog; -const UpdateFunctionConfigurationRequestFilterSensitiveLog = (obj) => ({ - ...obj, - ...(obj.Environment && { Environment: (0, exports.EnvironmentFilterSensitiveLog)(obj.Environment) }), -}); -exports.UpdateFunctionConfigurationRequestFilterSensitiveLog = UpdateFunctionConfigurationRequestFilterSensitiveLog; diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/pagination/ListAliasesPaginator.js b/node_modules/@aws-sdk/client-lambda/dist-cjs/pagination/ListAliasesPaginator.js deleted file mode 100644 index 983c6eee..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-cjs/pagination/ListAliasesPaginator.js +++ /dev/null @@ -1,29 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.paginateListAliases = void 0; -const ListAliasesCommand_1 = require("../commands/ListAliasesCommand"); -const LambdaClient_1 = require("../LambdaClient"); -const makePagedClientRequest = async (client, input, ...args) => { - return await client.send(new ListAliasesCommand_1.ListAliasesCommand(input), ...args); -}; -async function* paginateListAliases(config, input, ...additionalArguments) { - let token = config.startingToken || undefined; - let hasNext = true; - let page; - while (hasNext) { - input.Marker = token; - input["MaxItems"] = config.pageSize; - if (config.client instanceof LambdaClient_1.LambdaClient) { - page = await makePagedClientRequest(config.client, input, ...additionalArguments); - } - else { - throw new Error("Invalid client, expected Lambda | LambdaClient"); - } - yield page; - const prevToken = token; - token = page.NextMarker; - hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); - } - return undefined; -} -exports.paginateListAliases = paginateListAliases; diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/pagination/ListCodeSigningConfigsPaginator.js b/node_modules/@aws-sdk/client-lambda/dist-cjs/pagination/ListCodeSigningConfigsPaginator.js deleted file mode 100644 index 50853288..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-cjs/pagination/ListCodeSigningConfigsPaginator.js +++ /dev/null @@ -1,29 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.paginateListCodeSigningConfigs = void 0; -const ListCodeSigningConfigsCommand_1 = require("../commands/ListCodeSigningConfigsCommand"); -const LambdaClient_1 = require("../LambdaClient"); -const makePagedClientRequest = async (client, input, ...args) => { - return await client.send(new ListCodeSigningConfigsCommand_1.ListCodeSigningConfigsCommand(input), ...args); -}; -async function* paginateListCodeSigningConfigs(config, input, ...additionalArguments) { - let token = config.startingToken || undefined; - let hasNext = true; - let page; - while (hasNext) { - input.Marker = token; - input["MaxItems"] = config.pageSize; - if (config.client instanceof LambdaClient_1.LambdaClient) { - page = await makePagedClientRequest(config.client, input, ...additionalArguments); - } - else { - throw new Error("Invalid client, expected Lambda | LambdaClient"); - } - yield page; - const prevToken = token; - token = page.NextMarker; - hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); - } - return undefined; -} -exports.paginateListCodeSigningConfigs = paginateListCodeSigningConfigs; diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/pagination/ListEventSourceMappingsPaginator.js b/node_modules/@aws-sdk/client-lambda/dist-cjs/pagination/ListEventSourceMappingsPaginator.js deleted file mode 100644 index 34eae4a7..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-cjs/pagination/ListEventSourceMappingsPaginator.js +++ /dev/null @@ -1,29 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.paginateListEventSourceMappings = void 0; -const ListEventSourceMappingsCommand_1 = require("../commands/ListEventSourceMappingsCommand"); -const LambdaClient_1 = require("../LambdaClient"); -const makePagedClientRequest = async (client, input, ...args) => { - return await client.send(new ListEventSourceMappingsCommand_1.ListEventSourceMappingsCommand(input), ...args); -}; -async function* paginateListEventSourceMappings(config, input, ...additionalArguments) { - let token = config.startingToken || undefined; - let hasNext = true; - let page; - while (hasNext) { - input.Marker = token; - input["MaxItems"] = config.pageSize; - if (config.client instanceof LambdaClient_1.LambdaClient) { - page = await makePagedClientRequest(config.client, input, ...additionalArguments); - } - else { - throw new Error("Invalid client, expected Lambda | LambdaClient"); - } - yield page; - const prevToken = token; - token = page.NextMarker; - hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); - } - return undefined; -} -exports.paginateListEventSourceMappings = paginateListEventSourceMappings; diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/pagination/ListFunctionEventInvokeConfigsPaginator.js b/node_modules/@aws-sdk/client-lambda/dist-cjs/pagination/ListFunctionEventInvokeConfigsPaginator.js deleted file mode 100644 index d4c051ff..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-cjs/pagination/ListFunctionEventInvokeConfigsPaginator.js +++ /dev/null @@ -1,29 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.paginateListFunctionEventInvokeConfigs = void 0; -const ListFunctionEventInvokeConfigsCommand_1 = require("../commands/ListFunctionEventInvokeConfigsCommand"); -const LambdaClient_1 = require("../LambdaClient"); -const makePagedClientRequest = async (client, input, ...args) => { - return await client.send(new ListFunctionEventInvokeConfigsCommand_1.ListFunctionEventInvokeConfigsCommand(input), ...args); -}; -async function* paginateListFunctionEventInvokeConfigs(config, input, ...additionalArguments) { - let token = config.startingToken || undefined; - let hasNext = true; - let page; - while (hasNext) { - input.Marker = token; - input["MaxItems"] = config.pageSize; - if (config.client instanceof LambdaClient_1.LambdaClient) { - page = await makePagedClientRequest(config.client, input, ...additionalArguments); - } - else { - throw new Error("Invalid client, expected Lambda | LambdaClient"); - } - yield page; - const prevToken = token; - token = page.NextMarker; - hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); - } - return undefined; -} -exports.paginateListFunctionEventInvokeConfigs = paginateListFunctionEventInvokeConfigs; diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/pagination/ListFunctionUrlConfigsPaginator.js b/node_modules/@aws-sdk/client-lambda/dist-cjs/pagination/ListFunctionUrlConfigsPaginator.js deleted file mode 100644 index a0ce49ae..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-cjs/pagination/ListFunctionUrlConfigsPaginator.js +++ /dev/null @@ -1,29 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.paginateListFunctionUrlConfigs = void 0; -const ListFunctionUrlConfigsCommand_1 = require("../commands/ListFunctionUrlConfigsCommand"); -const LambdaClient_1 = require("../LambdaClient"); -const makePagedClientRequest = async (client, input, ...args) => { - return await client.send(new ListFunctionUrlConfigsCommand_1.ListFunctionUrlConfigsCommand(input), ...args); -}; -async function* paginateListFunctionUrlConfigs(config, input, ...additionalArguments) { - let token = config.startingToken || undefined; - let hasNext = true; - let page; - while (hasNext) { - input.Marker = token; - input["MaxItems"] = config.pageSize; - if (config.client instanceof LambdaClient_1.LambdaClient) { - page = await makePagedClientRequest(config.client, input, ...additionalArguments); - } - else { - throw new Error("Invalid client, expected Lambda | LambdaClient"); - } - yield page; - const prevToken = token; - token = page.NextMarker; - hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); - } - return undefined; -} -exports.paginateListFunctionUrlConfigs = paginateListFunctionUrlConfigs; diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/pagination/ListFunctionsByCodeSigningConfigPaginator.js b/node_modules/@aws-sdk/client-lambda/dist-cjs/pagination/ListFunctionsByCodeSigningConfigPaginator.js deleted file mode 100644 index 798fffcb..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-cjs/pagination/ListFunctionsByCodeSigningConfigPaginator.js +++ /dev/null @@ -1,29 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.paginateListFunctionsByCodeSigningConfig = void 0; -const ListFunctionsByCodeSigningConfigCommand_1 = require("../commands/ListFunctionsByCodeSigningConfigCommand"); -const LambdaClient_1 = require("../LambdaClient"); -const makePagedClientRequest = async (client, input, ...args) => { - return await client.send(new ListFunctionsByCodeSigningConfigCommand_1.ListFunctionsByCodeSigningConfigCommand(input), ...args); -}; -async function* paginateListFunctionsByCodeSigningConfig(config, input, ...additionalArguments) { - let token = config.startingToken || undefined; - let hasNext = true; - let page; - while (hasNext) { - input.Marker = token; - input["MaxItems"] = config.pageSize; - if (config.client instanceof LambdaClient_1.LambdaClient) { - page = await makePagedClientRequest(config.client, input, ...additionalArguments); - } - else { - throw new Error("Invalid client, expected Lambda | LambdaClient"); - } - yield page; - const prevToken = token; - token = page.NextMarker; - hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); - } - return undefined; -} -exports.paginateListFunctionsByCodeSigningConfig = paginateListFunctionsByCodeSigningConfig; diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/pagination/ListFunctionsPaginator.js b/node_modules/@aws-sdk/client-lambda/dist-cjs/pagination/ListFunctionsPaginator.js deleted file mode 100644 index 128a292c..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-cjs/pagination/ListFunctionsPaginator.js +++ /dev/null @@ -1,29 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.paginateListFunctions = void 0; -const ListFunctionsCommand_1 = require("../commands/ListFunctionsCommand"); -const LambdaClient_1 = require("../LambdaClient"); -const makePagedClientRequest = async (client, input, ...args) => { - return await client.send(new ListFunctionsCommand_1.ListFunctionsCommand(input), ...args); -}; -async function* paginateListFunctions(config, input, ...additionalArguments) { - let token = config.startingToken || undefined; - let hasNext = true; - let page; - while (hasNext) { - input.Marker = token; - input["MaxItems"] = config.pageSize; - if (config.client instanceof LambdaClient_1.LambdaClient) { - page = await makePagedClientRequest(config.client, input, ...additionalArguments); - } - else { - throw new Error("Invalid client, expected Lambda | LambdaClient"); - } - yield page; - const prevToken = token; - token = page.NextMarker; - hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); - } - return undefined; -} -exports.paginateListFunctions = paginateListFunctions; diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/pagination/ListLayerVersionsPaginator.js b/node_modules/@aws-sdk/client-lambda/dist-cjs/pagination/ListLayerVersionsPaginator.js deleted file mode 100644 index 591ead5c..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-cjs/pagination/ListLayerVersionsPaginator.js +++ /dev/null @@ -1,29 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.paginateListLayerVersions = void 0; -const ListLayerVersionsCommand_1 = require("../commands/ListLayerVersionsCommand"); -const LambdaClient_1 = require("../LambdaClient"); -const makePagedClientRequest = async (client, input, ...args) => { - return await client.send(new ListLayerVersionsCommand_1.ListLayerVersionsCommand(input), ...args); -}; -async function* paginateListLayerVersions(config, input, ...additionalArguments) { - let token = config.startingToken || undefined; - let hasNext = true; - let page; - while (hasNext) { - input.Marker = token; - input["MaxItems"] = config.pageSize; - if (config.client instanceof LambdaClient_1.LambdaClient) { - page = await makePagedClientRequest(config.client, input, ...additionalArguments); - } - else { - throw new Error("Invalid client, expected Lambda | LambdaClient"); - } - yield page; - const prevToken = token; - token = page.NextMarker; - hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); - } - return undefined; -} -exports.paginateListLayerVersions = paginateListLayerVersions; diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/pagination/ListLayersPaginator.js b/node_modules/@aws-sdk/client-lambda/dist-cjs/pagination/ListLayersPaginator.js deleted file mode 100644 index c2fbc636..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-cjs/pagination/ListLayersPaginator.js +++ /dev/null @@ -1,29 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.paginateListLayers = void 0; -const ListLayersCommand_1 = require("../commands/ListLayersCommand"); -const LambdaClient_1 = require("../LambdaClient"); -const makePagedClientRequest = async (client, input, ...args) => { - return await client.send(new ListLayersCommand_1.ListLayersCommand(input), ...args); -}; -async function* paginateListLayers(config, input, ...additionalArguments) { - let token = config.startingToken || undefined; - let hasNext = true; - let page; - while (hasNext) { - input.Marker = token; - input["MaxItems"] = config.pageSize; - if (config.client instanceof LambdaClient_1.LambdaClient) { - page = await makePagedClientRequest(config.client, input, ...additionalArguments); - } - else { - throw new Error("Invalid client, expected Lambda | LambdaClient"); - } - yield page; - const prevToken = token; - token = page.NextMarker; - hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); - } - return undefined; -} -exports.paginateListLayers = paginateListLayers; diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/pagination/ListProvisionedConcurrencyConfigsPaginator.js b/node_modules/@aws-sdk/client-lambda/dist-cjs/pagination/ListProvisionedConcurrencyConfigsPaginator.js deleted file mode 100644 index e69455d8..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-cjs/pagination/ListProvisionedConcurrencyConfigsPaginator.js +++ /dev/null @@ -1,29 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.paginateListProvisionedConcurrencyConfigs = void 0; -const ListProvisionedConcurrencyConfigsCommand_1 = require("../commands/ListProvisionedConcurrencyConfigsCommand"); -const LambdaClient_1 = require("../LambdaClient"); -const makePagedClientRequest = async (client, input, ...args) => { - return await client.send(new ListProvisionedConcurrencyConfigsCommand_1.ListProvisionedConcurrencyConfigsCommand(input), ...args); -}; -async function* paginateListProvisionedConcurrencyConfigs(config, input, ...additionalArguments) { - let token = config.startingToken || undefined; - let hasNext = true; - let page; - while (hasNext) { - input.Marker = token; - input["MaxItems"] = config.pageSize; - if (config.client instanceof LambdaClient_1.LambdaClient) { - page = await makePagedClientRequest(config.client, input, ...additionalArguments); - } - else { - throw new Error("Invalid client, expected Lambda | LambdaClient"); - } - yield page; - const prevToken = token; - token = page.NextMarker; - hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); - } - return undefined; -} -exports.paginateListProvisionedConcurrencyConfigs = paginateListProvisionedConcurrencyConfigs; diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/pagination/ListVersionsByFunctionPaginator.js b/node_modules/@aws-sdk/client-lambda/dist-cjs/pagination/ListVersionsByFunctionPaginator.js deleted file mode 100644 index c78d5c69..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-cjs/pagination/ListVersionsByFunctionPaginator.js +++ /dev/null @@ -1,29 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.paginateListVersionsByFunction = void 0; -const ListVersionsByFunctionCommand_1 = require("../commands/ListVersionsByFunctionCommand"); -const LambdaClient_1 = require("../LambdaClient"); -const makePagedClientRequest = async (client, input, ...args) => { - return await client.send(new ListVersionsByFunctionCommand_1.ListVersionsByFunctionCommand(input), ...args); -}; -async function* paginateListVersionsByFunction(config, input, ...additionalArguments) { - let token = config.startingToken || undefined; - let hasNext = true; - let page; - while (hasNext) { - input.Marker = token; - input["MaxItems"] = config.pageSize; - if (config.client instanceof LambdaClient_1.LambdaClient) { - page = await makePagedClientRequest(config.client, input, ...additionalArguments); - } - else { - throw new Error("Invalid client, expected Lambda | LambdaClient"); - } - yield page; - const prevToken = token; - token = page.NextMarker; - hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); - } - return undefined; -} -exports.paginateListVersionsByFunction = paginateListVersionsByFunction; diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/pagination/index.js b/node_modules/@aws-sdk/client-lambda/dist-cjs/pagination/index.js deleted file mode 100644 index c3098166..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-cjs/pagination/index.js +++ /dev/null @@ -1,15 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const tslib_1 = require("tslib"); -tslib_1.__exportStar(require("./Interfaces"), exports); -tslib_1.__exportStar(require("./ListAliasesPaginator"), exports); -tslib_1.__exportStar(require("./ListCodeSigningConfigsPaginator"), exports); -tslib_1.__exportStar(require("./ListEventSourceMappingsPaginator"), exports); -tslib_1.__exportStar(require("./ListFunctionEventInvokeConfigsPaginator"), exports); -tslib_1.__exportStar(require("./ListFunctionUrlConfigsPaginator"), exports); -tslib_1.__exportStar(require("./ListFunctionsByCodeSigningConfigPaginator"), exports); -tslib_1.__exportStar(require("./ListFunctionsPaginator"), exports); -tslib_1.__exportStar(require("./ListLayerVersionsPaginator"), exports); -tslib_1.__exportStar(require("./ListLayersPaginator"), exports); -tslib_1.__exportStar(require("./ListProvisionedConcurrencyConfigsPaginator"), exports); -tslib_1.__exportStar(require("./ListVersionsByFunctionPaginator"), exports); diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/protocols/Aws_restJson1.js b/node_modules/@aws-sdk/client-lambda/dist-cjs/protocols/Aws_restJson1.js deleted file mode 100644 index 175def6a..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-cjs/protocols/Aws_restJson1.js +++ /dev/null @@ -1,5784 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.se_PublishVersionCommand = exports.se_PublishLayerVersionCommand = exports.se_ListVersionsByFunctionCommand = exports.se_ListTagsCommand = exports.se_ListProvisionedConcurrencyConfigsCommand = exports.se_ListLayerVersionsCommand = exports.se_ListLayersCommand = exports.se_ListFunctionUrlConfigsCommand = exports.se_ListFunctionsByCodeSigningConfigCommand = exports.se_ListFunctionsCommand = exports.se_ListFunctionEventInvokeConfigsCommand = exports.se_ListEventSourceMappingsCommand = exports.se_ListCodeSigningConfigsCommand = exports.se_ListAliasesCommand = exports.se_InvokeWithResponseStreamCommand = exports.se_InvokeAsyncCommand = exports.se_InvokeCommand = exports.se_GetRuntimeManagementConfigCommand = exports.se_GetProvisionedConcurrencyConfigCommand = exports.se_GetPolicyCommand = exports.se_GetLayerVersionPolicyCommand = exports.se_GetLayerVersionByArnCommand = exports.se_GetLayerVersionCommand = exports.se_GetFunctionUrlConfigCommand = exports.se_GetFunctionEventInvokeConfigCommand = exports.se_GetFunctionConfigurationCommand = exports.se_GetFunctionConcurrencyCommand = exports.se_GetFunctionCodeSigningConfigCommand = exports.se_GetFunctionCommand = exports.se_GetEventSourceMappingCommand = exports.se_GetCodeSigningConfigCommand = exports.se_GetAliasCommand = exports.se_GetAccountSettingsCommand = exports.se_DeleteProvisionedConcurrencyConfigCommand = exports.se_DeleteLayerVersionCommand = exports.se_DeleteFunctionUrlConfigCommand = exports.se_DeleteFunctionEventInvokeConfigCommand = exports.se_DeleteFunctionConcurrencyCommand = exports.se_DeleteFunctionCodeSigningConfigCommand = exports.se_DeleteFunctionCommand = exports.se_DeleteEventSourceMappingCommand = exports.se_DeleteCodeSigningConfigCommand = exports.se_DeleteAliasCommand = exports.se_CreateFunctionUrlConfigCommand = exports.se_CreateFunctionCommand = exports.se_CreateEventSourceMappingCommand = exports.se_CreateCodeSigningConfigCommand = exports.se_CreateAliasCommand = exports.se_AddPermissionCommand = exports.se_AddLayerVersionPermissionCommand = void 0; -exports.de_InvokeCommand = exports.de_GetRuntimeManagementConfigCommand = exports.de_GetProvisionedConcurrencyConfigCommand = exports.de_GetPolicyCommand = exports.de_GetLayerVersionPolicyCommand = exports.de_GetLayerVersionByArnCommand = exports.de_GetLayerVersionCommand = exports.de_GetFunctionUrlConfigCommand = exports.de_GetFunctionEventInvokeConfigCommand = exports.de_GetFunctionConfigurationCommand = exports.de_GetFunctionConcurrencyCommand = exports.de_GetFunctionCodeSigningConfigCommand = exports.de_GetFunctionCommand = exports.de_GetEventSourceMappingCommand = exports.de_GetCodeSigningConfigCommand = exports.de_GetAliasCommand = exports.de_GetAccountSettingsCommand = exports.de_DeleteProvisionedConcurrencyConfigCommand = exports.de_DeleteLayerVersionCommand = exports.de_DeleteFunctionUrlConfigCommand = exports.de_DeleteFunctionEventInvokeConfigCommand = exports.de_DeleteFunctionConcurrencyCommand = exports.de_DeleteFunctionCodeSigningConfigCommand = exports.de_DeleteFunctionCommand = exports.de_DeleteEventSourceMappingCommand = exports.de_DeleteCodeSigningConfigCommand = exports.de_DeleteAliasCommand = exports.de_CreateFunctionUrlConfigCommand = exports.de_CreateFunctionCommand = exports.de_CreateEventSourceMappingCommand = exports.de_CreateCodeSigningConfigCommand = exports.de_CreateAliasCommand = exports.de_AddPermissionCommand = exports.de_AddLayerVersionPermissionCommand = exports.se_UpdateFunctionUrlConfigCommand = exports.se_UpdateFunctionEventInvokeConfigCommand = exports.se_UpdateFunctionConfigurationCommand = exports.se_UpdateFunctionCodeCommand = exports.se_UpdateEventSourceMappingCommand = exports.se_UpdateCodeSigningConfigCommand = exports.se_UpdateAliasCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_RemovePermissionCommand = exports.se_RemoveLayerVersionPermissionCommand = exports.se_PutRuntimeManagementConfigCommand = exports.se_PutProvisionedConcurrencyConfigCommand = exports.se_PutFunctionEventInvokeConfigCommand = exports.se_PutFunctionConcurrencyCommand = exports.se_PutFunctionCodeSigningConfigCommand = void 0; -exports.de_UpdateFunctionUrlConfigCommand = exports.de_UpdateFunctionEventInvokeConfigCommand = exports.de_UpdateFunctionConfigurationCommand = exports.de_UpdateFunctionCodeCommand = exports.de_UpdateEventSourceMappingCommand = exports.de_UpdateCodeSigningConfigCommand = exports.de_UpdateAliasCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_RemovePermissionCommand = exports.de_RemoveLayerVersionPermissionCommand = exports.de_PutRuntimeManagementConfigCommand = exports.de_PutProvisionedConcurrencyConfigCommand = exports.de_PutFunctionEventInvokeConfigCommand = exports.de_PutFunctionConcurrencyCommand = exports.de_PutFunctionCodeSigningConfigCommand = exports.de_PublishVersionCommand = exports.de_PublishLayerVersionCommand = exports.de_ListVersionsByFunctionCommand = exports.de_ListTagsCommand = exports.de_ListProvisionedConcurrencyConfigsCommand = exports.de_ListLayerVersionsCommand = exports.de_ListLayersCommand = exports.de_ListFunctionUrlConfigsCommand = exports.de_ListFunctionsByCodeSigningConfigCommand = exports.de_ListFunctionsCommand = exports.de_ListFunctionEventInvokeConfigsCommand = exports.de_ListEventSourceMappingsCommand = exports.de_ListCodeSigningConfigsCommand = exports.de_ListAliasesCommand = exports.de_InvokeWithResponseStreamCommand = exports.de_InvokeAsyncCommand = void 0; -const protocol_http_1 = require("@smithy/protocol-http"); -const smithy_client_1 = require("@smithy/smithy-client"); -const LambdaServiceException_1 = require("../models/LambdaServiceException"); -const models_0_1 = require("../models/models_0"); -const se_AddLayerVersionPermissionCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = { - "content-type": "application/json", - }; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + - "/2018-10-31/layers/{LayerName}/versions/{VersionNumber}/policy"; - resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "LayerName", () => input.LayerName, "{LayerName}", false); - resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "VersionNumber", () => input.VersionNumber.toString(), "{VersionNumber}", false); - const query = (0, smithy_client_1.map)({ - RevisionId: [, input.RevisionId], - }); - let body; - body = JSON.stringify((0, smithy_client_1.take)(input, { - Action: [], - OrganizationId: [], - Principal: [], - StatementId: [], - })); - return new protocol_http_1.HttpRequest({ - protocol, - hostname, - port, - method: "POST", - headers, - path: resolvedPath, - query, - body, - }); -}; -exports.se_AddLayerVersionPermissionCommand = se_AddLayerVersionPermissionCommand; -const se_AddPermissionCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = { - "content-type": "application/json", - }; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + - "/2015-03-31/functions/{FunctionName}/policy"; - resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false); - const query = (0, smithy_client_1.map)({ - Qualifier: [, input.Qualifier], - }); - let body; - body = JSON.stringify((0, smithy_client_1.take)(input, { - Action: [], - EventSourceToken: [], - FunctionUrlAuthType: [], - Principal: [], - PrincipalOrgID: [], - RevisionId: [], - SourceAccount: [], - SourceArn: [], - StatementId: [], - })); - return new protocol_http_1.HttpRequest({ - protocol, - hostname, - port, - method: "POST", - headers, - path: resolvedPath, - query, - body, - }); -}; -exports.se_AddPermissionCommand = se_AddPermissionCommand; -const se_CreateAliasCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = { - "content-type": "application/json", - }; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + - "/2015-03-31/functions/{FunctionName}/aliases"; - resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false); - let body; - body = JSON.stringify((0, smithy_client_1.take)(input, { - Description: [], - FunctionVersion: [], - Name: [], - RoutingConfig: (_) => se_AliasRoutingConfiguration(_, context), - })); - return new protocol_http_1.HttpRequest({ - protocol, - hostname, - port, - method: "POST", - headers, - path: resolvedPath, - body, - }); -}; -exports.se_CreateAliasCommand = se_CreateAliasCommand; -const se_CreateCodeSigningConfigCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = { - "content-type": "application/json", - }; - const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2020-04-22/code-signing-configs"; - let body; - body = JSON.stringify((0, smithy_client_1.take)(input, { - AllowedPublishers: (_) => (0, smithy_client_1._json)(_), - CodeSigningPolicies: (_) => (0, smithy_client_1._json)(_), - Description: [], - })); - return new protocol_http_1.HttpRequest({ - protocol, - hostname, - port, - method: "POST", - headers, - path: resolvedPath, - body, - }); -}; -exports.se_CreateCodeSigningConfigCommand = se_CreateCodeSigningConfigCommand; -const se_CreateEventSourceMappingCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = { - "content-type": "application/json", - }; - const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2015-03-31/event-source-mappings"; - let body; - body = JSON.stringify((0, smithy_client_1.take)(input, { - AmazonManagedKafkaEventSourceConfig: (_) => (0, smithy_client_1._json)(_), - BatchSize: [], - BisectBatchOnFunctionError: [], - DestinationConfig: (_) => (0, smithy_client_1._json)(_), - DocumentDBEventSourceConfig: (_) => (0, smithy_client_1._json)(_), - Enabled: [], - EventSourceArn: [], - FilterCriteria: (_) => (0, smithy_client_1._json)(_), - FunctionName: [], - FunctionResponseTypes: (_) => (0, smithy_client_1._json)(_), - MaximumBatchingWindowInSeconds: [], - MaximumRecordAgeInSeconds: [], - MaximumRetryAttempts: [], - ParallelizationFactor: [], - Queues: (_) => (0, smithy_client_1._json)(_), - ScalingConfig: (_) => (0, smithy_client_1._json)(_), - SelfManagedEventSource: (_) => (0, smithy_client_1._json)(_), - SelfManagedKafkaEventSourceConfig: (_) => (0, smithy_client_1._json)(_), - SourceAccessConfigurations: (_) => (0, smithy_client_1._json)(_), - StartingPosition: [], - StartingPositionTimestamp: (_) => Math.round(_.getTime() / 1000), - Topics: (_) => (0, smithy_client_1._json)(_), - TumblingWindowInSeconds: [], - })); - return new protocol_http_1.HttpRequest({ - protocol, - hostname, - port, - method: "POST", - headers, - path: resolvedPath, - body, - }); -}; -exports.se_CreateEventSourceMappingCommand = se_CreateEventSourceMappingCommand; -const se_CreateFunctionCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = { - "content-type": "application/json", - }; - const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2015-03-31/functions"; - let body; - body = JSON.stringify((0, smithy_client_1.take)(input, { - Architectures: (_) => (0, smithy_client_1._json)(_), - Code: (_) => se_FunctionCode(_, context), - CodeSigningConfigArn: [], - DeadLetterConfig: (_) => (0, smithy_client_1._json)(_), - Description: [], - Environment: (_) => (0, smithy_client_1._json)(_), - EphemeralStorage: (_) => (0, smithy_client_1._json)(_), - FileSystemConfigs: (_) => (0, smithy_client_1._json)(_), - FunctionName: [], - Handler: [], - ImageConfig: (_) => (0, smithy_client_1._json)(_), - KMSKeyArn: [], - Layers: (_) => (0, smithy_client_1._json)(_), - LoggingConfig: (_) => (0, smithy_client_1._json)(_), - MemorySize: [], - PackageType: [], - Publish: [], - Role: [], - Runtime: [], - SnapStart: (_) => (0, smithy_client_1._json)(_), - Tags: (_) => (0, smithy_client_1._json)(_), - Timeout: [], - TracingConfig: (_) => (0, smithy_client_1._json)(_), - VpcConfig: (_) => (0, smithy_client_1._json)(_), - })); - return new protocol_http_1.HttpRequest({ - protocol, - hostname, - port, - method: "POST", - headers, - path: resolvedPath, - body, - }); -}; -exports.se_CreateFunctionCommand = se_CreateFunctionCommand; -const se_CreateFunctionUrlConfigCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = { - "content-type": "application/json", - }; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2021-10-31/functions/{FunctionName}/url"; - resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false); - const query = (0, smithy_client_1.map)({ - Qualifier: [, input.Qualifier], - }); - let body; - body = JSON.stringify((0, smithy_client_1.take)(input, { - AuthType: [], - Cors: (_) => (0, smithy_client_1._json)(_), - InvokeMode: [], - })); - return new protocol_http_1.HttpRequest({ - protocol, - hostname, - port, - method: "POST", - headers, - path: resolvedPath, - query, - body, - }); -}; -exports.se_CreateFunctionUrlConfigCommand = se_CreateFunctionUrlConfigCommand; -const se_DeleteAliasCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = {}; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + - "/2015-03-31/functions/{FunctionName}/aliases/{Name}"; - resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false); - resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Name", () => input.Name, "{Name}", false); - let body; - return new protocol_http_1.HttpRequest({ - protocol, - hostname, - port, - method: "DELETE", - headers, - path: resolvedPath, - body, - }); -}; -exports.se_DeleteAliasCommand = se_DeleteAliasCommand; -const se_DeleteCodeSigningConfigCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = {}; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + - "/2020-04-22/code-signing-configs/{CodeSigningConfigArn}"; - resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "CodeSigningConfigArn", () => input.CodeSigningConfigArn, "{CodeSigningConfigArn}", false); - let body; - return new protocol_http_1.HttpRequest({ - protocol, - hostname, - port, - method: "DELETE", - headers, - path: resolvedPath, - body, - }); -}; -exports.se_DeleteCodeSigningConfigCommand = se_DeleteCodeSigningConfigCommand; -const se_DeleteEventSourceMappingCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = {}; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2015-03-31/event-source-mappings/{UUID}"; - resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "UUID", () => input.UUID, "{UUID}", false); - let body; - return new protocol_http_1.HttpRequest({ - protocol, - hostname, - port, - method: "DELETE", - headers, - path: resolvedPath, - body, - }); -}; -exports.se_DeleteEventSourceMappingCommand = se_DeleteEventSourceMappingCommand; -const se_DeleteFunctionCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = {}; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2015-03-31/functions/{FunctionName}"; - resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false); - const query = (0, smithy_client_1.map)({ - Qualifier: [, input.Qualifier], - }); - let body; - return new protocol_http_1.HttpRequest({ - protocol, - hostname, - port, - method: "DELETE", - headers, - path: resolvedPath, - query, - body, - }); -}; -exports.se_DeleteFunctionCommand = se_DeleteFunctionCommand; -const se_DeleteFunctionCodeSigningConfigCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = {}; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + - "/2020-06-30/functions/{FunctionName}/code-signing-config"; - resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false); - let body; - return new protocol_http_1.HttpRequest({ - protocol, - hostname, - port, - method: "DELETE", - headers, - path: resolvedPath, - body, - }); -}; -exports.se_DeleteFunctionCodeSigningConfigCommand = se_DeleteFunctionCodeSigningConfigCommand; -const se_DeleteFunctionConcurrencyCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = {}; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + - "/2017-10-31/functions/{FunctionName}/concurrency"; - resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false); - let body; - return new protocol_http_1.HttpRequest({ - protocol, - hostname, - port, - method: "DELETE", - headers, - path: resolvedPath, - body, - }); -}; -exports.se_DeleteFunctionConcurrencyCommand = se_DeleteFunctionConcurrencyCommand; -const se_DeleteFunctionEventInvokeConfigCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = {}; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + - "/2019-09-25/functions/{FunctionName}/event-invoke-config"; - resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false); - const query = (0, smithy_client_1.map)({ - Qualifier: [, input.Qualifier], - }); - let body; - return new protocol_http_1.HttpRequest({ - protocol, - hostname, - port, - method: "DELETE", - headers, - path: resolvedPath, - query, - body, - }); -}; -exports.se_DeleteFunctionEventInvokeConfigCommand = se_DeleteFunctionEventInvokeConfigCommand; -const se_DeleteFunctionUrlConfigCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = {}; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2021-10-31/functions/{FunctionName}/url"; - resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false); - const query = (0, smithy_client_1.map)({ - Qualifier: [, input.Qualifier], - }); - let body; - return new protocol_http_1.HttpRequest({ - protocol, - hostname, - port, - method: "DELETE", - headers, - path: resolvedPath, - query, - body, - }); -}; -exports.se_DeleteFunctionUrlConfigCommand = se_DeleteFunctionUrlConfigCommand; -const se_DeleteLayerVersionCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = {}; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + - "/2018-10-31/layers/{LayerName}/versions/{VersionNumber}"; - resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "LayerName", () => input.LayerName, "{LayerName}", false); - resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "VersionNumber", () => input.VersionNumber.toString(), "{VersionNumber}", false); - let body; - return new protocol_http_1.HttpRequest({ - protocol, - hostname, - port, - method: "DELETE", - headers, - path: resolvedPath, - body, - }); -}; -exports.se_DeleteLayerVersionCommand = se_DeleteLayerVersionCommand; -const se_DeleteProvisionedConcurrencyConfigCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = {}; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + - "/2019-09-30/functions/{FunctionName}/provisioned-concurrency"; - resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false); - const query = (0, smithy_client_1.map)({ - Qualifier: [, (0, smithy_client_1.expectNonNull)(input.Qualifier, `Qualifier`)], - }); - let body; - return new protocol_http_1.HttpRequest({ - protocol, - hostname, - port, - method: "DELETE", - headers, - path: resolvedPath, - query, - body, - }); -}; -exports.se_DeleteProvisionedConcurrencyConfigCommand = se_DeleteProvisionedConcurrencyConfigCommand; -const se_GetAccountSettingsCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = { - "content-type": "application/json", - }; - const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2016-08-19/account-settings"; - let body; - body = ""; - return new protocol_http_1.HttpRequest({ - protocol, - hostname, - port, - method: "GET", - headers, - path: resolvedPath, - body, - }); -}; -exports.se_GetAccountSettingsCommand = se_GetAccountSettingsCommand; -const se_GetAliasCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = {}; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + - "/2015-03-31/functions/{FunctionName}/aliases/{Name}"; - resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false); - resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Name", () => input.Name, "{Name}", false); - let body; - return new protocol_http_1.HttpRequest({ - protocol, - hostname, - port, - method: "GET", - headers, - path: resolvedPath, - body, - }); -}; -exports.se_GetAliasCommand = se_GetAliasCommand; -const se_GetCodeSigningConfigCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = {}; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + - "/2020-04-22/code-signing-configs/{CodeSigningConfigArn}"; - resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "CodeSigningConfigArn", () => input.CodeSigningConfigArn, "{CodeSigningConfigArn}", false); - let body; - return new protocol_http_1.HttpRequest({ - protocol, - hostname, - port, - method: "GET", - headers, - path: resolvedPath, - body, - }); -}; -exports.se_GetCodeSigningConfigCommand = se_GetCodeSigningConfigCommand; -const se_GetEventSourceMappingCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = {}; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2015-03-31/event-source-mappings/{UUID}"; - resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "UUID", () => input.UUID, "{UUID}", false); - let body; - return new protocol_http_1.HttpRequest({ - protocol, - hostname, - port, - method: "GET", - headers, - path: resolvedPath, - body, - }); -}; -exports.se_GetEventSourceMappingCommand = se_GetEventSourceMappingCommand; -const se_GetFunctionCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = {}; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2015-03-31/functions/{FunctionName}"; - resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false); - const query = (0, smithy_client_1.map)({ - Qualifier: [, input.Qualifier], - }); - let body; - return new protocol_http_1.HttpRequest({ - protocol, - hostname, - port, - method: "GET", - headers, - path: resolvedPath, - query, - body, - }); -}; -exports.se_GetFunctionCommand = se_GetFunctionCommand; -const se_GetFunctionCodeSigningConfigCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = {}; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + - "/2020-06-30/functions/{FunctionName}/code-signing-config"; - resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false); - let body; - return new protocol_http_1.HttpRequest({ - protocol, - hostname, - port, - method: "GET", - headers, - path: resolvedPath, - body, - }); -}; -exports.se_GetFunctionCodeSigningConfigCommand = se_GetFunctionCodeSigningConfigCommand; -const se_GetFunctionConcurrencyCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = {}; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + - "/2019-09-30/functions/{FunctionName}/concurrency"; - resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false); - let body; - return new protocol_http_1.HttpRequest({ - protocol, - hostname, - port, - method: "GET", - headers, - path: resolvedPath, - body, - }); -}; -exports.se_GetFunctionConcurrencyCommand = se_GetFunctionConcurrencyCommand; -const se_GetFunctionConfigurationCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = {}; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + - "/2015-03-31/functions/{FunctionName}/configuration"; - resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false); - const query = (0, smithy_client_1.map)({ - Qualifier: [, input.Qualifier], - }); - let body; - return new protocol_http_1.HttpRequest({ - protocol, - hostname, - port, - method: "GET", - headers, - path: resolvedPath, - query, - body, - }); -}; -exports.se_GetFunctionConfigurationCommand = se_GetFunctionConfigurationCommand; -const se_GetFunctionEventInvokeConfigCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = {}; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + - "/2019-09-25/functions/{FunctionName}/event-invoke-config"; - resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false); - const query = (0, smithy_client_1.map)({ - Qualifier: [, input.Qualifier], - }); - let body; - return new protocol_http_1.HttpRequest({ - protocol, - hostname, - port, - method: "GET", - headers, - path: resolvedPath, - query, - body, - }); -}; -exports.se_GetFunctionEventInvokeConfigCommand = se_GetFunctionEventInvokeConfigCommand; -const se_GetFunctionUrlConfigCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = {}; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2021-10-31/functions/{FunctionName}/url"; - resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false); - const query = (0, smithy_client_1.map)({ - Qualifier: [, input.Qualifier], - }); - let body; - return new protocol_http_1.HttpRequest({ - protocol, - hostname, - port, - method: "GET", - headers, - path: resolvedPath, - query, - body, - }); -}; -exports.se_GetFunctionUrlConfigCommand = se_GetFunctionUrlConfigCommand; -const se_GetLayerVersionCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = {}; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + - "/2018-10-31/layers/{LayerName}/versions/{VersionNumber}"; - resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "LayerName", () => input.LayerName, "{LayerName}", false); - resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "VersionNumber", () => input.VersionNumber.toString(), "{VersionNumber}", false); - let body; - return new protocol_http_1.HttpRequest({ - protocol, - hostname, - port, - method: "GET", - headers, - path: resolvedPath, - body, - }); -}; -exports.se_GetLayerVersionCommand = se_GetLayerVersionCommand; -const se_GetLayerVersionByArnCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = {}; - const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2018-10-31/layers"; - const query = (0, smithy_client_1.map)({ - find: [, "LayerVersion"], - Arn: [, (0, smithy_client_1.expectNonNull)(input.Arn, `Arn`)], - }); - let body; - return new protocol_http_1.HttpRequest({ - protocol, - hostname, - port, - method: "GET", - headers, - path: resolvedPath, - query, - body, - }); -}; -exports.se_GetLayerVersionByArnCommand = se_GetLayerVersionByArnCommand; -const se_GetLayerVersionPolicyCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = {}; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + - "/2018-10-31/layers/{LayerName}/versions/{VersionNumber}/policy"; - resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "LayerName", () => input.LayerName, "{LayerName}", false); - resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "VersionNumber", () => input.VersionNumber.toString(), "{VersionNumber}", false); - let body; - return new protocol_http_1.HttpRequest({ - protocol, - hostname, - port, - method: "GET", - headers, - path: resolvedPath, - body, - }); -}; -exports.se_GetLayerVersionPolicyCommand = se_GetLayerVersionPolicyCommand; -const se_GetPolicyCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = {}; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + - "/2015-03-31/functions/{FunctionName}/policy"; - resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false); - const query = (0, smithy_client_1.map)({ - Qualifier: [, input.Qualifier], - }); - let body; - return new protocol_http_1.HttpRequest({ - protocol, - hostname, - port, - method: "GET", - headers, - path: resolvedPath, - query, - body, - }); -}; -exports.se_GetPolicyCommand = se_GetPolicyCommand; -const se_GetProvisionedConcurrencyConfigCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = {}; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + - "/2019-09-30/functions/{FunctionName}/provisioned-concurrency"; - resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false); - const query = (0, smithy_client_1.map)({ - Qualifier: [, (0, smithy_client_1.expectNonNull)(input.Qualifier, `Qualifier`)], - }); - let body; - return new protocol_http_1.HttpRequest({ - protocol, - hostname, - port, - method: "GET", - headers, - path: resolvedPath, - query, - body, - }); -}; -exports.se_GetProvisionedConcurrencyConfigCommand = se_GetProvisionedConcurrencyConfigCommand; -const se_GetRuntimeManagementConfigCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = {}; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + - "/2021-07-20/functions/{FunctionName}/runtime-management-config"; - resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false); - const query = (0, smithy_client_1.map)({ - Qualifier: [, input.Qualifier], - }); - let body; - return new protocol_http_1.HttpRequest({ - protocol, - hostname, - port, - method: "GET", - headers, - path: resolvedPath, - query, - body, - }); -}; -exports.se_GetRuntimeManagementConfigCommand = se_GetRuntimeManagementConfigCommand; -const se_InvokeCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, { - "content-type": "application/octet-stream", - "x-amz-invocation-type": input.InvocationType, - "x-amz-log-type": input.LogType, - "x-amz-client-context": input.ClientContext, - }); - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + - "/2015-03-31/functions/{FunctionName}/invocations"; - resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false); - const query = (0, smithy_client_1.map)({ - Qualifier: [, input.Qualifier], - }); - let body; - if (input.Payload !== undefined) { - body = input.Payload; - } - return new protocol_http_1.HttpRequest({ - protocol, - hostname, - port, - method: "POST", - headers, - path: resolvedPath, - query, - body, - }); -}; -exports.se_InvokeCommand = se_InvokeCommand; -const se_InvokeAsyncCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = { - "content-type": "application/octet-stream", - }; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + - "/2014-11-13/functions/{FunctionName}/invoke-async"; - resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false); - let body; - if (input.InvokeArgs !== undefined) { - body = input.InvokeArgs; - } - return new protocol_http_1.HttpRequest({ - protocol, - hostname, - port, - method: "POST", - headers, - path: resolvedPath, - body, - }); -}; -exports.se_InvokeAsyncCommand = se_InvokeAsyncCommand; -const se_InvokeWithResponseStreamCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, { - "content-type": "application/octet-stream", - "x-amz-invocation-type": input.InvocationType, - "x-amz-log-type": input.LogType, - "x-amz-client-context": input.ClientContext, - }); - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + - "/2021-11-15/functions/{FunctionName}/response-streaming-invocations"; - resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false); - const query = (0, smithy_client_1.map)({ - Qualifier: [, input.Qualifier], - }); - let body; - if (input.Payload !== undefined) { - body = input.Payload; - } - return new protocol_http_1.HttpRequest({ - protocol, - hostname, - port, - method: "POST", - headers, - path: resolvedPath, - query, - body, - }); -}; -exports.se_InvokeWithResponseStreamCommand = se_InvokeWithResponseStreamCommand; -const se_ListAliasesCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = {}; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + - "/2015-03-31/functions/{FunctionName}/aliases"; - resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false); - const query = (0, smithy_client_1.map)({ - FunctionVersion: [, input.FunctionVersion], - Marker: [, input.Marker], - MaxItems: [() => input.MaxItems !== void 0, () => input.MaxItems.toString()], - }); - let body; - return new protocol_http_1.HttpRequest({ - protocol, - hostname, - port, - method: "GET", - headers, - path: resolvedPath, - query, - body, - }); -}; -exports.se_ListAliasesCommand = se_ListAliasesCommand; -const se_ListCodeSigningConfigsCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = {}; - const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2020-04-22/code-signing-configs"; - const query = (0, smithy_client_1.map)({ - Marker: [, input.Marker], - MaxItems: [() => input.MaxItems !== void 0, () => input.MaxItems.toString()], - }); - let body; - return new protocol_http_1.HttpRequest({ - protocol, - hostname, - port, - method: "GET", - headers, - path: resolvedPath, - query, - body, - }); -}; -exports.se_ListCodeSigningConfigsCommand = se_ListCodeSigningConfigsCommand; -const se_ListEventSourceMappingsCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = {}; - const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2015-03-31/event-source-mappings"; - const query = (0, smithy_client_1.map)({ - EventSourceArn: [, input.EventSourceArn], - FunctionName: [, input.FunctionName], - Marker: [, input.Marker], - MaxItems: [() => input.MaxItems !== void 0, () => input.MaxItems.toString()], - }); - let body; - return new protocol_http_1.HttpRequest({ - protocol, - hostname, - port, - method: "GET", - headers, - path: resolvedPath, - query, - body, - }); -}; -exports.se_ListEventSourceMappingsCommand = se_ListEventSourceMappingsCommand; -const se_ListFunctionEventInvokeConfigsCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = {}; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + - "/2019-09-25/functions/{FunctionName}/event-invoke-config/list"; - resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false); - const query = (0, smithy_client_1.map)({ - Marker: [, input.Marker], - MaxItems: [() => input.MaxItems !== void 0, () => input.MaxItems.toString()], - }); - let body; - return new protocol_http_1.HttpRequest({ - protocol, - hostname, - port, - method: "GET", - headers, - path: resolvedPath, - query, - body, - }); -}; -exports.se_ListFunctionEventInvokeConfigsCommand = se_ListFunctionEventInvokeConfigsCommand; -const se_ListFunctionsCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = {}; - const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2015-03-31/functions"; - const query = (0, smithy_client_1.map)({ - MasterRegion: [, input.MasterRegion], - FunctionVersion: [, input.FunctionVersion], - Marker: [, input.Marker], - MaxItems: [() => input.MaxItems !== void 0, () => input.MaxItems.toString()], - }); - let body; - return new protocol_http_1.HttpRequest({ - protocol, - hostname, - port, - method: "GET", - headers, - path: resolvedPath, - query, - body, - }); -}; -exports.se_ListFunctionsCommand = se_ListFunctionsCommand; -const se_ListFunctionsByCodeSigningConfigCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = {}; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + - "/2020-04-22/code-signing-configs/{CodeSigningConfigArn}/functions"; - resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "CodeSigningConfigArn", () => input.CodeSigningConfigArn, "{CodeSigningConfigArn}", false); - const query = (0, smithy_client_1.map)({ - Marker: [, input.Marker], - MaxItems: [() => input.MaxItems !== void 0, () => input.MaxItems.toString()], - }); - let body; - return new protocol_http_1.HttpRequest({ - protocol, - hostname, - port, - method: "GET", - headers, - path: resolvedPath, - query, - body, - }); -}; -exports.se_ListFunctionsByCodeSigningConfigCommand = se_ListFunctionsByCodeSigningConfigCommand; -const se_ListFunctionUrlConfigsCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = {}; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2021-10-31/functions/{FunctionName}/urls"; - resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false); - const query = (0, smithy_client_1.map)({ - Marker: [, input.Marker], - MaxItems: [() => input.MaxItems !== void 0, () => input.MaxItems.toString()], - }); - let body; - return new protocol_http_1.HttpRequest({ - protocol, - hostname, - port, - method: "GET", - headers, - path: resolvedPath, - query, - body, - }); -}; -exports.se_ListFunctionUrlConfigsCommand = se_ListFunctionUrlConfigsCommand; -const se_ListLayersCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = {}; - const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2018-10-31/layers"; - const query = (0, smithy_client_1.map)({ - CompatibleRuntime: [, input.CompatibleRuntime], - Marker: [, input.Marker], - MaxItems: [() => input.MaxItems !== void 0, () => input.MaxItems.toString()], - CompatibleArchitecture: [, input.CompatibleArchitecture], - }); - let body; - return new protocol_http_1.HttpRequest({ - protocol, - hostname, - port, - method: "GET", - headers, - path: resolvedPath, - query, - body, - }); -}; -exports.se_ListLayersCommand = se_ListLayersCommand; -const se_ListLayerVersionsCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = {}; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2018-10-31/layers/{LayerName}/versions"; - resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "LayerName", () => input.LayerName, "{LayerName}", false); - const query = (0, smithy_client_1.map)({ - CompatibleRuntime: [, input.CompatibleRuntime], - Marker: [, input.Marker], - MaxItems: [() => input.MaxItems !== void 0, () => input.MaxItems.toString()], - CompatibleArchitecture: [, input.CompatibleArchitecture], - }); - let body; - return new protocol_http_1.HttpRequest({ - protocol, - hostname, - port, - method: "GET", - headers, - path: resolvedPath, - query, - body, - }); -}; -exports.se_ListLayerVersionsCommand = se_ListLayerVersionsCommand; -const se_ListProvisionedConcurrencyConfigsCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = {}; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + - "/2019-09-30/functions/{FunctionName}/provisioned-concurrency"; - resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false); - const query = (0, smithy_client_1.map)({ - List: [, "ALL"], - Marker: [, input.Marker], - MaxItems: [() => input.MaxItems !== void 0, () => input.MaxItems.toString()], - }); - let body; - return new protocol_http_1.HttpRequest({ - protocol, - hostname, - port, - method: "GET", - headers, - path: resolvedPath, - query, - body, - }); -}; -exports.se_ListProvisionedConcurrencyConfigsCommand = se_ListProvisionedConcurrencyConfigsCommand; -const se_ListTagsCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = {}; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2017-03-31/tags/{Resource}"; - resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Resource", () => input.Resource, "{Resource}", false); - let body; - return new protocol_http_1.HttpRequest({ - protocol, - hostname, - port, - method: "GET", - headers, - path: resolvedPath, - body, - }); -}; -exports.se_ListTagsCommand = se_ListTagsCommand; -const se_ListVersionsByFunctionCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = {}; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + - "/2015-03-31/functions/{FunctionName}/versions"; - resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false); - const query = (0, smithy_client_1.map)({ - Marker: [, input.Marker], - MaxItems: [() => input.MaxItems !== void 0, () => input.MaxItems.toString()], - }); - let body; - return new protocol_http_1.HttpRequest({ - protocol, - hostname, - port, - method: "GET", - headers, - path: resolvedPath, - query, - body, - }); -}; -exports.se_ListVersionsByFunctionCommand = se_ListVersionsByFunctionCommand; -const se_PublishLayerVersionCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = { - "content-type": "application/json", - }; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2018-10-31/layers/{LayerName}/versions"; - resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "LayerName", () => input.LayerName, "{LayerName}", false); - let body; - body = JSON.stringify((0, smithy_client_1.take)(input, { - CompatibleArchitectures: (_) => (0, smithy_client_1._json)(_), - CompatibleRuntimes: (_) => (0, smithy_client_1._json)(_), - Content: (_) => se_LayerVersionContentInput(_, context), - Description: [], - LicenseInfo: [], - })); - return new protocol_http_1.HttpRequest({ - protocol, - hostname, - port, - method: "POST", - headers, - path: resolvedPath, - body, - }); -}; -exports.se_PublishLayerVersionCommand = se_PublishLayerVersionCommand; -const se_PublishVersionCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = { - "content-type": "application/json", - }; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + - "/2015-03-31/functions/{FunctionName}/versions"; - resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false); - let body; - body = JSON.stringify((0, smithy_client_1.take)(input, { - CodeSha256: [], - Description: [], - RevisionId: [], - })); - return new protocol_http_1.HttpRequest({ - protocol, - hostname, - port, - method: "POST", - headers, - path: resolvedPath, - body, - }); -}; -exports.se_PublishVersionCommand = se_PublishVersionCommand; -const se_PutFunctionCodeSigningConfigCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = { - "content-type": "application/json", - }; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + - "/2020-06-30/functions/{FunctionName}/code-signing-config"; - resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false); - let body; - body = JSON.stringify((0, smithy_client_1.take)(input, { - CodeSigningConfigArn: [], - })); - return new protocol_http_1.HttpRequest({ - protocol, - hostname, - port, - method: "PUT", - headers, - path: resolvedPath, - body, - }); -}; -exports.se_PutFunctionCodeSigningConfigCommand = se_PutFunctionCodeSigningConfigCommand; -const se_PutFunctionConcurrencyCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = { - "content-type": "application/json", - }; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + - "/2017-10-31/functions/{FunctionName}/concurrency"; - resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false); - let body; - body = JSON.stringify((0, smithy_client_1.take)(input, { - ReservedConcurrentExecutions: [], - })); - return new protocol_http_1.HttpRequest({ - protocol, - hostname, - port, - method: "PUT", - headers, - path: resolvedPath, - body, - }); -}; -exports.se_PutFunctionConcurrencyCommand = se_PutFunctionConcurrencyCommand; -const se_PutFunctionEventInvokeConfigCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = { - "content-type": "application/json", - }; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + - "/2019-09-25/functions/{FunctionName}/event-invoke-config"; - resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false); - const query = (0, smithy_client_1.map)({ - Qualifier: [, input.Qualifier], - }); - let body; - body = JSON.stringify((0, smithy_client_1.take)(input, { - DestinationConfig: (_) => (0, smithy_client_1._json)(_), - MaximumEventAgeInSeconds: [], - MaximumRetryAttempts: [], - })); - return new protocol_http_1.HttpRequest({ - protocol, - hostname, - port, - method: "PUT", - headers, - path: resolvedPath, - query, - body, - }); -}; -exports.se_PutFunctionEventInvokeConfigCommand = se_PutFunctionEventInvokeConfigCommand; -const se_PutProvisionedConcurrencyConfigCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = { - "content-type": "application/json", - }; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + - "/2019-09-30/functions/{FunctionName}/provisioned-concurrency"; - resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false); - const query = (0, smithy_client_1.map)({ - Qualifier: [, (0, smithy_client_1.expectNonNull)(input.Qualifier, `Qualifier`)], - }); - let body; - body = JSON.stringify((0, smithy_client_1.take)(input, { - ProvisionedConcurrentExecutions: [], - })); - return new protocol_http_1.HttpRequest({ - protocol, - hostname, - port, - method: "PUT", - headers, - path: resolvedPath, - query, - body, - }); -}; -exports.se_PutProvisionedConcurrencyConfigCommand = se_PutProvisionedConcurrencyConfigCommand; -const se_PutRuntimeManagementConfigCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = { - "content-type": "application/json", - }; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + - "/2021-07-20/functions/{FunctionName}/runtime-management-config"; - resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false); - const query = (0, smithy_client_1.map)({ - Qualifier: [, input.Qualifier], - }); - let body; - body = JSON.stringify((0, smithy_client_1.take)(input, { - RuntimeVersionArn: [], - UpdateRuntimeOn: [], - })); - return new protocol_http_1.HttpRequest({ - protocol, - hostname, - port, - method: "PUT", - headers, - path: resolvedPath, - query, - body, - }); -}; -exports.se_PutRuntimeManagementConfigCommand = se_PutRuntimeManagementConfigCommand; -const se_RemoveLayerVersionPermissionCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = {}; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + - "/2018-10-31/layers/{LayerName}/versions/{VersionNumber}/policy/{StatementId}"; - resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "LayerName", () => input.LayerName, "{LayerName}", false); - resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "VersionNumber", () => input.VersionNumber.toString(), "{VersionNumber}", false); - resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "StatementId", () => input.StatementId, "{StatementId}", false); - const query = (0, smithy_client_1.map)({ - RevisionId: [, input.RevisionId], - }); - let body; - return new protocol_http_1.HttpRequest({ - protocol, - hostname, - port, - method: "DELETE", - headers, - path: resolvedPath, - query, - body, - }); -}; -exports.se_RemoveLayerVersionPermissionCommand = se_RemoveLayerVersionPermissionCommand; -const se_RemovePermissionCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = {}; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + - "/2015-03-31/functions/{FunctionName}/policy/{StatementId}"; - resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false); - resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "StatementId", () => input.StatementId, "{StatementId}", false); - const query = (0, smithy_client_1.map)({ - Qualifier: [, input.Qualifier], - RevisionId: [, input.RevisionId], - }); - let body; - return new protocol_http_1.HttpRequest({ - protocol, - hostname, - port, - method: "DELETE", - headers, - path: resolvedPath, - query, - body, - }); -}; -exports.se_RemovePermissionCommand = se_RemovePermissionCommand; -const se_TagResourceCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = { - "content-type": "application/json", - }; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2017-03-31/tags/{Resource}"; - resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Resource", () => input.Resource, "{Resource}", false); - let body; - body = JSON.stringify((0, smithy_client_1.take)(input, { - Tags: (_) => (0, smithy_client_1._json)(_), - })); - return new protocol_http_1.HttpRequest({ - protocol, - hostname, - port, - method: "POST", - headers, - path: resolvedPath, - body, - }); -}; -exports.se_TagResourceCommand = se_TagResourceCommand; -const se_UntagResourceCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = {}; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2017-03-31/tags/{Resource}"; - resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Resource", () => input.Resource, "{Resource}", false); - const query = (0, smithy_client_1.map)({ - tagKeys: [ - (0, smithy_client_1.expectNonNull)(input.TagKeys, `TagKeys`) != null, - () => (input.TagKeys || []).map((_entry) => _entry), - ], - }); - let body; - return new protocol_http_1.HttpRequest({ - protocol, - hostname, - port, - method: "DELETE", - headers, - path: resolvedPath, - query, - body, - }); -}; -exports.se_UntagResourceCommand = se_UntagResourceCommand; -const se_UpdateAliasCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = { - "content-type": "application/json", - }; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + - "/2015-03-31/functions/{FunctionName}/aliases/{Name}"; - resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false); - resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "Name", () => input.Name, "{Name}", false); - let body; - body = JSON.stringify((0, smithy_client_1.take)(input, { - Description: [], - FunctionVersion: [], - RevisionId: [], - RoutingConfig: (_) => se_AliasRoutingConfiguration(_, context), - })); - return new protocol_http_1.HttpRequest({ - protocol, - hostname, - port, - method: "PUT", - headers, - path: resolvedPath, - body, - }); -}; -exports.se_UpdateAliasCommand = se_UpdateAliasCommand; -const se_UpdateCodeSigningConfigCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = { - "content-type": "application/json", - }; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + - "/2020-04-22/code-signing-configs/{CodeSigningConfigArn}"; - resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "CodeSigningConfigArn", () => input.CodeSigningConfigArn, "{CodeSigningConfigArn}", false); - let body; - body = JSON.stringify((0, smithy_client_1.take)(input, { - AllowedPublishers: (_) => (0, smithy_client_1._json)(_), - CodeSigningPolicies: (_) => (0, smithy_client_1._json)(_), - Description: [], - })); - return new protocol_http_1.HttpRequest({ - protocol, - hostname, - port, - method: "PUT", - headers, - path: resolvedPath, - body, - }); -}; -exports.se_UpdateCodeSigningConfigCommand = se_UpdateCodeSigningConfigCommand; -const se_UpdateEventSourceMappingCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = { - "content-type": "application/json", - }; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2015-03-31/event-source-mappings/{UUID}"; - resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "UUID", () => input.UUID, "{UUID}", false); - let body; - body = JSON.stringify((0, smithy_client_1.take)(input, { - BatchSize: [], - BisectBatchOnFunctionError: [], - DestinationConfig: (_) => (0, smithy_client_1._json)(_), - DocumentDBEventSourceConfig: (_) => (0, smithy_client_1._json)(_), - Enabled: [], - FilterCriteria: (_) => (0, smithy_client_1._json)(_), - FunctionName: [], - FunctionResponseTypes: (_) => (0, smithy_client_1._json)(_), - MaximumBatchingWindowInSeconds: [], - MaximumRecordAgeInSeconds: [], - MaximumRetryAttempts: [], - ParallelizationFactor: [], - ScalingConfig: (_) => (0, smithy_client_1._json)(_), - SourceAccessConfigurations: (_) => (0, smithy_client_1._json)(_), - TumblingWindowInSeconds: [], - })); - return new protocol_http_1.HttpRequest({ - protocol, - hostname, - port, - method: "PUT", - headers, - path: resolvedPath, - body, - }); -}; -exports.se_UpdateEventSourceMappingCommand = se_UpdateEventSourceMappingCommand; -const se_UpdateFunctionCodeCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = { - "content-type": "application/json", - }; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2015-03-31/functions/{FunctionName}/code"; - resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false); - let body; - body = JSON.stringify((0, smithy_client_1.take)(input, { - Architectures: (_) => (0, smithy_client_1._json)(_), - DryRun: [], - ImageUri: [], - Publish: [], - RevisionId: [], - S3Bucket: [], - S3Key: [], - S3ObjectVersion: [], - ZipFile: (_) => context.base64Encoder(_), - })); - return new protocol_http_1.HttpRequest({ - protocol, - hostname, - port, - method: "PUT", - headers, - path: resolvedPath, - body, - }); -}; -exports.se_UpdateFunctionCodeCommand = se_UpdateFunctionCodeCommand; -const se_UpdateFunctionConfigurationCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = { - "content-type": "application/json", - }; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + - "/2015-03-31/functions/{FunctionName}/configuration"; - resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false); - let body; - body = JSON.stringify((0, smithy_client_1.take)(input, { - DeadLetterConfig: (_) => (0, smithy_client_1._json)(_), - Description: [], - Environment: (_) => (0, smithy_client_1._json)(_), - EphemeralStorage: (_) => (0, smithy_client_1._json)(_), - FileSystemConfigs: (_) => (0, smithy_client_1._json)(_), - Handler: [], - ImageConfig: (_) => (0, smithy_client_1._json)(_), - KMSKeyArn: [], - Layers: (_) => (0, smithy_client_1._json)(_), - LoggingConfig: (_) => (0, smithy_client_1._json)(_), - MemorySize: [], - RevisionId: [], - Role: [], - Runtime: [], - SnapStart: (_) => (0, smithy_client_1._json)(_), - Timeout: [], - TracingConfig: (_) => (0, smithy_client_1._json)(_), - VpcConfig: (_) => (0, smithy_client_1._json)(_), - })); - return new protocol_http_1.HttpRequest({ - protocol, - hostname, - port, - method: "PUT", - headers, - path: resolvedPath, - body, - }); -}; -exports.se_UpdateFunctionConfigurationCommand = se_UpdateFunctionConfigurationCommand; -const se_UpdateFunctionEventInvokeConfigCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = { - "content-type": "application/json", - }; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + - "/2019-09-25/functions/{FunctionName}/event-invoke-config"; - resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false); - const query = (0, smithy_client_1.map)({ - Qualifier: [, input.Qualifier], - }); - let body; - body = JSON.stringify((0, smithy_client_1.take)(input, { - DestinationConfig: (_) => (0, smithy_client_1._json)(_), - MaximumEventAgeInSeconds: [], - MaximumRetryAttempts: [], - })); - return new protocol_http_1.HttpRequest({ - protocol, - hostname, - port, - method: "POST", - headers, - path: resolvedPath, - query, - body, - }); -}; -exports.se_UpdateFunctionEventInvokeConfigCommand = se_UpdateFunctionEventInvokeConfigCommand; -const se_UpdateFunctionUrlConfigCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = { - "content-type": "application/json", - }; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2021-10-31/functions/{FunctionName}/url"; - resolvedPath = (0, smithy_client_1.resolvedPath)(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false); - const query = (0, smithy_client_1.map)({ - Qualifier: [, input.Qualifier], - }); - let body; - body = JSON.stringify((0, smithy_client_1.take)(input, { - AuthType: [], - Cors: (_) => (0, smithy_client_1._json)(_), - InvokeMode: [], - })); - return new protocol_http_1.HttpRequest({ - protocol, - hostname, - port, - method: "PUT", - headers, - path: resolvedPath, - query, - body, - }); -}; -exports.se_UpdateFunctionUrlConfigCommand = se_UpdateFunctionUrlConfigCommand; -const de_AddLayerVersionPermissionCommand = async (output, context) => { - if (output.statusCode !== 201 && output.statusCode >= 300) { - return de_AddLayerVersionPermissionCommandError(output, context); - } - const contents = (0, smithy_client_1.map)({ - $metadata: deserializeMetadata(output), - }); - const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body"); - const doc = (0, smithy_client_1.take)(data, { - RevisionId: smithy_client_1.expectString, - Statement: smithy_client_1.expectString, - }); - Object.assign(contents, doc); - return contents; -}; -exports.de_AddLayerVersionPermissionCommand = de_AddLayerVersionPermissionCommand; -const de_AddLayerVersionPermissionCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "PolicyLengthExceededException": - case "com.amazonaws.lambda#PolicyLengthExceededException": - throw await de_PolicyLengthExceededExceptionRes(parsedOutput, context); - case "PreconditionFailedException": - case "com.amazonaws.lambda#PreconditionFailedException": - throw await de_PreconditionFailedExceptionRes(parsedOutput, context); - case "ResourceConflictException": - case "com.amazonaws.lambda#ResourceConflictException": - throw await de_ResourceConflictExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -const de_AddPermissionCommand = async (output, context) => { - if (output.statusCode !== 201 && output.statusCode >= 300) { - return de_AddPermissionCommandError(output, context); - } - const contents = (0, smithy_client_1.map)({ - $metadata: deserializeMetadata(output), - }); - const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body"); - const doc = (0, smithy_client_1.take)(data, { - Statement: smithy_client_1.expectString, - }); - Object.assign(contents, doc); - return contents; -}; -exports.de_AddPermissionCommand = de_AddPermissionCommand; -const de_AddPermissionCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "PolicyLengthExceededException": - case "com.amazonaws.lambda#PolicyLengthExceededException": - throw await de_PolicyLengthExceededExceptionRes(parsedOutput, context); - case "PreconditionFailedException": - case "com.amazonaws.lambda#PreconditionFailedException": - throw await de_PreconditionFailedExceptionRes(parsedOutput, context); - case "ResourceConflictException": - case "com.amazonaws.lambda#ResourceConflictException": - throw await de_ResourceConflictExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -const de_CreateAliasCommand = async (output, context) => { - if (output.statusCode !== 201 && output.statusCode >= 300) { - return de_CreateAliasCommandError(output, context); - } - const contents = (0, smithy_client_1.map)({ - $metadata: deserializeMetadata(output), - }); - const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body"); - const doc = (0, smithy_client_1.take)(data, { - AliasArn: smithy_client_1.expectString, - Description: smithy_client_1.expectString, - FunctionVersion: smithy_client_1.expectString, - Name: smithy_client_1.expectString, - RevisionId: smithy_client_1.expectString, - RoutingConfig: (_) => de_AliasRoutingConfiguration(_, context), - }); - Object.assign(contents, doc); - return contents; -}; -exports.de_CreateAliasCommand = de_CreateAliasCommand; -const de_CreateAliasCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ResourceConflictException": - case "com.amazonaws.lambda#ResourceConflictException": - throw await de_ResourceConflictExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -const de_CreateCodeSigningConfigCommand = async (output, context) => { - if (output.statusCode !== 201 && output.statusCode >= 300) { - return de_CreateCodeSigningConfigCommandError(output, context); - } - const contents = (0, smithy_client_1.map)({ - $metadata: deserializeMetadata(output), - }); - const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body"); - const doc = (0, smithy_client_1.take)(data, { - CodeSigningConfig: smithy_client_1._json, - }); - Object.assign(contents, doc); - return contents; -}; -exports.de_CreateCodeSigningConfigCommand = de_CreateCodeSigningConfigCommand; -const de_CreateCodeSigningConfigCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -const de_CreateEventSourceMappingCommand = async (output, context) => { - if (output.statusCode !== 202 && output.statusCode >= 300) { - return de_CreateEventSourceMappingCommandError(output, context); - } - const contents = (0, smithy_client_1.map)({ - $metadata: deserializeMetadata(output), - }); - const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body"); - const doc = (0, smithy_client_1.take)(data, { - AmazonManagedKafkaEventSourceConfig: smithy_client_1._json, - BatchSize: smithy_client_1.expectInt32, - BisectBatchOnFunctionError: smithy_client_1.expectBoolean, - DestinationConfig: smithy_client_1._json, - DocumentDBEventSourceConfig: smithy_client_1._json, - EventSourceArn: smithy_client_1.expectString, - FilterCriteria: smithy_client_1._json, - FunctionArn: smithy_client_1.expectString, - FunctionResponseTypes: smithy_client_1._json, - LastModified: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), - LastProcessingResult: smithy_client_1.expectString, - MaximumBatchingWindowInSeconds: smithy_client_1.expectInt32, - MaximumRecordAgeInSeconds: smithy_client_1.expectInt32, - MaximumRetryAttempts: smithy_client_1.expectInt32, - ParallelizationFactor: smithy_client_1.expectInt32, - Queues: smithy_client_1._json, - ScalingConfig: smithy_client_1._json, - SelfManagedEventSource: smithy_client_1._json, - SelfManagedKafkaEventSourceConfig: smithy_client_1._json, - SourceAccessConfigurations: smithy_client_1._json, - StartingPosition: smithy_client_1.expectString, - StartingPositionTimestamp: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), - State: smithy_client_1.expectString, - StateTransitionReason: smithy_client_1.expectString, - Topics: smithy_client_1._json, - TumblingWindowInSeconds: smithy_client_1.expectInt32, - UUID: smithy_client_1.expectString, - }); - Object.assign(contents, doc); - return contents; -}; -exports.de_CreateEventSourceMappingCommand = de_CreateEventSourceMappingCommand; -const de_CreateEventSourceMappingCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ResourceConflictException": - case "com.amazonaws.lambda#ResourceConflictException": - throw await de_ResourceConflictExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -const de_CreateFunctionCommand = async (output, context) => { - if (output.statusCode !== 201 && output.statusCode >= 300) { - return de_CreateFunctionCommandError(output, context); - } - const contents = (0, smithy_client_1.map)({ - $metadata: deserializeMetadata(output), - }); - const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body"); - const doc = (0, smithy_client_1.take)(data, { - Architectures: smithy_client_1._json, - CodeSha256: smithy_client_1.expectString, - CodeSize: smithy_client_1.expectLong, - DeadLetterConfig: smithy_client_1._json, - Description: smithy_client_1.expectString, - Environment: smithy_client_1._json, - EphemeralStorage: smithy_client_1._json, - FileSystemConfigs: smithy_client_1._json, - FunctionArn: smithy_client_1.expectString, - FunctionName: smithy_client_1.expectString, - Handler: smithy_client_1.expectString, - ImageConfigResponse: smithy_client_1._json, - KMSKeyArn: smithy_client_1.expectString, - LastModified: smithy_client_1.expectString, - LastUpdateStatus: smithy_client_1.expectString, - LastUpdateStatusReason: smithy_client_1.expectString, - LastUpdateStatusReasonCode: smithy_client_1.expectString, - Layers: smithy_client_1._json, - LoggingConfig: smithy_client_1._json, - MasterArn: smithy_client_1.expectString, - MemorySize: smithy_client_1.expectInt32, - PackageType: smithy_client_1.expectString, - RevisionId: smithy_client_1.expectString, - Role: smithy_client_1.expectString, - Runtime: smithy_client_1.expectString, - RuntimeVersionConfig: smithy_client_1._json, - SigningJobArn: smithy_client_1.expectString, - SigningProfileVersionArn: smithy_client_1.expectString, - SnapStart: smithy_client_1._json, - State: smithy_client_1.expectString, - StateReason: smithy_client_1.expectString, - StateReasonCode: smithy_client_1.expectString, - Timeout: smithy_client_1.expectInt32, - TracingConfig: smithy_client_1._json, - Version: smithy_client_1.expectString, - VpcConfig: smithy_client_1._json, - }); - Object.assign(contents, doc); - return contents; -}; -exports.de_CreateFunctionCommand = de_CreateFunctionCommand; -const de_CreateFunctionCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "CodeSigningConfigNotFoundException": - case "com.amazonaws.lambda#CodeSigningConfigNotFoundException": - throw await de_CodeSigningConfigNotFoundExceptionRes(parsedOutput, context); - case "CodeStorageExceededException": - case "com.amazonaws.lambda#CodeStorageExceededException": - throw await de_CodeStorageExceededExceptionRes(parsedOutput, context); - case "CodeVerificationFailedException": - case "com.amazonaws.lambda#CodeVerificationFailedException": - throw await de_CodeVerificationFailedExceptionRes(parsedOutput, context); - case "InvalidCodeSignatureException": - case "com.amazonaws.lambda#InvalidCodeSignatureException": - throw await de_InvalidCodeSignatureExceptionRes(parsedOutput, context); - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ResourceConflictException": - case "com.amazonaws.lambda#ResourceConflictException": - throw await de_ResourceConflictExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -const de_CreateFunctionUrlConfigCommand = async (output, context) => { - if (output.statusCode !== 201 && output.statusCode >= 300) { - return de_CreateFunctionUrlConfigCommandError(output, context); - } - const contents = (0, smithy_client_1.map)({ - $metadata: deserializeMetadata(output), - }); - const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body"); - const doc = (0, smithy_client_1.take)(data, { - AuthType: smithy_client_1.expectString, - Cors: smithy_client_1._json, - CreationTime: smithy_client_1.expectString, - FunctionArn: smithy_client_1.expectString, - FunctionUrl: smithy_client_1.expectString, - InvokeMode: smithy_client_1.expectString, - }); - Object.assign(contents, doc); - return contents; -}; -exports.de_CreateFunctionUrlConfigCommand = de_CreateFunctionUrlConfigCommand; -const de_CreateFunctionUrlConfigCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ResourceConflictException": - case "com.amazonaws.lambda#ResourceConflictException": - throw await de_ResourceConflictExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -const de_DeleteAliasCommand = async (output, context) => { - if (output.statusCode !== 204 && output.statusCode >= 300) { - return de_DeleteAliasCommandError(output, context); - } - const contents = (0, smithy_client_1.map)({ - $metadata: deserializeMetadata(output), - }); - await (0, smithy_client_1.collectBody)(output.body, context); - return contents; -}; -exports.de_DeleteAliasCommand = de_DeleteAliasCommand; -const de_DeleteAliasCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ResourceConflictException": - case "com.amazonaws.lambda#ResourceConflictException": - throw await de_ResourceConflictExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -const de_DeleteCodeSigningConfigCommand = async (output, context) => { - if (output.statusCode !== 204 && output.statusCode >= 300) { - return de_DeleteCodeSigningConfigCommandError(output, context); - } - const contents = (0, smithy_client_1.map)({ - $metadata: deserializeMetadata(output), - }); - await (0, smithy_client_1.collectBody)(output.body, context); - return contents; -}; -exports.de_DeleteCodeSigningConfigCommand = de_DeleteCodeSigningConfigCommand; -const de_DeleteCodeSigningConfigCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ResourceConflictException": - case "com.amazonaws.lambda#ResourceConflictException": - throw await de_ResourceConflictExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -const de_DeleteEventSourceMappingCommand = async (output, context) => { - if (output.statusCode !== 202 && output.statusCode >= 300) { - return de_DeleteEventSourceMappingCommandError(output, context); - } - const contents = (0, smithy_client_1.map)({ - $metadata: deserializeMetadata(output), - }); - const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body"); - const doc = (0, smithy_client_1.take)(data, { - AmazonManagedKafkaEventSourceConfig: smithy_client_1._json, - BatchSize: smithy_client_1.expectInt32, - BisectBatchOnFunctionError: smithy_client_1.expectBoolean, - DestinationConfig: smithy_client_1._json, - DocumentDBEventSourceConfig: smithy_client_1._json, - EventSourceArn: smithy_client_1.expectString, - FilterCriteria: smithy_client_1._json, - FunctionArn: smithy_client_1.expectString, - FunctionResponseTypes: smithy_client_1._json, - LastModified: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), - LastProcessingResult: smithy_client_1.expectString, - MaximumBatchingWindowInSeconds: smithy_client_1.expectInt32, - MaximumRecordAgeInSeconds: smithy_client_1.expectInt32, - MaximumRetryAttempts: smithy_client_1.expectInt32, - ParallelizationFactor: smithy_client_1.expectInt32, - Queues: smithy_client_1._json, - ScalingConfig: smithy_client_1._json, - SelfManagedEventSource: smithy_client_1._json, - SelfManagedKafkaEventSourceConfig: smithy_client_1._json, - SourceAccessConfigurations: smithy_client_1._json, - StartingPosition: smithy_client_1.expectString, - StartingPositionTimestamp: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), - State: smithy_client_1.expectString, - StateTransitionReason: smithy_client_1.expectString, - Topics: smithy_client_1._json, - TumblingWindowInSeconds: smithy_client_1.expectInt32, - UUID: smithy_client_1.expectString, - }); - Object.assign(contents, doc); - return contents; -}; -exports.de_DeleteEventSourceMappingCommand = de_DeleteEventSourceMappingCommand; -const de_DeleteEventSourceMappingCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ResourceConflictException": - case "com.amazonaws.lambda#ResourceConflictException": - throw await de_ResourceConflictExceptionRes(parsedOutput, context); - case "ResourceInUseException": - case "com.amazonaws.lambda#ResourceInUseException": - throw await de_ResourceInUseExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -const de_DeleteFunctionCommand = async (output, context) => { - if (output.statusCode !== 204 && output.statusCode >= 300) { - return de_DeleteFunctionCommandError(output, context); - } - const contents = (0, smithy_client_1.map)({ - $metadata: deserializeMetadata(output), - }); - await (0, smithy_client_1.collectBody)(output.body, context); - return contents; -}; -exports.de_DeleteFunctionCommand = de_DeleteFunctionCommand; -const de_DeleteFunctionCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ResourceConflictException": - case "com.amazonaws.lambda#ResourceConflictException": - throw await de_ResourceConflictExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -const de_DeleteFunctionCodeSigningConfigCommand = async (output, context) => { - if (output.statusCode !== 204 && output.statusCode >= 300) { - return de_DeleteFunctionCodeSigningConfigCommandError(output, context); - } - const contents = (0, smithy_client_1.map)({ - $metadata: deserializeMetadata(output), - }); - await (0, smithy_client_1.collectBody)(output.body, context); - return contents; -}; -exports.de_DeleteFunctionCodeSigningConfigCommand = de_DeleteFunctionCodeSigningConfigCommand; -const de_DeleteFunctionCodeSigningConfigCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "CodeSigningConfigNotFoundException": - case "com.amazonaws.lambda#CodeSigningConfigNotFoundException": - throw await de_CodeSigningConfigNotFoundExceptionRes(parsedOutput, context); - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ResourceConflictException": - case "com.amazonaws.lambda#ResourceConflictException": - throw await de_ResourceConflictExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -const de_DeleteFunctionConcurrencyCommand = async (output, context) => { - if (output.statusCode !== 204 && output.statusCode >= 300) { - return de_DeleteFunctionConcurrencyCommandError(output, context); - } - const contents = (0, smithy_client_1.map)({ - $metadata: deserializeMetadata(output), - }); - await (0, smithy_client_1.collectBody)(output.body, context); - return contents; -}; -exports.de_DeleteFunctionConcurrencyCommand = de_DeleteFunctionConcurrencyCommand; -const de_DeleteFunctionConcurrencyCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ResourceConflictException": - case "com.amazonaws.lambda#ResourceConflictException": - throw await de_ResourceConflictExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -const de_DeleteFunctionEventInvokeConfigCommand = async (output, context) => { - if (output.statusCode !== 204 && output.statusCode >= 300) { - return de_DeleteFunctionEventInvokeConfigCommandError(output, context); - } - const contents = (0, smithy_client_1.map)({ - $metadata: deserializeMetadata(output), - }); - await (0, smithy_client_1.collectBody)(output.body, context); - return contents; -}; -exports.de_DeleteFunctionEventInvokeConfigCommand = de_DeleteFunctionEventInvokeConfigCommand; -const de_DeleteFunctionEventInvokeConfigCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ResourceConflictException": - case "com.amazonaws.lambda#ResourceConflictException": - throw await de_ResourceConflictExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -const de_DeleteFunctionUrlConfigCommand = async (output, context) => { - if (output.statusCode !== 204 && output.statusCode >= 300) { - return de_DeleteFunctionUrlConfigCommandError(output, context); - } - const contents = (0, smithy_client_1.map)({ - $metadata: deserializeMetadata(output), - }); - await (0, smithy_client_1.collectBody)(output.body, context); - return contents; -}; -exports.de_DeleteFunctionUrlConfigCommand = de_DeleteFunctionUrlConfigCommand; -const de_DeleteFunctionUrlConfigCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "ResourceConflictException": - case "com.amazonaws.lambda#ResourceConflictException": - throw await de_ResourceConflictExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -const de_DeleteLayerVersionCommand = async (output, context) => { - if (output.statusCode !== 204 && output.statusCode >= 300) { - return de_DeleteLayerVersionCommandError(output, context); - } - const contents = (0, smithy_client_1.map)({ - $metadata: deserializeMetadata(output), - }); - await (0, smithy_client_1.collectBody)(output.body, context); - return contents; -}; -exports.de_DeleteLayerVersionCommand = de_DeleteLayerVersionCommand; -const de_DeleteLayerVersionCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -const de_DeleteProvisionedConcurrencyConfigCommand = async (output, context) => { - if (output.statusCode !== 204 && output.statusCode >= 300) { - return de_DeleteProvisionedConcurrencyConfigCommandError(output, context); - } - const contents = (0, smithy_client_1.map)({ - $metadata: deserializeMetadata(output), - }); - await (0, smithy_client_1.collectBody)(output.body, context); - return contents; -}; -exports.de_DeleteProvisionedConcurrencyConfigCommand = de_DeleteProvisionedConcurrencyConfigCommand; -const de_DeleteProvisionedConcurrencyConfigCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ResourceConflictException": - case "com.amazonaws.lambda#ResourceConflictException": - throw await de_ResourceConflictExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -const de_GetAccountSettingsCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_GetAccountSettingsCommandError(output, context); - } - const contents = (0, smithy_client_1.map)({ - $metadata: deserializeMetadata(output), - }); - const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body"); - const doc = (0, smithy_client_1.take)(data, { - AccountLimit: smithy_client_1._json, - AccountUsage: smithy_client_1._json, - }); - Object.assign(contents, doc); - return contents; -}; -exports.de_GetAccountSettingsCommand = de_GetAccountSettingsCommand; -const de_GetAccountSettingsCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -const de_GetAliasCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_GetAliasCommandError(output, context); - } - const contents = (0, smithy_client_1.map)({ - $metadata: deserializeMetadata(output), - }); - const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body"); - const doc = (0, smithy_client_1.take)(data, { - AliasArn: smithy_client_1.expectString, - Description: smithy_client_1.expectString, - FunctionVersion: smithy_client_1.expectString, - Name: smithy_client_1.expectString, - RevisionId: smithy_client_1.expectString, - RoutingConfig: (_) => de_AliasRoutingConfiguration(_, context), - }); - Object.assign(contents, doc); - return contents; -}; -exports.de_GetAliasCommand = de_GetAliasCommand; -const de_GetAliasCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -const de_GetCodeSigningConfigCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_GetCodeSigningConfigCommandError(output, context); - } - const contents = (0, smithy_client_1.map)({ - $metadata: deserializeMetadata(output), - }); - const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body"); - const doc = (0, smithy_client_1.take)(data, { - CodeSigningConfig: smithy_client_1._json, - }); - Object.assign(contents, doc); - return contents; -}; -exports.de_GetCodeSigningConfigCommand = de_GetCodeSigningConfigCommand; -const de_GetCodeSigningConfigCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -const de_GetEventSourceMappingCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_GetEventSourceMappingCommandError(output, context); - } - const contents = (0, smithy_client_1.map)({ - $metadata: deserializeMetadata(output), - }); - const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body"); - const doc = (0, smithy_client_1.take)(data, { - AmazonManagedKafkaEventSourceConfig: smithy_client_1._json, - BatchSize: smithy_client_1.expectInt32, - BisectBatchOnFunctionError: smithy_client_1.expectBoolean, - DestinationConfig: smithy_client_1._json, - DocumentDBEventSourceConfig: smithy_client_1._json, - EventSourceArn: smithy_client_1.expectString, - FilterCriteria: smithy_client_1._json, - FunctionArn: smithy_client_1.expectString, - FunctionResponseTypes: smithy_client_1._json, - LastModified: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), - LastProcessingResult: smithy_client_1.expectString, - MaximumBatchingWindowInSeconds: smithy_client_1.expectInt32, - MaximumRecordAgeInSeconds: smithy_client_1.expectInt32, - MaximumRetryAttempts: smithy_client_1.expectInt32, - ParallelizationFactor: smithy_client_1.expectInt32, - Queues: smithy_client_1._json, - ScalingConfig: smithy_client_1._json, - SelfManagedEventSource: smithy_client_1._json, - SelfManagedKafkaEventSourceConfig: smithy_client_1._json, - SourceAccessConfigurations: smithy_client_1._json, - StartingPosition: smithy_client_1.expectString, - StartingPositionTimestamp: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), - State: smithy_client_1.expectString, - StateTransitionReason: smithy_client_1.expectString, - Topics: smithy_client_1._json, - TumblingWindowInSeconds: smithy_client_1.expectInt32, - UUID: smithy_client_1.expectString, - }); - Object.assign(contents, doc); - return contents; -}; -exports.de_GetEventSourceMappingCommand = de_GetEventSourceMappingCommand; -const de_GetEventSourceMappingCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -const de_GetFunctionCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_GetFunctionCommandError(output, context); - } - const contents = (0, smithy_client_1.map)({ - $metadata: deserializeMetadata(output), - }); - const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body"); - const doc = (0, smithy_client_1.take)(data, { - Code: smithy_client_1._json, - Concurrency: smithy_client_1._json, - Configuration: smithy_client_1._json, - Tags: smithy_client_1._json, - }); - Object.assign(contents, doc); - return contents; -}; -exports.de_GetFunctionCommand = de_GetFunctionCommand; -const de_GetFunctionCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -const de_GetFunctionCodeSigningConfigCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_GetFunctionCodeSigningConfigCommandError(output, context); - } - const contents = (0, smithy_client_1.map)({ - $metadata: deserializeMetadata(output), - }); - const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body"); - const doc = (0, smithy_client_1.take)(data, { - CodeSigningConfigArn: smithy_client_1.expectString, - FunctionName: smithy_client_1.expectString, - }); - Object.assign(contents, doc); - return contents; -}; -exports.de_GetFunctionCodeSigningConfigCommand = de_GetFunctionCodeSigningConfigCommand; -const de_GetFunctionCodeSigningConfigCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -const de_GetFunctionConcurrencyCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_GetFunctionConcurrencyCommandError(output, context); - } - const contents = (0, smithy_client_1.map)({ - $metadata: deserializeMetadata(output), - }); - const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body"); - const doc = (0, smithy_client_1.take)(data, { - ReservedConcurrentExecutions: smithy_client_1.expectInt32, - }); - Object.assign(contents, doc); - return contents; -}; -exports.de_GetFunctionConcurrencyCommand = de_GetFunctionConcurrencyCommand; -const de_GetFunctionConcurrencyCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -const de_GetFunctionConfigurationCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_GetFunctionConfigurationCommandError(output, context); - } - const contents = (0, smithy_client_1.map)({ - $metadata: deserializeMetadata(output), - }); - const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body"); - const doc = (0, smithy_client_1.take)(data, { - Architectures: smithy_client_1._json, - CodeSha256: smithy_client_1.expectString, - CodeSize: smithy_client_1.expectLong, - DeadLetterConfig: smithy_client_1._json, - Description: smithy_client_1.expectString, - Environment: smithy_client_1._json, - EphemeralStorage: smithy_client_1._json, - FileSystemConfigs: smithy_client_1._json, - FunctionArn: smithy_client_1.expectString, - FunctionName: smithy_client_1.expectString, - Handler: smithy_client_1.expectString, - ImageConfigResponse: smithy_client_1._json, - KMSKeyArn: smithy_client_1.expectString, - LastModified: smithy_client_1.expectString, - LastUpdateStatus: smithy_client_1.expectString, - LastUpdateStatusReason: smithy_client_1.expectString, - LastUpdateStatusReasonCode: smithy_client_1.expectString, - Layers: smithy_client_1._json, - LoggingConfig: smithy_client_1._json, - MasterArn: smithy_client_1.expectString, - MemorySize: smithy_client_1.expectInt32, - PackageType: smithy_client_1.expectString, - RevisionId: smithy_client_1.expectString, - Role: smithy_client_1.expectString, - Runtime: smithy_client_1.expectString, - RuntimeVersionConfig: smithy_client_1._json, - SigningJobArn: smithy_client_1.expectString, - SigningProfileVersionArn: smithy_client_1.expectString, - SnapStart: smithy_client_1._json, - State: smithy_client_1.expectString, - StateReason: smithy_client_1.expectString, - StateReasonCode: smithy_client_1.expectString, - Timeout: smithy_client_1.expectInt32, - TracingConfig: smithy_client_1._json, - Version: smithy_client_1.expectString, - VpcConfig: smithy_client_1._json, - }); - Object.assign(contents, doc); - return contents; -}; -exports.de_GetFunctionConfigurationCommand = de_GetFunctionConfigurationCommand; -const de_GetFunctionConfigurationCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -const de_GetFunctionEventInvokeConfigCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_GetFunctionEventInvokeConfigCommandError(output, context); - } - const contents = (0, smithy_client_1.map)({ - $metadata: deserializeMetadata(output), - }); - const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body"); - const doc = (0, smithy_client_1.take)(data, { - DestinationConfig: smithy_client_1._json, - FunctionArn: smithy_client_1.expectString, - LastModified: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), - MaximumEventAgeInSeconds: smithy_client_1.expectInt32, - MaximumRetryAttempts: smithy_client_1.expectInt32, - }); - Object.assign(contents, doc); - return contents; -}; -exports.de_GetFunctionEventInvokeConfigCommand = de_GetFunctionEventInvokeConfigCommand; -const de_GetFunctionEventInvokeConfigCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -const de_GetFunctionUrlConfigCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_GetFunctionUrlConfigCommandError(output, context); - } - const contents = (0, smithy_client_1.map)({ - $metadata: deserializeMetadata(output), - }); - const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body"); - const doc = (0, smithy_client_1.take)(data, { - AuthType: smithy_client_1.expectString, - Cors: smithy_client_1._json, - CreationTime: smithy_client_1.expectString, - FunctionArn: smithy_client_1.expectString, - FunctionUrl: smithy_client_1.expectString, - InvokeMode: smithy_client_1.expectString, - LastModifiedTime: smithy_client_1.expectString, - }); - Object.assign(contents, doc); - return contents; -}; -exports.de_GetFunctionUrlConfigCommand = de_GetFunctionUrlConfigCommand; -const de_GetFunctionUrlConfigCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -const de_GetLayerVersionCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_GetLayerVersionCommandError(output, context); - } - const contents = (0, smithy_client_1.map)({ - $metadata: deserializeMetadata(output), - }); - const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body"); - const doc = (0, smithy_client_1.take)(data, { - CompatibleArchitectures: smithy_client_1._json, - CompatibleRuntimes: smithy_client_1._json, - Content: smithy_client_1._json, - CreatedDate: smithy_client_1.expectString, - Description: smithy_client_1.expectString, - LayerArn: smithy_client_1.expectString, - LayerVersionArn: smithy_client_1.expectString, - LicenseInfo: smithy_client_1.expectString, - Version: smithy_client_1.expectLong, - }); - Object.assign(contents, doc); - return contents; -}; -exports.de_GetLayerVersionCommand = de_GetLayerVersionCommand; -const de_GetLayerVersionCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -const de_GetLayerVersionByArnCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_GetLayerVersionByArnCommandError(output, context); - } - const contents = (0, smithy_client_1.map)({ - $metadata: deserializeMetadata(output), - }); - const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body"); - const doc = (0, smithy_client_1.take)(data, { - CompatibleArchitectures: smithy_client_1._json, - CompatibleRuntimes: smithy_client_1._json, - Content: smithy_client_1._json, - CreatedDate: smithy_client_1.expectString, - Description: smithy_client_1.expectString, - LayerArn: smithy_client_1.expectString, - LayerVersionArn: smithy_client_1.expectString, - LicenseInfo: smithy_client_1.expectString, - Version: smithy_client_1.expectLong, - }); - Object.assign(contents, doc); - return contents; -}; -exports.de_GetLayerVersionByArnCommand = de_GetLayerVersionByArnCommand; -const de_GetLayerVersionByArnCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -const de_GetLayerVersionPolicyCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_GetLayerVersionPolicyCommandError(output, context); - } - const contents = (0, smithy_client_1.map)({ - $metadata: deserializeMetadata(output), - }); - const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body"); - const doc = (0, smithy_client_1.take)(data, { - Policy: smithy_client_1.expectString, - RevisionId: smithy_client_1.expectString, - }); - Object.assign(contents, doc); - return contents; -}; -exports.de_GetLayerVersionPolicyCommand = de_GetLayerVersionPolicyCommand; -const de_GetLayerVersionPolicyCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -const de_GetPolicyCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_GetPolicyCommandError(output, context); - } - const contents = (0, smithy_client_1.map)({ - $metadata: deserializeMetadata(output), - }); - const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body"); - const doc = (0, smithy_client_1.take)(data, { - Policy: smithy_client_1.expectString, - RevisionId: smithy_client_1.expectString, - }); - Object.assign(contents, doc); - return contents; -}; -exports.de_GetPolicyCommand = de_GetPolicyCommand; -const de_GetPolicyCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -const de_GetProvisionedConcurrencyConfigCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_GetProvisionedConcurrencyConfigCommandError(output, context); - } - const contents = (0, smithy_client_1.map)({ - $metadata: deserializeMetadata(output), - }); - const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body"); - const doc = (0, smithy_client_1.take)(data, { - AllocatedProvisionedConcurrentExecutions: smithy_client_1.expectInt32, - AvailableProvisionedConcurrentExecutions: smithy_client_1.expectInt32, - LastModified: smithy_client_1.expectString, - RequestedProvisionedConcurrentExecutions: smithy_client_1.expectInt32, - Status: smithy_client_1.expectString, - StatusReason: smithy_client_1.expectString, - }); - Object.assign(contents, doc); - return contents; -}; -exports.de_GetProvisionedConcurrencyConfigCommand = de_GetProvisionedConcurrencyConfigCommand; -const de_GetProvisionedConcurrencyConfigCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ProvisionedConcurrencyConfigNotFoundException": - case "com.amazonaws.lambda#ProvisionedConcurrencyConfigNotFoundException": - throw await de_ProvisionedConcurrencyConfigNotFoundExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -const de_GetRuntimeManagementConfigCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_GetRuntimeManagementConfigCommandError(output, context); - } - const contents = (0, smithy_client_1.map)({ - $metadata: deserializeMetadata(output), - }); - const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body"); - const doc = (0, smithy_client_1.take)(data, { - FunctionArn: smithy_client_1.expectString, - RuntimeVersionArn: smithy_client_1.expectString, - UpdateRuntimeOn: smithy_client_1.expectString, - }); - Object.assign(contents, doc); - return contents; -}; -exports.de_GetRuntimeManagementConfigCommand = de_GetRuntimeManagementConfigCommand; -const de_GetRuntimeManagementConfigCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -const de_InvokeCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_InvokeCommandError(output, context); - } - const contents = (0, smithy_client_1.map)({ - $metadata: deserializeMetadata(output), - FunctionError: [, output.headers["x-amz-function-error"]], - LogResult: [, output.headers["x-amz-log-result"]], - ExecutedVersion: [, output.headers["x-amz-executed-version"]], - }); - const data = await (0, smithy_client_1.collectBody)(output.body, context); - contents.Payload = data; - (0, smithy_client_1.map)(contents, { - StatusCode: [, output.statusCode], - }); - return contents; -}; -exports.de_InvokeCommand = de_InvokeCommand; -const de_InvokeCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "EC2AccessDeniedException": - case "com.amazonaws.lambda#EC2AccessDeniedException": - throw await de_EC2AccessDeniedExceptionRes(parsedOutput, context); - case "EC2ThrottledException": - case "com.amazonaws.lambda#EC2ThrottledException": - throw await de_EC2ThrottledExceptionRes(parsedOutput, context); - case "EC2UnexpectedException": - case "com.amazonaws.lambda#EC2UnexpectedException": - throw await de_EC2UnexpectedExceptionRes(parsedOutput, context); - case "EFSIOException": - case "com.amazonaws.lambda#EFSIOException": - throw await de_EFSIOExceptionRes(parsedOutput, context); - case "EFSMountConnectivityException": - case "com.amazonaws.lambda#EFSMountConnectivityException": - throw await de_EFSMountConnectivityExceptionRes(parsedOutput, context); - case "EFSMountFailureException": - case "com.amazonaws.lambda#EFSMountFailureException": - throw await de_EFSMountFailureExceptionRes(parsedOutput, context); - case "EFSMountTimeoutException": - case "com.amazonaws.lambda#EFSMountTimeoutException": - throw await de_EFSMountTimeoutExceptionRes(parsedOutput, context); - case "ENILimitReachedException": - case "com.amazonaws.lambda#ENILimitReachedException": - throw await de_ENILimitReachedExceptionRes(parsedOutput, context); - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "InvalidRequestContentException": - case "com.amazonaws.lambda#InvalidRequestContentException": - throw await de_InvalidRequestContentExceptionRes(parsedOutput, context); - case "InvalidRuntimeException": - case "com.amazonaws.lambda#InvalidRuntimeException": - throw await de_InvalidRuntimeExceptionRes(parsedOutput, context); - case "InvalidSecurityGroupIDException": - case "com.amazonaws.lambda#InvalidSecurityGroupIDException": - throw await de_InvalidSecurityGroupIDExceptionRes(parsedOutput, context); - case "InvalidSubnetIDException": - case "com.amazonaws.lambda#InvalidSubnetIDException": - throw await de_InvalidSubnetIDExceptionRes(parsedOutput, context); - case "InvalidZipFileException": - case "com.amazonaws.lambda#InvalidZipFileException": - throw await de_InvalidZipFileExceptionRes(parsedOutput, context); - case "KMSAccessDeniedException": - case "com.amazonaws.lambda#KMSAccessDeniedException": - throw await de_KMSAccessDeniedExceptionRes(parsedOutput, context); - case "KMSDisabledException": - case "com.amazonaws.lambda#KMSDisabledException": - throw await de_KMSDisabledExceptionRes(parsedOutput, context); - case "KMSInvalidStateException": - case "com.amazonaws.lambda#KMSInvalidStateException": - throw await de_KMSInvalidStateExceptionRes(parsedOutput, context); - case "KMSNotFoundException": - case "com.amazonaws.lambda#KMSNotFoundException": - throw await de_KMSNotFoundExceptionRes(parsedOutput, context); - case "RecursiveInvocationException": - case "com.amazonaws.lambda#RecursiveInvocationException": - throw await de_RecursiveInvocationExceptionRes(parsedOutput, context); - case "RequestTooLargeException": - case "com.amazonaws.lambda#RequestTooLargeException": - throw await de_RequestTooLargeExceptionRes(parsedOutput, context); - case "ResourceConflictException": - case "com.amazonaws.lambda#ResourceConflictException": - throw await de_ResourceConflictExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ResourceNotReadyException": - case "com.amazonaws.lambda#ResourceNotReadyException": - throw await de_ResourceNotReadyExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "SnapStartException": - case "com.amazonaws.lambda#SnapStartException": - throw await de_SnapStartExceptionRes(parsedOutput, context); - case "SnapStartNotReadyException": - case "com.amazonaws.lambda#SnapStartNotReadyException": - throw await de_SnapStartNotReadyExceptionRes(parsedOutput, context); - case "SnapStartTimeoutException": - case "com.amazonaws.lambda#SnapStartTimeoutException": - throw await de_SnapStartTimeoutExceptionRes(parsedOutput, context); - case "SubnetIPAddressLimitReachedException": - case "com.amazonaws.lambda#SubnetIPAddressLimitReachedException": - throw await de_SubnetIPAddressLimitReachedExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - case "UnsupportedMediaTypeException": - case "com.amazonaws.lambda#UnsupportedMediaTypeException": - throw await de_UnsupportedMediaTypeExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -const de_InvokeAsyncCommand = async (output, context) => { - if (output.statusCode !== 202 && output.statusCode >= 300) { - return de_InvokeAsyncCommandError(output, context); - } - const contents = (0, smithy_client_1.map)({ - $metadata: deserializeMetadata(output), - }); - (0, smithy_client_1.map)(contents, { - Status: [, output.statusCode], - }); - await (0, smithy_client_1.collectBody)(output.body, context); - return contents; -}; -exports.de_InvokeAsyncCommand = de_InvokeAsyncCommand; -const de_InvokeAsyncCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidRequestContentException": - case "com.amazonaws.lambda#InvalidRequestContentException": - throw await de_InvalidRequestContentExceptionRes(parsedOutput, context); - case "InvalidRuntimeException": - case "com.amazonaws.lambda#InvalidRuntimeException": - throw await de_InvalidRuntimeExceptionRes(parsedOutput, context); - case "ResourceConflictException": - case "com.amazonaws.lambda#ResourceConflictException": - throw await de_ResourceConflictExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -const de_InvokeWithResponseStreamCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_InvokeWithResponseStreamCommandError(output, context); - } - const contents = (0, smithy_client_1.map)({ - $metadata: deserializeMetadata(output), - ExecutedVersion: [, output.headers["x-amz-executed-version"]], - ResponseStreamContentType: [, output.headers["content-type"]], - }); - const data = output.body; - contents.EventStream = de_InvokeWithResponseStreamResponseEvent(data, context); - (0, smithy_client_1.map)(contents, { - StatusCode: [, output.statusCode], - }); - return contents; -}; -exports.de_InvokeWithResponseStreamCommand = de_InvokeWithResponseStreamCommand; -const de_InvokeWithResponseStreamCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "EC2AccessDeniedException": - case "com.amazonaws.lambda#EC2AccessDeniedException": - throw await de_EC2AccessDeniedExceptionRes(parsedOutput, context); - case "EC2ThrottledException": - case "com.amazonaws.lambda#EC2ThrottledException": - throw await de_EC2ThrottledExceptionRes(parsedOutput, context); - case "EC2UnexpectedException": - case "com.amazonaws.lambda#EC2UnexpectedException": - throw await de_EC2UnexpectedExceptionRes(parsedOutput, context); - case "EFSIOException": - case "com.amazonaws.lambda#EFSIOException": - throw await de_EFSIOExceptionRes(parsedOutput, context); - case "EFSMountConnectivityException": - case "com.amazonaws.lambda#EFSMountConnectivityException": - throw await de_EFSMountConnectivityExceptionRes(parsedOutput, context); - case "EFSMountFailureException": - case "com.amazonaws.lambda#EFSMountFailureException": - throw await de_EFSMountFailureExceptionRes(parsedOutput, context); - case "EFSMountTimeoutException": - case "com.amazonaws.lambda#EFSMountTimeoutException": - throw await de_EFSMountTimeoutExceptionRes(parsedOutput, context); - case "ENILimitReachedException": - case "com.amazonaws.lambda#ENILimitReachedException": - throw await de_ENILimitReachedExceptionRes(parsedOutput, context); - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "InvalidRequestContentException": - case "com.amazonaws.lambda#InvalidRequestContentException": - throw await de_InvalidRequestContentExceptionRes(parsedOutput, context); - case "InvalidRuntimeException": - case "com.amazonaws.lambda#InvalidRuntimeException": - throw await de_InvalidRuntimeExceptionRes(parsedOutput, context); - case "InvalidSecurityGroupIDException": - case "com.amazonaws.lambda#InvalidSecurityGroupIDException": - throw await de_InvalidSecurityGroupIDExceptionRes(parsedOutput, context); - case "InvalidSubnetIDException": - case "com.amazonaws.lambda#InvalidSubnetIDException": - throw await de_InvalidSubnetIDExceptionRes(parsedOutput, context); - case "InvalidZipFileException": - case "com.amazonaws.lambda#InvalidZipFileException": - throw await de_InvalidZipFileExceptionRes(parsedOutput, context); - case "KMSAccessDeniedException": - case "com.amazonaws.lambda#KMSAccessDeniedException": - throw await de_KMSAccessDeniedExceptionRes(parsedOutput, context); - case "KMSDisabledException": - case "com.amazonaws.lambda#KMSDisabledException": - throw await de_KMSDisabledExceptionRes(parsedOutput, context); - case "KMSInvalidStateException": - case "com.amazonaws.lambda#KMSInvalidStateException": - throw await de_KMSInvalidStateExceptionRes(parsedOutput, context); - case "KMSNotFoundException": - case "com.amazonaws.lambda#KMSNotFoundException": - throw await de_KMSNotFoundExceptionRes(parsedOutput, context); - case "RecursiveInvocationException": - case "com.amazonaws.lambda#RecursiveInvocationException": - throw await de_RecursiveInvocationExceptionRes(parsedOutput, context); - case "RequestTooLargeException": - case "com.amazonaws.lambda#RequestTooLargeException": - throw await de_RequestTooLargeExceptionRes(parsedOutput, context); - case "ResourceConflictException": - case "com.amazonaws.lambda#ResourceConflictException": - throw await de_ResourceConflictExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ResourceNotReadyException": - case "com.amazonaws.lambda#ResourceNotReadyException": - throw await de_ResourceNotReadyExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "SnapStartException": - case "com.amazonaws.lambda#SnapStartException": - throw await de_SnapStartExceptionRes(parsedOutput, context); - case "SnapStartNotReadyException": - case "com.amazonaws.lambda#SnapStartNotReadyException": - throw await de_SnapStartNotReadyExceptionRes(parsedOutput, context); - case "SnapStartTimeoutException": - case "com.amazonaws.lambda#SnapStartTimeoutException": - throw await de_SnapStartTimeoutExceptionRes(parsedOutput, context); - case "SubnetIPAddressLimitReachedException": - case "com.amazonaws.lambda#SubnetIPAddressLimitReachedException": - throw await de_SubnetIPAddressLimitReachedExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - case "UnsupportedMediaTypeException": - case "com.amazonaws.lambda#UnsupportedMediaTypeException": - throw await de_UnsupportedMediaTypeExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -const de_ListAliasesCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_ListAliasesCommandError(output, context); - } - const contents = (0, smithy_client_1.map)({ - $metadata: deserializeMetadata(output), - }); - const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body"); - const doc = (0, smithy_client_1.take)(data, { - Aliases: (_) => de_AliasList(_, context), - NextMarker: smithy_client_1.expectString, - }); - Object.assign(contents, doc); - return contents; -}; -exports.de_ListAliasesCommand = de_ListAliasesCommand; -const de_ListAliasesCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -const de_ListCodeSigningConfigsCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_ListCodeSigningConfigsCommandError(output, context); - } - const contents = (0, smithy_client_1.map)({ - $metadata: deserializeMetadata(output), - }); - const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body"); - const doc = (0, smithy_client_1.take)(data, { - CodeSigningConfigs: smithy_client_1._json, - NextMarker: smithy_client_1.expectString, - }); - Object.assign(contents, doc); - return contents; -}; -exports.de_ListCodeSigningConfigsCommand = de_ListCodeSigningConfigsCommand; -const de_ListCodeSigningConfigsCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -const de_ListEventSourceMappingsCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_ListEventSourceMappingsCommandError(output, context); - } - const contents = (0, smithy_client_1.map)({ - $metadata: deserializeMetadata(output), - }); - const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body"); - const doc = (0, smithy_client_1.take)(data, { - EventSourceMappings: (_) => de_EventSourceMappingsList(_, context), - NextMarker: smithy_client_1.expectString, - }); - Object.assign(contents, doc); - return contents; -}; -exports.de_ListEventSourceMappingsCommand = de_ListEventSourceMappingsCommand; -const de_ListEventSourceMappingsCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -const de_ListFunctionEventInvokeConfigsCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_ListFunctionEventInvokeConfigsCommandError(output, context); - } - const contents = (0, smithy_client_1.map)({ - $metadata: deserializeMetadata(output), - }); - const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body"); - const doc = (0, smithy_client_1.take)(data, { - FunctionEventInvokeConfigs: (_) => de_FunctionEventInvokeConfigList(_, context), - NextMarker: smithy_client_1.expectString, - }); - Object.assign(contents, doc); - return contents; -}; -exports.de_ListFunctionEventInvokeConfigsCommand = de_ListFunctionEventInvokeConfigsCommand; -const de_ListFunctionEventInvokeConfigsCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -const de_ListFunctionsCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_ListFunctionsCommandError(output, context); - } - const contents = (0, smithy_client_1.map)({ - $metadata: deserializeMetadata(output), - }); - const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body"); - const doc = (0, smithy_client_1.take)(data, { - Functions: smithy_client_1._json, - NextMarker: smithy_client_1.expectString, - }); - Object.assign(contents, doc); - return contents; -}; -exports.de_ListFunctionsCommand = de_ListFunctionsCommand; -const de_ListFunctionsCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -const de_ListFunctionsByCodeSigningConfigCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_ListFunctionsByCodeSigningConfigCommandError(output, context); - } - const contents = (0, smithy_client_1.map)({ - $metadata: deserializeMetadata(output), - }); - const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body"); - const doc = (0, smithy_client_1.take)(data, { - FunctionArns: smithy_client_1._json, - NextMarker: smithy_client_1.expectString, - }); - Object.assign(contents, doc); - return contents; -}; -exports.de_ListFunctionsByCodeSigningConfigCommand = de_ListFunctionsByCodeSigningConfigCommand; -const de_ListFunctionsByCodeSigningConfigCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -const de_ListFunctionUrlConfigsCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_ListFunctionUrlConfigsCommandError(output, context); - } - const contents = (0, smithy_client_1.map)({ - $metadata: deserializeMetadata(output), - }); - const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body"); - const doc = (0, smithy_client_1.take)(data, { - FunctionUrlConfigs: smithy_client_1._json, - NextMarker: smithy_client_1.expectString, - }); - Object.assign(contents, doc); - return contents; -}; -exports.de_ListFunctionUrlConfigsCommand = de_ListFunctionUrlConfigsCommand; -const de_ListFunctionUrlConfigsCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -const de_ListLayersCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_ListLayersCommandError(output, context); - } - const contents = (0, smithy_client_1.map)({ - $metadata: deserializeMetadata(output), - }); - const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body"); - const doc = (0, smithy_client_1.take)(data, { - Layers: smithy_client_1._json, - NextMarker: smithy_client_1.expectString, - }); - Object.assign(contents, doc); - return contents; -}; -exports.de_ListLayersCommand = de_ListLayersCommand; -const de_ListLayersCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -const de_ListLayerVersionsCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_ListLayerVersionsCommandError(output, context); - } - const contents = (0, smithy_client_1.map)({ - $metadata: deserializeMetadata(output), - }); - const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body"); - const doc = (0, smithy_client_1.take)(data, { - LayerVersions: smithy_client_1._json, - NextMarker: smithy_client_1.expectString, - }); - Object.assign(contents, doc); - return contents; -}; -exports.de_ListLayerVersionsCommand = de_ListLayerVersionsCommand; -const de_ListLayerVersionsCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -const de_ListProvisionedConcurrencyConfigsCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_ListProvisionedConcurrencyConfigsCommandError(output, context); - } - const contents = (0, smithy_client_1.map)({ - $metadata: deserializeMetadata(output), - }); - const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body"); - const doc = (0, smithy_client_1.take)(data, { - NextMarker: smithy_client_1.expectString, - ProvisionedConcurrencyConfigs: smithy_client_1._json, - }); - Object.assign(contents, doc); - return contents; -}; -exports.de_ListProvisionedConcurrencyConfigsCommand = de_ListProvisionedConcurrencyConfigsCommand; -const de_ListProvisionedConcurrencyConfigsCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -const de_ListTagsCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_ListTagsCommandError(output, context); - } - const contents = (0, smithy_client_1.map)({ - $metadata: deserializeMetadata(output), - }); - const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body"); - const doc = (0, smithy_client_1.take)(data, { - Tags: smithy_client_1._json, - }); - Object.assign(contents, doc); - return contents; -}; -exports.de_ListTagsCommand = de_ListTagsCommand; -const de_ListTagsCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -const de_ListVersionsByFunctionCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_ListVersionsByFunctionCommandError(output, context); - } - const contents = (0, smithy_client_1.map)({ - $metadata: deserializeMetadata(output), - }); - const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body"); - const doc = (0, smithy_client_1.take)(data, { - NextMarker: smithy_client_1.expectString, - Versions: smithy_client_1._json, - }); - Object.assign(contents, doc); - return contents; -}; -exports.de_ListVersionsByFunctionCommand = de_ListVersionsByFunctionCommand; -const de_ListVersionsByFunctionCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -const de_PublishLayerVersionCommand = async (output, context) => { - if (output.statusCode !== 201 && output.statusCode >= 300) { - return de_PublishLayerVersionCommandError(output, context); - } - const contents = (0, smithy_client_1.map)({ - $metadata: deserializeMetadata(output), - }); - const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body"); - const doc = (0, smithy_client_1.take)(data, { - CompatibleArchitectures: smithy_client_1._json, - CompatibleRuntimes: smithy_client_1._json, - Content: smithy_client_1._json, - CreatedDate: smithy_client_1.expectString, - Description: smithy_client_1.expectString, - LayerArn: smithy_client_1.expectString, - LayerVersionArn: smithy_client_1.expectString, - LicenseInfo: smithy_client_1.expectString, - Version: smithy_client_1.expectLong, - }); - Object.assign(contents, doc); - return contents; -}; -exports.de_PublishLayerVersionCommand = de_PublishLayerVersionCommand; -const de_PublishLayerVersionCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "CodeStorageExceededException": - case "com.amazonaws.lambda#CodeStorageExceededException": - throw await de_CodeStorageExceededExceptionRes(parsedOutput, context); - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -const de_PublishVersionCommand = async (output, context) => { - if (output.statusCode !== 201 && output.statusCode >= 300) { - return de_PublishVersionCommandError(output, context); - } - const contents = (0, smithy_client_1.map)({ - $metadata: deserializeMetadata(output), - }); - const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body"); - const doc = (0, smithy_client_1.take)(data, { - Architectures: smithy_client_1._json, - CodeSha256: smithy_client_1.expectString, - CodeSize: smithy_client_1.expectLong, - DeadLetterConfig: smithy_client_1._json, - Description: smithy_client_1.expectString, - Environment: smithy_client_1._json, - EphemeralStorage: smithy_client_1._json, - FileSystemConfigs: smithy_client_1._json, - FunctionArn: smithy_client_1.expectString, - FunctionName: smithy_client_1.expectString, - Handler: smithy_client_1.expectString, - ImageConfigResponse: smithy_client_1._json, - KMSKeyArn: smithy_client_1.expectString, - LastModified: smithy_client_1.expectString, - LastUpdateStatus: smithy_client_1.expectString, - LastUpdateStatusReason: smithy_client_1.expectString, - LastUpdateStatusReasonCode: smithy_client_1.expectString, - Layers: smithy_client_1._json, - LoggingConfig: smithy_client_1._json, - MasterArn: smithy_client_1.expectString, - MemorySize: smithy_client_1.expectInt32, - PackageType: smithy_client_1.expectString, - RevisionId: smithy_client_1.expectString, - Role: smithy_client_1.expectString, - Runtime: smithy_client_1.expectString, - RuntimeVersionConfig: smithy_client_1._json, - SigningJobArn: smithy_client_1.expectString, - SigningProfileVersionArn: smithy_client_1.expectString, - SnapStart: smithy_client_1._json, - State: smithy_client_1.expectString, - StateReason: smithy_client_1.expectString, - StateReasonCode: smithy_client_1.expectString, - Timeout: smithy_client_1.expectInt32, - TracingConfig: smithy_client_1._json, - Version: smithy_client_1.expectString, - VpcConfig: smithy_client_1._json, - }); - Object.assign(contents, doc); - return contents; -}; -exports.de_PublishVersionCommand = de_PublishVersionCommand; -const de_PublishVersionCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "CodeStorageExceededException": - case "com.amazonaws.lambda#CodeStorageExceededException": - throw await de_CodeStorageExceededExceptionRes(parsedOutput, context); - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "PreconditionFailedException": - case "com.amazonaws.lambda#PreconditionFailedException": - throw await de_PreconditionFailedExceptionRes(parsedOutput, context); - case "ResourceConflictException": - case "com.amazonaws.lambda#ResourceConflictException": - throw await de_ResourceConflictExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -const de_PutFunctionCodeSigningConfigCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_PutFunctionCodeSigningConfigCommandError(output, context); - } - const contents = (0, smithy_client_1.map)({ - $metadata: deserializeMetadata(output), - }); - const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body"); - const doc = (0, smithy_client_1.take)(data, { - CodeSigningConfigArn: smithy_client_1.expectString, - FunctionName: smithy_client_1.expectString, - }); - Object.assign(contents, doc); - return contents; -}; -exports.de_PutFunctionCodeSigningConfigCommand = de_PutFunctionCodeSigningConfigCommand; -const de_PutFunctionCodeSigningConfigCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "CodeSigningConfigNotFoundException": - case "com.amazonaws.lambda#CodeSigningConfigNotFoundException": - throw await de_CodeSigningConfigNotFoundExceptionRes(parsedOutput, context); - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ResourceConflictException": - case "com.amazonaws.lambda#ResourceConflictException": - throw await de_ResourceConflictExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -const de_PutFunctionConcurrencyCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_PutFunctionConcurrencyCommandError(output, context); - } - const contents = (0, smithy_client_1.map)({ - $metadata: deserializeMetadata(output), - }); - const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body"); - const doc = (0, smithy_client_1.take)(data, { - ReservedConcurrentExecutions: smithy_client_1.expectInt32, - }); - Object.assign(contents, doc); - return contents; -}; -exports.de_PutFunctionConcurrencyCommand = de_PutFunctionConcurrencyCommand; -const de_PutFunctionConcurrencyCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ResourceConflictException": - case "com.amazonaws.lambda#ResourceConflictException": - throw await de_ResourceConflictExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -const de_PutFunctionEventInvokeConfigCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_PutFunctionEventInvokeConfigCommandError(output, context); - } - const contents = (0, smithy_client_1.map)({ - $metadata: deserializeMetadata(output), - }); - const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body"); - const doc = (0, smithy_client_1.take)(data, { - DestinationConfig: smithy_client_1._json, - FunctionArn: smithy_client_1.expectString, - LastModified: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), - MaximumEventAgeInSeconds: smithy_client_1.expectInt32, - MaximumRetryAttempts: smithy_client_1.expectInt32, - }); - Object.assign(contents, doc); - return contents; -}; -exports.de_PutFunctionEventInvokeConfigCommand = de_PutFunctionEventInvokeConfigCommand; -const de_PutFunctionEventInvokeConfigCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ResourceConflictException": - case "com.amazonaws.lambda#ResourceConflictException": - throw await de_ResourceConflictExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -const de_PutProvisionedConcurrencyConfigCommand = async (output, context) => { - if (output.statusCode !== 202 && output.statusCode >= 300) { - return de_PutProvisionedConcurrencyConfigCommandError(output, context); - } - const contents = (0, smithy_client_1.map)({ - $metadata: deserializeMetadata(output), - }); - const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body"); - const doc = (0, smithy_client_1.take)(data, { - AllocatedProvisionedConcurrentExecutions: smithy_client_1.expectInt32, - AvailableProvisionedConcurrentExecutions: smithy_client_1.expectInt32, - LastModified: smithy_client_1.expectString, - RequestedProvisionedConcurrentExecutions: smithy_client_1.expectInt32, - Status: smithy_client_1.expectString, - StatusReason: smithy_client_1.expectString, - }); - Object.assign(contents, doc); - return contents; -}; -exports.de_PutProvisionedConcurrencyConfigCommand = de_PutProvisionedConcurrencyConfigCommand; -const de_PutProvisionedConcurrencyConfigCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ResourceConflictException": - case "com.amazonaws.lambda#ResourceConflictException": - throw await de_ResourceConflictExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -const de_PutRuntimeManagementConfigCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_PutRuntimeManagementConfigCommandError(output, context); - } - const contents = (0, smithy_client_1.map)({ - $metadata: deserializeMetadata(output), - }); - const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body"); - const doc = (0, smithy_client_1.take)(data, { - FunctionArn: smithy_client_1.expectString, - RuntimeVersionArn: smithy_client_1.expectString, - UpdateRuntimeOn: smithy_client_1.expectString, - }); - Object.assign(contents, doc); - return contents; -}; -exports.de_PutRuntimeManagementConfigCommand = de_PutRuntimeManagementConfigCommand; -const de_PutRuntimeManagementConfigCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ResourceConflictException": - case "com.amazonaws.lambda#ResourceConflictException": - throw await de_ResourceConflictExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -const de_RemoveLayerVersionPermissionCommand = async (output, context) => { - if (output.statusCode !== 204 && output.statusCode >= 300) { - return de_RemoveLayerVersionPermissionCommandError(output, context); - } - const contents = (0, smithy_client_1.map)({ - $metadata: deserializeMetadata(output), - }); - await (0, smithy_client_1.collectBody)(output.body, context); - return contents; -}; -exports.de_RemoveLayerVersionPermissionCommand = de_RemoveLayerVersionPermissionCommand; -const de_RemoveLayerVersionPermissionCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "PreconditionFailedException": - case "com.amazonaws.lambda#PreconditionFailedException": - throw await de_PreconditionFailedExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -const de_RemovePermissionCommand = async (output, context) => { - if (output.statusCode !== 204 && output.statusCode >= 300) { - return de_RemovePermissionCommandError(output, context); - } - const contents = (0, smithy_client_1.map)({ - $metadata: deserializeMetadata(output), - }); - await (0, smithy_client_1.collectBody)(output.body, context); - return contents; -}; -exports.de_RemovePermissionCommand = de_RemovePermissionCommand; -const de_RemovePermissionCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "PreconditionFailedException": - case "com.amazonaws.lambda#PreconditionFailedException": - throw await de_PreconditionFailedExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -const de_TagResourceCommand = async (output, context) => { - if (output.statusCode !== 204 && output.statusCode >= 300) { - return de_TagResourceCommandError(output, context); - } - const contents = (0, smithy_client_1.map)({ - $metadata: deserializeMetadata(output), - }); - await (0, smithy_client_1.collectBody)(output.body, context); - return contents; -}; -exports.de_TagResourceCommand = de_TagResourceCommand; -const de_TagResourceCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ResourceConflictException": - case "com.amazonaws.lambda#ResourceConflictException": - throw await de_ResourceConflictExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -const de_UntagResourceCommand = async (output, context) => { - if (output.statusCode !== 204 && output.statusCode >= 300) { - return de_UntagResourceCommandError(output, context); - } - const contents = (0, smithy_client_1.map)({ - $metadata: deserializeMetadata(output), - }); - await (0, smithy_client_1.collectBody)(output.body, context); - return contents; -}; -exports.de_UntagResourceCommand = de_UntagResourceCommand; -const de_UntagResourceCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ResourceConflictException": - case "com.amazonaws.lambda#ResourceConflictException": - throw await de_ResourceConflictExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -const de_UpdateAliasCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_UpdateAliasCommandError(output, context); - } - const contents = (0, smithy_client_1.map)({ - $metadata: deserializeMetadata(output), - }); - const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body"); - const doc = (0, smithy_client_1.take)(data, { - AliasArn: smithy_client_1.expectString, - Description: smithy_client_1.expectString, - FunctionVersion: smithy_client_1.expectString, - Name: smithy_client_1.expectString, - RevisionId: smithy_client_1.expectString, - RoutingConfig: (_) => de_AliasRoutingConfiguration(_, context), - }); - Object.assign(contents, doc); - return contents; -}; -exports.de_UpdateAliasCommand = de_UpdateAliasCommand; -const de_UpdateAliasCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "PreconditionFailedException": - case "com.amazonaws.lambda#PreconditionFailedException": - throw await de_PreconditionFailedExceptionRes(parsedOutput, context); - case "ResourceConflictException": - case "com.amazonaws.lambda#ResourceConflictException": - throw await de_ResourceConflictExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -const de_UpdateCodeSigningConfigCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_UpdateCodeSigningConfigCommandError(output, context); - } - const contents = (0, smithy_client_1.map)({ - $metadata: deserializeMetadata(output), - }); - const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body"); - const doc = (0, smithy_client_1.take)(data, { - CodeSigningConfig: smithy_client_1._json, - }); - Object.assign(contents, doc); - return contents; -}; -exports.de_UpdateCodeSigningConfigCommand = de_UpdateCodeSigningConfigCommand; -const de_UpdateCodeSigningConfigCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -const de_UpdateEventSourceMappingCommand = async (output, context) => { - if (output.statusCode !== 202 && output.statusCode >= 300) { - return de_UpdateEventSourceMappingCommandError(output, context); - } - const contents = (0, smithy_client_1.map)({ - $metadata: deserializeMetadata(output), - }); - const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body"); - const doc = (0, smithy_client_1.take)(data, { - AmazonManagedKafkaEventSourceConfig: smithy_client_1._json, - BatchSize: smithy_client_1.expectInt32, - BisectBatchOnFunctionError: smithy_client_1.expectBoolean, - DestinationConfig: smithy_client_1._json, - DocumentDBEventSourceConfig: smithy_client_1._json, - EventSourceArn: smithy_client_1.expectString, - FilterCriteria: smithy_client_1._json, - FunctionArn: smithy_client_1.expectString, - FunctionResponseTypes: smithy_client_1._json, - LastModified: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), - LastProcessingResult: smithy_client_1.expectString, - MaximumBatchingWindowInSeconds: smithy_client_1.expectInt32, - MaximumRecordAgeInSeconds: smithy_client_1.expectInt32, - MaximumRetryAttempts: smithy_client_1.expectInt32, - ParallelizationFactor: smithy_client_1.expectInt32, - Queues: smithy_client_1._json, - ScalingConfig: smithy_client_1._json, - SelfManagedEventSource: smithy_client_1._json, - SelfManagedKafkaEventSourceConfig: smithy_client_1._json, - SourceAccessConfigurations: smithy_client_1._json, - StartingPosition: smithy_client_1.expectString, - StartingPositionTimestamp: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), - State: smithy_client_1.expectString, - StateTransitionReason: smithy_client_1.expectString, - Topics: smithy_client_1._json, - TumblingWindowInSeconds: smithy_client_1.expectInt32, - UUID: smithy_client_1.expectString, - }); - Object.assign(contents, doc); - return contents; -}; -exports.de_UpdateEventSourceMappingCommand = de_UpdateEventSourceMappingCommand; -const de_UpdateEventSourceMappingCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ResourceConflictException": - case "com.amazonaws.lambda#ResourceConflictException": - throw await de_ResourceConflictExceptionRes(parsedOutput, context); - case "ResourceInUseException": - case "com.amazonaws.lambda#ResourceInUseException": - throw await de_ResourceInUseExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -const de_UpdateFunctionCodeCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_UpdateFunctionCodeCommandError(output, context); - } - const contents = (0, smithy_client_1.map)({ - $metadata: deserializeMetadata(output), - }); - const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body"); - const doc = (0, smithy_client_1.take)(data, { - Architectures: smithy_client_1._json, - CodeSha256: smithy_client_1.expectString, - CodeSize: smithy_client_1.expectLong, - DeadLetterConfig: smithy_client_1._json, - Description: smithy_client_1.expectString, - Environment: smithy_client_1._json, - EphemeralStorage: smithy_client_1._json, - FileSystemConfigs: smithy_client_1._json, - FunctionArn: smithy_client_1.expectString, - FunctionName: smithy_client_1.expectString, - Handler: smithy_client_1.expectString, - ImageConfigResponse: smithy_client_1._json, - KMSKeyArn: smithy_client_1.expectString, - LastModified: smithy_client_1.expectString, - LastUpdateStatus: smithy_client_1.expectString, - LastUpdateStatusReason: smithy_client_1.expectString, - LastUpdateStatusReasonCode: smithy_client_1.expectString, - Layers: smithy_client_1._json, - LoggingConfig: smithy_client_1._json, - MasterArn: smithy_client_1.expectString, - MemorySize: smithy_client_1.expectInt32, - PackageType: smithy_client_1.expectString, - RevisionId: smithy_client_1.expectString, - Role: smithy_client_1.expectString, - Runtime: smithy_client_1.expectString, - RuntimeVersionConfig: smithy_client_1._json, - SigningJobArn: smithy_client_1.expectString, - SigningProfileVersionArn: smithy_client_1.expectString, - SnapStart: smithy_client_1._json, - State: smithy_client_1.expectString, - StateReason: smithy_client_1.expectString, - StateReasonCode: smithy_client_1.expectString, - Timeout: smithy_client_1.expectInt32, - TracingConfig: smithy_client_1._json, - Version: smithy_client_1.expectString, - VpcConfig: smithy_client_1._json, - }); - Object.assign(contents, doc); - return contents; -}; -exports.de_UpdateFunctionCodeCommand = de_UpdateFunctionCodeCommand; -const de_UpdateFunctionCodeCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "CodeSigningConfigNotFoundException": - case "com.amazonaws.lambda#CodeSigningConfigNotFoundException": - throw await de_CodeSigningConfigNotFoundExceptionRes(parsedOutput, context); - case "CodeStorageExceededException": - case "com.amazonaws.lambda#CodeStorageExceededException": - throw await de_CodeStorageExceededExceptionRes(parsedOutput, context); - case "CodeVerificationFailedException": - case "com.amazonaws.lambda#CodeVerificationFailedException": - throw await de_CodeVerificationFailedExceptionRes(parsedOutput, context); - case "InvalidCodeSignatureException": - case "com.amazonaws.lambda#InvalidCodeSignatureException": - throw await de_InvalidCodeSignatureExceptionRes(parsedOutput, context); - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "PreconditionFailedException": - case "com.amazonaws.lambda#PreconditionFailedException": - throw await de_PreconditionFailedExceptionRes(parsedOutput, context); - case "ResourceConflictException": - case "com.amazonaws.lambda#ResourceConflictException": - throw await de_ResourceConflictExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -const de_UpdateFunctionConfigurationCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_UpdateFunctionConfigurationCommandError(output, context); - } - const contents = (0, smithy_client_1.map)({ - $metadata: deserializeMetadata(output), - }); - const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body"); - const doc = (0, smithy_client_1.take)(data, { - Architectures: smithy_client_1._json, - CodeSha256: smithy_client_1.expectString, - CodeSize: smithy_client_1.expectLong, - DeadLetterConfig: smithy_client_1._json, - Description: smithy_client_1.expectString, - Environment: smithy_client_1._json, - EphemeralStorage: smithy_client_1._json, - FileSystemConfigs: smithy_client_1._json, - FunctionArn: smithy_client_1.expectString, - FunctionName: smithy_client_1.expectString, - Handler: smithy_client_1.expectString, - ImageConfigResponse: smithy_client_1._json, - KMSKeyArn: smithy_client_1.expectString, - LastModified: smithy_client_1.expectString, - LastUpdateStatus: smithy_client_1.expectString, - LastUpdateStatusReason: smithy_client_1.expectString, - LastUpdateStatusReasonCode: smithy_client_1.expectString, - Layers: smithy_client_1._json, - LoggingConfig: smithy_client_1._json, - MasterArn: smithy_client_1.expectString, - MemorySize: smithy_client_1.expectInt32, - PackageType: smithy_client_1.expectString, - RevisionId: smithy_client_1.expectString, - Role: smithy_client_1.expectString, - Runtime: smithy_client_1.expectString, - RuntimeVersionConfig: smithy_client_1._json, - SigningJobArn: smithy_client_1.expectString, - SigningProfileVersionArn: smithy_client_1.expectString, - SnapStart: smithy_client_1._json, - State: smithy_client_1.expectString, - StateReason: smithy_client_1.expectString, - StateReasonCode: smithy_client_1.expectString, - Timeout: smithy_client_1.expectInt32, - TracingConfig: smithy_client_1._json, - Version: smithy_client_1.expectString, - VpcConfig: smithy_client_1._json, - }); - Object.assign(contents, doc); - return contents; -}; -exports.de_UpdateFunctionConfigurationCommand = de_UpdateFunctionConfigurationCommand; -const de_UpdateFunctionConfigurationCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "CodeSigningConfigNotFoundException": - case "com.amazonaws.lambda#CodeSigningConfigNotFoundException": - throw await de_CodeSigningConfigNotFoundExceptionRes(parsedOutput, context); - case "CodeVerificationFailedException": - case "com.amazonaws.lambda#CodeVerificationFailedException": - throw await de_CodeVerificationFailedExceptionRes(parsedOutput, context); - case "InvalidCodeSignatureException": - case "com.amazonaws.lambda#InvalidCodeSignatureException": - throw await de_InvalidCodeSignatureExceptionRes(parsedOutput, context); - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "PreconditionFailedException": - case "com.amazonaws.lambda#PreconditionFailedException": - throw await de_PreconditionFailedExceptionRes(parsedOutput, context); - case "ResourceConflictException": - case "com.amazonaws.lambda#ResourceConflictException": - throw await de_ResourceConflictExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -const de_UpdateFunctionEventInvokeConfigCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_UpdateFunctionEventInvokeConfigCommandError(output, context); - } - const contents = (0, smithy_client_1.map)({ - $metadata: deserializeMetadata(output), - }); - const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body"); - const doc = (0, smithy_client_1.take)(data, { - DestinationConfig: smithy_client_1._json, - FunctionArn: smithy_client_1.expectString, - LastModified: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), - MaximumEventAgeInSeconds: smithy_client_1.expectInt32, - MaximumRetryAttempts: smithy_client_1.expectInt32, - }); - Object.assign(contents, doc); - return contents; -}; -exports.de_UpdateFunctionEventInvokeConfigCommand = de_UpdateFunctionEventInvokeConfigCommand; -const de_UpdateFunctionEventInvokeConfigCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ResourceConflictException": - case "com.amazonaws.lambda#ResourceConflictException": - throw await de_ResourceConflictExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -const de_UpdateFunctionUrlConfigCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_UpdateFunctionUrlConfigCommandError(output, context); - } - const contents = (0, smithy_client_1.map)({ - $metadata: deserializeMetadata(output), - }); - const data = (0, smithy_client_1.expectNonNull)((0, smithy_client_1.expectObject)(await parseBody(output.body, context)), "body"); - const doc = (0, smithy_client_1.take)(data, { - AuthType: smithy_client_1.expectString, - Cors: smithy_client_1._json, - CreationTime: smithy_client_1.expectString, - FunctionArn: smithy_client_1.expectString, - FunctionUrl: smithy_client_1.expectString, - InvokeMode: smithy_client_1.expectString, - LastModifiedTime: smithy_client_1.expectString, - }); - Object.assign(contents, doc); - return contents; -}; -exports.de_UpdateFunctionUrlConfigCommand = de_UpdateFunctionUrlConfigCommand; -const de_UpdateFunctionUrlConfigCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ResourceConflictException": - case "com.amazonaws.lambda#ResourceConflictException": - throw await de_ResourceConflictExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -const throwDefaultError = (0, smithy_client_1.withBaseException)(LambdaServiceException_1.LambdaServiceException); -const de_CodeSigningConfigNotFoundExceptionRes = async (parsedOutput, context) => { - const contents = (0, smithy_client_1.map)({}); - const data = parsedOutput.body; - const doc = (0, smithy_client_1.take)(data, { - Message: smithy_client_1.expectString, - Type: smithy_client_1.expectString, - }); - Object.assign(contents, doc); - const exception = new models_0_1.CodeSigningConfigNotFoundException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body); -}; -const de_CodeStorageExceededExceptionRes = async (parsedOutput, context) => { - const contents = (0, smithy_client_1.map)({}); - const data = parsedOutput.body; - const doc = (0, smithy_client_1.take)(data, { - Type: smithy_client_1.expectString, - message: smithy_client_1.expectString, - }); - Object.assign(contents, doc); - const exception = new models_0_1.CodeStorageExceededException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body); -}; -const de_CodeVerificationFailedExceptionRes = async (parsedOutput, context) => { - const contents = (0, smithy_client_1.map)({}); - const data = parsedOutput.body; - const doc = (0, smithy_client_1.take)(data, { - Message: smithy_client_1.expectString, - Type: smithy_client_1.expectString, - }); - Object.assign(contents, doc); - const exception = new models_0_1.CodeVerificationFailedException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body); -}; -const de_EC2AccessDeniedExceptionRes = async (parsedOutput, context) => { - const contents = (0, smithy_client_1.map)({}); - const data = parsedOutput.body; - const doc = (0, smithy_client_1.take)(data, { - Message: smithy_client_1.expectString, - Type: smithy_client_1.expectString, - }); - Object.assign(contents, doc); - const exception = new models_0_1.EC2AccessDeniedException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body); -}; -const de_EC2ThrottledExceptionRes = async (parsedOutput, context) => { - const contents = (0, smithy_client_1.map)({}); - const data = parsedOutput.body; - const doc = (0, smithy_client_1.take)(data, { - Message: smithy_client_1.expectString, - Type: smithy_client_1.expectString, - }); - Object.assign(contents, doc); - const exception = new models_0_1.EC2ThrottledException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body); -}; -const de_EC2UnexpectedExceptionRes = async (parsedOutput, context) => { - const contents = (0, smithy_client_1.map)({}); - const data = parsedOutput.body; - const doc = (0, smithy_client_1.take)(data, { - EC2ErrorCode: smithy_client_1.expectString, - Message: smithy_client_1.expectString, - Type: smithy_client_1.expectString, - }); - Object.assign(contents, doc); - const exception = new models_0_1.EC2UnexpectedException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body); -}; -const de_EFSIOExceptionRes = async (parsedOutput, context) => { - const contents = (0, smithy_client_1.map)({}); - const data = parsedOutput.body; - const doc = (0, smithy_client_1.take)(data, { - Message: smithy_client_1.expectString, - Type: smithy_client_1.expectString, - }); - Object.assign(contents, doc); - const exception = new models_0_1.EFSIOException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body); -}; -const de_EFSMountConnectivityExceptionRes = async (parsedOutput, context) => { - const contents = (0, smithy_client_1.map)({}); - const data = parsedOutput.body; - const doc = (0, smithy_client_1.take)(data, { - Message: smithy_client_1.expectString, - Type: smithy_client_1.expectString, - }); - Object.assign(contents, doc); - const exception = new models_0_1.EFSMountConnectivityException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body); -}; -const de_EFSMountFailureExceptionRes = async (parsedOutput, context) => { - const contents = (0, smithy_client_1.map)({}); - const data = parsedOutput.body; - const doc = (0, smithy_client_1.take)(data, { - Message: smithy_client_1.expectString, - Type: smithy_client_1.expectString, - }); - Object.assign(contents, doc); - const exception = new models_0_1.EFSMountFailureException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body); -}; -const de_EFSMountTimeoutExceptionRes = async (parsedOutput, context) => { - const contents = (0, smithy_client_1.map)({}); - const data = parsedOutput.body; - const doc = (0, smithy_client_1.take)(data, { - Message: smithy_client_1.expectString, - Type: smithy_client_1.expectString, - }); - Object.assign(contents, doc); - const exception = new models_0_1.EFSMountTimeoutException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body); -}; -const de_ENILimitReachedExceptionRes = async (parsedOutput, context) => { - const contents = (0, smithy_client_1.map)({}); - const data = parsedOutput.body; - const doc = (0, smithy_client_1.take)(data, { - Message: smithy_client_1.expectString, - Type: smithy_client_1.expectString, - }); - Object.assign(contents, doc); - const exception = new models_0_1.ENILimitReachedException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body); -}; -const de_InvalidCodeSignatureExceptionRes = async (parsedOutput, context) => { - const contents = (0, smithy_client_1.map)({}); - const data = parsedOutput.body; - const doc = (0, smithy_client_1.take)(data, { - Message: smithy_client_1.expectString, - Type: smithy_client_1.expectString, - }); - Object.assign(contents, doc); - const exception = new models_0_1.InvalidCodeSignatureException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body); -}; -const de_InvalidParameterValueExceptionRes = async (parsedOutput, context) => { - const contents = (0, smithy_client_1.map)({}); - const data = parsedOutput.body; - const doc = (0, smithy_client_1.take)(data, { - Type: smithy_client_1.expectString, - message: smithy_client_1.expectString, - }); - Object.assign(contents, doc); - const exception = new models_0_1.InvalidParameterValueException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body); -}; -const de_InvalidRequestContentExceptionRes = async (parsedOutput, context) => { - const contents = (0, smithy_client_1.map)({}); - const data = parsedOutput.body; - const doc = (0, smithy_client_1.take)(data, { - Type: smithy_client_1.expectString, - message: smithy_client_1.expectString, - }); - Object.assign(contents, doc); - const exception = new models_0_1.InvalidRequestContentException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body); -}; -const de_InvalidRuntimeExceptionRes = async (parsedOutput, context) => { - const contents = (0, smithy_client_1.map)({}); - const data = parsedOutput.body; - const doc = (0, smithy_client_1.take)(data, { - Message: smithy_client_1.expectString, - Type: smithy_client_1.expectString, - }); - Object.assign(contents, doc); - const exception = new models_0_1.InvalidRuntimeException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body); -}; -const de_InvalidSecurityGroupIDExceptionRes = async (parsedOutput, context) => { - const contents = (0, smithy_client_1.map)({}); - const data = parsedOutput.body; - const doc = (0, smithy_client_1.take)(data, { - Message: smithy_client_1.expectString, - Type: smithy_client_1.expectString, - }); - Object.assign(contents, doc); - const exception = new models_0_1.InvalidSecurityGroupIDException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body); -}; -const de_InvalidSubnetIDExceptionRes = async (parsedOutput, context) => { - const contents = (0, smithy_client_1.map)({}); - const data = parsedOutput.body; - const doc = (0, smithy_client_1.take)(data, { - Message: smithy_client_1.expectString, - Type: smithy_client_1.expectString, - }); - Object.assign(contents, doc); - const exception = new models_0_1.InvalidSubnetIDException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body); -}; -const de_InvalidZipFileExceptionRes = async (parsedOutput, context) => { - const contents = (0, smithy_client_1.map)({}); - const data = parsedOutput.body; - const doc = (0, smithy_client_1.take)(data, { - Message: smithy_client_1.expectString, - Type: smithy_client_1.expectString, - }); - Object.assign(contents, doc); - const exception = new models_0_1.InvalidZipFileException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body); -}; -const de_KMSAccessDeniedExceptionRes = async (parsedOutput, context) => { - const contents = (0, smithy_client_1.map)({}); - const data = parsedOutput.body; - const doc = (0, smithy_client_1.take)(data, { - Message: smithy_client_1.expectString, - Type: smithy_client_1.expectString, - }); - Object.assign(contents, doc); - const exception = new models_0_1.KMSAccessDeniedException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body); -}; -const de_KMSDisabledExceptionRes = async (parsedOutput, context) => { - const contents = (0, smithy_client_1.map)({}); - const data = parsedOutput.body; - const doc = (0, smithy_client_1.take)(data, { - Message: smithy_client_1.expectString, - Type: smithy_client_1.expectString, - }); - Object.assign(contents, doc); - const exception = new models_0_1.KMSDisabledException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body); -}; -const de_KMSInvalidStateExceptionRes = async (parsedOutput, context) => { - const contents = (0, smithy_client_1.map)({}); - const data = parsedOutput.body; - const doc = (0, smithy_client_1.take)(data, { - Message: smithy_client_1.expectString, - Type: smithy_client_1.expectString, - }); - Object.assign(contents, doc); - const exception = new models_0_1.KMSInvalidStateException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body); -}; -const de_KMSNotFoundExceptionRes = async (parsedOutput, context) => { - const contents = (0, smithy_client_1.map)({}); - const data = parsedOutput.body; - const doc = (0, smithy_client_1.take)(data, { - Message: smithy_client_1.expectString, - Type: smithy_client_1.expectString, - }); - Object.assign(contents, doc); - const exception = new models_0_1.KMSNotFoundException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body); -}; -const de_PolicyLengthExceededExceptionRes = async (parsedOutput, context) => { - const contents = (0, smithy_client_1.map)({}); - const data = parsedOutput.body; - const doc = (0, smithy_client_1.take)(data, { - Type: smithy_client_1.expectString, - message: smithy_client_1.expectString, - }); - Object.assign(contents, doc); - const exception = new models_0_1.PolicyLengthExceededException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body); -}; -const de_PreconditionFailedExceptionRes = async (parsedOutput, context) => { - const contents = (0, smithy_client_1.map)({}); - const data = parsedOutput.body; - const doc = (0, smithy_client_1.take)(data, { - Type: smithy_client_1.expectString, - message: smithy_client_1.expectString, - }); - Object.assign(contents, doc); - const exception = new models_0_1.PreconditionFailedException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body); -}; -const de_ProvisionedConcurrencyConfigNotFoundExceptionRes = async (parsedOutput, context) => { - const contents = (0, smithy_client_1.map)({}); - const data = parsedOutput.body; - const doc = (0, smithy_client_1.take)(data, { - Type: smithy_client_1.expectString, - message: smithy_client_1.expectString, - }); - Object.assign(contents, doc); - const exception = new models_0_1.ProvisionedConcurrencyConfigNotFoundException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body); -}; -const de_RecursiveInvocationExceptionRes = async (parsedOutput, context) => { - const contents = (0, smithy_client_1.map)({}); - const data = parsedOutput.body; - const doc = (0, smithy_client_1.take)(data, { - Message: smithy_client_1.expectString, - Type: smithy_client_1.expectString, - }); - Object.assign(contents, doc); - const exception = new models_0_1.RecursiveInvocationException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body); -}; -const de_RequestTooLargeExceptionRes = async (parsedOutput, context) => { - const contents = (0, smithy_client_1.map)({}); - const data = parsedOutput.body; - const doc = (0, smithy_client_1.take)(data, { - Type: smithy_client_1.expectString, - message: smithy_client_1.expectString, - }); - Object.assign(contents, doc); - const exception = new models_0_1.RequestTooLargeException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body); -}; -const de_ResourceConflictExceptionRes = async (parsedOutput, context) => { - const contents = (0, smithy_client_1.map)({}); - const data = parsedOutput.body; - const doc = (0, smithy_client_1.take)(data, { - Type: smithy_client_1.expectString, - message: smithy_client_1.expectString, - }); - Object.assign(contents, doc); - const exception = new models_0_1.ResourceConflictException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body); -}; -const de_ResourceInUseExceptionRes = async (parsedOutput, context) => { - const contents = (0, smithy_client_1.map)({}); - const data = parsedOutput.body; - const doc = (0, smithy_client_1.take)(data, { - Message: smithy_client_1.expectString, - Type: smithy_client_1.expectString, - }); - Object.assign(contents, doc); - const exception = new models_0_1.ResourceInUseException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body); -}; -const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => { - const contents = (0, smithy_client_1.map)({}); - const data = parsedOutput.body; - const doc = (0, smithy_client_1.take)(data, { - Message: smithy_client_1.expectString, - Type: smithy_client_1.expectString, - }); - Object.assign(contents, doc); - const exception = new models_0_1.ResourceNotFoundException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body); -}; -const de_ResourceNotReadyExceptionRes = async (parsedOutput, context) => { - const contents = (0, smithy_client_1.map)({}); - const data = parsedOutput.body; - const doc = (0, smithy_client_1.take)(data, { - Type: smithy_client_1.expectString, - message: smithy_client_1.expectString, - }); - Object.assign(contents, doc); - const exception = new models_0_1.ResourceNotReadyException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body); -}; -const de_ServiceExceptionRes = async (parsedOutput, context) => { - const contents = (0, smithy_client_1.map)({}); - const data = parsedOutput.body; - const doc = (0, smithy_client_1.take)(data, { - Message: smithy_client_1.expectString, - Type: smithy_client_1.expectString, - }); - Object.assign(contents, doc); - const exception = new models_0_1.ServiceException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body); -}; -const de_SnapStartExceptionRes = async (parsedOutput, context) => { - const contents = (0, smithy_client_1.map)({}); - const data = parsedOutput.body; - const doc = (0, smithy_client_1.take)(data, { - Message: smithy_client_1.expectString, - Type: smithy_client_1.expectString, - }); - Object.assign(contents, doc); - const exception = new models_0_1.SnapStartException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body); -}; -const de_SnapStartNotReadyExceptionRes = async (parsedOutput, context) => { - const contents = (0, smithy_client_1.map)({}); - const data = parsedOutput.body; - const doc = (0, smithy_client_1.take)(data, { - Message: smithy_client_1.expectString, - Type: smithy_client_1.expectString, - }); - Object.assign(contents, doc); - const exception = new models_0_1.SnapStartNotReadyException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body); -}; -const de_SnapStartTimeoutExceptionRes = async (parsedOutput, context) => { - const contents = (0, smithy_client_1.map)({}); - const data = parsedOutput.body; - const doc = (0, smithy_client_1.take)(data, { - Message: smithy_client_1.expectString, - Type: smithy_client_1.expectString, - }); - Object.assign(contents, doc); - const exception = new models_0_1.SnapStartTimeoutException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body); -}; -const de_SubnetIPAddressLimitReachedExceptionRes = async (parsedOutput, context) => { - const contents = (0, smithy_client_1.map)({}); - const data = parsedOutput.body; - const doc = (0, smithy_client_1.take)(data, { - Message: smithy_client_1.expectString, - Type: smithy_client_1.expectString, - }); - Object.assign(contents, doc); - const exception = new models_0_1.SubnetIPAddressLimitReachedException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body); -}; -const de_TooManyRequestsExceptionRes = async (parsedOutput, context) => { - const contents = (0, smithy_client_1.map)({ - retryAfterSeconds: [, parsedOutput.headers["retry-after"]], - }); - const data = parsedOutput.body; - const doc = (0, smithy_client_1.take)(data, { - Reason: smithy_client_1.expectString, - Type: smithy_client_1.expectString, - message: smithy_client_1.expectString, - }); - Object.assign(contents, doc); - const exception = new models_0_1.TooManyRequestsException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body); -}; -const de_UnsupportedMediaTypeExceptionRes = async (parsedOutput, context) => { - const contents = (0, smithy_client_1.map)({}); - const data = parsedOutput.body; - const doc = (0, smithy_client_1.take)(data, { - Type: smithy_client_1.expectString, - message: smithy_client_1.expectString, - }); - Object.assign(contents, doc); - const exception = new models_0_1.UnsupportedMediaTypeException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return (0, smithy_client_1.decorateServiceException)(exception, parsedOutput.body); -}; -const de_InvokeWithResponseStreamResponseEvent = (output, context) => { - return context.eventStreamMarshaller.deserialize(output, async (event) => { - if (event["PayloadChunk"] != null) { - return { - PayloadChunk: await de_InvokeResponseStreamUpdate_event(event["PayloadChunk"], context), - }; - } - if (event["InvokeComplete"] != null) { - return { - InvokeComplete: await de_InvokeWithResponseStreamCompleteEvent_event(event["InvokeComplete"], context), - }; - } - return { $unknown: output }; - }); -}; -const de_InvokeResponseStreamUpdate_event = async (output, context) => { - const contents = {}; - contents.Payload = output.body; - return contents; -}; -const de_InvokeWithResponseStreamCompleteEvent_event = async (output, context) => { - const contents = {}; - const data = await parseBody(output.body, context); - Object.assign(contents, (0, smithy_client_1._json)(data)); - return contents; -}; -const se_AdditionalVersionWeights = (input, context) => { - return Object.entries(input).reduce((acc, [key, value]) => { - if (value === null) { - return acc; - } - acc[key] = (0, smithy_client_1.serializeFloat)(value); - return acc; - }, {}); -}; -const se_AliasRoutingConfiguration = (input, context) => { - return (0, smithy_client_1.take)(input, { - AdditionalVersionWeights: (_) => se_AdditionalVersionWeights(_, context), - }); -}; -const se_FunctionCode = (input, context) => { - return (0, smithy_client_1.take)(input, { - ImageUri: [], - S3Bucket: [], - S3Key: [], - S3ObjectVersion: [], - ZipFile: context.base64Encoder, - }); -}; -const se_LayerVersionContentInput = (input, context) => { - return (0, smithy_client_1.take)(input, { - S3Bucket: [], - S3Key: [], - S3ObjectVersion: [], - ZipFile: context.base64Encoder, - }); -}; -const de_AdditionalVersionWeights = (output, context) => { - return Object.entries(output).reduce((acc, [key, value]) => { - if (value === null) { - return acc; - } - acc[key] = (0, smithy_client_1.limitedParseDouble)(value); - return acc; - }, {}); -}; -const de_AliasConfiguration = (output, context) => { - return (0, smithy_client_1.take)(output, { - AliasArn: smithy_client_1.expectString, - Description: smithy_client_1.expectString, - FunctionVersion: smithy_client_1.expectString, - Name: smithy_client_1.expectString, - RevisionId: smithy_client_1.expectString, - RoutingConfig: (_) => de_AliasRoutingConfiguration(_, context), - }); -}; -const de_AliasList = (output, context) => { - const retVal = (output || []) - .filter((e) => e != null) - .map((entry) => { - return de_AliasConfiguration(entry, context); - }); - return retVal; -}; -const de_AliasRoutingConfiguration = (output, context) => { - return (0, smithy_client_1.take)(output, { - AdditionalVersionWeights: (_) => de_AdditionalVersionWeights(_, context), - }); -}; -const de_EventSourceMappingConfiguration = (output, context) => { - return (0, smithy_client_1.take)(output, { - AmazonManagedKafkaEventSourceConfig: smithy_client_1._json, - BatchSize: smithy_client_1.expectInt32, - BisectBatchOnFunctionError: smithy_client_1.expectBoolean, - DestinationConfig: smithy_client_1._json, - DocumentDBEventSourceConfig: smithy_client_1._json, - EventSourceArn: smithy_client_1.expectString, - FilterCriteria: smithy_client_1._json, - FunctionArn: smithy_client_1.expectString, - FunctionResponseTypes: smithy_client_1._json, - LastModified: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), - LastProcessingResult: smithy_client_1.expectString, - MaximumBatchingWindowInSeconds: smithy_client_1.expectInt32, - MaximumRecordAgeInSeconds: smithy_client_1.expectInt32, - MaximumRetryAttempts: smithy_client_1.expectInt32, - ParallelizationFactor: smithy_client_1.expectInt32, - Queues: smithy_client_1._json, - ScalingConfig: smithy_client_1._json, - SelfManagedEventSource: smithy_client_1._json, - SelfManagedKafkaEventSourceConfig: smithy_client_1._json, - SourceAccessConfigurations: smithy_client_1._json, - StartingPosition: smithy_client_1.expectString, - StartingPositionTimestamp: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), - State: smithy_client_1.expectString, - StateTransitionReason: smithy_client_1.expectString, - Topics: smithy_client_1._json, - TumblingWindowInSeconds: smithy_client_1.expectInt32, - UUID: smithy_client_1.expectString, - }); -}; -const de_EventSourceMappingsList = (output, context) => { - const retVal = (output || []) - .filter((e) => e != null) - .map((entry) => { - return de_EventSourceMappingConfiguration(entry, context); - }); - return retVal; -}; -const de_FunctionEventInvokeConfig = (output, context) => { - return (0, smithy_client_1.take)(output, { - DestinationConfig: smithy_client_1._json, - FunctionArn: smithy_client_1.expectString, - LastModified: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), - MaximumEventAgeInSeconds: smithy_client_1.expectInt32, - MaximumRetryAttempts: smithy_client_1.expectInt32, - }); -}; -const de_FunctionEventInvokeConfigList = (output, context) => { - const retVal = (output || []) - .filter((e) => e != null) - .map((entry) => { - return de_FunctionEventInvokeConfig(entry, context); - }); - return retVal; -}; -const deserializeMetadata = (output) => ({ - httpStatusCode: output.statusCode, - requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"], - extendedRequestId: output.headers["x-amz-id-2"], - cfId: output.headers["x-amz-cf-id"], -}); -const collectBodyString = (streamBody, context) => (0, smithy_client_1.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value) => value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); -const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => { - if (encoded.length) { - return JSON.parse(encoded); - } - return {}; -}); -const parseErrorBody = async (errorBody, context) => { - const value = await parseBody(errorBody, context); - value.message = value.message ?? value.Message; - return value; -}; -const loadRestJsonErrorCode = (output, data) => { - const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase()); - const sanitizeErrorCode = (rawValue) => { - let cleanValue = rawValue; - if (typeof cleanValue === "number") { - cleanValue = cleanValue.toString(); - } - if (cleanValue.indexOf(",") >= 0) { - cleanValue = cleanValue.split(",")[0]; - } - if (cleanValue.indexOf(":") >= 0) { - cleanValue = cleanValue.split(":")[0]; - } - if (cleanValue.indexOf("#") >= 0) { - cleanValue = cleanValue.split("#")[1]; - } - return cleanValue; - }; - const headerKey = findKey(output.headers, "x-amzn-errortype"); - if (headerKey !== undefined) { - return sanitizeErrorCode(output.headers[headerKey]); - } - if (data.code !== undefined) { - return sanitizeErrorCode(data.code); - } - if (data["__type"] !== undefined) { - return sanitizeErrorCode(data["__type"]); - } -}; diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/waiters/index.js b/node_modules/@aws-sdk/client-lambda/dist-cjs/waiters/index.js deleted file mode 100644 index 57592dfb..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-cjs/waiters/index.js +++ /dev/null @@ -1,9 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const tslib_1 = require("tslib"); -tslib_1.__exportStar(require("./waitForFunctionActive"), exports); -tslib_1.__exportStar(require("./waitForFunctionActiveV2"), exports); -tslib_1.__exportStar(require("./waitForFunctionExists"), exports); -tslib_1.__exportStar(require("./waitForFunctionUpdated"), exports); -tslib_1.__exportStar(require("./waitForFunctionUpdatedV2"), exports); -tslib_1.__exportStar(require("./waitForPublishedVersionActive"), exports); diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/waiters/waitForFunctionActive.js b/node_modules/@aws-sdk/client-lambda/dist-cjs/waiters/waitForFunctionActive.js deleted file mode 100644 index 35300151..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-cjs/waiters/waitForFunctionActive.js +++ /dev/null @@ -1,54 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.waitUntilFunctionActive = exports.waitForFunctionActive = void 0; -const util_waiter_1 = require("@smithy/util-waiter"); -const GetFunctionConfigurationCommand_1 = require("../commands/GetFunctionConfigurationCommand"); -const checkState = async (client, input) => { - let reason; - try { - const result = await client.send(new GetFunctionConfigurationCommand_1.GetFunctionConfigurationCommand(input)); - reason = result; - try { - const returnComparator = () => { - return result.State; - }; - if (returnComparator() === "Active") { - return { state: util_waiter_1.WaiterState.SUCCESS, reason }; - } - } - catch (e) { } - try { - const returnComparator = () => { - return result.State; - }; - if (returnComparator() === "Failed") { - return { state: util_waiter_1.WaiterState.FAILURE, reason }; - } - } - catch (e) { } - try { - const returnComparator = () => { - return result.State; - }; - if (returnComparator() === "Pending") { - return { state: util_waiter_1.WaiterState.RETRY, reason }; - } - } - catch (e) { } - } - catch (exception) { - reason = exception; - } - return { state: util_waiter_1.WaiterState.RETRY, reason }; -}; -const waitForFunctionActive = async (params, input) => { - const serviceDefaults = { minDelay: 5, maxDelay: 120 }; - return (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState); -}; -exports.waitForFunctionActive = waitForFunctionActive; -const waitUntilFunctionActive = async (params, input) => { - const serviceDefaults = { minDelay: 5, maxDelay: 120 }; - const result = await (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState); - return (0, util_waiter_1.checkExceptions)(result); -}; -exports.waitUntilFunctionActive = waitUntilFunctionActive; diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/waiters/waitForFunctionActiveV2.js b/node_modules/@aws-sdk/client-lambda/dist-cjs/waiters/waitForFunctionActiveV2.js deleted file mode 100644 index 54c8bd09..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-cjs/waiters/waitForFunctionActiveV2.js +++ /dev/null @@ -1,54 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.waitUntilFunctionActiveV2 = exports.waitForFunctionActiveV2 = void 0; -const util_waiter_1 = require("@smithy/util-waiter"); -const GetFunctionCommand_1 = require("../commands/GetFunctionCommand"); -const checkState = async (client, input) => { - let reason; - try { - const result = await client.send(new GetFunctionCommand_1.GetFunctionCommand(input)); - reason = result; - try { - const returnComparator = () => { - return result.Configuration.State; - }; - if (returnComparator() === "Active") { - return { state: util_waiter_1.WaiterState.SUCCESS, reason }; - } - } - catch (e) { } - try { - const returnComparator = () => { - return result.Configuration.State; - }; - if (returnComparator() === "Failed") { - return { state: util_waiter_1.WaiterState.FAILURE, reason }; - } - } - catch (e) { } - try { - const returnComparator = () => { - return result.Configuration.State; - }; - if (returnComparator() === "Pending") { - return { state: util_waiter_1.WaiterState.RETRY, reason }; - } - } - catch (e) { } - } - catch (exception) { - reason = exception; - } - return { state: util_waiter_1.WaiterState.RETRY, reason }; -}; -const waitForFunctionActiveV2 = async (params, input) => { - const serviceDefaults = { minDelay: 1, maxDelay: 120 }; - return (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState); -}; -exports.waitForFunctionActiveV2 = waitForFunctionActiveV2; -const waitUntilFunctionActiveV2 = async (params, input) => { - const serviceDefaults = { minDelay: 1, maxDelay: 120 }; - const result = await (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState); - return (0, util_waiter_1.checkExceptions)(result); -}; -exports.waitUntilFunctionActiveV2 = waitUntilFunctionActiveV2; diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/waiters/waitForFunctionExists.js b/node_modules/@aws-sdk/client-lambda/dist-cjs/waiters/waitForFunctionExists.js deleted file mode 100644 index f974ef51..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-cjs/waiters/waitForFunctionExists.js +++ /dev/null @@ -1,31 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.waitUntilFunctionExists = exports.waitForFunctionExists = void 0; -const util_waiter_1 = require("@smithy/util-waiter"); -const GetFunctionCommand_1 = require("../commands/GetFunctionCommand"); -const checkState = async (client, input) => { - let reason; - try { - const result = await client.send(new GetFunctionCommand_1.GetFunctionCommand(input)); - reason = result; - return { state: util_waiter_1.WaiterState.SUCCESS, reason }; - } - catch (exception) { - reason = exception; - if (exception.name && exception.name == "ResourceNotFoundException") { - return { state: util_waiter_1.WaiterState.RETRY, reason }; - } - } - return { state: util_waiter_1.WaiterState.RETRY, reason }; -}; -const waitForFunctionExists = async (params, input) => { - const serviceDefaults = { minDelay: 1, maxDelay: 120 }; - return (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState); -}; -exports.waitForFunctionExists = waitForFunctionExists; -const waitUntilFunctionExists = async (params, input) => { - const serviceDefaults = { minDelay: 1, maxDelay: 120 }; - const result = await (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState); - return (0, util_waiter_1.checkExceptions)(result); -}; -exports.waitUntilFunctionExists = waitUntilFunctionExists; diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/waiters/waitForFunctionUpdated.js b/node_modules/@aws-sdk/client-lambda/dist-cjs/waiters/waitForFunctionUpdated.js deleted file mode 100644 index c354a599..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-cjs/waiters/waitForFunctionUpdated.js +++ /dev/null @@ -1,54 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.waitUntilFunctionUpdated = exports.waitForFunctionUpdated = void 0; -const util_waiter_1 = require("@smithy/util-waiter"); -const GetFunctionConfigurationCommand_1 = require("../commands/GetFunctionConfigurationCommand"); -const checkState = async (client, input) => { - let reason; - try { - const result = await client.send(new GetFunctionConfigurationCommand_1.GetFunctionConfigurationCommand(input)); - reason = result; - try { - const returnComparator = () => { - return result.LastUpdateStatus; - }; - if (returnComparator() === "Successful") { - return { state: util_waiter_1.WaiterState.SUCCESS, reason }; - } - } - catch (e) { } - try { - const returnComparator = () => { - return result.LastUpdateStatus; - }; - if (returnComparator() === "Failed") { - return { state: util_waiter_1.WaiterState.FAILURE, reason }; - } - } - catch (e) { } - try { - const returnComparator = () => { - return result.LastUpdateStatus; - }; - if (returnComparator() === "InProgress") { - return { state: util_waiter_1.WaiterState.RETRY, reason }; - } - } - catch (e) { } - } - catch (exception) { - reason = exception; - } - return { state: util_waiter_1.WaiterState.RETRY, reason }; -}; -const waitForFunctionUpdated = async (params, input) => { - const serviceDefaults = { minDelay: 5, maxDelay: 120 }; - return (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState); -}; -exports.waitForFunctionUpdated = waitForFunctionUpdated; -const waitUntilFunctionUpdated = async (params, input) => { - const serviceDefaults = { minDelay: 5, maxDelay: 120 }; - const result = await (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState); - return (0, util_waiter_1.checkExceptions)(result); -}; -exports.waitUntilFunctionUpdated = waitUntilFunctionUpdated; diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/waiters/waitForFunctionUpdatedV2.js b/node_modules/@aws-sdk/client-lambda/dist-cjs/waiters/waitForFunctionUpdatedV2.js deleted file mode 100644 index 64c13651..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-cjs/waiters/waitForFunctionUpdatedV2.js +++ /dev/null @@ -1,54 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.waitUntilFunctionUpdatedV2 = exports.waitForFunctionUpdatedV2 = void 0; -const util_waiter_1 = require("@smithy/util-waiter"); -const GetFunctionCommand_1 = require("../commands/GetFunctionCommand"); -const checkState = async (client, input) => { - let reason; - try { - const result = await client.send(new GetFunctionCommand_1.GetFunctionCommand(input)); - reason = result; - try { - const returnComparator = () => { - return result.Configuration.LastUpdateStatus; - }; - if (returnComparator() === "Successful") { - return { state: util_waiter_1.WaiterState.SUCCESS, reason }; - } - } - catch (e) { } - try { - const returnComparator = () => { - return result.Configuration.LastUpdateStatus; - }; - if (returnComparator() === "Failed") { - return { state: util_waiter_1.WaiterState.FAILURE, reason }; - } - } - catch (e) { } - try { - const returnComparator = () => { - return result.Configuration.LastUpdateStatus; - }; - if (returnComparator() === "InProgress") { - return { state: util_waiter_1.WaiterState.RETRY, reason }; - } - } - catch (e) { } - } - catch (exception) { - reason = exception; - } - return { state: util_waiter_1.WaiterState.RETRY, reason }; -}; -const waitForFunctionUpdatedV2 = async (params, input) => { - const serviceDefaults = { minDelay: 1, maxDelay: 120 }; - return (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState); -}; -exports.waitForFunctionUpdatedV2 = waitForFunctionUpdatedV2; -const waitUntilFunctionUpdatedV2 = async (params, input) => { - const serviceDefaults = { minDelay: 1, maxDelay: 120 }; - const result = await (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState); - return (0, util_waiter_1.checkExceptions)(result); -}; -exports.waitUntilFunctionUpdatedV2 = waitUntilFunctionUpdatedV2; diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/waiters/waitForPublishedVersionActive.js b/node_modules/@aws-sdk/client-lambda/dist-cjs/waiters/waitForPublishedVersionActive.js deleted file mode 100644 index 4ebb8675..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-cjs/waiters/waitForPublishedVersionActive.js +++ /dev/null @@ -1,54 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.waitUntilPublishedVersionActive = exports.waitForPublishedVersionActive = void 0; -const util_waiter_1 = require("@smithy/util-waiter"); -const GetFunctionConfigurationCommand_1 = require("../commands/GetFunctionConfigurationCommand"); -const checkState = async (client, input) => { - let reason; - try { - const result = await client.send(new GetFunctionConfigurationCommand_1.GetFunctionConfigurationCommand(input)); - reason = result; - try { - const returnComparator = () => { - return result.State; - }; - if (returnComparator() === "Active") { - return { state: util_waiter_1.WaiterState.SUCCESS, reason }; - } - } - catch (e) { } - try { - const returnComparator = () => { - return result.State; - }; - if (returnComparator() === "Failed") { - return { state: util_waiter_1.WaiterState.FAILURE, reason }; - } - } - catch (e) { } - try { - const returnComparator = () => { - return result.State; - }; - if (returnComparator() === "Pending") { - return { state: util_waiter_1.WaiterState.RETRY, reason }; - } - } - catch (e) { } - } - catch (exception) { - reason = exception; - } - return { state: util_waiter_1.WaiterState.RETRY, reason }; -}; -const waitForPublishedVersionActive = async (params, input) => { - const serviceDefaults = { minDelay: 5, maxDelay: 120 }; - return (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState); -}; -exports.waitForPublishedVersionActive = waitForPublishedVersionActive; -const waitUntilPublishedVersionActive = async (params, input) => { - const serviceDefaults = { minDelay: 5, maxDelay: 120 }; - const result = await (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState); - return (0, util_waiter_1.checkExceptions)(result); -}; -exports.waitUntilPublishedVersionActive = waitUntilPublishedVersionActive; diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/Lambda.js b/node_modules/@aws-sdk/client-lambda/dist-es/Lambda.js deleted file mode 100644 index 02a06f51..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-es/Lambda.js +++ /dev/null @@ -1,139 +0,0 @@ -import { createAggregatedClient } from "@smithy/smithy-client"; -import { AddLayerVersionPermissionCommand, } from "./commands/AddLayerVersionPermissionCommand"; -import { AddPermissionCommand, } from "./commands/AddPermissionCommand"; -import { CreateAliasCommand } from "./commands/CreateAliasCommand"; -import { CreateCodeSigningConfigCommand, } from "./commands/CreateCodeSigningConfigCommand"; -import { CreateEventSourceMappingCommand, } from "./commands/CreateEventSourceMappingCommand"; -import { CreateFunctionCommand, } from "./commands/CreateFunctionCommand"; -import { CreateFunctionUrlConfigCommand, } from "./commands/CreateFunctionUrlConfigCommand"; -import { DeleteAliasCommand } from "./commands/DeleteAliasCommand"; -import { DeleteCodeSigningConfigCommand, } from "./commands/DeleteCodeSigningConfigCommand"; -import { DeleteEventSourceMappingCommand, } from "./commands/DeleteEventSourceMappingCommand"; -import { DeleteFunctionCodeSigningConfigCommand, } from "./commands/DeleteFunctionCodeSigningConfigCommand"; -import { DeleteFunctionCommand, } from "./commands/DeleteFunctionCommand"; -import { DeleteFunctionConcurrencyCommand, } from "./commands/DeleteFunctionConcurrencyCommand"; -import { DeleteFunctionEventInvokeConfigCommand, } from "./commands/DeleteFunctionEventInvokeConfigCommand"; -import { DeleteFunctionUrlConfigCommand, } from "./commands/DeleteFunctionUrlConfigCommand"; -import { DeleteLayerVersionCommand, } from "./commands/DeleteLayerVersionCommand"; -import { DeleteProvisionedConcurrencyConfigCommand, } from "./commands/DeleteProvisionedConcurrencyConfigCommand"; -import { GetAccountSettingsCommand, } from "./commands/GetAccountSettingsCommand"; -import { GetAliasCommand } from "./commands/GetAliasCommand"; -import { GetCodeSigningConfigCommand, } from "./commands/GetCodeSigningConfigCommand"; -import { GetEventSourceMappingCommand, } from "./commands/GetEventSourceMappingCommand"; -import { GetFunctionCodeSigningConfigCommand, } from "./commands/GetFunctionCodeSigningConfigCommand"; -import { GetFunctionCommand } from "./commands/GetFunctionCommand"; -import { GetFunctionConcurrencyCommand, } from "./commands/GetFunctionConcurrencyCommand"; -import { GetFunctionConfigurationCommand, } from "./commands/GetFunctionConfigurationCommand"; -import { GetFunctionEventInvokeConfigCommand, } from "./commands/GetFunctionEventInvokeConfigCommand"; -import { GetFunctionUrlConfigCommand, } from "./commands/GetFunctionUrlConfigCommand"; -import { GetLayerVersionByArnCommand, } from "./commands/GetLayerVersionByArnCommand"; -import { GetLayerVersionCommand, } from "./commands/GetLayerVersionCommand"; -import { GetLayerVersionPolicyCommand, } from "./commands/GetLayerVersionPolicyCommand"; -import { GetPolicyCommand } from "./commands/GetPolicyCommand"; -import { GetProvisionedConcurrencyConfigCommand, } from "./commands/GetProvisionedConcurrencyConfigCommand"; -import { GetRuntimeManagementConfigCommand, } from "./commands/GetRuntimeManagementConfigCommand"; -import { InvokeAsyncCommand } from "./commands/InvokeAsyncCommand"; -import { InvokeCommand } from "./commands/InvokeCommand"; -import { InvokeWithResponseStreamCommand, } from "./commands/InvokeWithResponseStreamCommand"; -import { ListAliasesCommand } from "./commands/ListAliasesCommand"; -import { ListCodeSigningConfigsCommand, } from "./commands/ListCodeSigningConfigsCommand"; -import { ListEventSourceMappingsCommand, } from "./commands/ListEventSourceMappingsCommand"; -import { ListFunctionEventInvokeConfigsCommand, } from "./commands/ListFunctionEventInvokeConfigsCommand"; -import { ListFunctionsByCodeSigningConfigCommand, } from "./commands/ListFunctionsByCodeSigningConfigCommand"; -import { ListFunctionsCommand, } from "./commands/ListFunctionsCommand"; -import { ListFunctionUrlConfigsCommand, } from "./commands/ListFunctionUrlConfigsCommand"; -import { ListLayersCommand } from "./commands/ListLayersCommand"; -import { ListLayerVersionsCommand, } from "./commands/ListLayerVersionsCommand"; -import { ListProvisionedConcurrencyConfigsCommand, } from "./commands/ListProvisionedConcurrencyConfigsCommand"; -import { ListTagsCommand } from "./commands/ListTagsCommand"; -import { ListVersionsByFunctionCommand, } from "./commands/ListVersionsByFunctionCommand"; -import { PublishLayerVersionCommand, } from "./commands/PublishLayerVersionCommand"; -import { PublishVersionCommand, } from "./commands/PublishVersionCommand"; -import { PutFunctionCodeSigningConfigCommand, } from "./commands/PutFunctionCodeSigningConfigCommand"; -import { PutFunctionConcurrencyCommand, } from "./commands/PutFunctionConcurrencyCommand"; -import { PutFunctionEventInvokeConfigCommand, } from "./commands/PutFunctionEventInvokeConfigCommand"; -import { PutProvisionedConcurrencyConfigCommand, } from "./commands/PutProvisionedConcurrencyConfigCommand"; -import { PutRuntimeManagementConfigCommand, } from "./commands/PutRuntimeManagementConfigCommand"; -import { RemoveLayerVersionPermissionCommand, } from "./commands/RemoveLayerVersionPermissionCommand"; -import { RemovePermissionCommand, } from "./commands/RemovePermissionCommand"; -import { TagResourceCommand } from "./commands/TagResourceCommand"; -import { UntagResourceCommand, } from "./commands/UntagResourceCommand"; -import { UpdateAliasCommand } from "./commands/UpdateAliasCommand"; -import { UpdateCodeSigningConfigCommand, } from "./commands/UpdateCodeSigningConfigCommand"; -import { UpdateEventSourceMappingCommand, } from "./commands/UpdateEventSourceMappingCommand"; -import { UpdateFunctionCodeCommand, } from "./commands/UpdateFunctionCodeCommand"; -import { UpdateFunctionConfigurationCommand, } from "./commands/UpdateFunctionConfigurationCommand"; -import { UpdateFunctionEventInvokeConfigCommand, } from "./commands/UpdateFunctionEventInvokeConfigCommand"; -import { UpdateFunctionUrlConfigCommand, } from "./commands/UpdateFunctionUrlConfigCommand"; -import { LambdaClient } from "./LambdaClient"; -const commands = { - AddLayerVersionPermissionCommand, - AddPermissionCommand, - CreateAliasCommand, - CreateCodeSigningConfigCommand, - CreateEventSourceMappingCommand, - CreateFunctionCommand, - CreateFunctionUrlConfigCommand, - DeleteAliasCommand, - DeleteCodeSigningConfigCommand, - DeleteEventSourceMappingCommand, - DeleteFunctionCommand, - DeleteFunctionCodeSigningConfigCommand, - DeleteFunctionConcurrencyCommand, - DeleteFunctionEventInvokeConfigCommand, - DeleteFunctionUrlConfigCommand, - DeleteLayerVersionCommand, - DeleteProvisionedConcurrencyConfigCommand, - GetAccountSettingsCommand, - GetAliasCommand, - GetCodeSigningConfigCommand, - GetEventSourceMappingCommand, - GetFunctionCommand, - GetFunctionCodeSigningConfigCommand, - GetFunctionConcurrencyCommand, - GetFunctionConfigurationCommand, - GetFunctionEventInvokeConfigCommand, - GetFunctionUrlConfigCommand, - GetLayerVersionCommand, - GetLayerVersionByArnCommand, - GetLayerVersionPolicyCommand, - GetPolicyCommand, - GetProvisionedConcurrencyConfigCommand, - GetRuntimeManagementConfigCommand, - InvokeCommand, - InvokeAsyncCommand, - InvokeWithResponseStreamCommand, - ListAliasesCommand, - ListCodeSigningConfigsCommand, - ListEventSourceMappingsCommand, - ListFunctionEventInvokeConfigsCommand, - ListFunctionsCommand, - ListFunctionsByCodeSigningConfigCommand, - ListFunctionUrlConfigsCommand, - ListLayersCommand, - ListLayerVersionsCommand, - ListProvisionedConcurrencyConfigsCommand, - ListTagsCommand, - ListVersionsByFunctionCommand, - PublishLayerVersionCommand, - PublishVersionCommand, - PutFunctionCodeSigningConfigCommand, - PutFunctionConcurrencyCommand, - PutFunctionEventInvokeConfigCommand, - PutProvisionedConcurrencyConfigCommand, - PutRuntimeManagementConfigCommand, - RemoveLayerVersionPermissionCommand, - RemovePermissionCommand, - TagResourceCommand, - UntagResourceCommand, - UpdateAliasCommand, - UpdateCodeSigningConfigCommand, - UpdateEventSourceMappingCommand, - UpdateFunctionCodeCommand, - UpdateFunctionConfigurationCommand, - UpdateFunctionEventInvokeConfigCommand, - UpdateFunctionUrlConfigCommand, -}; -export class Lambda extends LambdaClient { -} -createAggregatedClient(commands, Lambda); diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/commands/CreateFunctionCommand.js b/node_modules/@aws-sdk/client-lambda/dist-es/commands/CreateFunctionCommand.js deleted file mode 100644 index f645e5ad..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-es/commands/CreateFunctionCommand.js +++ /dev/null @@ -1,48 +0,0 @@ -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; -import { CreateFunctionRequestFilterSensitiveLog, FunctionConfigurationFilterSensitiveLog, } from "../models/models_0"; -import { de_CreateFunctionCommand, se_CreateFunctionCommand } from "../protocols/Aws_restJson1"; -export { $Command }; -export class CreateFunctionCommand extends $Command { - static getEndpointParameterInstructions() { - return { - UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, - Endpoint: { type: "builtInParams", name: "endpoint" }, - Region: { type: "builtInParams", name: "region" }, - UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, - }; - } - constructor(input) { - super(); - this.input = input; - } - resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getEndpointPlugin(configuration, CreateFunctionCommand.getEndpointParameterInstructions())); - const stack = clientStack.concat(this.middlewareStack); - const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "CreateFunctionCommand"; - const handlerExecutionContext = { - logger, - clientName, - commandName, - inputFilterSensitiveLog: CreateFunctionRequestFilterSensitiveLog, - outputFilterSensitiveLog: FunctionConfigurationFilterSensitiveLog, - [SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "CreateFunction", - }, - }; - const { requestHandler } = configuration; - return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); - } - serialize(input, context) { - return se_CreateFunctionCommand(input, context); - } - deserialize(output, context) { - return de_CreateFunctionCommand(output, context); - } -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/commands/GetFunctionUrlConfigCommand.js b/node_modules/@aws-sdk/client-lambda/dist-es/commands/GetFunctionUrlConfigCommand.js deleted file mode 100644 index 2657cec9..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-es/commands/GetFunctionUrlConfigCommand.js +++ /dev/null @@ -1,47 +0,0 @@ -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; -import { de_GetFunctionUrlConfigCommand, se_GetFunctionUrlConfigCommand } from "../protocols/Aws_restJson1"; -export { $Command }; -export class GetFunctionUrlConfigCommand extends $Command { - static getEndpointParameterInstructions() { - return { - UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, - Endpoint: { type: "builtInParams", name: "endpoint" }, - Region: { type: "builtInParams", name: "region" }, - UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, - }; - } - constructor(input) { - super(); - this.input = input; - } - resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getEndpointPlugin(configuration, GetFunctionUrlConfigCommand.getEndpointParameterInstructions())); - const stack = clientStack.concat(this.middlewareStack); - const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "GetFunctionUrlConfigCommand"; - const handlerExecutionContext = { - logger, - clientName, - commandName, - inputFilterSensitiveLog: (_) => _, - outputFilterSensitiveLog: (_) => _, - [SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "GetFunctionUrlConfig", - }, - }; - const { requestHandler } = configuration; - return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); - } - serialize(input, context) { - return se_GetFunctionUrlConfigCommand(input, context); - } - deserialize(output, context) { - return de_GetFunctionUrlConfigCommand(output, context); - } -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/commands/GetLayerVersionByArnCommand.js b/node_modules/@aws-sdk/client-lambda/dist-es/commands/GetLayerVersionByArnCommand.js deleted file mode 100644 index 1b716f16..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-es/commands/GetLayerVersionByArnCommand.js +++ /dev/null @@ -1,47 +0,0 @@ -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; -import { de_GetLayerVersionByArnCommand, se_GetLayerVersionByArnCommand } from "../protocols/Aws_restJson1"; -export { $Command }; -export class GetLayerVersionByArnCommand extends $Command { - static getEndpointParameterInstructions() { - return { - UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, - Endpoint: { type: "builtInParams", name: "endpoint" }, - Region: { type: "builtInParams", name: "region" }, - UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, - }; - } - constructor(input) { - super(); - this.input = input; - } - resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getEndpointPlugin(configuration, GetLayerVersionByArnCommand.getEndpointParameterInstructions())); - const stack = clientStack.concat(this.middlewareStack); - const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "GetLayerVersionByArnCommand"; - const handlerExecutionContext = { - logger, - clientName, - commandName, - inputFilterSensitiveLog: (_) => _, - outputFilterSensitiveLog: (_) => _, - [SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "GetLayerVersionByArn", - }, - }; - const { requestHandler } = configuration; - return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); - } - serialize(input, context) { - return se_GetLayerVersionByArnCommand(input, context); - } - deserialize(output, context) { - return de_GetLayerVersionByArnCommand(output, context); - } -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/commands/GetLayerVersionCommand.js b/node_modules/@aws-sdk/client-lambda/dist-es/commands/GetLayerVersionCommand.js deleted file mode 100644 index 3985c9c8..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-es/commands/GetLayerVersionCommand.js +++ /dev/null @@ -1,47 +0,0 @@ -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; -import { de_GetLayerVersionCommand, se_GetLayerVersionCommand } from "../protocols/Aws_restJson1"; -export { $Command }; -export class GetLayerVersionCommand extends $Command { - static getEndpointParameterInstructions() { - return { - UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, - Endpoint: { type: "builtInParams", name: "endpoint" }, - Region: { type: "builtInParams", name: "region" }, - UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, - }; - } - constructor(input) { - super(); - this.input = input; - } - resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getEndpointPlugin(configuration, GetLayerVersionCommand.getEndpointParameterInstructions())); - const stack = clientStack.concat(this.middlewareStack); - const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "GetLayerVersionCommand"; - const handlerExecutionContext = { - logger, - clientName, - commandName, - inputFilterSensitiveLog: (_) => _, - outputFilterSensitiveLog: (_) => _, - [SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "GetLayerVersion", - }, - }; - const { requestHandler } = configuration; - return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); - } - serialize(input, context) { - return se_GetLayerVersionCommand(input, context); - } - deserialize(output, context) { - return de_GetLayerVersionCommand(output, context); - } -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/commands/GetLayerVersionPolicyCommand.js b/node_modules/@aws-sdk/client-lambda/dist-es/commands/GetLayerVersionPolicyCommand.js deleted file mode 100644 index 251a7e55..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-es/commands/GetLayerVersionPolicyCommand.js +++ /dev/null @@ -1,47 +0,0 @@ -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; -import { de_GetLayerVersionPolicyCommand, se_GetLayerVersionPolicyCommand } from "../protocols/Aws_restJson1"; -export { $Command }; -export class GetLayerVersionPolicyCommand extends $Command { - static getEndpointParameterInstructions() { - return { - UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, - Endpoint: { type: "builtInParams", name: "endpoint" }, - Region: { type: "builtInParams", name: "region" }, - UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, - }; - } - constructor(input) { - super(); - this.input = input; - } - resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getEndpointPlugin(configuration, GetLayerVersionPolicyCommand.getEndpointParameterInstructions())); - const stack = clientStack.concat(this.middlewareStack); - const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "GetLayerVersionPolicyCommand"; - const handlerExecutionContext = { - logger, - clientName, - commandName, - inputFilterSensitiveLog: (_) => _, - outputFilterSensitiveLog: (_) => _, - [SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "GetLayerVersionPolicy", - }, - }; - const { requestHandler } = configuration; - return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); - } - serialize(input, context) { - return se_GetLayerVersionPolicyCommand(input, context); - } - deserialize(output, context) { - return de_GetLayerVersionPolicyCommand(output, context); - } -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/commands/InvokeWithResponseStreamCommand.js b/node_modules/@aws-sdk/client-lambda/dist-es/commands/InvokeWithResponseStreamCommand.js deleted file mode 100644 index e3365e74..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-es/commands/InvokeWithResponseStreamCommand.js +++ /dev/null @@ -1,48 +0,0 @@ -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; -import { InvokeWithResponseStreamRequestFilterSensitiveLog, InvokeWithResponseStreamResponseFilterSensitiveLog, } from "../models/models_0"; -import { de_InvokeWithResponseStreamCommand, se_InvokeWithResponseStreamCommand } from "../protocols/Aws_restJson1"; -export { $Command }; -export class InvokeWithResponseStreamCommand extends $Command { - static getEndpointParameterInstructions() { - return { - UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, - Endpoint: { type: "builtInParams", name: "endpoint" }, - Region: { type: "builtInParams", name: "region" }, - UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, - }; - } - constructor(input) { - super(); - this.input = input; - } - resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getEndpointPlugin(configuration, InvokeWithResponseStreamCommand.getEndpointParameterInstructions())); - const stack = clientStack.concat(this.middlewareStack); - const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "InvokeWithResponseStreamCommand"; - const handlerExecutionContext = { - logger, - clientName, - commandName, - inputFilterSensitiveLog: InvokeWithResponseStreamRequestFilterSensitiveLog, - outputFilterSensitiveLog: InvokeWithResponseStreamResponseFilterSensitiveLog, - [SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "InvokeWithResponseStream", - }, - }; - const { requestHandler } = configuration; - return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); - } - serialize(input, context) { - return se_InvokeWithResponseStreamCommand(input, context); - } - deserialize(output, context) { - return de_InvokeWithResponseStreamCommand(output, context); - } -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/commands/ListAliasesCommand.js b/node_modules/@aws-sdk/client-lambda/dist-es/commands/ListAliasesCommand.js deleted file mode 100644 index 6ea17e0c..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-es/commands/ListAliasesCommand.js +++ /dev/null @@ -1,47 +0,0 @@ -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; -import { de_ListAliasesCommand, se_ListAliasesCommand } from "../protocols/Aws_restJson1"; -export { $Command }; -export class ListAliasesCommand extends $Command { - static getEndpointParameterInstructions() { - return { - UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, - Endpoint: { type: "builtInParams", name: "endpoint" }, - Region: { type: "builtInParams", name: "region" }, - UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, - }; - } - constructor(input) { - super(); - this.input = input; - } - resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getEndpointPlugin(configuration, ListAliasesCommand.getEndpointParameterInstructions())); - const stack = clientStack.concat(this.middlewareStack); - const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "ListAliasesCommand"; - const handlerExecutionContext = { - logger, - clientName, - commandName, - inputFilterSensitiveLog: (_) => _, - outputFilterSensitiveLog: (_) => _, - [SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "ListAliases", - }, - }; - const { requestHandler } = configuration; - return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); - } - serialize(input, context) { - return se_ListAliasesCommand(input, context); - } - deserialize(output, context) { - return de_ListAliasesCommand(output, context); - } -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/commands/ListEventSourceMappingsCommand.js b/node_modules/@aws-sdk/client-lambda/dist-es/commands/ListEventSourceMappingsCommand.js deleted file mode 100644 index 55428655..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-es/commands/ListEventSourceMappingsCommand.js +++ /dev/null @@ -1,47 +0,0 @@ -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; -import { de_ListEventSourceMappingsCommand, se_ListEventSourceMappingsCommand } from "../protocols/Aws_restJson1"; -export { $Command }; -export class ListEventSourceMappingsCommand extends $Command { - static getEndpointParameterInstructions() { - return { - UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, - Endpoint: { type: "builtInParams", name: "endpoint" }, - Region: { type: "builtInParams", name: "region" }, - UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, - }; - } - constructor(input) { - super(); - this.input = input; - } - resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getEndpointPlugin(configuration, ListEventSourceMappingsCommand.getEndpointParameterInstructions())); - const stack = clientStack.concat(this.middlewareStack); - const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "ListEventSourceMappingsCommand"; - const handlerExecutionContext = { - logger, - clientName, - commandName, - inputFilterSensitiveLog: (_) => _, - outputFilterSensitiveLog: (_) => _, - [SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "ListEventSourceMappings", - }, - }; - const { requestHandler } = configuration; - return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); - } - serialize(input, context) { - return se_ListEventSourceMappingsCommand(input, context); - } - deserialize(output, context) { - return de_ListEventSourceMappingsCommand(output, context); - } -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/commands/ListFunctionUrlConfigsCommand.js b/node_modules/@aws-sdk/client-lambda/dist-es/commands/ListFunctionUrlConfigsCommand.js deleted file mode 100644 index 5ce09979..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-es/commands/ListFunctionUrlConfigsCommand.js +++ /dev/null @@ -1,47 +0,0 @@ -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; -import { de_ListFunctionUrlConfigsCommand, se_ListFunctionUrlConfigsCommand } from "../protocols/Aws_restJson1"; -export { $Command }; -export class ListFunctionUrlConfigsCommand extends $Command { - static getEndpointParameterInstructions() { - return { - UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, - Endpoint: { type: "builtInParams", name: "endpoint" }, - Region: { type: "builtInParams", name: "region" }, - UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, - }; - } - constructor(input) { - super(); - this.input = input; - } - resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getEndpointPlugin(configuration, ListFunctionUrlConfigsCommand.getEndpointParameterInstructions())); - const stack = clientStack.concat(this.middlewareStack); - const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "ListFunctionUrlConfigsCommand"; - const handlerExecutionContext = { - logger, - clientName, - commandName, - inputFilterSensitiveLog: (_) => _, - outputFilterSensitiveLog: (_) => _, - [SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "ListFunctionUrlConfigs", - }, - }; - const { requestHandler } = configuration; - return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); - } - serialize(input, context) { - return se_ListFunctionUrlConfigsCommand(input, context); - } - deserialize(output, context) { - return de_ListFunctionUrlConfigsCommand(output, context); - } -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/commands/ListFunctionsCommand.js b/node_modules/@aws-sdk/client-lambda/dist-es/commands/ListFunctionsCommand.js deleted file mode 100644 index 80fda987..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-es/commands/ListFunctionsCommand.js +++ /dev/null @@ -1,48 +0,0 @@ -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; -import { ListFunctionsResponseFilterSensitiveLog, } from "../models/models_0"; -import { de_ListFunctionsCommand, se_ListFunctionsCommand } from "../protocols/Aws_restJson1"; -export { $Command }; -export class ListFunctionsCommand extends $Command { - static getEndpointParameterInstructions() { - return { - UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, - Endpoint: { type: "builtInParams", name: "endpoint" }, - Region: { type: "builtInParams", name: "region" }, - UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, - }; - } - constructor(input) { - super(); - this.input = input; - } - resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getEndpointPlugin(configuration, ListFunctionsCommand.getEndpointParameterInstructions())); - const stack = clientStack.concat(this.middlewareStack); - const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "ListFunctionsCommand"; - const handlerExecutionContext = { - logger, - clientName, - commandName, - inputFilterSensitiveLog: (_) => _, - outputFilterSensitiveLog: ListFunctionsResponseFilterSensitiveLog, - [SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "ListFunctions", - }, - }; - const { requestHandler } = configuration; - return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); - } - serialize(input, context) { - return se_ListFunctionsCommand(input, context); - } - deserialize(output, context) { - return de_ListFunctionsCommand(output, context); - } -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/commands/ListVersionsByFunctionCommand.js b/node_modules/@aws-sdk/client-lambda/dist-es/commands/ListVersionsByFunctionCommand.js deleted file mode 100644 index 92000059..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-es/commands/ListVersionsByFunctionCommand.js +++ /dev/null @@ -1,48 +0,0 @@ -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; -import { ListVersionsByFunctionResponseFilterSensitiveLog, } from "../models/models_0"; -import { de_ListVersionsByFunctionCommand, se_ListVersionsByFunctionCommand } from "../protocols/Aws_restJson1"; -export { $Command }; -export class ListVersionsByFunctionCommand extends $Command { - static getEndpointParameterInstructions() { - return { - UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, - Endpoint: { type: "builtInParams", name: "endpoint" }, - Region: { type: "builtInParams", name: "region" }, - UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, - }; - } - constructor(input) { - super(); - this.input = input; - } - resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getEndpointPlugin(configuration, ListVersionsByFunctionCommand.getEndpointParameterInstructions())); - const stack = clientStack.concat(this.middlewareStack); - const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "ListVersionsByFunctionCommand"; - const handlerExecutionContext = { - logger, - clientName, - commandName, - inputFilterSensitiveLog: (_) => _, - outputFilterSensitiveLog: ListVersionsByFunctionResponseFilterSensitiveLog, - [SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "ListVersionsByFunction", - }, - }; - const { requestHandler } = configuration; - return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); - } - serialize(input, context) { - return se_ListVersionsByFunctionCommand(input, context); - } - deserialize(output, context) { - return de_ListVersionsByFunctionCommand(output, context); - } -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/commands/PublishVersionCommand.js b/node_modules/@aws-sdk/client-lambda/dist-es/commands/PublishVersionCommand.js deleted file mode 100644 index 6775fb1b..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-es/commands/PublishVersionCommand.js +++ /dev/null @@ -1,48 +0,0 @@ -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; -import { FunctionConfigurationFilterSensitiveLog, } from "../models/models_0"; -import { de_PublishVersionCommand, se_PublishVersionCommand } from "../protocols/Aws_restJson1"; -export { $Command }; -export class PublishVersionCommand extends $Command { - static getEndpointParameterInstructions() { - return { - UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, - Endpoint: { type: "builtInParams", name: "endpoint" }, - Region: { type: "builtInParams", name: "region" }, - UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, - }; - } - constructor(input) { - super(); - this.input = input; - } - resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getEndpointPlugin(configuration, PublishVersionCommand.getEndpointParameterInstructions())); - const stack = clientStack.concat(this.middlewareStack); - const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "PublishVersionCommand"; - const handlerExecutionContext = { - logger, - clientName, - commandName, - inputFilterSensitiveLog: (_) => _, - outputFilterSensitiveLog: FunctionConfigurationFilterSensitiveLog, - [SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "PublishVersion", - }, - }; - const { requestHandler } = configuration; - return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); - } - serialize(input, context) { - return se_PublishVersionCommand(input, context); - } - deserialize(output, context) { - return de_PublishVersionCommand(output, context); - } -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/commands/PutFunctionConcurrencyCommand.js b/node_modules/@aws-sdk/client-lambda/dist-es/commands/PutFunctionConcurrencyCommand.js deleted file mode 100644 index d93b9eaf..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-es/commands/PutFunctionConcurrencyCommand.js +++ /dev/null @@ -1,47 +0,0 @@ -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; -import { de_PutFunctionConcurrencyCommand, se_PutFunctionConcurrencyCommand } from "../protocols/Aws_restJson1"; -export { $Command }; -export class PutFunctionConcurrencyCommand extends $Command { - static getEndpointParameterInstructions() { - return { - UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, - Endpoint: { type: "builtInParams", name: "endpoint" }, - Region: { type: "builtInParams", name: "region" }, - UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, - }; - } - constructor(input) { - super(); - this.input = input; - } - resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getEndpointPlugin(configuration, PutFunctionConcurrencyCommand.getEndpointParameterInstructions())); - const stack = clientStack.concat(this.middlewareStack); - const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "PutFunctionConcurrencyCommand"; - const handlerExecutionContext = { - logger, - clientName, - commandName, - inputFilterSensitiveLog: (_) => _, - outputFilterSensitiveLog: (_) => _, - [SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "PutFunctionConcurrency", - }, - }; - const { requestHandler } = configuration; - return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); - } - serialize(input, context) { - return se_PutFunctionConcurrencyCommand(input, context); - } - deserialize(output, context) { - return de_PutFunctionConcurrencyCommand(output, context); - } -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/commands/PutProvisionedConcurrencyConfigCommand.js b/node_modules/@aws-sdk/client-lambda/dist-es/commands/PutProvisionedConcurrencyConfigCommand.js deleted file mode 100644 index 322fcd68..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-es/commands/PutProvisionedConcurrencyConfigCommand.js +++ /dev/null @@ -1,47 +0,0 @@ -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; -import { de_PutProvisionedConcurrencyConfigCommand, se_PutProvisionedConcurrencyConfigCommand, } from "../protocols/Aws_restJson1"; -export { $Command }; -export class PutProvisionedConcurrencyConfigCommand extends $Command { - static getEndpointParameterInstructions() { - return { - UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, - Endpoint: { type: "builtInParams", name: "endpoint" }, - Region: { type: "builtInParams", name: "region" }, - UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, - }; - } - constructor(input) { - super(); - this.input = input; - } - resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getEndpointPlugin(configuration, PutProvisionedConcurrencyConfigCommand.getEndpointParameterInstructions())); - const stack = clientStack.concat(this.middlewareStack); - const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "PutProvisionedConcurrencyConfigCommand"; - const handlerExecutionContext = { - logger, - clientName, - commandName, - inputFilterSensitiveLog: (_) => _, - outputFilterSensitiveLog: (_) => _, - [SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "PutProvisionedConcurrencyConfig", - }, - }; - const { requestHandler } = configuration; - return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); - } - serialize(input, context) { - return se_PutProvisionedConcurrencyConfigCommand(input, context); - } - deserialize(output, context) { - return de_PutProvisionedConcurrencyConfigCommand(output, context); - } -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/commands/RemoveLayerVersionPermissionCommand.js b/node_modules/@aws-sdk/client-lambda/dist-es/commands/RemoveLayerVersionPermissionCommand.js deleted file mode 100644 index 9deefc6f..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-es/commands/RemoveLayerVersionPermissionCommand.js +++ /dev/null @@ -1,47 +0,0 @@ -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; -import { de_RemoveLayerVersionPermissionCommand, se_RemoveLayerVersionPermissionCommand, } from "../protocols/Aws_restJson1"; -export { $Command }; -export class RemoveLayerVersionPermissionCommand extends $Command { - static getEndpointParameterInstructions() { - return { - UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, - Endpoint: { type: "builtInParams", name: "endpoint" }, - Region: { type: "builtInParams", name: "region" }, - UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, - }; - } - constructor(input) { - super(); - this.input = input; - } - resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getEndpointPlugin(configuration, RemoveLayerVersionPermissionCommand.getEndpointParameterInstructions())); - const stack = clientStack.concat(this.middlewareStack); - const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "RemoveLayerVersionPermissionCommand"; - const handlerExecutionContext = { - logger, - clientName, - commandName, - inputFilterSensitiveLog: (_) => _, - outputFilterSensitiveLog: (_) => _, - [SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "RemoveLayerVersionPermission", - }, - }; - const { requestHandler } = configuration; - return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); - } - serialize(input, context) { - return se_RemoveLayerVersionPermissionCommand(input, context); - } - deserialize(output, context) { - return de_RemoveLayerVersionPermissionCommand(output, context); - } -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/commands/RemovePermissionCommand.js b/node_modules/@aws-sdk/client-lambda/dist-es/commands/RemovePermissionCommand.js deleted file mode 100644 index 5c065ad5..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-es/commands/RemovePermissionCommand.js +++ /dev/null @@ -1,47 +0,0 @@ -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; -import { de_RemovePermissionCommand, se_RemovePermissionCommand } from "../protocols/Aws_restJson1"; -export { $Command }; -export class RemovePermissionCommand extends $Command { - static getEndpointParameterInstructions() { - return { - UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, - Endpoint: { type: "builtInParams", name: "endpoint" }, - Region: { type: "builtInParams", name: "region" }, - UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, - }; - } - constructor(input) { - super(); - this.input = input; - } - resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getEndpointPlugin(configuration, RemovePermissionCommand.getEndpointParameterInstructions())); - const stack = clientStack.concat(this.middlewareStack); - const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "RemovePermissionCommand"; - const handlerExecutionContext = { - logger, - clientName, - commandName, - inputFilterSensitiveLog: (_) => _, - outputFilterSensitiveLog: (_) => _, - [SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "RemovePermission", - }, - }; - const { requestHandler } = configuration; - return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); - } - serialize(input, context) { - return se_RemovePermissionCommand(input, context); - } - deserialize(output, context) { - return de_RemovePermissionCommand(output, context); - } -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/commands/TagResourceCommand.js b/node_modules/@aws-sdk/client-lambda/dist-es/commands/TagResourceCommand.js deleted file mode 100644 index b49fb62d..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-es/commands/TagResourceCommand.js +++ /dev/null @@ -1,47 +0,0 @@ -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; -import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_restJson1"; -export { $Command }; -export class TagResourceCommand extends $Command { - static getEndpointParameterInstructions() { - return { - UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, - Endpoint: { type: "builtInParams", name: "endpoint" }, - Region: { type: "builtInParams", name: "region" }, - UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, - }; - } - constructor(input) { - super(); - this.input = input; - } - resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getEndpointPlugin(configuration, TagResourceCommand.getEndpointParameterInstructions())); - const stack = clientStack.concat(this.middlewareStack); - const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "TagResourceCommand"; - const handlerExecutionContext = { - logger, - clientName, - commandName, - inputFilterSensitiveLog: (_) => _, - outputFilterSensitiveLog: (_) => _, - [SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "TagResource", - }, - }; - const { requestHandler } = configuration; - return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); - } - serialize(input, context) { - return se_TagResourceCommand(input, context); - } - deserialize(output, context) { - return de_TagResourceCommand(output, context); - } -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/commands/UntagResourceCommand.js b/node_modules/@aws-sdk/client-lambda/dist-es/commands/UntagResourceCommand.js deleted file mode 100644 index 12e47455..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-es/commands/UntagResourceCommand.js +++ /dev/null @@ -1,47 +0,0 @@ -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; -import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_restJson1"; -export { $Command }; -export class UntagResourceCommand extends $Command { - static getEndpointParameterInstructions() { - return { - UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, - Endpoint: { type: "builtInParams", name: "endpoint" }, - Region: { type: "builtInParams", name: "region" }, - UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, - }; - } - constructor(input) { - super(); - this.input = input; - } - resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getEndpointPlugin(configuration, UntagResourceCommand.getEndpointParameterInstructions())); - const stack = clientStack.concat(this.middlewareStack); - const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "UntagResourceCommand"; - const handlerExecutionContext = { - logger, - clientName, - commandName, - inputFilterSensitiveLog: (_) => _, - outputFilterSensitiveLog: (_) => _, - [SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "UntagResource", - }, - }; - const { requestHandler } = configuration; - return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); - } - serialize(input, context) { - return se_UntagResourceCommand(input, context); - } - deserialize(output, context) { - return de_UntagResourceCommand(output, context); - } -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/commands/UpdateAliasCommand.js b/node_modules/@aws-sdk/client-lambda/dist-es/commands/UpdateAliasCommand.js deleted file mode 100644 index c61f18a7..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-es/commands/UpdateAliasCommand.js +++ /dev/null @@ -1,47 +0,0 @@ -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; -import { de_UpdateAliasCommand, se_UpdateAliasCommand } from "../protocols/Aws_restJson1"; -export { $Command }; -export class UpdateAliasCommand extends $Command { - static getEndpointParameterInstructions() { - return { - UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, - Endpoint: { type: "builtInParams", name: "endpoint" }, - Region: { type: "builtInParams", name: "region" }, - UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, - }; - } - constructor(input) { - super(); - this.input = input; - } - resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getEndpointPlugin(configuration, UpdateAliasCommand.getEndpointParameterInstructions())); - const stack = clientStack.concat(this.middlewareStack); - const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "UpdateAliasCommand"; - const handlerExecutionContext = { - logger, - clientName, - commandName, - inputFilterSensitiveLog: (_) => _, - outputFilterSensitiveLog: (_) => _, - [SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "UpdateAlias", - }, - }; - const { requestHandler } = configuration; - return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); - } - serialize(input, context) { - return se_UpdateAliasCommand(input, context); - } - deserialize(output, context) { - return de_UpdateAliasCommand(output, context); - } -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/commands/UpdateCodeSigningConfigCommand.js b/node_modules/@aws-sdk/client-lambda/dist-es/commands/UpdateCodeSigningConfigCommand.js deleted file mode 100644 index 06063eec..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-es/commands/UpdateCodeSigningConfigCommand.js +++ /dev/null @@ -1,47 +0,0 @@ -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; -import { de_UpdateCodeSigningConfigCommand, se_UpdateCodeSigningConfigCommand } from "../protocols/Aws_restJson1"; -export { $Command }; -export class UpdateCodeSigningConfigCommand extends $Command { - static getEndpointParameterInstructions() { - return { - UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, - Endpoint: { type: "builtInParams", name: "endpoint" }, - Region: { type: "builtInParams", name: "region" }, - UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, - }; - } - constructor(input) { - super(); - this.input = input; - } - resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getEndpointPlugin(configuration, UpdateCodeSigningConfigCommand.getEndpointParameterInstructions())); - const stack = clientStack.concat(this.middlewareStack); - const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "UpdateCodeSigningConfigCommand"; - const handlerExecutionContext = { - logger, - clientName, - commandName, - inputFilterSensitiveLog: (_) => _, - outputFilterSensitiveLog: (_) => _, - [SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "UpdateCodeSigningConfig", - }, - }; - const { requestHandler } = configuration; - return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); - } - serialize(input, context) { - return se_UpdateCodeSigningConfigCommand(input, context); - } - deserialize(output, context) { - return de_UpdateCodeSigningConfigCommand(output, context); - } -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/commands/UpdateFunctionCodeCommand.js b/node_modules/@aws-sdk/client-lambda/dist-es/commands/UpdateFunctionCodeCommand.js deleted file mode 100644 index bb550ede..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-es/commands/UpdateFunctionCodeCommand.js +++ /dev/null @@ -1,48 +0,0 @@ -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; -import { FunctionConfigurationFilterSensitiveLog, UpdateFunctionCodeRequestFilterSensitiveLog, } from "../models/models_0"; -import { de_UpdateFunctionCodeCommand, se_UpdateFunctionCodeCommand } from "../protocols/Aws_restJson1"; -export { $Command }; -export class UpdateFunctionCodeCommand extends $Command { - static getEndpointParameterInstructions() { - return { - UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, - Endpoint: { type: "builtInParams", name: "endpoint" }, - Region: { type: "builtInParams", name: "region" }, - UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, - }; - } - constructor(input) { - super(); - this.input = input; - } - resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getEndpointPlugin(configuration, UpdateFunctionCodeCommand.getEndpointParameterInstructions())); - const stack = clientStack.concat(this.middlewareStack); - const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "UpdateFunctionCodeCommand"; - const handlerExecutionContext = { - logger, - clientName, - commandName, - inputFilterSensitiveLog: UpdateFunctionCodeRequestFilterSensitiveLog, - outputFilterSensitiveLog: FunctionConfigurationFilterSensitiveLog, - [SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "UpdateFunctionCode", - }, - }; - const { requestHandler } = configuration; - return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); - } - serialize(input, context) { - return se_UpdateFunctionCodeCommand(input, context); - } - deserialize(output, context) { - return de_UpdateFunctionCodeCommand(output, context); - } -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/commands/UpdateFunctionEventInvokeConfigCommand.js b/node_modules/@aws-sdk/client-lambda/dist-es/commands/UpdateFunctionEventInvokeConfigCommand.js deleted file mode 100644 index 091f418d..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-es/commands/UpdateFunctionEventInvokeConfigCommand.js +++ /dev/null @@ -1,47 +0,0 @@ -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; -import { de_UpdateFunctionEventInvokeConfigCommand, se_UpdateFunctionEventInvokeConfigCommand, } from "../protocols/Aws_restJson1"; -export { $Command }; -export class UpdateFunctionEventInvokeConfigCommand extends $Command { - static getEndpointParameterInstructions() { - return { - UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, - Endpoint: { type: "builtInParams", name: "endpoint" }, - Region: { type: "builtInParams", name: "region" }, - UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, - }; - } - constructor(input) { - super(); - this.input = input; - } - resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getEndpointPlugin(configuration, UpdateFunctionEventInvokeConfigCommand.getEndpointParameterInstructions())); - const stack = clientStack.concat(this.middlewareStack); - const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "UpdateFunctionEventInvokeConfigCommand"; - const handlerExecutionContext = { - logger, - clientName, - commandName, - inputFilterSensitiveLog: (_) => _, - outputFilterSensitiveLog: (_) => _, - [SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "UpdateFunctionEventInvokeConfig", - }, - }; - const { requestHandler } = configuration; - return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); - } - serialize(input, context) { - return se_UpdateFunctionEventInvokeConfigCommand(input, context); - } - deserialize(output, context) { - return de_UpdateFunctionEventInvokeConfigCommand(output, context); - } -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/commands/UpdateFunctionUrlConfigCommand.js b/node_modules/@aws-sdk/client-lambda/dist-es/commands/UpdateFunctionUrlConfigCommand.js deleted file mode 100644 index 6bf91dfb..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-es/commands/UpdateFunctionUrlConfigCommand.js +++ /dev/null @@ -1,47 +0,0 @@ -import { getEndpointPlugin } from "@smithy/middleware-endpoint"; -import { getSerdePlugin } from "@smithy/middleware-serde"; -import { Command as $Command } from "@smithy/smithy-client"; -import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; -import { de_UpdateFunctionUrlConfigCommand, se_UpdateFunctionUrlConfigCommand } from "../protocols/Aws_restJson1"; -export { $Command }; -export class UpdateFunctionUrlConfigCommand extends $Command { - static getEndpointParameterInstructions() { - return { - UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, - Endpoint: { type: "builtInParams", name: "endpoint" }, - Region: { type: "builtInParams", name: "region" }, - UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, - }; - } - constructor(input) { - super(); - this.input = input; - } - resolveMiddleware(clientStack, configuration, options) { - this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getEndpointPlugin(configuration, UpdateFunctionUrlConfigCommand.getEndpointParameterInstructions())); - const stack = clientStack.concat(this.middlewareStack); - const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "UpdateFunctionUrlConfigCommand"; - const handlerExecutionContext = { - logger, - clientName, - commandName, - inputFilterSensitiveLog: (_) => _, - outputFilterSensitiveLog: (_) => _, - [SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "UpdateFunctionUrlConfig", - }, - }; - const { requestHandler } = configuration; - return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); - } - serialize(input, context) { - return se_UpdateFunctionUrlConfigCommand(input, context); - } - deserialize(output, context) { - return de_UpdateFunctionUrlConfigCommand(output, context); - } -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/commands/index.js b/node_modules/@aws-sdk/client-lambda/dist-es/commands/index.js deleted file mode 100644 index 636eaaf6..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-es/commands/index.js +++ /dev/null @@ -1,66 +0,0 @@ -export * from "./AddLayerVersionPermissionCommand"; -export * from "./AddPermissionCommand"; -export * from "./CreateAliasCommand"; -export * from "./CreateCodeSigningConfigCommand"; -export * from "./CreateEventSourceMappingCommand"; -export * from "./CreateFunctionCommand"; -export * from "./CreateFunctionUrlConfigCommand"; -export * from "./DeleteAliasCommand"; -export * from "./DeleteCodeSigningConfigCommand"; -export * from "./DeleteEventSourceMappingCommand"; -export * from "./DeleteFunctionCodeSigningConfigCommand"; -export * from "./DeleteFunctionCommand"; -export * from "./DeleteFunctionConcurrencyCommand"; -export * from "./DeleteFunctionEventInvokeConfigCommand"; -export * from "./DeleteFunctionUrlConfigCommand"; -export * from "./DeleteLayerVersionCommand"; -export * from "./DeleteProvisionedConcurrencyConfigCommand"; -export * from "./GetAccountSettingsCommand"; -export * from "./GetAliasCommand"; -export * from "./GetCodeSigningConfigCommand"; -export * from "./GetEventSourceMappingCommand"; -export * from "./GetFunctionCodeSigningConfigCommand"; -export * from "./GetFunctionCommand"; -export * from "./GetFunctionConcurrencyCommand"; -export * from "./GetFunctionConfigurationCommand"; -export * from "./GetFunctionEventInvokeConfigCommand"; -export * from "./GetFunctionUrlConfigCommand"; -export * from "./GetLayerVersionByArnCommand"; -export * from "./GetLayerVersionCommand"; -export * from "./GetLayerVersionPolicyCommand"; -export * from "./GetPolicyCommand"; -export * from "./GetProvisionedConcurrencyConfigCommand"; -export * from "./GetRuntimeManagementConfigCommand"; -export * from "./InvokeAsyncCommand"; -export * from "./InvokeCommand"; -export * from "./InvokeWithResponseStreamCommand"; -export * from "./ListAliasesCommand"; -export * from "./ListCodeSigningConfigsCommand"; -export * from "./ListEventSourceMappingsCommand"; -export * from "./ListFunctionEventInvokeConfigsCommand"; -export * from "./ListFunctionUrlConfigsCommand"; -export * from "./ListFunctionsByCodeSigningConfigCommand"; -export * from "./ListFunctionsCommand"; -export * from "./ListLayerVersionsCommand"; -export * from "./ListLayersCommand"; -export * from "./ListProvisionedConcurrencyConfigsCommand"; -export * from "./ListTagsCommand"; -export * from "./ListVersionsByFunctionCommand"; -export * from "./PublishLayerVersionCommand"; -export * from "./PublishVersionCommand"; -export * from "./PutFunctionCodeSigningConfigCommand"; -export * from "./PutFunctionConcurrencyCommand"; -export * from "./PutFunctionEventInvokeConfigCommand"; -export * from "./PutProvisionedConcurrencyConfigCommand"; -export * from "./PutRuntimeManagementConfigCommand"; -export * from "./RemoveLayerVersionPermissionCommand"; -export * from "./RemovePermissionCommand"; -export * from "./TagResourceCommand"; -export * from "./UntagResourceCommand"; -export * from "./UpdateAliasCommand"; -export * from "./UpdateCodeSigningConfigCommand"; -export * from "./UpdateEventSourceMappingCommand"; -export * from "./UpdateFunctionCodeCommand"; -export * from "./UpdateFunctionConfigurationCommand"; -export * from "./UpdateFunctionEventInvokeConfigCommand"; -export * from "./UpdateFunctionUrlConfigCommand"; diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/endpoint/ruleset.js b/node_modules/@aws-sdk/client-lambda/dist-es/endpoint/ruleset.js deleted file mode 100644 index 09693763..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-es/endpoint/ruleset.js +++ /dev/null @@ -1,4 +0,0 @@ -const s = "required", t = "fn", u = "argv", v = "ref"; -const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [s]: false, "type": "String" }, i = { [s]: true, "default": false, "type": "Boolean" }, j = { [v]: "Endpoint" }, k = { [t]: c, [u]: [{ [v]: "UseFIPS" }, true] }, l = { [t]: c, [u]: [{ [v]: "UseDualStack" }, true] }, m = {}, n = { [t]: "getAttr", [u]: [{ [v]: g }, "supportsFIPS"] }, o = { [t]: c, [u]: [true, { [t]: "getAttr", [u]: [{ [v]: g }, "supportsDualStack"] }] }, p = [k], q = [l], r = [{ [v]: "Region" }]; -const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h }, rules: [{ conditions: [{ [t]: b, [u]: [j] }], rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: j, properties: m, headers: m }, type: e }], type: f }, { conditions: [{ [t]: b, [u]: r }], rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: g }], rules: [{ conditions: [k, l], rules: [{ conditions: [{ [t]: c, [u]: [a, n] }, o], rules: [{ endpoint: { url: "https://lambda-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: p, rules: [{ conditions: [{ [t]: c, [u]: [n, a] }], rules: [{ endpoint: { url: "https://lambda-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: q, rules: [{ conditions: [o], rules: [{ endpoint: { url: "https://lambda.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { endpoint: { url: "https://lambda.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }] }; -export const ruleSet = _data; diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/models/index.js b/node_modules/@aws-sdk/client-lambda/dist-es/models/index.js deleted file mode 100644 index 09c5d6e0..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-es/models/index.js +++ /dev/null @@ -1 +0,0 @@ -export * from "./models_0"; diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/models/models_0.js b/node_modules/@aws-sdk/client-lambda/dist-es/models/models_0.js deleted file mode 100644 index 7235d0c0..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-es/models/models_0.js +++ /dev/null @@ -1,849 +0,0 @@ -import { SENSITIVE_STRING } from "@smithy/smithy-client"; -import { LambdaServiceException as __BaseException } from "./LambdaServiceException"; -export class InvalidParameterValueException extends __BaseException { - constructor(opts) { - super({ - name: "InvalidParameterValueException", - $fault: "client", - ...opts, - }); - this.name = "InvalidParameterValueException"; - this.$fault = "client"; - Object.setPrototypeOf(this, InvalidParameterValueException.prototype); - this.Type = opts.Type; - } -} -export class PolicyLengthExceededException extends __BaseException { - constructor(opts) { - super({ - name: "PolicyLengthExceededException", - $fault: "client", - ...opts, - }); - this.name = "PolicyLengthExceededException"; - this.$fault = "client"; - Object.setPrototypeOf(this, PolicyLengthExceededException.prototype); - this.Type = opts.Type; - } -} -export class PreconditionFailedException extends __BaseException { - constructor(opts) { - super({ - name: "PreconditionFailedException", - $fault: "client", - ...opts, - }); - this.name = "PreconditionFailedException"; - this.$fault = "client"; - Object.setPrototypeOf(this, PreconditionFailedException.prototype); - this.Type = opts.Type; - } -} -export class ResourceConflictException extends __BaseException { - constructor(opts) { - super({ - name: "ResourceConflictException", - $fault: "client", - ...opts, - }); - this.name = "ResourceConflictException"; - this.$fault = "client"; - Object.setPrototypeOf(this, ResourceConflictException.prototype); - this.Type = opts.Type; - } -} -export class ResourceNotFoundException extends __BaseException { - constructor(opts) { - super({ - name: "ResourceNotFoundException", - $fault: "client", - ...opts, - }); - this.name = "ResourceNotFoundException"; - this.$fault = "client"; - Object.setPrototypeOf(this, ResourceNotFoundException.prototype); - this.Type = opts.Type; - this.Message = opts.Message; - } -} -export class ServiceException extends __BaseException { - constructor(opts) { - super({ - name: "ServiceException", - $fault: "server", - ...opts, - }); - this.name = "ServiceException"; - this.$fault = "server"; - Object.setPrototypeOf(this, ServiceException.prototype); - this.Type = opts.Type; - this.Message = opts.Message; - } -} -export const ThrottleReason = { - CallerRateLimitExceeded: "CallerRateLimitExceeded", - ConcurrentInvocationLimitExceeded: "ConcurrentInvocationLimitExceeded", - ConcurrentSnapshotCreateLimitExceeded: "ConcurrentSnapshotCreateLimitExceeded", - FunctionInvocationRateLimitExceeded: "FunctionInvocationRateLimitExceeded", - ReservedFunctionConcurrentInvocationLimitExceeded: "ReservedFunctionConcurrentInvocationLimitExceeded", - ReservedFunctionInvocationRateLimitExceeded: "ReservedFunctionInvocationRateLimitExceeded", -}; -export class TooManyRequestsException extends __BaseException { - constructor(opts) { - super({ - name: "TooManyRequestsException", - $fault: "client", - ...opts, - }); - this.name = "TooManyRequestsException"; - this.$fault = "client"; - Object.setPrototypeOf(this, TooManyRequestsException.prototype); - this.retryAfterSeconds = opts.retryAfterSeconds; - this.Type = opts.Type; - this.Reason = opts.Reason; - } -} -export const FunctionUrlAuthType = { - AWS_IAM: "AWS_IAM", - NONE: "NONE", -}; -export const ApplicationLogLevel = { - Debug: "DEBUG", - Error: "ERROR", - Fatal: "FATAL", - Info: "INFO", - Trace: "TRACE", - Warn: "WARN", -}; -export const Architecture = { - arm64: "arm64", - x86_64: "x86_64", -}; -export const CodeSigningPolicy = { - Enforce: "Enforce", - Warn: "Warn", -}; -export const FullDocument = { - Default: "Default", - UpdateLookup: "UpdateLookup", -}; -export const FunctionResponseType = { - ReportBatchItemFailures: "ReportBatchItemFailures", -}; -export const EndPointType = { - KAFKA_BOOTSTRAP_SERVERS: "KAFKA_BOOTSTRAP_SERVERS", -}; -export const SourceAccessType = { - BASIC_AUTH: "BASIC_AUTH", - CLIENT_CERTIFICATE_TLS_AUTH: "CLIENT_CERTIFICATE_TLS_AUTH", - SASL_SCRAM_256_AUTH: "SASL_SCRAM_256_AUTH", - SASL_SCRAM_512_AUTH: "SASL_SCRAM_512_AUTH", - SERVER_ROOT_CA_CERTIFICATE: "SERVER_ROOT_CA_CERTIFICATE", - VIRTUAL_HOST: "VIRTUAL_HOST", - VPC_SECURITY_GROUP: "VPC_SECURITY_GROUP", - VPC_SUBNET: "VPC_SUBNET", -}; -export const EventSourcePosition = { - AT_TIMESTAMP: "AT_TIMESTAMP", - LATEST: "LATEST", - TRIM_HORIZON: "TRIM_HORIZON", -}; -export class CodeSigningConfigNotFoundException extends __BaseException { - constructor(opts) { - super({ - name: "CodeSigningConfigNotFoundException", - $fault: "client", - ...opts, - }); - this.name = "CodeSigningConfigNotFoundException"; - this.$fault = "client"; - Object.setPrototypeOf(this, CodeSigningConfigNotFoundException.prototype); - this.Type = opts.Type; - this.Message = opts.Message; - } -} -export class CodeStorageExceededException extends __BaseException { - constructor(opts) { - super({ - name: "CodeStorageExceededException", - $fault: "client", - ...opts, - }); - this.name = "CodeStorageExceededException"; - this.$fault = "client"; - Object.setPrototypeOf(this, CodeStorageExceededException.prototype); - this.Type = opts.Type; - } -} -export class CodeVerificationFailedException extends __BaseException { - constructor(opts) { - super({ - name: "CodeVerificationFailedException", - $fault: "client", - ...opts, - }); - this.name = "CodeVerificationFailedException"; - this.$fault = "client"; - Object.setPrototypeOf(this, CodeVerificationFailedException.prototype); - this.Type = opts.Type; - this.Message = opts.Message; - } -} -export const LogFormat = { - Json: "JSON", - Text: "Text", -}; -export const SystemLogLevel = { - Debug: "DEBUG", - Info: "INFO", - Warn: "WARN", -}; -export const PackageType = { - Image: "Image", - Zip: "Zip", -}; -export const Runtime = { - dotnet6: "dotnet6", - dotnetcore10: "dotnetcore1.0", - dotnetcore20: "dotnetcore2.0", - dotnetcore21: "dotnetcore2.1", - dotnetcore31: "dotnetcore3.1", - go1x: "go1.x", - java11: "java11", - java17: "java17", - java21: "java21", - java8: "java8", - java8al2: "java8.al2", - nodejs: "nodejs", - nodejs10x: "nodejs10.x", - nodejs12x: "nodejs12.x", - nodejs14x: "nodejs14.x", - nodejs16x: "nodejs16.x", - nodejs18x: "nodejs18.x", - nodejs20x: "nodejs20.x", - nodejs43: "nodejs4.3", - nodejs43edge: "nodejs4.3-edge", - nodejs610: "nodejs6.10", - nodejs810: "nodejs8.10", - provided: "provided", - providedal2: "provided.al2", - providedal2023: "provided.al2023", - python27: "python2.7", - python310: "python3.10", - python311: "python3.11", - python312: "python3.12", - python36: "python3.6", - python37: "python3.7", - python38: "python3.8", - python39: "python3.9", - ruby25: "ruby2.5", - ruby27: "ruby2.7", - ruby32: "ruby3.2", -}; -export const SnapStartApplyOn = { - None: "None", - PublishedVersions: "PublishedVersions", -}; -export const TracingMode = { - Active: "Active", - PassThrough: "PassThrough", -}; -export const LastUpdateStatus = { - Failed: "Failed", - InProgress: "InProgress", - Successful: "Successful", -}; -export const LastUpdateStatusReasonCode = { - DisabledKMSKey: "DisabledKMSKey", - EFSIOError: "EFSIOError", - EFSMountConnectivityError: "EFSMountConnectivityError", - EFSMountFailure: "EFSMountFailure", - EFSMountTimeout: "EFSMountTimeout", - EniLimitExceeded: "EniLimitExceeded", - FunctionError: "FunctionError", - ImageAccessDenied: "ImageAccessDenied", - ImageDeleted: "ImageDeleted", - InsufficientRolePermissions: "InsufficientRolePermissions", - InternalError: "InternalError", - InvalidConfiguration: "InvalidConfiguration", - InvalidImage: "InvalidImage", - InvalidRuntime: "InvalidRuntime", - InvalidSecurityGroup: "InvalidSecurityGroup", - InvalidStateKMSKey: "InvalidStateKMSKey", - InvalidSubnet: "InvalidSubnet", - InvalidZipFileException: "InvalidZipFileException", - KMSKeyAccessDenied: "KMSKeyAccessDenied", - KMSKeyNotFound: "KMSKeyNotFound", - SubnetOutOfIPAddresses: "SubnetOutOfIPAddresses", -}; -export const SnapStartOptimizationStatus = { - Off: "Off", - On: "On", -}; -export const State = { - Active: "Active", - Failed: "Failed", - Inactive: "Inactive", - Pending: "Pending", -}; -export const StateReasonCode = { - Creating: "Creating", - DisabledKMSKey: "DisabledKMSKey", - EFSIOError: "EFSIOError", - EFSMountConnectivityError: "EFSMountConnectivityError", - EFSMountFailure: "EFSMountFailure", - EFSMountTimeout: "EFSMountTimeout", - EniLimitExceeded: "EniLimitExceeded", - FunctionError: "FunctionError", - Idle: "Idle", - ImageAccessDenied: "ImageAccessDenied", - ImageDeleted: "ImageDeleted", - InsufficientRolePermissions: "InsufficientRolePermissions", - InternalError: "InternalError", - InvalidConfiguration: "InvalidConfiguration", - InvalidImage: "InvalidImage", - InvalidRuntime: "InvalidRuntime", - InvalidSecurityGroup: "InvalidSecurityGroup", - InvalidStateKMSKey: "InvalidStateKMSKey", - InvalidSubnet: "InvalidSubnet", - InvalidZipFileException: "InvalidZipFileException", - KMSKeyAccessDenied: "KMSKeyAccessDenied", - KMSKeyNotFound: "KMSKeyNotFound", - Restoring: "Restoring", - SubnetOutOfIPAddresses: "SubnetOutOfIPAddresses", -}; -export class InvalidCodeSignatureException extends __BaseException { - constructor(opts) { - super({ - name: "InvalidCodeSignatureException", - $fault: "client", - ...opts, - }); - this.name = "InvalidCodeSignatureException"; - this.$fault = "client"; - Object.setPrototypeOf(this, InvalidCodeSignatureException.prototype); - this.Type = opts.Type; - this.Message = opts.Message; - } -} -export const InvokeMode = { - BUFFERED: "BUFFERED", - RESPONSE_STREAM: "RESPONSE_STREAM", -}; -export class ResourceInUseException extends __BaseException { - constructor(opts) { - super({ - name: "ResourceInUseException", - $fault: "client", - ...opts, - }); - this.name = "ResourceInUseException"; - this.$fault = "client"; - Object.setPrototypeOf(this, ResourceInUseException.prototype); - this.Type = opts.Type; - this.Message = opts.Message; - } -} -export const ProvisionedConcurrencyStatusEnum = { - FAILED: "FAILED", - IN_PROGRESS: "IN_PROGRESS", - READY: "READY", -}; -export class ProvisionedConcurrencyConfigNotFoundException extends __BaseException { - constructor(opts) { - super({ - name: "ProvisionedConcurrencyConfigNotFoundException", - $fault: "client", - ...opts, - }); - this.name = "ProvisionedConcurrencyConfigNotFoundException"; - this.$fault = "client"; - Object.setPrototypeOf(this, ProvisionedConcurrencyConfigNotFoundException.prototype); - this.Type = opts.Type; - } -} -export const UpdateRuntimeOn = { - Auto: "Auto", - FunctionUpdate: "FunctionUpdate", - Manual: "Manual", -}; -export class EC2AccessDeniedException extends __BaseException { - constructor(opts) { - super({ - name: "EC2AccessDeniedException", - $fault: "server", - ...opts, - }); - this.name = "EC2AccessDeniedException"; - this.$fault = "server"; - Object.setPrototypeOf(this, EC2AccessDeniedException.prototype); - this.Type = opts.Type; - this.Message = opts.Message; - } -} -export class EC2ThrottledException extends __BaseException { - constructor(opts) { - super({ - name: "EC2ThrottledException", - $fault: "server", - ...opts, - }); - this.name = "EC2ThrottledException"; - this.$fault = "server"; - Object.setPrototypeOf(this, EC2ThrottledException.prototype); - this.Type = opts.Type; - this.Message = opts.Message; - } -} -export class EC2UnexpectedException extends __BaseException { - constructor(opts) { - super({ - name: "EC2UnexpectedException", - $fault: "server", - ...opts, - }); - this.name = "EC2UnexpectedException"; - this.$fault = "server"; - Object.setPrototypeOf(this, EC2UnexpectedException.prototype); - this.Type = opts.Type; - this.Message = opts.Message; - this.EC2ErrorCode = opts.EC2ErrorCode; - } -} -export class EFSIOException extends __BaseException { - constructor(opts) { - super({ - name: "EFSIOException", - $fault: "client", - ...opts, - }); - this.name = "EFSIOException"; - this.$fault = "client"; - Object.setPrototypeOf(this, EFSIOException.prototype); - this.Type = opts.Type; - this.Message = opts.Message; - } -} -export class EFSMountConnectivityException extends __BaseException { - constructor(opts) { - super({ - name: "EFSMountConnectivityException", - $fault: "client", - ...opts, - }); - this.name = "EFSMountConnectivityException"; - this.$fault = "client"; - Object.setPrototypeOf(this, EFSMountConnectivityException.prototype); - this.Type = opts.Type; - this.Message = opts.Message; - } -} -export class EFSMountFailureException extends __BaseException { - constructor(opts) { - super({ - name: "EFSMountFailureException", - $fault: "client", - ...opts, - }); - this.name = "EFSMountFailureException"; - this.$fault = "client"; - Object.setPrototypeOf(this, EFSMountFailureException.prototype); - this.Type = opts.Type; - this.Message = opts.Message; - } -} -export class EFSMountTimeoutException extends __BaseException { - constructor(opts) { - super({ - name: "EFSMountTimeoutException", - $fault: "client", - ...opts, - }); - this.name = "EFSMountTimeoutException"; - this.$fault = "client"; - Object.setPrototypeOf(this, EFSMountTimeoutException.prototype); - this.Type = opts.Type; - this.Message = opts.Message; - } -} -export class ENILimitReachedException extends __BaseException { - constructor(opts) { - super({ - name: "ENILimitReachedException", - $fault: "server", - ...opts, - }); - this.name = "ENILimitReachedException"; - this.$fault = "server"; - Object.setPrototypeOf(this, ENILimitReachedException.prototype); - this.Type = opts.Type; - this.Message = opts.Message; - } -} -export class InvalidRequestContentException extends __BaseException { - constructor(opts) { - super({ - name: "InvalidRequestContentException", - $fault: "client", - ...opts, - }); - this.name = "InvalidRequestContentException"; - this.$fault = "client"; - Object.setPrototypeOf(this, InvalidRequestContentException.prototype); - this.Type = opts.Type; - } -} -export class InvalidRuntimeException extends __BaseException { - constructor(opts) { - super({ - name: "InvalidRuntimeException", - $fault: "server", - ...opts, - }); - this.name = "InvalidRuntimeException"; - this.$fault = "server"; - Object.setPrototypeOf(this, InvalidRuntimeException.prototype); - this.Type = opts.Type; - this.Message = opts.Message; - } -} -export class InvalidSecurityGroupIDException extends __BaseException { - constructor(opts) { - super({ - name: "InvalidSecurityGroupIDException", - $fault: "server", - ...opts, - }); - this.name = "InvalidSecurityGroupIDException"; - this.$fault = "server"; - Object.setPrototypeOf(this, InvalidSecurityGroupIDException.prototype); - this.Type = opts.Type; - this.Message = opts.Message; - } -} -export class InvalidSubnetIDException extends __BaseException { - constructor(opts) { - super({ - name: "InvalidSubnetIDException", - $fault: "server", - ...opts, - }); - this.name = "InvalidSubnetIDException"; - this.$fault = "server"; - Object.setPrototypeOf(this, InvalidSubnetIDException.prototype); - this.Type = opts.Type; - this.Message = opts.Message; - } -} -export class InvalidZipFileException extends __BaseException { - constructor(opts) { - super({ - name: "InvalidZipFileException", - $fault: "server", - ...opts, - }); - this.name = "InvalidZipFileException"; - this.$fault = "server"; - Object.setPrototypeOf(this, InvalidZipFileException.prototype); - this.Type = opts.Type; - this.Message = opts.Message; - } -} -export const InvocationType = { - DryRun: "DryRun", - Event: "Event", - RequestResponse: "RequestResponse", -}; -export const LogType = { - None: "None", - Tail: "Tail", -}; -export class KMSAccessDeniedException extends __BaseException { - constructor(opts) { - super({ - name: "KMSAccessDeniedException", - $fault: "server", - ...opts, - }); - this.name = "KMSAccessDeniedException"; - this.$fault = "server"; - Object.setPrototypeOf(this, KMSAccessDeniedException.prototype); - this.Type = opts.Type; - this.Message = opts.Message; - } -} -export class KMSDisabledException extends __BaseException { - constructor(opts) { - super({ - name: "KMSDisabledException", - $fault: "server", - ...opts, - }); - this.name = "KMSDisabledException"; - this.$fault = "server"; - Object.setPrototypeOf(this, KMSDisabledException.prototype); - this.Type = opts.Type; - this.Message = opts.Message; - } -} -export class KMSInvalidStateException extends __BaseException { - constructor(opts) { - super({ - name: "KMSInvalidStateException", - $fault: "server", - ...opts, - }); - this.name = "KMSInvalidStateException"; - this.$fault = "server"; - Object.setPrototypeOf(this, KMSInvalidStateException.prototype); - this.Type = opts.Type; - this.Message = opts.Message; - } -} -export class KMSNotFoundException extends __BaseException { - constructor(opts) { - super({ - name: "KMSNotFoundException", - $fault: "server", - ...opts, - }); - this.name = "KMSNotFoundException"; - this.$fault = "server"; - Object.setPrototypeOf(this, KMSNotFoundException.prototype); - this.Type = opts.Type; - this.Message = opts.Message; - } -} -export class RecursiveInvocationException extends __BaseException { - constructor(opts) { - super({ - name: "RecursiveInvocationException", - $fault: "client", - ...opts, - }); - this.name = "RecursiveInvocationException"; - this.$fault = "client"; - Object.setPrototypeOf(this, RecursiveInvocationException.prototype); - this.Type = opts.Type; - this.Message = opts.Message; - } -} -export class RequestTooLargeException extends __BaseException { - constructor(opts) { - super({ - name: "RequestTooLargeException", - $fault: "client", - ...opts, - }); - this.name = "RequestTooLargeException"; - this.$fault = "client"; - Object.setPrototypeOf(this, RequestTooLargeException.prototype); - this.Type = opts.Type; - } -} -export class ResourceNotReadyException extends __BaseException { - constructor(opts) { - super({ - name: "ResourceNotReadyException", - $fault: "server", - ...opts, - }); - this.name = "ResourceNotReadyException"; - this.$fault = "server"; - Object.setPrototypeOf(this, ResourceNotReadyException.prototype); - this.Type = opts.Type; - } -} -export class SnapStartException extends __BaseException { - constructor(opts) { - super({ - name: "SnapStartException", - $fault: "client", - ...opts, - }); - this.name = "SnapStartException"; - this.$fault = "client"; - Object.setPrototypeOf(this, SnapStartException.prototype); - this.Type = opts.Type; - this.Message = opts.Message; - } -} -export class SnapStartNotReadyException extends __BaseException { - constructor(opts) { - super({ - name: "SnapStartNotReadyException", - $fault: "client", - ...opts, - }); - this.name = "SnapStartNotReadyException"; - this.$fault = "client"; - Object.setPrototypeOf(this, SnapStartNotReadyException.prototype); - this.Type = opts.Type; - this.Message = opts.Message; - } -} -export class SnapStartTimeoutException extends __BaseException { - constructor(opts) { - super({ - name: "SnapStartTimeoutException", - $fault: "client", - ...opts, - }); - this.name = "SnapStartTimeoutException"; - this.$fault = "client"; - Object.setPrototypeOf(this, SnapStartTimeoutException.prototype); - this.Type = opts.Type; - this.Message = opts.Message; - } -} -export class SubnetIPAddressLimitReachedException extends __BaseException { - constructor(opts) { - super({ - name: "SubnetIPAddressLimitReachedException", - $fault: "server", - ...opts, - }); - this.name = "SubnetIPAddressLimitReachedException"; - this.$fault = "server"; - Object.setPrototypeOf(this, SubnetIPAddressLimitReachedException.prototype); - this.Type = opts.Type; - this.Message = opts.Message; - } -} -export class UnsupportedMediaTypeException extends __BaseException { - constructor(opts) { - super({ - name: "UnsupportedMediaTypeException", - $fault: "client", - ...opts, - }); - this.name = "UnsupportedMediaTypeException"; - this.$fault = "client"; - Object.setPrototypeOf(this, UnsupportedMediaTypeException.prototype); - this.Type = opts.Type; - } -} -export const ResponseStreamingInvocationType = { - DryRun: "DryRun", - RequestResponse: "RequestResponse", -}; -export var InvokeWithResponseStreamResponseEvent; -(function (InvokeWithResponseStreamResponseEvent) { - InvokeWithResponseStreamResponseEvent.visit = (value, visitor) => { - if (value.PayloadChunk !== undefined) - return visitor.PayloadChunk(value.PayloadChunk); - if (value.InvokeComplete !== undefined) - return visitor.InvokeComplete(value.InvokeComplete); - return visitor._(value.$unknown[0], value.$unknown[1]); - }; -})(InvokeWithResponseStreamResponseEvent || (InvokeWithResponseStreamResponseEvent = {})); -export const FunctionVersion = { - ALL: "ALL", -}; -export const FunctionCodeFilterSensitiveLog = (obj) => ({ - ...obj, - ...(obj.ZipFile && { ZipFile: SENSITIVE_STRING }), -}); -export const EnvironmentFilterSensitiveLog = (obj) => ({ - ...obj, - ...(obj.Variables && { Variables: SENSITIVE_STRING }), -}); -export const CreateFunctionRequestFilterSensitiveLog = (obj) => ({ - ...obj, - ...(obj.Code && { Code: FunctionCodeFilterSensitiveLog(obj.Code) }), - ...(obj.Environment && { Environment: EnvironmentFilterSensitiveLog(obj.Environment) }), -}); -export const EnvironmentErrorFilterSensitiveLog = (obj) => ({ - ...obj, - ...(obj.Message && { Message: SENSITIVE_STRING }), -}); -export const EnvironmentResponseFilterSensitiveLog = (obj) => ({ - ...obj, - ...(obj.Variables && { Variables: SENSITIVE_STRING }), - ...(obj.Error && { Error: EnvironmentErrorFilterSensitiveLog(obj.Error) }), -}); -export const ImageConfigErrorFilterSensitiveLog = (obj) => ({ - ...obj, - ...(obj.Message && { Message: SENSITIVE_STRING }), -}); -export const ImageConfigResponseFilterSensitiveLog = (obj) => ({ - ...obj, - ...(obj.Error && { Error: ImageConfigErrorFilterSensitiveLog(obj.Error) }), -}); -export const RuntimeVersionErrorFilterSensitiveLog = (obj) => ({ - ...obj, - ...(obj.Message && { Message: SENSITIVE_STRING }), -}); -export const RuntimeVersionConfigFilterSensitiveLog = (obj) => ({ - ...obj, - ...(obj.Error && { Error: RuntimeVersionErrorFilterSensitiveLog(obj.Error) }), -}); -export const FunctionConfigurationFilterSensitiveLog = (obj) => ({ - ...obj, - ...(obj.Environment && { Environment: EnvironmentResponseFilterSensitiveLog(obj.Environment) }), - ...(obj.ImageConfigResponse && { - ImageConfigResponse: ImageConfigResponseFilterSensitiveLog(obj.ImageConfigResponse), - }), - ...(obj.RuntimeVersionConfig && { - RuntimeVersionConfig: RuntimeVersionConfigFilterSensitiveLog(obj.RuntimeVersionConfig), - }), -}); -export const GetFunctionResponseFilterSensitiveLog = (obj) => ({ - ...obj, - ...(obj.Configuration && { Configuration: FunctionConfigurationFilterSensitiveLog(obj.Configuration) }), -}); -export const InvocationRequestFilterSensitiveLog = (obj) => ({ - ...obj, - ...(obj.Payload && { Payload: SENSITIVE_STRING }), -}); -export const InvocationResponseFilterSensitiveLog = (obj) => ({ - ...obj, - ...(obj.Payload && { Payload: SENSITIVE_STRING }), -}); -export const InvokeAsyncRequestFilterSensitiveLog = (obj) => ({ - ...obj, -}); -export const InvokeWithResponseStreamRequestFilterSensitiveLog = (obj) => ({ - ...obj, - ...(obj.Payload && { Payload: SENSITIVE_STRING }), -}); -export const InvokeResponseStreamUpdateFilterSensitiveLog = (obj) => ({ - ...obj, - ...(obj.Payload && { Payload: SENSITIVE_STRING }), -}); -export const InvokeWithResponseStreamResponseEventFilterSensitiveLog = (obj) => { - if (obj.PayloadChunk !== undefined) - return { PayloadChunk: InvokeResponseStreamUpdateFilterSensitiveLog(obj.PayloadChunk) }; - if (obj.InvokeComplete !== undefined) - return { InvokeComplete: obj.InvokeComplete }; - if (obj.$unknown !== undefined) - return { [obj.$unknown[0]]: "UNKNOWN" }; -}; -export const InvokeWithResponseStreamResponseFilterSensitiveLog = (obj) => ({ - ...obj, - ...(obj.EventStream && { EventStream: "STREAMING_CONTENT" }), -}); -export const ListFunctionsResponseFilterSensitiveLog = (obj) => ({ - ...obj, - ...(obj.Functions && { Functions: obj.Functions.map((item) => FunctionConfigurationFilterSensitiveLog(item)) }), -}); -export const ListVersionsByFunctionResponseFilterSensitiveLog = (obj) => ({ - ...obj, - ...(obj.Versions && { Versions: obj.Versions.map((item) => FunctionConfigurationFilterSensitiveLog(item)) }), -}); -export const LayerVersionContentInputFilterSensitiveLog = (obj) => ({ - ...obj, - ...(obj.ZipFile && { ZipFile: SENSITIVE_STRING }), -}); -export const PublishLayerVersionRequestFilterSensitiveLog = (obj) => ({ - ...obj, - ...(obj.Content && { Content: LayerVersionContentInputFilterSensitiveLog(obj.Content) }), -}); -export const UpdateFunctionCodeRequestFilterSensitiveLog = (obj) => ({ - ...obj, - ...(obj.ZipFile && { ZipFile: SENSITIVE_STRING }), -}); -export const UpdateFunctionConfigurationRequestFilterSensitiveLog = (obj) => ({ - ...obj, - ...(obj.Environment && { Environment: EnvironmentFilterSensitiveLog(obj.Environment) }), -}); diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/pagination/ListAliasesPaginator.js b/node_modules/@aws-sdk/client-lambda/dist-es/pagination/ListAliasesPaginator.js deleted file mode 100644 index 4b6ca80a..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-es/pagination/ListAliasesPaginator.js +++ /dev/null @@ -1,25 +0,0 @@ -import { ListAliasesCommand } from "../commands/ListAliasesCommand"; -import { LambdaClient } from "../LambdaClient"; -const makePagedClientRequest = async (client, input, ...args) => { - return await client.send(new ListAliasesCommand(input), ...args); -}; -export async function* paginateListAliases(config, input, ...additionalArguments) { - let token = config.startingToken || undefined; - let hasNext = true; - let page; - while (hasNext) { - input.Marker = token; - input["MaxItems"] = config.pageSize; - if (config.client instanceof LambdaClient) { - page = await makePagedClientRequest(config.client, input, ...additionalArguments); - } - else { - throw new Error("Invalid client, expected Lambda | LambdaClient"); - } - yield page; - const prevToken = token; - token = page.NextMarker; - hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); - } - return undefined; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/pagination/ListCodeSigningConfigsPaginator.js b/node_modules/@aws-sdk/client-lambda/dist-es/pagination/ListCodeSigningConfigsPaginator.js deleted file mode 100644 index cdf3b4eb..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-es/pagination/ListCodeSigningConfigsPaginator.js +++ /dev/null @@ -1,25 +0,0 @@ -import { ListCodeSigningConfigsCommand, } from "../commands/ListCodeSigningConfigsCommand"; -import { LambdaClient } from "../LambdaClient"; -const makePagedClientRequest = async (client, input, ...args) => { - return await client.send(new ListCodeSigningConfigsCommand(input), ...args); -}; -export async function* paginateListCodeSigningConfigs(config, input, ...additionalArguments) { - let token = config.startingToken || undefined; - let hasNext = true; - let page; - while (hasNext) { - input.Marker = token; - input["MaxItems"] = config.pageSize; - if (config.client instanceof LambdaClient) { - page = await makePagedClientRequest(config.client, input, ...additionalArguments); - } - else { - throw new Error("Invalid client, expected Lambda | LambdaClient"); - } - yield page; - const prevToken = token; - token = page.NextMarker; - hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); - } - return undefined; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/pagination/ListFunctionsByCodeSigningConfigPaginator.js b/node_modules/@aws-sdk/client-lambda/dist-es/pagination/ListFunctionsByCodeSigningConfigPaginator.js deleted file mode 100644 index 4f7ac6f4..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-es/pagination/ListFunctionsByCodeSigningConfigPaginator.js +++ /dev/null @@ -1,25 +0,0 @@ -import { ListFunctionsByCodeSigningConfigCommand, } from "../commands/ListFunctionsByCodeSigningConfigCommand"; -import { LambdaClient } from "../LambdaClient"; -const makePagedClientRequest = async (client, input, ...args) => { - return await client.send(new ListFunctionsByCodeSigningConfigCommand(input), ...args); -}; -export async function* paginateListFunctionsByCodeSigningConfig(config, input, ...additionalArguments) { - let token = config.startingToken || undefined; - let hasNext = true; - let page; - while (hasNext) { - input.Marker = token; - input["MaxItems"] = config.pageSize; - if (config.client instanceof LambdaClient) { - page = await makePagedClientRequest(config.client, input, ...additionalArguments); - } - else { - throw new Error("Invalid client, expected Lambda | LambdaClient"); - } - yield page; - const prevToken = token; - token = page.NextMarker; - hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); - } - return undefined; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/pagination/ListLayersPaginator.js b/node_modules/@aws-sdk/client-lambda/dist-es/pagination/ListLayersPaginator.js deleted file mode 100644 index f06ab78e..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-es/pagination/ListLayersPaginator.js +++ /dev/null @@ -1,25 +0,0 @@ -import { ListLayersCommand } from "../commands/ListLayersCommand"; -import { LambdaClient } from "../LambdaClient"; -const makePagedClientRequest = async (client, input, ...args) => { - return await client.send(new ListLayersCommand(input), ...args); -}; -export async function* paginateListLayers(config, input, ...additionalArguments) { - let token = config.startingToken || undefined; - let hasNext = true; - let page; - while (hasNext) { - input.Marker = token; - input["MaxItems"] = config.pageSize; - if (config.client instanceof LambdaClient) { - page = await makePagedClientRequest(config.client, input, ...additionalArguments); - } - else { - throw new Error("Invalid client, expected Lambda | LambdaClient"); - } - yield page; - const prevToken = token; - token = page.NextMarker; - hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); - } - return undefined; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/pagination/ListProvisionedConcurrencyConfigsPaginator.js b/node_modules/@aws-sdk/client-lambda/dist-es/pagination/ListProvisionedConcurrencyConfigsPaginator.js deleted file mode 100644 index 16733c93..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-es/pagination/ListProvisionedConcurrencyConfigsPaginator.js +++ /dev/null @@ -1,25 +0,0 @@ -import { ListProvisionedConcurrencyConfigsCommand, } from "../commands/ListProvisionedConcurrencyConfigsCommand"; -import { LambdaClient } from "../LambdaClient"; -const makePagedClientRequest = async (client, input, ...args) => { - return await client.send(new ListProvisionedConcurrencyConfigsCommand(input), ...args); -}; -export async function* paginateListProvisionedConcurrencyConfigs(config, input, ...additionalArguments) { - let token = config.startingToken || undefined; - let hasNext = true; - let page; - while (hasNext) { - input.Marker = token; - input["MaxItems"] = config.pageSize; - if (config.client instanceof LambdaClient) { - page = await makePagedClientRequest(config.client, input, ...additionalArguments); - } - else { - throw new Error("Invalid client, expected Lambda | LambdaClient"); - } - yield page; - const prevToken = token; - token = page.NextMarker; - hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); - } - return undefined; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/pagination/index.js b/node_modules/@aws-sdk/client-lambda/dist-es/pagination/index.js deleted file mode 100644 index 8c05cc24..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-es/pagination/index.js +++ /dev/null @@ -1,12 +0,0 @@ -export * from "./Interfaces"; -export * from "./ListAliasesPaginator"; -export * from "./ListCodeSigningConfigsPaginator"; -export * from "./ListEventSourceMappingsPaginator"; -export * from "./ListFunctionEventInvokeConfigsPaginator"; -export * from "./ListFunctionUrlConfigsPaginator"; -export * from "./ListFunctionsByCodeSigningConfigPaginator"; -export * from "./ListFunctionsPaginator"; -export * from "./ListLayerVersionsPaginator"; -export * from "./ListLayersPaginator"; -export * from "./ListProvisionedConcurrencyConfigsPaginator"; -export * from "./ListVersionsByFunctionPaginator"; diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/protocols/Aws_restJson1.js b/node_modules/@aws-sdk/client-lambda/dist-es/protocols/Aws_restJson1.js deleted file mode 100644 index b167a3ea..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-es/protocols/Aws_restJson1.js +++ /dev/null @@ -1,5647 +0,0 @@ -import { HttpRequest as __HttpRequest } from "@smithy/protocol-http"; -import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, limitedParseDouble as __limitedParseDouble, map, parseEpochTimestamp as __parseEpochTimestamp, resolvedPath as __resolvedPath, serializeFloat as __serializeFloat, take, withBaseException, } from "@smithy/smithy-client"; -import { LambdaServiceException as __BaseException } from "../models/LambdaServiceException"; -import { CodeSigningConfigNotFoundException, CodeStorageExceededException, CodeVerificationFailedException, EC2AccessDeniedException, EC2ThrottledException, EC2UnexpectedException, EFSIOException, EFSMountConnectivityException, EFSMountFailureException, EFSMountTimeoutException, ENILimitReachedException, InvalidCodeSignatureException, InvalidParameterValueException, InvalidRequestContentException, InvalidRuntimeException, InvalidSecurityGroupIDException, InvalidSubnetIDException, InvalidZipFileException, KMSAccessDeniedException, KMSDisabledException, KMSInvalidStateException, KMSNotFoundException, PolicyLengthExceededException, PreconditionFailedException, ProvisionedConcurrencyConfigNotFoundException, RecursiveInvocationException, RequestTooLargeException, ResourceConflictException, ResourceInUseException, ResourceNotFoundException, ResourceNotReadyException, ServiceException, SnapStartException, SnapStartNotReadyException, SnapStartTimeoutException, SubnetIPAddressLimitReachedException, TooManyRequestsException, UnsupportedMediaTypeException, } from "../models/models_0"; -export const se_AddLayerVersionPermissionCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = { - "content-type": "application/json", - }; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + - "/2018-10-31/layers/{LayerName}/versions/{VersionNumber}/policy"; - resolvedPath = __resolvedPath(resolvedPath, input, "LayerName", () => input.LayerName, "{LayerName}", false); - resolvedPath = __resolvedPath(resolvedPath, input, "VersionNumber", () => input.VersionNumber.toString(), "{VersionNumber}", false); - const query = map({ - RevisionId: [, input.RevisionId], - }); - let body; - body = JSON.stringify(take(input, { - Action: [], - OrganizationId: [], - Principal: [], - StatementId: [], - })); - return new __HttpRequest({ - protocol, - hostname, - port, - method: "POST", - headers, - path: resolvedPath, - query, - body, - }); -}; -export const se_AddPermissionCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = { - "content-type": "application/json", - }; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + - "/2015-03-31/functions/{FunctionName}/policy"; - resolvedPath = __resolvedPath(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false); - const query = map({ - Qualifier: [, input.Qualifier], - }); - let body; - body = JSON.stringify(take(input, { - Action: [], - EventSourceToken: [], - FunctionUrlAuthType: [], - Principal: [], - PrincipalOrgID: [], - RevisionId: [], - SourceAccount: [], - SourceArn: [], - StatementId: [], - })); - return new __HttpRequest({ - protocol, - hostname, - port, - method: "POST", - headers, - path: resolvedPath, - query, - body, - }); -}; -export const se_CreateAliasCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = { - "content-type": "application/json", - }; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + - "/2015-03-31/functions/{FunctionName}/aliases"; - resolvedPath = __resolvedPath(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false); - let body; - body = JSON.stringify(take(input, { - Description: [], - FunctionVersion: [], - Name: [], - RoutingConfig: (_) => se_AliasRoutingConfiguration(_, context), - })); - return new __HttpRequest({ - protocol, - hostname, - port, - method: "POST", - headers, - path: resolvedPath, - body, - }); -}; -export const se_CreateCodeSigningConfigCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = { - "content-type": "application/json", - }; - const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2020-04-22/code-signing-configs"; - let body; - body = JSON.stringify(take(input, { - AllowedPublishers: (_) => _json(_), - CodeSigningPolicies: (_) => _json(_), - Description: [], - })); - return new __HttpRequest({ - protocol, - hostname, - port, - method: "POST", - headers, - path: resolvedPath, - body, - }); -}; -export const se_CreateEventSourceMappingCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = { - "content-type": "application/json", - }; - const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2015-03-31/event-source-mappings"; - let body; - body = JSON.stringify(take(input, { - AmazonManagedKafkaEventSourceConfig: (_) => _json(_), - BatchSize: [], - BisectBatchOnFunctionError: [], - DestinationConfig: (_) => _json(_), - DocumentDBEventSourceConfig: (_) => _json(_), - Enabled: [], - EventSourceArn: [], - FilterCriteria: (_) => _json(_), - FunctionName: [], - FunctionResponseTypes: (_) => _json(_), - MaximumBatchingWindowInSeconds: [], - MaximumRecordAgeInSeconds: [], - MaximumRetryAttempts: [], - ParallelizationFactor: [], - Queues: (_) => _json(_), - ScalingConfig: (_) => _json(_), - SelfManagedEventSource: (_) => _json(_), - SelfManagedKafkaEventSourceConfig: (_) => _json(_), - SourceAccessConfigurations: (_) => _json(_), - StartingPosition: [], - StartingPositionTimestamp: (_) => Math.round(_.getTime() / 1000), - Topics: (_) => _json(_), - TumblingWindowInSeconds: [], - })); - return new __HttpRequest({ - protocol, - hostname, - port, - method: "POST", - headers, - path: resolvedPath, - body, - }); -}; -export const se_CreateFunctionCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = { - "content-type": "application/json", - }; - const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2015-03-31/functions"; - let body; - body = JSON.stringify(take(input, { - Architectures: (_) => _json(_), - Code: (_) => se_FunctionCode(_, context), - CodeSigningConfigArn: [], - DeadLetterConfig: (_) => _json(_), - Description: [], - Environment: (_) => _json(_), - EphemeralStorage: (_) => _json(_), - FileSystemConfigs: (_) => _json(_), - FunctionName: [], - Handler: [], - ImageConfig: (_) => _json(_), - KMSKeyArn: [], - Layers: (_) => _json(_), - LoggingConfig: (_) => _json(_), - MemorySize: [], - PackageType: [], - Publish: [], - Role: [], - Runtime: [], - SnapStart: (_) => _json(_), - Tags: (_) => _json(_), - Timeout: [], - TracingConfig: (_) => _json(_), - VpcConfig: (_) => _json(_), - })); - return new __HttpRequest({ - protocol, - hostname, - port, - method: "POST", - headers, - path: resolvedPath, - body, - }); -}; -export const se_CreateFunctionUrlConfigCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = { - "content-type": "application/json", - }; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2021-10-31/functions/{FunctionName}/url"; - resolvedPath = __resolvedPath(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false); - const query = map({ - Qualifier: [, input.Qualifier], - }); - let body; - body = JSON.stringify(take(input, { - AuthType: [], - Cors: (_) => _json(_), - InvokeMode: [], - })); - return new __HttpRequest({ - protocol, - hostname, - port, - method: "POST", - headers, - path: resolvedPath, - query, - body, - }); -}; -export const se_DeleteAliasCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = {}; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + - "/2015-03-31/functions/{FunctionName}/aliases/{Name}"; - resolvedPath = __resolvedPath(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false); - resolvedPath = __resolvedPath(resolvedPath, input, "Name", () => input.Name, "{Name}", false); - let body; - return new __HttpRequest({ - protocol, - hostname, - port, - method: "DELETE", - headers, - path: resolvedPath, - body, - }); -}; -export const se_DeleteCodeSigningConfigCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = {}; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + - "/2020-04-22/code-signing-configs/{CodeSigningConfigArn}"; - resolvedPath = __resolvedPath(resolvedPath, input, "CodeSigningConfigArn", () => input.CodeSigningConfigArn, "{CodeSigningConfigArn}", false); - let body; - return new __HttpRequest({ - protocol, - hostname, - port, - method: "DELETE", - headers, - path: resolvedPath, - body, - }); -}; -export const se_DeleteEventSourceMappingCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = {}; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2015-03-31/event-source-mappings/{UUID}"; - resolvedPath = __resolvedPath(resolvedPath, input, "UUID", () => input.UUID, "{UUID}", false); - let body; - return new __HttpRequest({ - protocol, - hostname, - port, - method: "DELETE", - headers, - path: resolvedPath, - body, - }); -}; -export const se_DeleteFunctionCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = {}; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2015-03-31/functions/{FunctionName}"; - resolvedPath = __resolvedPath(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false); - const query = map({ - Qualifier: [, input.Qualifier], - }); - let body; - return new __HttpRequest({ - protocol, - hostname, - port, - method: "DELETE", - headers, - path: resolvedPath, - query, - body, - }); -}; -export const se_DeleteFunctionCodeSigningConfigCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = {}; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + - "/2020-06-30/functions/{FunctionName}/code-signing-config"; - resolvedPath = __resolvedPath(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false); - let body; - return new __HttpRequest({ - protocol, - hostname, - port, - method: "DELETE", - headers, - path: resolvedPath, - body, - }); -}; -export const se_DeleteFunctionConcurrencyCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = {}; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + - "/2017-10-31/functions/{FunctionName}/concurrency"; - resolvedPath = __resolvedPath(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false); - let body; - return new __HttpRequest({ - protocol, - hostname, - port, - method: "DELETE", - headers, - path: resolvedPath, - body, - }); -}; -export const se_DeleteFunctionEventInvokeConfigCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = {}; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + - "/2019-09-25/functions/{FunctionName}/event-invoke-config"; - resolvedPath = __resolvedPath(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false); - const query = map({ - Qualifier: [, input.Qualifier], - }); - let body; - return new __HttpRequest({ - protocol, - hostname, - port, - method: "DELETE", - headers, - path: resolvedPath, - query, - body, - }); -}; -export const se_DeleteFunctionUrlConfigCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = {}; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2021-10-31/functions/{FunctionName}/url"; - resolvedPath = __resolvedPath(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false); - const query = map({ - Qualifier: [, input.Qualifier], - }); - let body; - return new __HttpRequest({ - protocol, - hostname, - port, - method: "DELETE", - headers, - path: resolvedPath, - query, - body, - }); -}; -export const se_DeleteLayerVersionCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = {}; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + - "/2018-10-31/layers/{LayerName}/versions/{VersionNumber}"; - resolvedPath = __resolvedPath(resolvedPath, input, "LayerName", () => input.LayerName, "{LayerName}", false); - resolvedPath = __resolvedPath(resolvedPath, input, "VersionNumber", () => input.VersionNumber.toString(), "{VersionNumber}", false); - let body; - return new __HttpRequest({ - protocol, - hostname, - port, - method: "DELETE", - headers, - path: resolvedPath, - body, - }); -}; -export const se_DeleteProvisionedConcurrencyConfigCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = {}; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + - "/2019-09-30/functions/{FunctionName}/provisioned-concurrency"; - resolvedPath = __resolvedPath(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false); - const query = map({ - Qualifier: [, __expectNonNull(input.Qualifier, `Qualifier`)], - }); - let body; - return new __HttpRequest({ - protocol, - hostname, - port, - method: "DELETE", - headers, - path: resolvedPath, - query, - body, - }); -}; -export const se_GetAccountSettingsCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = { - "content-type": "application/json", - }; - const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2016-08-19/account-settings"; - let body; - body = ""; - return new __HttpRequest({ - protocol, - hostname, - port, - method: "GET", - headers, - path: resolvedPath, - body, - }); -}; -export const se_GetAliasCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = {}; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + - "/2015-03-31/functions/{FunctionName}/aliases/{Name}"; - resolvedPath = __resolvedPath(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false); - resolvedPath = __resolvedPath(resolvedPath, input, "Name", () => input.Name, "{Name}", false); - let body; - return new __HttpRequest({ - protocol, - hostname, - port, - method: "GET", - headers, - path: resolvedPath, - body, - }); -}; -export const se_GetCodeSigningConfigCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = {}; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + - "/2020-04-22/code-signing-configs/{CodeSigningConfigArn}"; - resolvedPath = __resolvedPath(resolvedPath, input, "CodeSigningConfigArn", () => input.CodeSigningConfigArn, "{CodeSigningConfigArn}", false); - let body; - return new __HttpRequest({ - protocol, - hostname, - port, - method: "GET", - headers, - path: resolvedPath, - body, - }); -}; -export const se_GetEventSourceMappingCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = {}; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2015-03-31/event-source-mappings/{UUID}"; - resolvedPath = __resolvedPath(resolvedPath, input, "UUID", () => input.UUID, "{UUID}", false); - let body; - return new __HttpRequest({ - protocol, - hostname, - port, - method: "GET", - headers, - path: resolvedPath, - body, - }); -}; -export const se_GetFunctionCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = {}; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2015-03-31/functions/{FunctionName}"; - resolvedPath = __resolvedPath(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false); - const query = map({ - Qualifier: [, input.Qualifier], - }); - let body; - return new __HttpRequest({ - protocol, - hostname, - port, - method: "GET", - headers, - path: resolvedPath, - query, - body, - }); -}; -export const se_GetFunctionCodeSigningConfigCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = {}; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + - "/2020-06-30/functions/{FunctionName}/code-signing-config"; - resolvedPath = __resolvedPath(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false); - let body; - return new __HttpRequest({ - protocol, - hostname, - port, - method: "GET", - headers, - path: resolvedPath, - body, - }); -}; -export const se_GetFunctionConcurrencyCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = {}; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + - "/2019-09-30/functions/{FunctionName}/concurrency"; - resolvedPath = __resolvedPath(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false); - let body; - return new __HttpRequest({ - protocol, - hostname, - port, - method: "GET", - headers, - path: resolvedPath, - body, - }); -}; -export const se_GetFunctionConfigurationCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = {}; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + - "/2015-03-31/functions/{FunctionName}/configuration"; - resolvedPath = __resolvedPath(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false); - const query = map({ - Qualifier: [, input.Qualifier], - }); - let body; - return new __HttpRequest({ - protocol, - hostname, - port, - method: "GET", - headers, - path: resolvedPath, - query, - body, - }); -}; -export const se_GetFunctionEventInvokeConfigCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = {}; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + - "/2019-09-25/functions/{FunctionName}/event-invoke-config"; - resolvedPath = __resolvedPath(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false); - const query = map({ - Qualifier: [, input.Qualifier], - }); - let body; - return new __HttpRequest({ - protocol, - hostname, - port, - method: "GET", - headers, - path: resolvedPath, - query, - body, - }); -}; -export const se_GetFunctionUrlConfigCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = {}; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2021-10-31/functions/{FunctionName}/url"; - resolvedPath = __resolvedPath(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false); - const query = map({ - Qualifier: [, input.Qualifier], - }); - let body; - return new __HttpRequest({ - protocol, - hostname, - port, - method: "GET", - headers, - path: resolvedPath, - query, - body, - }); -}; -export const se_GetLayerVersionCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = {}; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + - "/2018-10-31/layers/{LayerName}/versions/{VersionNumber}"; - resolvedPath = __resolvedPath(resolvedPath, input, "LayerName", () => input.LayerName, "{LayerName}", false); - resolvedPath = __resolvedPath(resolvedPath, input, "VersionNumber", () => input.VersionNumber.toString(), "{VersionNumber}", false); - let body; - return new __HttpRequest({ - protocol, - hostname, - port, - method: "GET", - headers, - path: resolvedPath, - body, - }); -}; -export const se_GetLayerVersionByArnCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = {}; - const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2018-10-31/layers"; - const query = map({ - find: [, "LayerVersion"], - Arn: [, __expectNonNull(input.Arn, `Arn`)], - }); - let body; - return new __HttpRequest({ - protocol, - hostname, - port, - method: "GET", - headers, - path: resolvedPath, - query, - body, - }); -}; -export const se_GetLayerVersionPolicyCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = {}; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + - "/2018-10-31/layers/{LayerName}/versions/{VersionNumber}/policy"; - resolvedPath = __resolvedPath(resolvedPath, input, "LayerName", () => input.LayerName, "{LayerName}", false); - resolvedPath = __resolvedPath(resolvedPath, input, "VersionNumber", () => input.VersionNumber.toString(), "{VersionNumber}", false); - let body; - return new __HttpRequest({ - protocol, - hostname, - port, - method: "GET", - headers, - path: resolvedPath, - body, - }); -}; -export const se_GetPolicyCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = {}; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + - "/2015-03-31/functions/{FunctionName}/policy"; - resolvedPath = __resolvedPath(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false); - const query = map({ - Qualifier: [, input.Qualifier], - }); - let body; - return new __HttpRequest({ - protocol, - hostname, - port, - method: "GET", - headers, - path: resolvedPath, - query, - body, - }); -}; -export const se_GetProvisionedConcurrencyConfigCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = {}; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + - "/2019-09-30/functions/{FunctionName}/provisioned-concurrency"; - resolvedPath = __resolvedPath(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false); - const query = map({ - Qualifier: [, __expectNonNull(input.Qualifier, `Qualifier`)], - }); - let body; - return new __HttpRequest({ - protocol, - hostname, - port, - method: "GET", - headers, - path: resolvedPath, - query, - body, - }); -}; -export const se_GetRuntimeManagementConfigCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = {}; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + - "/2021-07-20/functions/{FunctionName}/runtime-management-config"; - resolvedPath = __resolvedPath(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false); - const query = map({ - Qualifier: [, input.Qualifier], - }); - let body; - return new __HttpRequest({ - protocol, - hostname, - port, - method: "GET", - headers, - path: resolvedPath, - query, - body, - }); -}; -export const se_InvokeCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = map({}, isSerializableHeaderValue, { - "content-type": "application/octet-stream", - "x-amz-invocation-type": input.InvocationType, - "x-amz-log-type": input.LogType, - "x-amz-client-context": input.ClientContext, - }); - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + - "/2015-03-31/functions/{FunctionName}/invocations"; - resolvedPath = __resolvedPath(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false); - const query = map({ - Qualifier: [, input.Qualifier], - }); - let body; - if (input.Payload !== undefined) { - body = input.Payload; - } - return new __HttpRequest({ - protocol, - hostname, - port, - method: "POST", - headers, - path: resolvedPath, - query, - body, - }); -}; -export const se_InvokeAsyncCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = { - "content-type": "application/octet-stream", - }; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + - "/2014-11-13/functions/{FunctionName}/invoke-async"; - resolvedPath = __resolvedPath(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false); - let body; - if (input.InvokeArgs !== undefined) { - body = input.InvokeArgs; - } - return new __HttpRequest({ - protocol, - hostname, - port, - method: "POST", - headers, - path: resolvedPath, - body, - }); -}; -export const se_InvokeWithResponseStreamCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = map({}, isSerializableHeaderValue, { - "content-type": "application/octet-stream", - "x-amz-invocation-type": input.InvocationType, - "x-amz-log-type": input.LogType, - "x-amz-client-context": input.ClientContext, - }); - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + - "/2021-11-15/functions/{FunctionName}/response-streaming-invocations"; - resolvedPath = __resolvedPath(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false); - const query = map({ - Qualifier: [, input.Qualifier], - }); - let body; - if (input.Payload !== undefined) { - body = input.Payload; - } - return new __HttpRequest({ - protocol, - hostname, - port, - method: "POST", - headers, - path: resolvedPath, - query, - body, - }); -}; -export const se_ListAliasesCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = {}; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + - "/2015-03-31/functions/{FunctionName}/aliases"; - resolvedPath = __resolvedPath(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false); - const query = map({ - FunctionVersion: [, input.FunctionVersion], - Marker: [, input.Marker], - MaxItems: [() => input.MaxItems !== void 0, () => input.MaxItems.toString()], - }); - let body; - return new __HttpRequest({ - protocol, - hostname, - port, - method: "GET", - headers, - path: resolvedPath, - query, - body, - }); -}; -export const se_ListCodeSigningConfigsCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = {}; - const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2020-04-22/code-signing-configs"; - const query = map({ - Marker: [, input.Marker], - MaxItems: [() => input.MaxItems !== void 0, () => input.MaxItems.toString()], - }); - let body; - return new __HttpRequest({ - protocol, - hostname, - port, - method: "GET", - headers, - path: resolvedPath, - query, - body, - }); -}; -export const se_ListEventSourceMappingsCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = {}; - const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2015-03-31/event-source-mappings"; - const query = map({ - EventSourceArn: [, input.EventSourceArn], - FunctionName: [, input.FunctionName], - Marker: [, input.Marker], - MaxItems: [() => input.MaxItems !== void 0, () => input.MaxItems.toString()], - }); - let body; - return new __HttpRequest({ - protocol, - hostname, - port, - method: "GET", - headers, - path: resolvedPath, - query, - body, - }); -}; -export const se_ListFunctionEventInvokeConfigsCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = {}; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + - "/2019-09-25/functions/{FunctionName}/event-invoke-config/list"; - resolvedPath = __resolvedPath(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false); - const query = map({ - Marker: [, input.Marker], - MaxItems: [() => input.MaxItems !== void 0, () => input.MaxItems.toString()], - }); - let body; - return new __HttpRequest({ - protocol, - hostname, - port, - method: "GET", - headers, - path: resolvedPath, - query, - body, - }); -}; -export const se_ListFunctionsCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = {}; - const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2015-03-31/functions"; - const query = map({ - MasterRegion: [, input.MasterRegion], - FunctionVersion: [, input.FunctionVersion], - Marker: [, input.Marker], - MaxItems: [() => input.MaxItems !== void 0, () => input.MaxItems.toString()], - }); - let body; - return new __HttpRequest({ - protocol, - hostname, - port, - method: "GET", - headers, - path: resolvedPath, - query, - body, - }); -}; -export const se_ListFunctionsByCodeSigningConfigCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = {}; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + - "/2020-04-22/code-signing-configs/{CodeSigningConfigArn}/functions"; - resolvedPath = __resolvedPath(resolvedPath, input, "CodeSigningConfigArn", () => input.CodeSigningConfigArn, "{CodeSigningConfigArn}", false); - const query = map({ - Marker: [, input.Marker], - MaxItems: [() => input.MaxItems !== void 0, () => input.MaxItems.toString()], - }); - let body; - return new __HttpRequest({ - protocol, - hostname, - port, - method: "GET", - headers, - path: resolvedPath, - query, - body, - }); -}; -export const se_ListFunctionUrlConfigsCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = {}; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2021-10-31/functions/{FunctionName}/urls"; - resolvedPath = __resolvedPath(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false); - const query = map({ - Marker: [, input.Marker], - MaxItems: [() => input.MaxItems !== void 0, () => input.MaxItems.toString()], - }); - let body; - return new __HttpRequest({ - protocol, - hostname, - port, - method: "GET", - headers, - path: resolvedPath, - query, - body, - }); -}; -export const se_ListLayersCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = {}; - const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2018-10-31/layers"; - const query = map({ - CompatibleRuntime: [, input.CompatibleRuntime], - Marker: [, input.Marker], - MaxItems: [() => input.MaxItems !== void 0, () => input.MaxItems.toString()], - CompatibleArchitecture: [, input.CompatibleArchitecture], - }); - let body; - return new __HttpRequest({ - protocol, - hostname, - port, - method: "GET", - headers, - path: resolvedPath, - query, - body, - }); -}; -export const se_ListLayerVersionsCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = {}; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2018-10-31/layers/{LayerName}/versions"; - resolvedPath = __resolvedPath(resolvedPath, input, "LayerName", () => input.LayerName, "{LayerName}", false); - const query = map({ - CompatibleRuntime: [, input.CompatibleRuntime], - Marker: [, input.Marker], - MaxItems: [() => input.MaxItems !== void 0, () => input.MaxItems.toString()], - CompatibleArchitecture: [, input.CompatibleArchitecture], - }); - let body; - return new __HttpRequest({ - protocol, - hostname, - port, - method: "GET", - headers, - path: resolvedPath, - query, - body, - }); -}; -export const se_ListProvisionedConcurrencyConfigsCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = {}; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + - "/2019-09-30/functions/{FunctionName}/provisioned-concurrency"; - resolvedPath = __resolvedPath(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false); - const query = map({ - List: [, "ALL"], - Marker: [, input.Marker], - MaxItems: [() => input.MaxItems !== void 0, () => input.MaxItems.toString()], - }); - let body; - return new __HttpRequest({ - protocol, - hostname, - port, - method: "GET", - headers, - path: resolvedPath, - query, - body, - }); -}; -export const se_ListTagsCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = {}; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2017-03-31/tags/{Resource}"; - resolvedPath = __resolvedPath(resolvedPath, input, "Resource", () => input.Resource, "{Resource}", false); - let body; - return new __HttpRequest({ - protocol, - hostname, - port, - method: "GET", - headers, - path: resolvedPath, - body, - }); -}; -export const se_ListVersionsByFunctionCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = {}; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + - "/2015-03-31/functions/{FunctionName}/versions"; - resolvedPath = __resolvedPath(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false); - const query = map({ - Marker: [, input.Marker], - MaxItems: [() => input.MaxItems !== void 0, () => input.MaxItems.toString()], - }); - let body; - return new __HttpRequest({ - protocol, - hostname, - port, - method: "GET", - headers, - path: resolvedPath, - query, - body, - }); -}; -export const se_PublishLayerVersionCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = { - "content-type": "application/json", - }; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2018-10-31/layers/{LayerName}/versions"; - resolvedPath = __resolvedPath(resolvedPath, input, "LayerName", () => input.LayerName, "{LayerName}", false); - let body; - body = JSON.stringify(take(input, { - CompatibleArchitectures: (_) => _json(_), - CompatibleRuntimes: (_) => _json(_), - Content: (_) => se_LayerVersionContentInput(_, context), - Description: [], - LicenseInfo: [], - })); - return new __HttpRequest({ - protocol, - hostname, - port, - method: "POST", - headers, - path: resolvedPath, - body, - }); -}; -export const se_PublishVersionCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = { - "content-type": "application/json", - }; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + - "/2015-03-31/functions/{FunctionName}/versions"; - resolvedPath = __resolvedPath(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false); - let body; - body = JSON.stringify(take(input, { - CodeSha256: [], - Description: [], - RevisionId: [], - })); - return new __HttpRequest({ - protocol, - hostname, - port, - method: "POST", - headers, - path: resolvedPath, - body, - }); -}; -export const se_PutFunctionCodeSigningConfigCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = { - "content-type": "application/json", - }; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + - "/2020-06-30/functions/{FunctionName}/code-signing-config"; - resolvedPath = __resolvedPath(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false); - let body; - body = JSON.stringify(take(input, { - CodeSigningConfigArn: [], - })); - return new __HttpRequest({ - protocol, - hostname, - port, - method: "PUT", - headers, - path: resolvedPath, - body, - }); -}; -export const se_PutFunctionConcurrencyCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = { - "content-type": "application/json", - }; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + - "/2017-10-31/functions/{FunctionName}/concurrency"; - resolvedPath = __resolvedPath(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false); - let body; - body = JSON.stringify(take(input, { - ReservedConcurrentExecutions: [], - })); - return new __HttpRequest({ - protocol, - hostname, - port, - method: "PUT", - headers, - path: resolvedPath, - body, - }); -}; -export const se_PutFunctionEventInvokeConfigCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = { - "content-type": "application/json", - }; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + - "/2019-09-25/functions/{FunctionName}/event-invoke-config"; - resolvedPath = __resolvedPath(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false); - const query = map({ - Qualifier: [, input.Qualifier], - }); - let body; - body = JSON.stringify(take(input, { - DestinationConfig: (_) => _json(_), - MaximumEventAgeInSeconds: [], - MaximumRetryAttempts: [], - })); - return new __HttpRequest({ - protocol, - hostname, - port, - method: "PUT", - headers, - path: resolvedPath, - query, - body, - }); -}; -export const se_PutProvisionedConcurrencyConfigCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = { - "content-type": "application/json", - }; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + - "/2019-09-30/functions/{FunctionName}/provisioned-concurrency"; - resolvedPath = __resolvedPath(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false); - const query = map({ - Qualifier: [, __expectNonNull(input.Qualifier, `Qualifier`)], - }); - let body; - body = JSON.stringify(take(input, { - ProvisionedConcurrentExecutions: [], - })); - return new __HttpRequest({ - protocol, - hostname, - port, - method: "PUT", - headers, - path: resolvedPath, - query, - body, - }); -}; -export const se_PutRuntimeManagementConfigCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = { - "content-type": "application/json", - }; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + - "/2021-07-20/functions/{FunctionName}/runtime-management-config"; - resolvedPath = __resolvedPath(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false); - const query = map({ - Qualifier: [, input.Qualifier], - }); - let body; - body = JSON.stringify(take(input, { - RuntimeVersionArn: [], - UpdateRuntimeOn: [], - })); - return new __HttpRequest({ - protocol, - hostname, - port, - method: "PUT", - headers, - path: resolvedPath, - query, - body, - }); -}; -export const se_RemoveLayerVersionPermissionCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = {}; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + - "/2018-10-31/layers/{LayerName}/versions/{VersionNumber}/policy/{StatementId}"; - resolvedPath = __resolvedPath(resolvedPath, input, "LayerName", () => input.LayerName, "{LayerName}", false); - resolvedPath = __resolvedPath(resolvedPath, input, "VersionNumber", () => input.VersionNumber.toString(), "{VersionNumber}", false); - resolvedPath = __resolvedPath(resolvedPath, input, "StatementId", () => input.StatementId, "{StatementId}", false); - const query = map({ - RevisionId: [, input.RevisionId], - }); - let body; - return new __HttpRequest({ - protocol, - hostname, - port, - method: "DELETE", - headers, - path: resolvedPath, - query, - body, - }); -}; -export const se_RemovePermissionCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = {}; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + - "/2015-03-31/functions/{FunctionName}/policy/{StatementId}"; - resolvedPath = __resolvedPath(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false); - resolvedPath = __resolvedPath(resolvedPath, input, "StatementId", () => input.StatementId, "{StatementId}", false); - const query = map({ - Qualifier: [, input.Qualifier], - RevisionId: [, input.RevisionId], - }); - let body; - return new __HttpRequest({ - protocol, - hostname, - port, - method: "DELETE", - headers, - path: resolvedPath, - query, - body, - }); -}; -export const se_TagResourceCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = { - "content-type": "application/json", - }; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2017-03-31/tags/{Resource}"; - resolvedPath = __resolvedPath(resolvedPath, input, "Resource", () => input.Resource, "{Resource}", false); - let body; - body = JSON.stringify(take(input, { - Tags: (_) => _json(_), - })); - return new __HttpRequest({ - protocol, - hostname, - port, - method: "POST", - headers, - path: resolvedPath, - body, - }); -}; -export const se_UntagResourceCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = {}; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2017-03-31/tags/{Resource}"; - resolvedPath = __resolvedPath(resolvedPath, input, "Resource", () => input.Resource, "{Resource}", false); - const query = map({ - tagKeys: [ - __expectNonNull(input.TagKeys, `TagKeys`) != null, - () => (input.TagKeys || []).map((_entry) => _entry), - ], - }); - let body; - return new __HttpRequest({ - protocol, - hostname, - port, - method: "DELETE", - headers, - path: resolvedPath, - query, - body, - }); -}; -export const se_UpdateAliasCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = { - "content-type": "application/json", - }; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + - "/2015-03-31/functions/{FunctionName}/aliases/{Name}"; - resolvedPath = __resolvedPath(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false); - resolvedPath = __resolvedPath(resolvedPath, input, "Name", () => input.Name, "{Name}", false); - let body; - body = JSON.stringify(take(input, { - Description: [], - FunctionVersion: [], - RevisionId: [], - RoutingConfig: (_) => se_AliasRoutingConfiguration(_, context), - })); - return new __HttpRequest({ - protocol, - hostname, - port, - method: "PUT", - headers, - path: resolvedPath, - body, - }); -}; -export const se_UpdateCodeSigningConfigCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = { - "content-type": "application/json", - }; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + - "/2020-04-22/code-signing-configs/{CodeSigningConfigArn}"; - resolvedPath = __resolvedPath(resolvedPath, input, "CodeSigningConfigArn", () => input.CodeSigningConfigArn, "{CodeSigningConfigArn}", false); - let body; - body = JSON.stringify(take(input, { - AllowedPublishers: (_) => _json(_), - CodeSigningPolicies: (_) => _json(_), - Description: [], - })); - return new __HttpRequest({ - protocol, - hostname, - port, - method: "PUT", - headers, - path: resolvedPath, - body, - }); -}; -export const se_UpdateEventSourceMappingCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = { - "content-type": "application/json", - }; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2015-03-31/event-source-mappings/{UUID}"; - resolvedPath = __resolvedPath(resolvedPath, input, "UUID", () => input.UUID, "{UUID}", false); - let body; - body = JSON.stringify(take(input, { - BatchSize: [], - BisectBatchOnFunctionError: [], - DestinationConfig: (_) => _json(_), - DocumentDBEventSourceConfig: (_) => _json(_), - Enabled: [], - FilterCriteria: (_) => _json(_), - FunctionName: [], - FunctionResponseTypes: (_) => _json(_), - MaximumBatchingWindowInSeconds: [], - MaximumRecordAgeInSeconds: [], - MaximumRetryAttempts: [], - ParallelizationFactor: [], - ScalingConfig: (_) => _json(_), - SourceAccessConfigurations: (_) => _json(_), - TumblingWindowInSeconds: [], - })); - return new __HttpRequest({ - protocol, - hostname, - port, - method: "PUT", - headers, - path: resolvedPath, - body, - }); -}; -export const se_UpdateFunctionCodeCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = { - "content-type": "application/json", - }; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2015-03-31/functions/{FunctionName}/code"; - resolvedPath = __resolvedPath(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false); - let body; - body = JSON.stringify(take(input, { - Architectures: (_) => _json(_), - DryRun: [], - ImageUri: [], - Publish: [], - RevisionId: [], - S3Bucket: [], - S3Key: [], - S3ObjectVersion: [], - ZipFile: (_) => context.base64Encoder(_), - })); - return new __HttpRequest({ - protocol, - hostname, - port, - method: "PUT", - headers, - path: resolvedPath, - body, - }); -}; -export const se_UpdateFunctionConfigurationCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = { - "content-type": "application/json", - }; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + - "/2015-03-31/functions/{FunctionName}/configuration"; - resolvedPath = __resolvedPath(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false); - let body; - body = JSON.stringify(take(input, { - DeadLetterConfig: (_) => _json(_), - Description: [], - Environment: (_) => _json(_), - EphemeralStorage: (_) => _json(_), - FileSystemConfigs: (_) => _json(_), - Handler: [], - ImageConfig: (_) => _json(_), - KMSKeyArn: [], - Layers: (_) => _json(_), - LoggingConfig: (_) => _json(_), - MemorySize: [], - RevisionId: [], - Role: [], - Runtime: [], - SnapStart: (_) => _json(_), - Timeout: [], - TracingConfig: (_) => _json(_), - VpcConfig: (_) => _json(_), - })); - return new __HttpRequest({ - protocol, - hostname, - port, - method: "PUT", - headers, - path: resolvedPath, - body, - }); -}; -export const se_UpdateFunctionEventInvokeConfigCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = { - "content-type": "application/json", - }; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + - "/2019-09-25/functions/{FunctionName}/event-invoke-config"; - resolvedPath = __resolvedPath(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false); - const query = map({ - Qualifier: [, input.Qualifier], - }); - let body; - body = JSON.stringify(take(input, { - DestinationConfig: (_) => _json(_), - MaximumEventAgeInSeconds: [], - MaximumRetryAttempts: [], - })); - return new __HttpRequest({ - protocol, - hostname, - port, - method: "POST", - headers, - path: resolvedPath, - query, - body, - }); -}; -export const se_UpdateFunctionUrlConfigCommand = async (input, context) => { - const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); - const headers = { - "content-type": "application/json", - }; - let resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/2021-10-31/functions/{FunctionName}/url"; - resolvedPath = __resolvedPath(resolvedPath, input, "FunctionName", () => input.FunctionName, "{FunctionName}", false); - const query = map({ - Qualifier: [, input.Qualifier], - }); - let body; - body = JSON.stringify(take(input, { - AuthType: [], - Cors: (_) => _json(_), - InvokeMode: [], - })); - return new __HttpRequest({ - protocol, - hostname, - port, - method: "PUT", - headers, - path: resolvedPath, - query, - body, - }); -}; -export const de_AddLayerVersionPermissionCommand = async (output, context) => { - if (output.statusCode !== 201 && output.statusCode >= 300) { - return de_AddLayerVersionPermissionCommandError(output, context); - } - const contents = map({ - $metadata: deserializeMetadata(output), - }); - const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - RevisionId: __expectString, - Statement: __expectString, - }); - Object.assign(contents, doc); - return contents; -}; -const de_AddLayerVersionPermissionCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "PolicyLengthExceededException": - case "com.amazonaws.lambda#PolicyLengthExceededException": - throw await de_PolicyLengthExceededExceptionRes(parsedOutput, context); - case "PreconditionFailedException": - case "com.amazonaws.lambda#PreconditionFailedException": - throw await de_PreconditionFailedExceptionRes(parsedOutput, context); - case "ResourceConflictException": - case "com.amazonaws.lambda#ResourceConflictException": - throw await de_ResourceConflictExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -export const de_AddPermissionCommand = async (output, context) => { - if (output.statusCode !== 201 && output.statusCode >= 300) { - return de_AddPermissionCommandError(output, context); - } - const contents = map({ - $metadata: deserializeMetadata(output), - }); - const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - Statement: __expectString, - }); - Object.assign(contents, doc); - return contents; -}; -const de_AddPermissionCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "PolicyLengthExceededException": - case "com.amazonaws.lambda#PolicyLengthExceededException": - throw await de_PolicyLengthExceededExceptionRes(parsedOutput, context); - case "PreconditionFailedException": - case "com.amazonaws.lambda#PreconditionFailedException": - throw await de_PreconditionFailedExceptionRes(parsedOutput, context); - case "ResourceConflictException": - case "com.amazonaws.lambda#ResourceConflictException": - throw await de_ResourceConflictExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -export const de_CreateAliasCommand = async (output, context) => { - if (output.statusCode !== 201 && output.statusCode >= 300) { - return de_CreateAliasCommandError(output, context); - } - const contents = map({ - $metadata: deserializeMetadata(output), - }); - const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - AliasArn: __expectString, - Description: __expectString, - FunctionVersion: __expectString, - Name: __expectString, - RevisionId: __expectString, - RoutingConfig: (_) => de_AliasRoutingConfiguration(_, context), - }); - Object.assign(contents, doc); - return contents; -}; -const de_CreateAliasCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ResourceConflictException": - case "com.amazonaws.lambda#ResourceConflictException": - throw await de_ResourceConflictExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -export const de_CreateCodeSigningConfigCommand = async (output, context) => { - if (output.statusCode !== 201 && output.statusCode >= 300) { - return de_CreateCodeSigningConfigCommandError(output, context); - } - const contents = map({ - $metadata: deserializeMetadata(output), - }); - const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - CodeSigningConfig: _json, - }); - Object.assign(contents, doc); - return contents; -}; -const de_CreateCodeSigningConfigCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -export const de_CreateEventSourceMappingCommand = async (output, context) => { - if (output.statusCode !== 202 && output.statusCode >= 300) { - return de_CreateEventSourceMappingCommandError(output, context); - } - const contents = map({ - $metadata: deserializeMetadata(output), - }); - const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - AmazonManagedKafkaEventSourceConfig: _json, - BatchSize: __expectInt32, - BisectBatchOnFunctionError: __expectBoolean, - DestinationConfig: _json, - DocumentDBEventSourceConfig: _json, - EventSourceArn: __expectString, - FilterCriteria: _json, - FunctionArn: __expectString, - FunctionResponseTypes: _json, - LastModified: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), - LastProcessingResult: __expectString, - MaximumBatchingWindowInSeconds: __expectInt32, - MaximumRecordAgeInSeconds: __expectInt32, - MaximumRetryAttempts: __expectInt32, - ParallelizationFactor: __expectInt32, - Queues: _json, - ScalingConfig: _json, - SelfManagedEventSource: _json, - SelfManagedKafkaEventSourceConfig: _json, - SourceAccessConfigurations: _json, - StartingPosition: __expectString, - StartingPositionTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), - State: __expectString, - StateTransitionReason: __expectString, - Topics: _json, - TumblingWindowInSeconds: __expectInt32, - UUID: __expectString, - }); - Object.assign(contents, doc); - return contents; -}; -const de_CreateEventSourceMappingCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ResourceConflictException": - case "com.amazonaws.lambda#ResourceConflictException": - throw await de_ResourceConflictExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -export const de_CreateFunctionCommand = async (output, context) => { - if (output.statusCode !== 201 && output.statusCode >= 300) { - return de_CreateFunctionCommandError(output, context); - } - const contents = map({ - $metadata: deserializeMetadata(output), - }); - const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - Architectures: _json, - CodeSha256: __expectString, - CodeSize: __expectLong, - DeadLetterConfig: _json, - Description: __expectString, - Environment: _json, - EphemeralStorage: _json, - FileSystemConfigs: _json, - FunctionArn: __expectString, - FunctionName: __expectString, - Handler: __expectString, - ImageConfigResponse: _json, - KMSKeyArn: __expectString, - LastModified: __expectString, - LastUpdateStatus: __expectString, - LastUpdateStatusReason: __expectString, - LastUpdateStatusReasonCode: __expectString, - Layers: _json, - LoggingConfig: _json, - MasterArn: __expectString, - MemorySize: __expectInt32, - PackageType: __expectString, - RevisionId: __expectString, - Role: __expectString, - Runtime: __expectString, - RuntimeVersionConfig: _json, - SigningJobArn: __expectString, - SigningProfileVersionArn: __expectString, - SnapStart: _json, - State: __expectString, - StateReason: __expectString, - StateReasonCode: __expectString, - Timeout: __expectInt32, - TracingConfig: _json, - Version: __expectString, - VpcConfig: _json, - }); - Object.assign(contents, doc); - return contents; -}; -const de_CreateFunctionCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "CodeSigningConfigNotFoundException": - case "com.amazonaws.lambda#CodeSigningConfigNotFoundException": - throw await de_CodeSigningConfigNotFoundExceptionRes(parsedOutput, context); - case "CodeStorageExceededException": - case "com.amazonaws.lambda#CodeStorageExceededException": - throw await de_CodeStorageExceededExceptionRes(parsedOutput, context); - case "CodeVerificationFailedException": - case "com.amazonaws.lambda#CodeVerificationFailedException": - throw await de_CodeVerificationFailedExceptionRes(parsedOutput, context); - case "InvalidCodeSignatureException": - case "com.amazonaws.lambda#InvalidCodeSignatureException": - throw await de_InvalidCodeSignatureExceptionRes(parsedOutput, context); - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ResourceConflictException": - case "com.amazonaws.lambda#ResourceConflictException": - throw await de_ResourceConflictExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -export const de_CreateFunctionUrlConfigCommand = async (output, context) => { - if (output.statusCode !== 201 && output.statusCode >= 300) { - return de_CreateFunctionUrlConfigCommandError(output, context); - } - const contents = map({ - $metadata: deserializeMetadata(output), - }); - const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - AuthType: __expectString, - Cors: _json, - CreationTime: __expectString, - FunctionArn: __expectString, - FunctionUrl: __expectString, - InvokeMode: __expectString, - }); - Object.assign(contents, doc); - return contents; -}; -const de_CreateFunctionUrlConfigCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ResourceConflictException": - case "com.amazonaws.lambda#ResourceConflictException": - throw await de_ResourceConflictExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -export const de_DeleteAliasCommand = async (output, context) => { - if (output.statusCode !== 204 && output.statusCode >= 300) { - return de_DeleteAliasCommandError(output, context); - } - const contents = map({ - $metadata: deserializeMetadata(output), - }); - await collectBody(output.body, context); - return contents; -}; -const de_DeleteAliasCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ResourceConflictException": - case "com.amazonaws.lambda#ResourceConflictException": - throw await de_ResourceConflictExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -export const de_DeleteCodeSigningConfigCommand = async (output, context) => { - if (output.statusCode !== 204 && output.statusCode >= 300) { - return de_DeleteCodeSigningConfigCommandError(output, context); - } - const contents = map({ - $metadata: deserializeMetadata(output), - }); - await collectBody(output.body, context); - return contents; -}; -const de_DeleteCodeSigningConfigCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ResourceConflictException": - case "com.amazonaws.lambda#ResourceConflictException": - throw await de_ResourceConflictExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -export const de_DeleteEventSourceMappingCommand = async (output, context) => { - if (output.statusCode !== 202 && output.statusCode >= 300) { - return de_DeleteEventSourceMappingCommandError(output, context); - } - const contents = map({ - $metadata: deserializeMetadata(output), - }); - const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - AmazonManagedKafkaEventSourceConfig: _json, - BatchSize: __expectInt32, - BisectBatchOnFunctionError: __expectBoolean, - DestinationConfig: _json, - DocumentDBEventSourceConfig: _json, - EventSourceArn: __expectString, - FilterCriteria: _json, - FunctionArn: __expectString, - FunctionResponseTypes: _json, - LastModified: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), - LastProcessingResult: __expectString, - MaximumBatchingWindowInSeconds: __expectInt32, - MaximumRecordAgeInSeconds: __expectInt32, - MaximumRetryAttempts: __expectInt32, - ParallelizationFactor: __expectInt32, - Queues: _json, - ScalingConfig: _json, - SelfManagedEventSource: _json, - SelfManagedKafkaEventSourceConfig: _json, - SourceAccessConfigurations: _json, - StartingPosition: __expectString, - StartingPositionTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), - State: __expectString, - StateTransitionReason: __expectString, - Topics: _json, - TumblingWindowInSeconds: __expectInt32, - UUID: __expectString, - }); - Object.assign(contents, doc); - return contents; -}; -const de_DeleteEventSourceMappingCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ResourceConflictException": - case "com.amazonaws.lambda#ResourceConflictException": - throw await de_ResourceConflictExceptionRes(parsedOutput, context); - case "ResourceInUseException": - case "com.amazonaws.lambda#ResourceInUseException": - throw await de_ResourceInUseExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -export const de_DeleteFunctionCommand = async (output, context) => { - if (output.statusCode !== 204 && output.statusCode >= 300) { - return de_DeleteFunctionCommandError(output, context); - } - const contents = map({ - $metadata: deserializeMetadata(output), - }); - await collectBody(output.body, context); - return contents; -}; -const de_DeleteFunctionCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ResourceConflictException": - case "com.amazonaws.lambda#ResourceConflictException": - throw await de_ResourceConflictExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -export const de_DeleteFunctionCodeSigningConfigCommand = async (output, context) => { - if (output.statusCode !== 204 && output.statusCode >= 300) { - return de_DeleteFunctionCodeSigningConfigCommandError(output, context); - } - const contents = map({ - $metadata: deserializeMetadata(output), - }); - await collectBody(output.body, context); - return contents; -}; -const de_DeleteFunctionCodeSigningConfigCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "CodeSigningConfigNotFoundException": - case "com.amazonaws.lambda#CodeSigningConfigNotFoundException": - throw await de_CodeSigningConfigNotFoundExceptionRes(parsedOutput, context); - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ResourceConflictException": - case "com.amazonaws.lambda#ResourceConflictException": - throw await de_ResourceConflictExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -export const de_DeleteFunctionConcurrencyCommand = async (output, context) => { - if (output.statusCode !== 204 && output.statusCode >= 300) { - return de_DeleteFunctionConcurrencyCommandError(output, context); - } - const contents = map({ - $metadata: deserializeMetadata(output), - }); - await collectBody(output.body, context); - return contents; -}; -const de_DeleteFunctionConcurrencyCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ResourceConflictException": - case "com.amazonaws.lambda#ResourceConflictException": - throw await de_ResourceConflictExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -export const de_DeleteFunctionEventInvokeConfigCommand = async (output, context) => { - if (output.statusCode !== 204 && output.statusCode >= 300) { - return de_DeleteFunctionEventInvokeConfigCommandError(output, context); - } - const contents = map({ - $metadata: deserializeMetadata(output), - }); - await collectBody(output.body, context); - return contents; -}; -const de_DeleteFunctionEventInvokeConfigCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ResourceConflictException": - case "com.amazonaws.lambda#ResourceConflictException": - throw await de_ResourceConflictExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -export const de_DeleteFunctionUrlConfigCommand = async (output, context) => { - if (output.statusCode !== 204 && output.statusCode >= 300) { - return de_DeleteFunctionUrlConfigCommandError(output, context); - } - const contents = map({ - $metadata: deserializeMetadata(output), - }); - await collectBody(output.body, context); - return contents; -}; -const de_DeleteFunctionUrlConfigCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "ResourceConflictException": - case "com.amazonaws.lambda#ResourceConflictException": - throw await de_ResourceConflictExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -export const de_DeleteLayerVersionCommand = async (output, context) => { - if (output.statusCode !== 204 && output.statusCode >= 300) { - return de_DeleteLayerVersionCommandError(output, context); - } - const contents = map({ - $metadata: deserializeMetadata(output), - }); - await collectBody(output.body, context); - return contents; -}; -const de_DeleteLayerVersionCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -export const de_DeleteProvisionedConcurrencyConfigCommand = async (output, context) => { - if (output.statusCode !== 204 && output.statusCode >= 300) { - return de_DeleteProvisionedConcurrencyConfigCommandError(output, context); - } - const contents = map({ - $metadata: deserializeMetadata(output), - }); - await collectBody(output.body, context); - return contents; -}; -const de_DeleteProvisionedConcurrencyConfigCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ResourceConflictException": - case "com.amazonaws.lambda#ResourceConflictException": - throw await de_ResourceConflictExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -export const de_GetAccountSettingsCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_GetAccountSettingsCommandError(output, context); - } - const contents = map({ - $metadata: deserializeMetadata(output), - }); - const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - AccountLimit: _json, - AccountUsage: _json, - }); - Object.assign(contents, doc); - return contents; -}; -const de_GetAccountSettingsCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -export const de_GetAliasCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_GetAliasCommandError(output, context); - } - const contents = map({ - $metadata: deserializeMetadata(output), - }); - const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - AliasArn: __expectString, - Description: __expectString, - FunctionVersion: __expectString, - Name: __expectString, - RevisionId: __expectString, - RoutingConfig: (_) => de_AliasRoutingConfiguration(_, context), - }); - Object.assign(contents, doc); - return contents; -}; -const de_GetAliasCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -export const de_GetCodeSigningConfigCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_GetCodeSigningConfigCommandError(output, context); - } - const contents = map({ - $metadata: deserializeMetadata(output), - }); - const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - CodeSigningConfig: _json, - }); - Object.assign(contents, doc); - return contents; -}; -const de_GetCodeSigningConfigCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -export const de_GetEventSourceMappingCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_GetEventSourceMappingCommandError(output, context); - } - const contents = map({ - $metadata: deserializeMetadata(output), - }); - const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - AmazonManagedKafkaEventSourceConfig: _json, - BatchSize: __expectInt32, - BisectBatchOnFunctionError: __expectBoolean, - DestinationConfig: _json, - DocumentDBEventSourceConfig: _json, - EventSourceArn: __expectString, - FilterCriteria: _json, - FunctionArn: __expectString, - FunctionResponseTypes: _json, - LastModified: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), - LastProcessingResult: __expectString, - MaximumBatchingWindowInSeconds: __expectInt32, - MaximumRecordAgeInSeconds: __expectInt32, - MaximumRetryAttempts: __expectInt32, - ParallelizationFactor: __expectInt32, - Queues: _json, - ScalingConfig: _json, - SelfManagedEventSource: _json, - SelfManagedKafkaEventSourceConfig: _json, - SourceAccessConfigurations: _json, - StartingPosition: __expectString, - StartingPositionTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), - State: __expectString, - StateTransitionReason: __expectString, - Topics: _json, - TumblingWindowInSeconds: __expectInt32, - UUID: __expectString, - }); - Object.assign(contents, doc); - return contents; -}; -const de_GetEventSourceMappingCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -export const de_GetFunctionCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_GetFunctionCommandError(output, context); - } - const contents = map({ - $metadata: deserializeMetadata(output), - }); - const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - Code: _json, - Concurrency: _json, - Configuration: _json, - Tags: _json, - }); - Object.assign(contents, doc); - return contents; -}; -const de_GetFunctionCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -export const de_GetFunctionCodeSigningConfigCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_GetFunctionCodeSigningConfigCommandError(output, context); - } - const contents = map({ - $metadata: deserializeMetadata(output), - }); - const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - CodeSigningConfigArn: __expectString, - FunctionName: __expectString, - }); - Object.assign(contents, doc); - return contents; -}; -const de_GetFunctionCodeSigningConfigCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -export const de_GetFunctionConcurrencyCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_GetFunctionConcurrencyCommandError(output, context); - } - const contents = map({ - $metadata: deserializeMetadata(output), - }); - const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - ReservedConcurrentExecutions: __expectInt32, - }); - Object.assign(contents, doc); - return contents; -}; -const de_GetFunctionConcurrencyCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -export const de_GetFunctionConfigurationCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_GetFunctionConfigurationCommandError(output, context); - } - const contents = map({ - $metadata: deserializeMetadata(output), - }); - const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - Architectures: _json, - CodeSha256: __expectString, - CodeSize: __expectLong, - DeadLetterConfig: _json, - Description: __expectString, - Environment: _json, - EphemeralStorage: _json, - FileSystemConfigs: _json, - FunctionArn: __expectString, - FunctionName: __expectString, - Handler: __expectString, - ImageConfigResponse: _json, - KMSKeyArn: __expectString, - LastModified: __expectString, - LastUpdateStatus: __expectString, - LastUpdateStatusReason: __expectString, - LastUpdateStatusReasonCode: __expectString, - Layers: _json, - LoggingConfig: _json, - MasterArn: __expectString, - MemorySize: __expectInt32, - PackageType: __expectString, - RevisionId: __expectString, - Role: __expectString, - Runtime: __expectString, - RuntimeVersionConfig: _json, - SigningJobArn: __expectString, - SigningProfileVersionArn: __expectString, - SnapStart: _json, - State: __expectString, - StateReason: __expectString, - StateReasonCode: __expectString, - Timeout: __expectInt32, - TracingConfig: _json, - Version: __expectString, - VpcConfig: _json, - }); - Object.assign(contents, doc); - return contents; -}; -const de_GetFunctionConfigurationCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -export const de_GetFunctionEventInvokeConfigCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_GetFunctionEventInvokeConfigCommandError(output, context); - } - const contents = map({ - $metadata: deserializeMetadata(output), - }); - const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - DestinationConfig: _json, - FunctionArn: __expectString, - LastModified: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), - MaximumEventAgeInSeconds: __expectInt32, - MaximumRetryAttempts: __expectInt32, - }); - Object.assign(contents, doc); - return contents; -}; -const de_GetFunctionEventInvokeConfigCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -export const de_GetFunctionUrlConfigCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_GetFunctionUrlConfigCommandError(output, context); - } - const contents = map({ - $metadata: deserializeMetadata(output), - }); - const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - AuthType: __expectString, - Cors: _json, - CreationTime: __expectString, - FunctionArn: __expectString, - FunctionUrl: __expectString, - InvokeMode: __expectString, - LastModifiedTime: __expectString, - }); - Object.assign(contents, doc); - return contents; -}; -const de_GetFunctionUrlConfigCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -export const de_GetLayerVersionCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_GetLayerVersionCommandError(output, context); - } - const contents = map({ - $metadata: deserializeMetadata(output), - }); - const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - CompatibleArchitectures: _json, - CompatibleRuntimes: _json, - Content: _json, - CreatedDate: __expectString, - Description: __expectString, - LayerArn: __expectString, - LayerVersionArn: __expectString, - LicenseInfo: __expectString, - Version: __expectLong, - }); - Object.assign(contents, doc); - return contents; -}; -const de_GetLayerVersionCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -export const de_GetLayerVersionByArnCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_GetLayerVersionByArnCommandError(output, context); - } - const contents = map({ - $metadata: deserializeMetadata(output), - }); - const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - CompatibleArchitectures: _json, - CompatibleRuntimes: _json, - Content: _json, - CreatedDate: __expectString, - Description: __expectString, - LayerArn: __expectString, - LayerVersionArn: __expectString, - LicenseInfo: __expectString, - Version: __expectLong, - }); - Object.assign(contents, doc); - return contents; -}; -const de_GetLayerVersionByArnCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -export const de_GetLayerVersionPolicyCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_GetLayerVersionPolicyCommandError(output, context); - } - const contents = map({ - $metadata: deserializeMetadata(output), - }); - const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - Policy: __expectString, - RevisionId: __expectString, - }); - Object.assign(contents, doc); - return contents; -}; -const de_GetLayerVersionPolicyCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -export const de_GetPolicyCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_GetPolicyCommandError(output, context); - } - const contents = map({ - $metadata: deserializeMetadata(output), - }); - const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - Policy: __expectString, - RevisionId: __expectString, - }); - Object.assign(contents, doc); - return contents; -}; -const de_GetPolicyCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -export const de_GetProvisionedConcurrencyConfigCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_GetProvisionedConcurrencyConfigCommandError(output, context); - } - const contents = map({ - $metadata: deserializeMetadata(output), - }); - const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - AllocatedProvisionedConcurrentExecutions: __expectInt32, - AvailableProvisionedConcurrentExecutions: __expectInt32, - LastModified: __expectString, - RequestedProvisionedConcurrentExecutions: __expectInt32, - Status: __expectString, - StatusReason: __expectString, - }); - Object.assign(contents, doc); - return contents; -}; -const de_GetProvisionedConcurrencyConfigCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ProvisionedConcurrencyConfigNotFoundException": - case "com.amazonaws.lambda#ProvisionedConcurrencyConfigNotFoundException": - throw await de_ProvisionedConcurrencyConfigNotFoundExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -export const de_GetRuntimeManagementConfigCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_GetRuntimeManagementConfigCommandError(output, context); - } - const contents = map({ - $metadata: deserializeMetadata(output), - }); - const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - FunctionArn: __expectString, - RuntimeVersionArn: __expectString, - UpdateRuntimeOn: __expectString, - }); - Object.assign(contents, doc); - return contents; -}; -const de_GetRuntimeManagementConfigCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -export const de_InvokeCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_InvokeCommandError(output, context); - } - const contents = map({ - $metadata: deserializeMetadata(output), - FunctionError: [, output.headers["x-amz-function-error"]], - LogResult: [, output.headers["x-amz-log-result"]], - ExecutedVersion: [, output.headers["x-amz-executed-version"]], - }); - const data = await collectBody(output.body, context); - contents.Payload = data; - map(contents, { - StatusCode: [, output.statusCode], - }); - return contents; -}; -const de_InvokeCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "EC2AccessDeniedException": - case "com.amazonaws.lambda#EC2AccessDeniedException": - throw await de_EC2AccessDeniedExceptionRes(parsedOutput, context); - case "EC2ThrottledException": - case "com.amazonaws.lambda#EC2ThrottledException": - throw await de_EC2ThrottledExceptionRes(parsedOutput, context); - case "EC2UnexpectedException": - case "com.amazonaws.lambda#EC2UnexpectedException": - throw await de_EC2UnexpectedExceptionRes(parsedOutput, context); - case "EFSIOException": - case "com.amazonaws.lambda#EFSIOException": - throw await de_EFSIOExceptionRes(parsedOutput, context); - case "EFSMountConnectivityException": - case "com.amazonaws.lambda#EFSMountConnectivityException": - throw await de_EFSMountConnectivityExceptionRes(parsedOutput, context); - case "EFSMountFailureException": - case "com.amazonaws.lambda#EFSMountFailureException": - throw await de_EFSMountFailureExceptionRes(parsedOutput, context); - case "EFSMountTimeoutException": - case "com.amazonaws.lambda#EFSMountTimeoutException": - throw await de_EFSMountTimeoutExceptionRes(parsedOutput, context); - case "ENILimitReachedException": - case "com.amazonaws.lambda#ENILimitReachedException": - throw await de_ENILimitReachedExceptionRes(parsedOutput, context); - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "InvalidRequestContentException": - case "com.amazonaws.lambda#InvalidRequestContentException": - throw await de_InvalidRequestContentExceptionRes(parsedOutput, context); - case "InvalidRuntimeException": - case "com.amazonaws.lambda#InvalidRuntimeException": - throw await de_InvalidRuntimeExceptionRes(parsedOutput, context); - case "InvalidSecurityGroupIDException": - case "com.amazonaws.lambda#InvalidSecurityGroupIDException": - throw await de_InvalidSecurityGroupIDExceptionRes(parsedOutput, context); - case "InvalidSubnetIDException": - case "com.amazonaws.lambda#InvalidSubnetIDException": - throw await de_InvalidSubnetIDExceptionRes(parsedOutput, context); - case "InvalidZipFileException": - case "com.amazonaws.lambda#InvalidZipFileException": - throw await de_InvalidZipFileExceptionRes(parsedOutput, context); - case "KMSAccessDeniedException": - case "com.amazonaws.lambda#KMSAccessDeniedException": - throw await de_KMSAccessDeniedExceptionRes(parsedOutput, context); - case "KMSDisabledException": - case "com.amazonaws.lambda#KMSDisabledException": - throw await de_KMSDisabledExceptionRes(parsedOutput, context); - case "KMSInvalidStateException": - case "com.amazonaws.lambda#KMSInvalidStateException": - throw await de_KMSInvalidStateExceptionRes(parsedOutput, context); - case "KMSNotFoundException": - case "com.amazonaws.lambda#KMSNotFoundException": - throw await de_KMSNotFoundExceptionRes(parsedOutput, context); - case "RecursiveInvocationException": - case "com.amazonaws.lambda#RecursiveInvocationException": - throw await de_RecursiveInvocationExceptionRes(parsedOutput, context); - case "RequestTooLargeException": - case "com.amazonaws.lambda#RequestTooLargeException": - throw await de_RequestTooLargeExceptionRes(parsedOutput, context); - case "ResourceConflictException": - case "com.amazonaws.lambda#ResourceConflictException": - throw await de_ResourceConflictExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ResourceNotReadyException": - case "com.amazonaws.lambda#ResourceNotReadyException": - throw await de_ResourceNotReadyExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "SnapStartException": - case "com.amazonaws.lambda#SnapStartException": - throw await de_SnapStartExceptionRes(parsedOutput, context); - case "SnapStartNotReadyException": - case "com.amazonaws.lambda#SnapStartNotReadyException": - throw await de_SnapStartNotReadyExceptionRes(parsedOutput, context); - case "SnapStartTimeoutException": - case "com.amazonaws.lambda#SnapStartTimeoutException": - throw await de_SnapStartTimeoutExceptionRes(parsedOutput, context); - case "SubnetIPAddressLimitReachedException": - case "com.amazonaws.lambda#SubnetIPAddressLimitReachedException": - throw await de_SubnetIPAddressLimitReachedExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - case "UnsupportedMediaTypeException": - case "com.amazonaws.lambda#UnsupportedMediaTypeException": - throw await de_UnsupportedMediaTypeExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -export const de_InvokeAsyncCommand = async (output, context) => { - if (output.statusCode !== 202 && output.statusCode >= 300) { - return de_InvokeAsyncCommandError(output, context); - } - const contents = map({ - $metadata: deserializeMetadata(output), - }); - map(contents, { - Status: [, output.statusCode], - }); - await collectBody(output.body, context); - return contents; -}; -const de_InvokeAsyncCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidRequestContentException": - case "com.amazonaws.lambda#InvalidRequestContentException": - throw await de_InvalidRequestContentExceptionRes(parsedOutput, context); - case "InvalidRuntimeException": - case "com.amazonaws.lambda#InvalidRuntimeException": - throw await de_InvalidRuntimeExceptionRes(parsedOutput, context); - case "ResourceConflictException": - case "com.amazonaws.lambda#ResourceConflictException": - throw await de_ResourceConflictExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -export const de_InvokeWithResponseStreamCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_InvokeWithResponseStreamCommandError(output, context); - } - const contents = map({ - $metadata: deserializeMetadata(output), - ExecutedVersion: [, output.headers["x-amz-executed-version"]], - ResponseStreamContentType: [, output.headers["content-type"]], - }); - const data = output.body; - contents.EventStream = de_InvokeWithResponseStreamResponseEvent(data, context); - map(contents, { - StatusCode: [, output.statusCode], - }); - return contents; -}; -const de_InvokeWithResponseStreamCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "EC2AccessDeniedException": - case "com.amazonaws.lambda#EC2AccessDeniedException": - throw await de_EC2AccessDeniedExceptionRes(parsedOutput, context); - case "EC2ThrottledException": - case "com.amazonaws.lambda#EC2ThrottledException": - throw await de_EC2ThrottledExceptionRes(parsedOutput, context); - case "EC2UnexpectedException": - case "com.amazonaws.lambda#EC2UnexpectedException": - throw await de_EC2UnexpectedExceptionRes(parsedOutput, context); - case "EFSIOException": - case "com.amazonaws.lambda#EFSIOException": - throw await de_EFSIOExceptionRes(parsedOutput, context); - case "EFSMountConnectivityException": - case "com.amazonaws.lambda#EFSMountConnectivityException": - throw await de_EFSMountConnectivityExceptionRes(parsedOutput, context); - case "EFSMountFailureException": - case "com.amazonaws.lambda#EFSMountFailureException": - throw await de_EFSMountFailureExceptionRes(parsedOutput, context); - case "EFSMountTimeoutException": - case "com.amazonaws.lambda#EFSMountTimeoutException": - throw await de_EFSMountTimeoutExceptionRes(parsedOutput, context); - case "ENILimitReachedException": - case "com.amazonaws.lambda#ENILimitReachedException": - throw await de_ENILimitReachedExceptionRes(parsedOutput, context); - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "InvalidRequestContentException": - case "com.amazonaws.lambda#InvalidRequestContentException": - throw await de_InvalidRequestContentExceptionRes(parsedOutput, context); - case "InvalidRuntimeException": - case "com.amazonaws.lambda#InvalidRuntimeException": - throw await de_InvalidRuntimeExceptionRes(parsedOutput, context); - case "InvalidSecurityGroupIDException": - case "com.amazonaws.lambda#InvalidSecurityGroupIDException": - throw await de_InvalidSecurityGroupIDExceptionRes(parsedOutput, context); - case "InvalidSubnetIDException": - case "com.amazonaws.lambda#InvalidSubnetIDException": - throw await de_InvalidSubnetIDExceptionRes(parsedOutput, context); - case "InvalidZipFileException": - case "com.amazonaws.lambda#InvalidZipFileException": - throw await de_InvalidZipFileExceptionRes(parsedOutput, context); - case "KMSAccessDeniedException": - case "com.amazonaws.lambda#KMSAccessDeniedException": - throw await de_KMSAccessDeniedExceptionRes(parsedOutput, context); - case "KMSDisabledException": - case "com.amazonaws.lambda#KMSDisabledException": - throw await de_KMSDisabledExceptionRes(parsedOutput, context); - case "KMSInvalidStateException": - case "com.amazonaws.lambda#KMSInvalidStateException": - throw await de_KMSInvalidStateExceptionRes(parsedOutput, context); - case "KMSNotFoundException": - case "com.amazonaws.lambda#KMSNotFoundException": - throw await de_KMSNotFoundExceptionRes(parsedOutput, context); - case "RecursiveInvocationException": - case "com.amazonaws.lambda#RecursiveInvocationException": - throw await de_RecursiveInvocationExceptionRes(parsedOutput, context); - case "RequestTooLargeException": - case "com.amazonaws.lambda#RequestTooLargeException": - throw await de_RequestTooLargeExceptionRes(parsedOutput, context); - case "ResourceConflictException": - case "com.amazonaws.lambda#ResourceConflictException": - throw await de_ResourceConflictExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ResourceNotReadyException": - case "com.amazonaws.lambda#ResourceNotReadyException": - throw await de_ResourceNotReadyExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "SnapStartException": - case "com.amazonaws.lambda#SnapStartException": - throw await de_SnapStartExceptionRes(parsedOutput, context); - case "SnapStartNotReadyException": - case "com.amazonaws.lambda#SnapStartNotReadyException": - throw await de_SnapStartNotReadyExceptionRes(parsedOutput, context); - case "SnapStartTimeoutException": - case "com.amazonaws.lambda#SnapStartTimeoutException": - throw await de_SnapStartTimeoutExceptionRes(parsedOutput, context); - case "SubnetIPAddressLimitReachedException": - case "com.amazonaws.lambda#SubnetIPAddressLimitReachedException": - throw await de_SubnetIPAddressLimitReachedExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - case "UnsupportedMediaTypeException": - case "com.amazonaws.lambda#UnsupportedMediaTypeException": - throw await de_UnsupportedMediaTypeExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -export const de_ListAliasesCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_ListAliasesCommandError(output, context); - } - const contents = map({ - $metadata: deserializeMetadata(output), - }); - const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - Aliases: (_) => de_AliasList(_, context), - NextMarker: __expectString, - }); - Object.assign(contents, doc); - return contents; -}; -const de_ListAliasesCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -export const de_ListCodeSigningConfigsCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_ListCodeSigningConfigsCommandError(output, context); - } - const contents = map({ - $metadata: deserializeMetadata(output), - }); - const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - CodeSigningConfigs: _json, - NextMarker: __expectString, - }); - Object.assign(contents, doc); - return contents; -}; -const de_ListCodeSigningConfigsCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -export const de_ListEventSourceMappingsCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_ListEventSourceMappingsCommandError(output, context); - } - const contents = map({ - $metadata: deserializeMetadata(output), - }); - const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - EventSourceMappings: (_) => de_EventSourceMappingsList(_, context), - NextMarker: __expectString, - }); - Object.assign(contents, doc); - return contents; -}; -const de_ListEventSourceMappingsCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -export const de_ListFunctionEventInvokeConfigsCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_ListFunctionEventInvokeConfigsCommandError(output, context); - } - const contents = map({ - $metadata: deserializeMetadata(output), - }); - const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - FunctionEventInvokeConfigs: (_) => de_FunctionEventInvokeConfigList(_, context), - NextMarker: __expectString, - }); - Object.assign(contents, doc); - return contents; -}; -const de_ListFunctionEventInvokeConfigsCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -export const de_ListFunctionsCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_ListFunctionsCommandError(output, context); - } - const contents = map({ - $metadata: deserializeMetadata(output), - }); - const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - Functions: _json, - NextMarker: __expectString, - }); - Object.assign(contents, doc); - return contents; -}; -const de_ListFunctionsCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -export const de_ListFunctionsByCodeSigningConfigCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_ListFunctionsByCodeSigningConfigCommandError(output, context); - } - const contents = map({ - $metadata: deserializeMetadata(output), - }); - const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - FunctionArns: _json, - NextMarker: __expectString, - }); - Object.assign(contents, doc); - return contents; -}; -const de_ListFunctionsByCodeSigningConfigCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -export const de_ListFunctionUrlConfigsCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_ListFunctionUrlConfigsCommandError(output, context); - } - const contents = map({ - $metadata: deserializeMetadata(output), - }); - const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - FunctionUrlConfigs: _json, - NextMarker: __expectString, - }); - Object.assign(contents, doc); - return contents; -}; -const de_ListFunctionUrlConfigsCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -export const de_ListLayersCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_ListLayersCommandError(output, context); - } - const contents = map({ - $metadata: deserializeMetadata(output), - }); - const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - Layers: _json, - NextMarker: __expectString, - }); - Object.assign(contents, doc); - return contents; -}; -const de_ListLayersCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -export const de_ListLayerVersionsCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_ListLayerVersionsCommandError(output, context); - } - const contents = map({ - $metadata: deserializeMetadata(output), - }); - const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - LayerVersions: _json, - NextMarker: __expectString, - }); - Object.assign(contents, doc); - return contents; -}; -const de_ListLayerVersionsCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -export const de_ListProvisionedConcurrencyConfigsCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_ListProvisionedConcurrencyConfigsCommandError(output, context); - } - const contents = map({ - $metadata: deserializeMetadata(output), - }); - const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - NextMarker: __expectString, - ProvisionedConcurrencyConfigs: _json, - }); - Object.assign(contents, doc); - return contents; -}; -const de_ListProvisionedConcurrencyConfigsCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -export const de_ListTagsCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_ListTagsCommandError(output, context); - } - const contents = map({ - $metadata: deserializeMetadata(output), - }); - const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - Tags: _json, - }); - Object.assign(contents, doc); - return contents; -}; -const de_ListTagsCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -export const de_ListVersionsByFunctionCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_ListVersionsByFunctionCommandError(output, context); - } - const contents = map({ - $metadata: deserializeMetadata(output), - }); - const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - NextMarker: __expectString, - Versions: _json, - }); - Object.assign(contents, doc); - return contents; -}; -const de_ListVersionsByFunctionCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -export const de_PublishLayerVersionCommand = async (output, context) => { - if (output.statusCode !== 201 && output.statusCode >= 300) { - return de_PublishLayerVersionCommandError(output, context); - } - const contents = map({ - $metadata: deserializeMetadata(output), - }); - const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - CompatibleArchitectures: _json, - CompatibleRuntimes: _json, - Content: _json, - CreatedDate: __expectString, - Description: __expectString, - LayerArn: __expectString, - LayerVersionArn: __expectString, - LicenseInfo: __expectString, - Version: __expectLong, - }); - Object.assign(contents, doc); - return contents; -}; -const de_PublishLayerVersionCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "CodeStorageExceededException": - case "com.amazonaws.lambda#CodeStorageExceededException": - throw await de_CodeStorageExceededExceptionRes(parsedOutput, context); - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -export const de_PublishVersionCommand = async (output, context) => { - if (output.statusCode !== 201 && output.statusCode >= 300) { - return de_PublishVersionCommandError(output, context); - } - const contents = map({ - $metadata: deserializeMetadata(output), - }); - const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - Architectures: _json, - CodeSha256: __expectString, - CodeSize: __expectLong, - DeadLetterConfig: _json, - Description: __expectString, - Environment: _json, - EphemeralStorage: _json, - FileSystemConfigs: _json, - FunctionArn: __expectString, - FunctionName: __expectString, - Handler: __expectString, - ImageConfigResponse: _json, - KMSKeyArn: __expectString, - LastModified: __expectString, - LastUpdateStatus: __expectString, - LastUpdateStatusReason: __expectString, - LastUpdateStatusReasonCode: __expectString, - Layers: _json, - LoggingConfig: _json, - MasterArn: __expectString, - MemorySize: __expectInt32, - PackageType: __expectString, - RevisionId: __expectString, - Role: __expectString, - Runtime: __expectString, - RuntimeVersionConfig: _json, - SigningJobArn: __expectString, - SigningProfileVersionArn: __expectString, - SnapStart: _json, - State: __expectString, - StateReason: __expectString, - StateReasonCode: __expectString, - Timeout: __expectInt32, - TracingConfig: _json, - Version: __expectString, - VpcConfig: _json, - }); - Object.assign(contents, doc); - return contents; -}; -const de_PublishVersionCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "CodeStorageExceededException": - case "com.amazonaws.lambda#CodeStorageExceededException": - throw await de_CodeStorageExceededExceptionRes(parsedOutput, context); - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "PreconditionFailedException": - case "com.amazonaws.lambda#PreconditionFailedException": - throw await de_PreconditionFailedExceptionRes(parsedOutput, context); - case "ResourceConflictException": - case "com.amazonaws.lambda#ResourceConflictException": - throw await de_ResourceConflictExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -export const de_PutFunctionCodeSigningConfigCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_PutFunctionCodeSigningConfigCommandError(output, context); - } - const contents = map({ - $metadata: deserializeMetadata(output), - }); - const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - CodeSigningConfigArn: __expectString, - FunctionName: __expectString, - }); - Object.assign(contents, doc); - return contents; -}; -const de_PutFunctionCodeSigningConfigCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "CodeSigningConfigNotFoundException": - case "com.amazonaws.lambda#CodeSigningConfigNotFoundException": - throw await de_CodeSigningConfigNotFoundExceptionRes(parsedOutput, context); - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ResourceConflictException": - case "com.amazonaws.lambda#ResourceConflictException": - throw await de_ResourceConflictExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -export const de_PutFunctionConcurrencyCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_PutFunctionConcurrencyCommandError(output, context); - } - const contents = map({ - $metadata: deserializeMetadata(output), - }); - const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - ReservedConcurrentExecutions: __expectInt32, - }); - Object.assign(contents, doc); - return contents; -}; -const de_PutFunctionConcurrencyCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ResourceConflictException": - case "com.amazonaws.lambda#ResourceConflictException": - throw await de_ResourceConflictExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -export const de_PutFunctionEventInvokeConfigCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_PutFunctionEventInvokeConfigCommandError(output, context); - } - const contents = map({ - $metadata: deserializeMetadata(output), - }); - const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - DestinationConfig: _json, - FunctionArn: __expectString, - LastModified: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), - MaximumEventAgeInSeconds: __expectInt32, - MaximumRetryAttempts: __expectInt32, - }); - Object.assign(contents, doc); - return contents; -}; -const de_PutFunctionEventInvokeConfigCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ResourceConflictException": - case "com.amazonaws.lambda#ResourceConflictException": - throw await de_ResourceConflictExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -export const de_PutProvisionedConcurrencyConfigCommand = async (output, context) => { - if (output.statusCode !== 202 && output.statusCode >= 300) { - return de_PutProvisionedConcurrencyConfigCommandError(output, context); - } - const contents = map({ - $metadata: deserializeMetadata(output), - }); - const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - AllocatedProvisionedConcurrentExecutions: __expectInt32, - AvailableProvisionedConcurrentExecutions: __expectInt32, - LastModified: __expectString, - RequestedProvisionedConcurrentExecutions: __expectInt32, - Status: __expectString, - StatusReason: __expectString, - }); - Object.assign(contents, doc); - return contents; -}; -const de_PutProvisionedConcurrencyConfigCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ResourceConflictException": - case "com.amazonaws.lambda#ResourceConflictException": - throw await de_ResourceConflictExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -export const de_PutRuntimeManagementConfigCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_PutRuntimeManagementConfigCommandError(output, context); - } - const contents = map({ - $metadata: deserializeMetadata(output), - }); - const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - FunctionArn: __expectString, - RuntimeVersionArn: __expectString, - UpdateRuntimeOn: __expectString, - }); - Object.assign(contents, doc); - return contents; -}; -const de_PutRuntimeManagementConfigCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ResourceConflictException": - case "com.amazonaws.lambda#ResourceConflictException": - throw await de_ResourceConflictExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -export const de_RemoveLayerVersionPermissionCommand = async (output, context) => { - if (output.statusCode !== 204 && output.statusCode >= 300) { - return de_RemoveLayerVersionPermissionCommandError(output, context); - } - const contents = map({ - $metadata: deserializeMetadata(output), - }); - await collectBody(output.body, context); - return contents; -}; -const de_RemoveLayerVersionPermissionCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "PreconditionFailedException": - case "com.amazonaws.lambda#PreconditionFailedException": - throw await de_PreconditionFailedExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -export const de_RemovePermissionCommand = async (output, context) => { - if (output.statusCode !== 204 && output.statusCode >= 300) { - return de_RemovePermissionCommandError(output, context); - } - const contents = map({ - $metadata: deserializeMetadata(output), - }); - await collectBody(output.body, context); - return contents; -}; -const de_RemovePermissionCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "PreconditionFailedException": - case "com.amazonaws.lambda#PreconditionFailedException": - throw await de_PreconditionFailedExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -export const de_TagResourceCommand = async (output, context) => { - if (output.statusCode !== 204 && output.statusCode >= 300) { - return de_TagResourceCommandError(output, context); - } - const contents = map({ - $metadata: deserializeMetadata(output), - }); - await collectBody(output.body, context); - return contents; -}; -const de_TagResourceCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ResourceConflictException": - case "com.amazonaws.lambda#ResourceConflictException": - throw await de_ResourceConflictExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -export const de_UntagResourceCommand = async (output, context) => { - if (output.statusCode !== 204 && output.statusCode >= 300) { - return de_UntagResourceCommandError(output, context); - } - const contents = map({ - $metadata: deserializeMetadata(output), - }); - await collectBody(output.body, context); - return contents; -}; -const de_UntagResourceCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ResourceConflictException": - case "com.amazonaws.lambda#ResourceConflictException": - throw await de_ResourceConflictExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -export const de_UpdateAliasCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_UpdateAliasCommandError(output, context); - } - const contents = map({ - $metadata: deserializeMetadata(output), - }); - const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - AliasArn: __expectString, - Description: __expectString, - FunctionVersion: __expectString, - Name: __expectString, - RevisionId: __expectString, - RoutingConfig: (_) => de_AliasRoutingConfiguration(_, context), - }); - Object.assign(contents, doc); - return contents; -}; -const de_UpdateAliasCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "PreconditionFailedException": - case "com.amazonaws.lambda#PreconditionFailedException": - throw await de_PreconditionFailedExceptionRes(parsedOutput, context); - case "ResourceConflictException": - case "com.amazonaws.lambda#ResourceConflictException": - throw await de_ResourceConflictExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -export const de_UpdateCodeSigningConfigCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_UpdateCodeSigningConfigCommandError(output, context); - } - const contents = map({ - $metadata: deserializeMetadata(output), - }); - const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - CodeSigningConfig: _json, - }); - Object.assign(contents, doc); - return contents; -}; -const de_UpdateCodeSigningConfigCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -export const de_UpdateEventSourceMappingCommand = async (output, context) => { - if (output.statusCode !== 202 && output.statusCode >= 300) { - return de_UpdateEventSourceMappingCommandError(output, context); - } - const contents = map({ - $metadata: deserializeMetadata(output), - }); - const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - AmazonManagedKafkaEventSourceConfig: _json, - BatchSize: __expectInt32, - BisectBatchOnFunctionError: __expectBoolean, - DestinationConfig: _json, - DocumentDBEventSourceConfig: _json, - EventSourceArn: __expectString, - FilterCriteria: _json, - FunctionArn: __expectString, - FunctionResponseTypes: _json, - LastModified: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), - LastProcessingResult: __expectString, - MaximumBatchingWindowInSeconds: __expectInt32, - MaximumRecordAgeInSeconds: __expectInt32, - MaximumRetryAttempts: __expectInt32, - ParallelizationFactor: __expectInt32, - Queues: _json, - ScalingConfig: _json, - SelfManagedEventSource: _json, - SelfManagedKafkaEventSourceConfig: _json, - SourceAccessConfigurations: _json, - StartingPosition: __expectString, - StartingPositionTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), - State: __expectString, - StateTransitionReason: __expectString, - Topics: _json, - TumblingWindowInSeconds: __expectInt32, - UUID: __expectString, - }); - Object.assign(contents, doc); - return contents; -}; -const de_UpdateEventSourceMappingCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ResourceConflictException": - case "com.amazonaws.lambda#ResourceConflictException": - throw await de_ResourceConflictExceptionRes(parsedOutput, context); - case "ResourceInUseException": - case "com.amazonaws.lambda#ResourceInUseException": - throw await de_ResourceInUseExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -export const de_UpdateFunctionCodeCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_UpdateFunctionCodeCommandError(output, context); - } - const contents = map({ - $metadata: deserializeMetadata(output), - }); - const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - Architectures: _json, - CodeSha256: __expectString, - CodeSize: __expectLong, - DeadLetterConfig: _json, - Description: __expectString, - Environment: _json, - EphemeralStorage: _json, - FileSystemConfigs: _json, - FunctionArn: __expectString, - FunctionName: __expectString, - Handler: __expectString, - ImageConfigResponse: _json, - KMSKeyArn: __expectString, - LastModified: __expectString, - LastUpdateStatus: __expectString, - LastUpdateStatusReason: __expectString, - LastUpdateStatusReasonCode: __expectString, - Layers: _json, - LoggingConfig: _json, - MasterArn: __expectString, - MemorySize: __expectInt32, - PackageType: __expectString, - RevisionId: __expectString, - Role: __expectString, - Runtime: __expectString, - RuntimeVersionConfig: _json, - SigningJobArn: __expectString, - SigningProfileVersionArn: __expectString, - SnapStart: _json, - State: __expectString, - StateReason: __expectString, - StateReasonCode: __expectString, - Timeout: __expectInt32, - TracingConfig: _json, - Version: __expectString, - VpcConfig: _json, - }); - Object.assign(contents, doc); - return contents; -}; -const de_UpdateFunctionCodeCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "CodeSigningConfigNotFoundException": - case "com.amazonaws.lambda#CodeSigningConfigNotFoundException": - throw await de_CodeSigningConfigNotFoundExceptionRes(parsedOutput, context); - case "CodeStorageExceededException": - case "com.amazonaws.lambda#CodeStorageExceededException": - throw await de_CodeStorageExceededExceptionRes(parsedOutput, context); - case "CodeVerificationFailedException": - case "com.amazonaws.lambda#CodeVerificationFailedException": - throw await de_CodeVerificationFailedExceptionRes(parsedOutput, context); - case "InvalidCodeSignatureException": - case "com.amazonaws.lambda#InvalidCodeSignatureException": - throw await de_InvalidCodeSignatureExceptionRes(parsedOutput, context); - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "PreconditionFailedException": - case "com.amazonaws.lambda#PreconditionFailedException": - throw await de_PreconditionFailedExceptionRes(parsedOutput, context); - case "ResourceConflictException": - case "com.amazonaws.lambda#ResourceConflictException": - throw await de_ResourceConflictExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -export const de_UpdateFunctionConfigurationCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_UpdateFunctionConfigurationCommandError(output, context); - } - const contents = map({ - $metadata: deserializeMetadata(output), - }); - const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - Architectures: _json, - CodeSha256: __expectString, - CodeSize: __expectLong, - DeadLetterConfig: _json, - Description: __expectString, - Environment: _json, - EphemeralStorage: _json, - FileSystemConfigs: _json, - FunctionArn: __expectString, - FunctionName: __expectString, - Handler: __expectString, - ImageConfigResponse: _json, - KMSKeyArn: __expectString, - LastModified: __expectString, - LastUpdateStatus: __expectString, - LastUpdateStatusReason: __expectString, - LastUpdateStatusReasonCode: __expectString, - Layers: _json, - LoggingConfig: _json, - MasterArn: __expectString, - MemorySize: __expectInt32, - PackageType: __expectString, - RevisionId: __expectString, - Role: __expectString, - Runtime: __expectString, - RuntimeVersionConfig: _json, - SigningJobArn: __expectString, - SigningProfileVersionArn: __expectString, - SnapStart: _json, - State: __expectString, - StateReason: __expectString, - StateReasonCode: __expectString, - Timeout: __expectInt32, - TracingConfig: _json, - Version: __expectString, - VpcConfig: _json, - }); - Object.assign(contents, doc); - return contents; -}; -const de_UpdateFunctionConfigurationCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "CodeSigningConfigNotFoundException": - case "com.amazonaws.lambda#CodeSigningConfigNotFoundException": - throw await de_CodeSigningConfigNotFoundExceptionRes(parsedOutput, context); - case "CodeVerificationFailedException": - case "com.amazonaws.lambda#CodeVerificationFailedException": - throw await de_CodeVerificationFailedExceptionRes(parsedOutput, context); - case "InvalidCodeSignatureException": - case "com.amazonaws.lambda#InvalidCodeSignatureException": - throw await de_InvalidCodeSignatureExceptionRes(parsedOutput, context); - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "PreconditionFailedException": - case "com.amazonaws.lambda#PreconditionFailedException": - throw await de_PreconditionFailedExceptionRes(parsedOutput, context); - case "ResourceConflictException": - case "com.amazonaws.lambda#ResourceConflictException": - throw await de_ResourceConflictExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -export const de_UpdateFunctionEventInvokeConfigCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_UpdateFunctionEventInvokeConfigCommandError(output, context); - } - const contents = map({ - $metadata: deserializeMetadata(output), - }); - const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - DestinationConfig: _json, - FunctionArn: __expectString, - LastModified: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), - MaximumEventAgeInSeconds: __expectInt32, - MaximumRetryAttempts: __expectInt32, - }); - Object.assign(contents, doc); - return contents; -}; -const de_UpdateFunctionEventInvokeConfigCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ResourceConflictException": - case "com.amazonaws.lambda#ResourceConflictException": - throw await de_ResourceConflictExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -export const de_UpdateFunctionUrlConfigCommand = async (output, context) => { - if (output.statusCode !== 200 && output.statusCode >= 300) { - return de_UpdateFunctionUrlConfigCommandError(output, context); - } - const contents = map({ - $metadata: deserializeMetadata(output), - }); - const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body"); - const doc = take(data, { - AuthType: __expectString, - Cors: _json, - CreationTime: __expectString, - FunctionArn: __expectString, - FunctionUrl: __expectString, - InvokeMode: __expectString, - LastModifiedTime: __expectString, - }); - Object.assign(contents, doc); - return contents; -}; -const de_UpdateFunctionUrlConfigCommandError = async (output, context) => { - const parsedOutput = { - ...output, - body: await parseErrorBody(output.body, context), - }; - const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); - switch (errorCode) { - case "InvalidParameterValueException": - case "com.amazonaws.lambda#InvalidParameterValueException": - throw await de_InvalidParameterValueExceptionRes(parsedOutput, context); - case "ResourceConflictException": - case "com.amazonaws.lambda#ResourceConflictException": - throw await de_ResourceConflictExceptionRes(parsedOutput, context); - case "ResourceNotFoundException": - case "com.amazonaws.lambda#ResourceNotFoundException": - throw await de_ResourceNotFoundExceptionRes(parsedOutput, context); - case "ServiceException": - case "com.amazonaws.lambda#ServiceException": - throw await de_ServiceExceptionRes(parsedOutput, context); - case "TooManyRequestsException": - case "com.amazonaws.lambda#TooManyRequestsException": - throw await de_TooManyRequestsExceptionRes(parsedOutput, context); - default: - const parsedBody = parsedOutput.body; - return throwDefaultError({ - output, - parsedBody, - errorCode, - }); - } -}; -const throwDefaultError = withBaseException(__BaseException); -const de_CodeSigningConfigNotFoundExceptionRes = async (parsedOutput, context) => { - const contents = map({}); - const data = parsedOutput.body; - const doc = take(data, { - Message: __expectString, - Type: __expectString, - }); - Object.assign(contents, doc); - const exception = new CodeSigningConfigNotFoundException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return __decorateServiceException(exception, parsedOutput.body); -}; -const de_CodeStorageExceededExceptionRes = async (parsedOutput, context) => { - const contents = map({}); - const data = parsedOutput.body; - const doc = take(data, { - Type: __expectString, - message: __expectString, - }); - Object.assign(contents, doc); - const exception = new CodeStorageExceededException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return __decorateServiceException(exception, parsedOutput.body); -}; -const de_CodeVerificationFailedExceptionRes = async (parsedOutput, context) => { - const contents = map({}); - const data = parsedOutput.body; - const doc = take(data, { - Message: __expectString, - Type: __expectString, - }); - Object.assign(contents, doc); - const exception = new CodeVerificationFailedException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return __decorateServiceException(exception, parsedOutput.body); -}; -const de_EC2AccessDeniedExceptionRes = async (parsedOutput, context) => { - const contents = map({}); - const data = parsedOutput.body; - const doc = take(data, { - Message: __expectString, - Type: __expectString, - }); - Object.assign(contents, doc); - const exception = new EC2AccessDeniedException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return __decorateServiceException(exception, parsedOutput.body); -}; -const de_EC2ThrottledExceptionRes = async (parsedOutput, context) => { - const contents = map({}); - const data = parsedOutput.body; - const doc = take(data, { - Message: __expectString, - Type: __expectString, - }); - Object.assign(contents, doc); - const exception = new EC2ThrottledException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return __decorateServiceException(exception, parsedOutput.body); -}; -const de_EC2UnexpectedExceptionRes = async (parsedOutput, context) => { - const contents = map({}); - const data = parsedOutput.body; - const doc = take(data, { - EC2ErrorCode: __expectString, - Message: __expectString, - Type: __expectString, - }); - Object.assign(contents, doc); - const exception = new EC2UnexpectedException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return __decorateServiceException(exception, parsedOutput.body); -}; -const de_EFSIOExceptionRes = async (parsedOutput, context) => { - const contents = map({}); - const data = parsedOutput.body; - const doc = take(data, { - Message: __expectString, - Type: __expectString, - }); - Object.assign(contents, doc); - const exception = new EFSIOException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return __decorateServiceException(exception, parsedOutput.body); -}; -const de_EFSMountConnectivityExceptionRes = async (parsedOutput, context) => { - const contents = map({}); - const data = parsedOutput.body; - const doc = take(data, { - Message: __expectString, - Type: __expectString, - }); - Object.assign(contents, doc); - const exception = new EFSMountConnectivityException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return __decorateServiceException(exception, parsedOutput.body); -}; -const de_EFSMountFailureExceptionRes = async (parsedOutput, context) => { - const contents = map({}); - const data = parsedOutput.body; - const doc = take(data, { - Message: __expectString, - Type: __expectString, - }); - Object.assign(contents, doc); - const exception = new EFSMountFailureException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return __decorateServiceException(exception, parsedOutput.body); -}; -const de_EFSMountTimeoutExceptionRes = async (parsedOutput, context) => { - const contents = map({}); - const data = parsedOutput.body; - const doc = take(data, { - Message: __expectString, - Type: __expectString, - }); - Object.assign(contents, doc); - const exception = new EFSMountTimeoutException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return __decorateServiceException(exception, parsedOutput.body); -}; -const de_ENILimitReachedExceptionRes = async (parsedOutput, context) => { - const contents = map({}); - const data = parsedOutput.body; - const doc = take(data, { - Message: __expectString, - Type: __expectString, - }); - Object.assign(contents, doc); - const exception = new ENILimitReachedException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return __decorateServiceException(exception, parsedOutput.body); -}; -const de_InvalidCodeSignatureExceptionRes = async (parsedOutput, context) => { - const contents = map({}); - const data = parsedOutput.body; - const doc = take(data, { - Message: __expectString, - Type: __expectString, - }); - Object.assign(contents, doc); - const exception = new InvalidCodeSignatureException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return __decorateServiceException(exception, parsedOutput.body); -}; -const de_InvalidParameterValueExceptionRes = async (parsedOutput, context) => { - const contents = map({}); - const data = parsedOutput.body; - const doc = take(data, { - Type: __expectString, - message: __expectString, - }); - Object.assign(contents, doc); - const exception = new InvalidParameterValueException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return __decorateServiceException(exception, parsedOutput.body); -}; -const de_InvalidRequestContentExceptionRes = async (parsedOutput, context) => { - const contents = map({}); - const data = parsedOutput.body; - const doc = take(data, { - Type: __expectString, - message: __expectString, - }); - Object.assign(contents, doc); - const exception = new InvalidRequestContentException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return __decorateServiceException(exception, parsedOutput.body); -}; -const de_InvalidRuntimeExceptionRes = async (parsedOutput, context) => { - const contents = map({}); - const data = parsedOutput.body; - const doc = take(data, { - Message: __expectString, - Type: __expectString, - }); - Object.assign(contents, doc); - const exception = new InvalidRuntimeException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return __decorateServiceException(exception, parsedOutput.body); -}; -const de_InvalidSecurityGroupIDExceptionRes = async (parsedOutput, context) => { - const contents = map({}); - const data = parsedOutput.body; - const doc = take(data, { - Message: __expectString, - Type: __expectString, - }); - Object.assign(contents, doc); - const exception = new InvalidSecurityGroupIDException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return __decorateServiceException(exception, parsedOutput.body); -}; -const de_InvalidSubnetIDExceptionRes = async (parsedOutput, context) => { - const contents = map({}); - const data = parsedOutput.body; - const doc = take(data, { - Message: __expectString, - Type: __expectString, - }); - Object.assign(contents, doc); - const exception = new InvalidSubnetIDException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return __decorateServiceException(exception, parsedOutput.body); -}; -const de_InvalidZipFileExceptionRes = async (parsedOutput, context) => { - const contents = map({}); - const data = parsedOutput.body; - const doc = take(data, { - Message: __expectString, - Type: __expectString, - }); - Object.assign(contents, doc); - const exception = new InvalidZipFileException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return __decorateServiceException(exception, parsedOutput.body); -}; -const de_KMSAccessDeniedExceptionRes = async (parsedOutput, context) => { - const contents = map({}); - const data = parsedOutput.body; - const doc = take(data, { - Message: __expectString, - Type: __expectString, - }); - Object.assign(contents, doc); - const exception = new KMSAccessDeniedException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return __decorateServiceException(exception, parsedOutput.body); -}; -const de_KMSDisabledExceptionRes = async (parsedOutput, context) => { - const contents = map({}); - const data = parsedOutput.body; - const doc = take(data, { - Message: __expectString, - Type: __expectString, - }); - Object.assign(contents, doc); - const exception = new KMSDisabledException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return __decorateServiceException(exception, parsedOutput.body); -}; -const de_KMSInvalidStateExceptionRes = async (parsedOutput, context) => { - const contents = map({}); - const data = parsedOutput.body; - const doc = take(data, { - Message: __expectString, - Type: __expectString, - }); - Object.assign(contents, doc); - const exception = new KMSInvalidStateException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return __decorateServiceException(exception, parsedOutput.body); -}; -const de_KMSNotFoundExceptionRes = async (parsedOutput, context) => { - const contents = map({}); - const data = parsedOutput.body; - const doc = take(data, { - Message: __expectString, - Type: __expectString, - }); - Object.assign(contents, doc); - const exception = new KMSNotFoundException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return __decorateServiceException(exception, parsedOutput.body); -}; -const de_PolicyLengthExceededExceptionRes = async (parsedOutput, context) => { - const contents = map({}); - const data = parsedOutput.body; - const doc = take(data, { - Type: __expectString, - message: __expectString, - }); - Object.assign(contents, doc); - const exception = new PolicyLengthExceededException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return __decorateServiceException(exception, parsedOutput.body); -}; -const de_PreconditionFailedExceptionRes = async (parsedOutput, context) => { - const contents = map({}); - const data = parsedOutput.body; - const doc = take(data, { - Type: __expectString, - message: __expectString, - }); - Object.assign(contents, doc); - const exception = new PreconditionFailedException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return __decorateServiceException(exception, parsedOutput.body); -}; -const de_ProvisionedConcurrencyConfigNotFoundExceptionRes = async (parsedOutput, context) => { - const contents = map({}); - const data = parsedOutput.body; - const doc = take(data, { - Type: __expectString, - message: __expectString, - }); - Object.assign(contents, doc); - const exception = new ProvisionedConcurrencyConfigNotFoundException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return __decorateServiceException(exception, parsedOutput.body); -}; -const de_RecursiveInvocationExceptionRes = async (parsedOutput, context) => { - const contents = map({}); - const data = parsedOutput.body; - const doc = take(data, { - Message: __expectString, - Type: __expectString, - }); - Object.assign(contents, doc); - const exception = new RecursiveInvocationException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return __decorateServiceException(exception, parsedOutput.body); -}; -const de_RequestTooLargeExceptionRes = async (parsedOutput, context) => { - const contents = map({}); - const data = parsedOutput.body; - const doc = take(data, { - Type: __expectString, - message: __expectString, - }); - Object.assign(contents, doc); - const exception = new RequestTooLargeException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return __decorateServiceException(exception, parsedOutput.body); -}; -const de_ResourceConflictExceptionRes = async (parsedOutput, context) => { - const contents = map({}); - const data = parsedOutput.body; - const doc = take(data, { - Type: __expectString, - message: __expectString, - }); - Object.assign(contents, doc); - const exception = new ResourceConflictException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return __decorateServiceException(exception, parsedOutput.body); -}; -const de_ResourceInUseExceptionRes = async (parsedOutput, context) => { - const contents = map({}); - const data = parsedOutput.body; - const doc = take(data, { - Message: __expectString, - Type: __expectString, - }); - Object.assign(contents, doc); - const exception = new ResourceInUseException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return __decorateServiceException(exception, parsedOutput.body); -}; -const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => { - const contents = map({}); - const data = parsedOutput.body; - const doc = take(data, { - Message: __expectString, - Type: __expectString, - }); - Object.assign(contents, doc); - const exception = new ResourceNotFoundException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return __decorateServiceException(exception, parsedOutput.body); -}; -const de_ResourceNotReadyExceptionRes = async (parsedOutput, context) => { - const contents = map({}); - const data = parsedOutput.body; - const doc = take(data, { - Type: __expectString, - message: __expectString, - }); - Object.assign(contents, doc); - const exception = new ResourceNotReadyException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return __decorateServiceException(exception, parsedOutput.body); -}; -const de_ServiceExceptionRes = async (parsedOutput, context) => { - const contents = map({}); - const data = parsedOutput.body; - const doc = take(data, { - Message: __expectString, - Type: __expectString, - }); - Object.assign(contents, doc); - const exception = new ServiceException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return __decorateServiceException(exception, parsedOutput.body); -}; -const de_SnapStartExceptionRes = async (parsedOutput, context) => { - const contents = map({}); - const data = parsedOutput.body; - const doc = take(data, { - Message: __expectString, - Type: __expectString, - }); - Object.assign(contents, doc); - const exception = new SnapStartException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return __decorateServiceException(exception, parsedOutput.body); -}; -const de_SnapStartNotReadyExceptionRes = async (parsedOutput, context) => { - const contents = map({}); - const data = parsedOutput.body; - const doc = take(data, { - Message: __expectString, - Type: __expectString, - }); - Object.assign(contents, doc); - const exception = new SnapStartNotReadyException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return __decorateServiceException(exception, parsedOutput.body); -}; -const de_SnapStartTimeoutExceptionRes = async (parsedOutput, context) => { - const contents = map({}); - const data = parsedOutput.body; - const doc = take(data, { - Message: __expectString, - Type: __expectString, - }); - Object.assign(contents, doc); - const exception = new SnapStartTimeoutException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return __decorateServiceException(exception, parsedOutput.body); -}; -const de_SubnetIPAddressLimitReachedExceptionRes = async (parsedOutput, context) => { - const contents = map({}); - const data = parsedOutput.body; - const doc = take(data, { - Message: __expectString, - Type: __expectString, - }); - Object.assign(contents, doc); - const exception = new SubnetIPAddressLimitReachedException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return __decorateServiceException(exception, parsedOutput.body); -}; -const de_TooManyRequestsExceptionRes = async (parsedOutput, context) => { - const contents = map({ - retryAfterSeconds: [, parsedOutput.headers["retry-after"]], - }); - const data = parsedOutput.body; - const doc = take(data, { - Reason: __expectString, - Type: __expectString, - message: __expectString, - }); - Object.assign(contents, doc); - const exception = new TooManyRequestsException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return __decorateServiceException(exception, parsedOutput.body); -}; -const de_UnsupportedMediaTypeExceptionRes = async (parsedOutput, context) => { - const contents = map({}); - const data = parsedOutput.body; - const doc = take(data, { - Type: __expectString, - message: __expectString, - }); - Object.assign(contents, doc); - const exception = new UnsupportedMediaTypeException({ - $metadata: deserializeMetadata(parsedOutput), - ...contents, - }); - return __decorateServiceException(exception, parsedOutput.body); -}; -const de_InvokeWithResponseStreamResponseEvent = (output, context) => { - return context.eventStreamMarshaller.deserialize(output, async (event) => { - if (event["PayloadChunk"] != null) { - return { - PayloadChunk: await de_InvokeResponseStreamUpdate_event(event["PayloadChunk"], context), - }; - } - if (event["InvokeComplete"] != null) { - return { - InvokeComplete: await de_InvokeWithResponseStreamCompleteEvent_event(event["InvokeComplete"], context), - }; - } - return { $unknown: output }; - }); -}; -const de_InvokeResponseStreamUpdate_event = async (output, context) => { - const contents = {}; - contents.Payload = output.body; - return contents; -}; -const de_InvokeWithResponseStreamCompleteEvent_event = async (output, context) => { - const contents = {}; - const data = await parseBody(output.body, context); - Object.assign(contents, _json(data)); - return contents; -}; -const se_AdditionalVersionWeights = (input, context) => { - return Object.entries(input).reduce((acc, [key, value]) => { - if (value === null) { - return acc; - } - acc[key] = __serializeFloat(value); - return acc; - }, {}); -}; -const se_AliasRoutingConfiguration = (input, context) => { - return take(input, { - AdditionalVersionWeights: (_) => se_AdditionalVersionWeights(_, context), - }); -}; -const se_FunctionCode = (input, context) => { - return take(input, { - ImageUri: [], - S3Bucket: [], - S3Key: [], - S3ObjectVersion: [], - ZipFile: context.base64Encoder, - }); -}; -const se_LayerVersionContentInput = (input, context) => { - return take(input, { - S3Bucket: [], - S3Key: [], - S3ObjectVersion: [], - ZipFile: context.base64Encoder, - }); -}; -const de_AdditionalVersionWeights = (output, context) => { - return Object.entries(output).reduce((acc, [key, value]) => { - if (value === null) { - return acc; - } - acc[key] = __limitedParseDouble(value); - return acc; - }, {}); -}; -const de_AliasConfiguration = (output, context) => { - return take(output, { - AliasArn: __expectString, - Description: __expectString, - FunctionVersion: __expectString, - Name: __expectString, - RevisionId: __expectString, - RoutingConfig: (_) => de_AliasRoutingConfiguration(_, context), - }); -}; -const de_AliasList = (output, context) => { - const retVal = (output || []) - .filter((e) => e != null) - .map((entry) => { - return de_AliasConfiguration(entry, context); - }); - return retVal; -}; -const de_AliasRoutingConfiguration = (output, context) => { - return take(output, { - AdditionalVersionWeights: (_) => de_AdditionalVersionWeights(_, context), - }); -}; -const de_EventSourceMappingConfiguration = (output, context) => { - return take(output, { - AmazonManagedKafkaEventSourceConfig: _json, - BatchSize: __expectInt32, - BisectBatchOnFunctionError: __expectBoolean, - DestinationConfig: _json, - DocumentDBEventSourceConfig: _json, - EventSourceArn: __expectString, - FilterCriteria: _json, - FunctionArn: __expectString, - FunctionResponseTypes: _json, - LastModified: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), - LastProcessingResult: __expectString, - MaximumBatchingWindowInSeconds: __expectInt32, - MaximumRecordAgeInSeconds: __expectInt32, - MaximumRetryAttempts: __expectInt32, - ParallelizationFactor: __expectInt32, - Queues: _json, - ScalingConfig: _json, - SelfManagedEventSource: _json, - SelfManagedKafkaEventSourceConfig: _json, - SourceAccessConfigurations: _json, - StartingPosition: __expectString, - StartingPositionTimestamp: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), - State: __expectString, - StateTransitionReason: __expectString, - Topics: _json, - TumblingWindowInSeconds: __expectInt32, - UUID: __expectString, - }); -}; -const de_EventSourceMappingsList = (output, context) => { - const retVal = (output || []) - .filter((e) => e != null) - .map((entry) => { - return de_EventSourceMappingConfiguration(entry, context); - }); - return retVal; -}; -const de_FunctionEventInvokeConfig = (output, context) => { - return take(output, { - DestinationConfig: _json, - FunctionArn: __expectString, - LastModified: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), - MaximumEventAgeInSeconds: __expectInt32, - MaximumRetryAttempts: __expectInt32, - }); -}; -const de_FunctionEventInvokeConfigList = (output, context) => { - const retVal = (output || []) - .filter((e) => e != null) - .map((entry) => { - return de_FunctionEventInvokeConfig(entry, context); - }); - return retVal; -}; -const deserializeMetadata = (output) => ({ - httpStatusCode: output.statusCode, - requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"], - extendedRequestId: output.headers["x-amz-id-2"], - cfId: output.headers["x-amz-cf-id"], -}); -const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); -const isSerializableHeaderValue = (value) => value !== undefined && - value !== null && - value !== "" && - (!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) && - (!Object.getOwnPropertyNames(value).includes("size") || value.size != 0); -const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => { - if (encoded.length) { - return JSON.parse(encoded); - } - return {}; -}); -const parseErrorBody = async (errorBody, context) => { - const value = await parseBody(errorBody, context); - value.message = value.message ?? value.Message; - return value; -}; -const loadRestJsonErrorCode = (output, data) => { - const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase()); - const sanitizeErrorCode = (rawValue) => { - let cleanValue = rawValue; - if (typeof cleanValue === "number") { - cleanValue = cleanValue.toString(); - } - if (cleanValue.indexOf(",") >= 0) { - cleanValue = cleanValue.split(",")[0]; - } - if (cleanValue.indexOf(":") >= 0) { - cleanValue = cleanValue.split(":")[0]; - } - if (cleanValue.indexOf("#") >= 0) { - cleanValue = cleanValue.split("#")[1]; - } - return cleanValue; - }; - const headerKey = findKey(output.headers, "x-amzn-errortype"); - if (headerKey !== undefined) { - return sanitizeErrorCode(output.headers[headerKey]); - } - if (data.code !== undefined) { - return sanitizeErrorCode(data.code); - } - if (data["__type"] !== undefined) { - return sanitizeErrorCode(data["__type"]); - } -}; diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/waiters/index.js b/node_modules/@aws-sdk/client-lambda/dist-es/waiters/index.js deleted file mode 100644 index de33f256..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-es/waiters/index.js +++ /dev/null @@ -1,6 +0,0 @@ -export * from "./waitForFunctionActive"; -export * from "./waitForFunctionActiveV2"; -export * from "./waitForFunctionExists"; -export * from "./waitForFunctionUpdated"; -export * from "./waitForFunctionUpdatedV2"; -export * from "./waitForPublishedVersionActive"; diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/waiters/waitForFunctionActive.js b/node_modules/@aws-sdk/client-lambda/dist-es/waiters/waitForFunctionActive.js deleted file mode 100644 index 147e9d3b..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-es/waiters/waitForFunctionActive.js +++ /dev/null @@ -1,49 +0,0 @@ -import { checkExceptions, createWaiter, WaiterState } from "@smithy/util-waiter"; -import { GetFunctionConfigurationCommand, } from "../commands/GetFunctionConfigurationCommand"; -const checkState = async (client, input) => { - let reason; - try { - const result = await client.send(new GetFunctionConfigurationCommand(input)); - reason = result; - try { - const returnComparator = () => { - return result.State; - }; - if (returnComparator() === "Active") { - return { state: WaiterState.SUCCESS, reason }; - } - } - catch (e) { } - try { - const returnComparator = () => { - return result.State; - }; - if (returnComparator() === "Failed") { - return { state: WaiterState.FAILURE, reason }; - } - } - catch (e) { } - try { - const returnComparator = () => { - return result.State; - }; - if (returnComparator() === "Pending") { - return { state: WaiterState.RETRY, reason }; - } - } - catch (e) { } - } - catch (exception) { - reason = exception; - } - return { state: WaiterState.RETRY, reason }; -}; -export const waitForFunctionActive = async (params, input) => { - const serviceDefaults = { minDelay: 5, maxDelay: 120 }; - return createWaiter({ ...serviceDefaults, ...params }, input, checkState); -}; -export const waitUntilFunctionActive = async (params, input) => { - const serviceDefaults = { minDelay: 5, maxDelay: 120 }; - const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState); - return checkExceptions(result); -}; diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/waiters/waitForFunctionActiveV2.js b/node_modules/@aws-sdk/client-lambda/dist-es/waiters/waitForFunctionActiveV2.js deleted file mode 100644 index 40b2daa5..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-es/waiters/waitForFunctionActiveV2.js +++ /dev/null @@ -1,49 +0,0 @@ -import { checkExceptions, createWaiter, WaiterState } from "@smithy/util-waiter"; -import { GetFunctionCommand } from "../commands/GetFunctionCommand"; -const checkState = async (client, input) => { - let reason; - try { - const result = await client.send(new GetFunctionCommand(input)); - reason = result; - try { - const returnComparator = () => { - return result.Configuration.State; - }; - if (returnComparator() === "Active") { - return { state: WaiterState.SUCCESS, reason }; - } - } - catch (e) { } - try { - const returnComparator = () => { - return result.Configuration.State; - }; - if (returnComparator() === "Failed") { - return { state: WaiterState.FAILURE, reason }; - } - } - catch (e) { } - try { - const returnComparator = () => { - return result.Configuration.State; - }; - if (returnComparator() === "Pending") { - return { state: WaiterState.RETRY, reason }; - } - } - catch (e) { } - } - catch (exception) { - reason = exception; - } - return { state: WaiterState.RETRY, reason }; -}; -export const waitForFunctionActiveV2 = async (params, input) => { - const serviceDefaults = { minDelay: 1, maxDelay: 120 }; - return createWaiter({ ...serviceDefaults, ...params }, input, checkState); -}; -export const waitUntilFunctionActiveV2 = async (params, input) => { - const serviceDefaults = { minDelay: 1, maxDelay: 120 }; - const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState); - return checkExceptions(result); -}; diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/waiters/waitForFunctionExists.js b/node_modules/@aws-sdk/client-lambda/dist-es/waiters/waitForFunctionExists.js deleted file mode 100644 index 94775d0f..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-es/waiters/waitForFunctionExists.js +++ /dev/null @@ -1,26 +0,0 @@ -import { checkExceptions, createWaiter, WaiterState } from "@smithy/util-waiter"; -import { GetFunctionCommand } from "../commands/GetFunctionCommand"; -const checkState = async (client, input) => { - let reason; - try { - const result = await client.send(new GetFunctionCommand(input)); - reason = result; - return { state: WaiterState.SUCCESS, reason }; - } - catch (exception) { - reason = exception; - if (exception.name && exception.name == "ResourceNotFoundException") { - return { state: WaiterState.RETRY, reason }; - } - } - return { state: WaiterState.RETRY, reason }; -}; -export const waitForFunctionExists = async (params, input) => { - const serviceDefaults = { minDelay: 1, maxDelay: 120 }; - return createWaiter({ ...serviceDefaults, ...params }, input, checkState); -}; -export const waitUntilFunctionExists = async (params, input) => { - const serviceDefaults = { minDelay: 1, maxDelay: 120 }; - const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState); - return checkExceptions(result); -}; diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/waiters/waitForFunctionUpdated.js b/node_modules/@aws-sdk/client-lambda/dist-es/waiters/waitForFunctionUpdated.js deleted file mode 100644 index 38ce3d8d..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-es/waiters/waitForFunctionUpdated.js +++ /dev/null @@ -1,49 +0,0 @@ -import { checkExceptions, createWaiter, WaiterState } from "@smithy/util-waiter"; -import { GetFunctionConfigurationCommand, } from "../commands/GetFunctionConfigurationCommand"; -const checkState = async (client, input) => { - let reason; - try { - const result = await client.send(new GetFunctionConfigurationCommand(input)); - reason = result; - try { - const returnComparator = () => { - return result.LastUpdateStatus; - }; - if (returnComparator() === "Successful") { - return { state: WaiterState.SUCCESS, reason }; - } - } - catch (e) { } - try { - const returnComparator = () => { - return result.LastUpdateStatus; - }; - if (returnComparator() === "Failed") { - return { state: WaiterState.FAILURE, reason }; - } - } - catch (e) { } - try { - const returnComparator = () => { - return result.LastUpdateStatus; - }; - if (returnComparator() === "InProgress") { - return { state: WaiterState.RETRY, reason }; - } - } - catch (e) { } - } - catch (exception) { - reason = exception; - } - return { state: WaiterState.RETRY, reason }; -}; -export const waitForFunctionUpdated = async (params, input) => { - const serviceDefaults = { minDelay: 5, maxDelay: 120 }; - return createWaiter({ ...serviceDefaults, ...params }, input, checkState); -}; -export const waitUntilFunctionUpdated = async (params, input) => { - const serviceDefaults = { minDelay: 5, maxDelay: 120 }; - const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState); - return checkExceptions(result); -}; diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/waiters/waitForFunctionUpdatedV2.js b/node_modules/@aws-sdk/client-lambda/dist-es/waiters/waitForFunctionUpdatedV2.js deleted file mode 100644 index bed5c717..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-es/waiters/waitForFunctionUpdatedV2.js +++ /dev/null @@ -1,49 +0,0 @@ -import { checkExceptions, createWaiter, WaiterState } from "@smithy/util-waiter"; -import { GetFunctionCommand } from "../commands/GetFunctionCommand"; -const checkState = async (client, input) => { - let reason; - try { - const result = await client.send(new GetFunctionCommand(input)); - reason = result; - try { - const returnComparator = () => { - return result.Configuration.LastUpdateStatus; - }; - if (returnComparator() === "Successful") { - return { state: WaiterState.SUCCESS, reason }; - } - } - catch (e) { } - try { - const returnComparator = () => { - return result.Configuration.LastUpdateStatus; - }; - if (returnComparator() === "Failed") { - return { state: WaiterState.FAILURE, reason }; - } - } - catch (e) { } - try { - const returnComparator = () => { - return result.Configuration.LastUpdateStatus; - }; - if (returnComparator() === "InProgress") { - return { state: WaiterState.RETRY, reason }; - } - } - catch (e) { } - } - catch (exception) { - reason = exception; - } - return { state: WaiterState.RETRY, reason }; -}; -export const waitForFunctionUpdatedV2 = async (params, input) => { - const serviceDefaults = { minDelay: 1, maxDelay: 120 }; - return createWaiter({ ...serviceDefaults, ...params }, input, checkState); -}; -export const waitUntilFunctionUpdatedV2 = async (params, input) => { - const serviceDefaults = { minDelay: 1, maxDelay: 120 }; - const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState); - return checkExceptions(result); -}; diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/waiters/waitForPublishedVersionActive.js b/node_modules/@aws-sdk/client-lambda/dist-es/waiters/waitForPublishedVersionActive.js deleted file mode 100644 index 33b21173..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-es/waiters/waitForPublishedVersionActive.js +++ /dev/null @@ -1,49 +0,0 @@ -import { checkExceptions, createWaiter, WaiterState } from "@smithy/util-waiter"; -import { GetFunctionConfigurationCommand, } from "../commands/GetFunctionConfigurationCommand"; -const checkState = async (client, input) => { - let reason; - try { - const result = await client.send(new GetFunctionConfigurationCommand(input)); - reason = result; - try { - const returnComparator = () => { - return result.State; - }; - if (returnComparator() === "Active") { - return { state: WaiterState.SUCCESS, reason }; - } - } - catch (e) { } - try { - const returnComparator = () => { - return result.State; - }; - if (returnComparator() === "Failed") { - return { state: WaiterState.FAILURE, reason }; - } - } - catch (e) { } - try { - const returnComparator = () => { - return result.State; - }; - if (returnComparator() === "Pending") { - return { state: WaiterState.RETRY, reason }; - } - } - catch (e) { } - } - catch (exception) { - reason = exception; - } - return { state: WaiterState.RETRY, reason }; -}; -export const waitForPublishedVersionActive = async (params, input) => { - const serviceDefaults = { minDelay: 5, maxDelay: 120 }; - return createWaiter({ ...serviceDefaults, ...params }, input, checkState); -}; -export const waitUntilPublishedVersionActive = async (params, input) => { - const serviceDefaults = { minDelay: 5, maxDelay: 120 }; - const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState); - return checkExceptions(result); -}; diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/Lambda.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/Lambda.d.ts deleted file mode 100644 index 200ccb94..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/Lambda.d.ts +++ /dev/null @@ -1,536 +0,0 @@ -import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types"; -import { AddLayerVersionPermissionCommandInput, AddLayerVersionPermissionCommandOutput } from "./commands/AddLayerVersionPermissionCommand"; -import { AddPermissionCommandInput, AddPermissionCommandOutput } from "./commands/AddPermissionCommand"; -import { CreateAliasCommandInput, CreateAliasCommandOutput } from "./commands/CreateAliasCommand"; -import { CreateCodeSigningConfigCommandInput, CreateCodeSigningConfigCommandOutput } from "./commands/CreateCodeSigningConfigCommand"; -import { CreateEventSourceMappingCommandInput, CreateEventSourceMappingCommandOutput } from "./commands/CreateEventSourceMappingCommand"; -import { CreateFunctionCommandInput, CreateFunctionCommandOutput } from "./commands/CreateFunctionCommand"; -import { CreateFunctionUrlConfigCommandInput, CreateFunctionUrlConfigCommandOutput } from "./commands/CreateFunctionUrlConfigCommand"; -import { DeleteAliasCommandInput, DeleteAliasCommandOutput } from "./commands/DeleteAliasCommand"; -import { DeleteCodeSigningConfigCommandInput, DeleteCodeSigningConfigCommandOutput } from "./commands/DeleteCodeSigningConfigCommand"; -import { DeleteEventSourceMappingCommandInput, DeleteEventSourceMappingCommandOutput } from "./commands/DeleteEventSourceMappingCommand"; -import { DeleteFunctionCodeSigningConfigCommandInput, DeleteFunctionCodeSigningConfigCommandOutput } from "./commands/DeleteFunctionCodeSigningConfigCommand"; -import { DeleteFunctionCommandInput, DeleteFunctionCommandOutput } from "./commands/DeleteFunctionCommand"; -import { DeleteFunctionConcurrencyCommandInput, DeleteFunctionConcurrencyCommandOutput } from "./commands/DeleteFunctionConcurrencyCommand"; -import { DeleteFunctionEventInvokeConfigCommandInput, DeleteFunctionEventInvokeConfigCommandOutput } from "./commands/DeleteFunctionEventInvokeConfigCommand"; -import { DeleteFunctionUrlConfigCommandInput, DeleteFunctionUrlConfigCommandOutput } from "./commands/DeleteFunctionUrlConfigCommand"; -import { DeleteLayerVersionCommandInput, DeleteLayerVersionCommandOutput } from "./commands/DeleteLayerVersionCommand"; -import { DeleteProvisionedConcurrencyConfigCommandInput, DeleteProvisionedConcurrencyConfigCommandOutput } from "./commands/DeleteProvisionedConcurrencyConfigCommand"; -import { GetAccountSettingsCommandInput, GetAccountSettingsCommandOutput } from "./commands/GetAccountSettingsCommand"; -import { GetAliasCommandInput, GetAliasCommandOutput } from "./commands/GetAliasCommand"; -import { GetCodeSigningConfigCommandInput, GetCodeSigningConfigCommandOutput } from "./commands/GetCodeSigningConfigCommand"; -import { GetEventSourceMappingCommandInput, GetEventSourceMappingCommandOutput } from "./commands/GetEventSourceMappingCommand"; -import { GetFunctionCodeSigningConfigCommandInput, GetFunctionCodeSigningConfigCommandOutput } from "./commands/GetFunctionCodeSigningConfigCommand"; -import { GetFunctionCommandInput, GetFunctionCommandOutput } from "./commands/GetFunctionCommand"; -import { GetFunctionConcurrencyCommandInput, GetFunctionConcurrencyCommandOutput } from "./commands/GetFunctionConcurrencyCommand"; -import { GetFunctionConfigurationCommandInput, GetFunctionConfigurationCommandOutput } from "./commands/GetFunctionConfigurationCommand"; -import { GetFunctionEventInvokeConfigCommandInput, GetFunctionEventInvokeConfigCommandOutput } from "./commands/GetFunctionEventInvokeConfigCommand"; -import { GetFunctionUrlConfigCommandInput, GetFunctionUrlConfigCommandOutput } from "./commands/GetFunctionUrlConfigCommand"; -import { GetLayerVersionByArnCommandInput, GetLayerVersionByArnCommandOutput } from "./commands/GetLayerVersionByArnCommand"; -import { GetLayerVersionCommandInput, GetLayerVersionCommandOutput } from "./commands/GetLayerVersionCommand"; -import { GetLayerVersionPolicyCommandInput, GetLayerVersionPolicyCommandOutput } from "./commands/GetLayerVersionPolicyCommand"; -import { GetPolicyCommandInput, GetPolicyCommandOutput } from "./commands/GetPolicyCommand"; -import { GetProvisionedConcurrencyConfigCommandInput, GetProvisionedConcurrencyConfigCommandOutput } from "./commands/GetProvisionedConcurrencyConfigCommand"; -import { GetRuntimeManagementConfigCommandInput, GetRuntimeManagementConfigCommandOutput } from "./commands/GetRuntimeManagementConfigCommand"; -import { InvokeAsyncCommandInput, InvokeAsyncCommandOutput } from "./commands/InvokeAsyncCommand"; -import { InvokeCommandInput, InvokeCommandOutput } from "./commands/InvokeCommand"; -import { InvokeWithResponseStreamCommandInput, InvokeWithResponseStreamCommandOutput } from "./commands/InvokeWithResponseStreamCommand"; -import { ListAliasesCommandInput, ListAliasesCommandOutput } from "./commands/ListAliasesCommand"; -import { ListCodeSigningConfigsCommandInput, ListCodeSigningConfigsCommandOutput } from "./commands/ListCodeSigningConfigsCommand"; -import { ListEventSourceMappingsCommandInput, ListEventSourceMappingsCommandOutput } from "./commands/ListEventSourceMappingsCommand"; -import { ListFunctionEventInvokeConfigsCommandInput, ListFunctionEventInvokeConfigsCommandOutput } from "./commands/ListFunctionEventInvokeConfigsCommand"; -import { ListFunctionsByCodeSigningConfigCommandInput, ListFunctionsByCodeSigningConfigCommandOutput } from "./commands/ListFunctionsByCodeSigningConfigCommand"; -import { ListFunctionsCommandInput, ListFunctionsCommandOutput } from "./commands/ListFunctionsCommand"; -import { ListFunctionUrlConfigsCommandInput, ListFunctionUrlConfigsCommandOutput } from "./commands/ListFunctionUrlConfigsCommand"; -import { ListLayersCommandInput, ListLayersCommandOutput } from "./commands/ListLayersCommand"; -import { ListLayerVersionsCommandInput, ListLayerVersionsCommandOutput } from "./commands/ListLayerVersionsCommand"; -import { ListProvisionedConcurrencyConfigsCommandInput, ListProvisionedConcurrencyConfigsCommandOutput } from "./commands/ListProvisionedConcurrencyConfigsCommand"; -import { ListTagsCommandInput, ListTagsCommandOutput } from "./commands/ListTagsCommand"; -import { ListVersionsByFunctionCommandInput, ListVersionsByFunctionCommandOutput } from "./commands/ListVersionsByFunctionCommand"; -import { PublishLayerVersionCommandInput, PublishLayerVersionCommandOutput } from "./commands/PublishLayerVersionCommand"; -import { PublishVersionCommandInput, PublishVersionCommandOutput } from "./commands/PublishVersionCommand"; -import { PutFunctionCodeSigningConfigCommandInput, PutFunctionCodeSigningConfigCommandOutput } from "./commands/PutFunctionCodeSigningConfigCommand"; -import { PutFunctionConcurrencyCommandInput, PutFunctionConcurrencyCommandOutput } from "./commands/PutFunctionConcurrencyCommand"; -import { PutFunctionEventInvokeConfigCommandInput, PutFunctionEventInvokeConfigCommandOutput } from "./commands/PutFunctionEventInvokeConfigCommand"; -import { PutProvisionedConcurrencyConfigCommandInput, PutProvisionedConcurrencyConfigCommandOutput } from "./commands/PutProvisionedConcurrencyConfigCommand"; -import { PutRuntimeManagementConfigCommandInput, PutRuntimeManagementConfigCommandOutput } from "./commands/PutRuntimeManagementConfigCommand"; -import { RemoveLayerVersionPermissionCommandInput, RemoveLayerVersionPermissionCommandOutput } from "./commands/RemoveLayerVersionPermissionCommand"; -import { RemovePermissionCommandInput, RemovePermissionCommandOutput } from "./commands/RemovePermissionCommand"; -import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand"; -import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand"; -import { UpdateAliasCommandInput, UpdateAliasCommandOutput } from "./commands/UpdateAliasCommand"; -import { UpdateCodeSigningConfigCommandInput, UpdateCodeSigningConfigCommandOutput } from "./commands/UpdateCodeSigningConfigCommand"; -import { UpdateEventSourceMappingCommandInput, UpdateEventSourceMappingCommandOutput } from "./commands/UpdateEventSourceMappingCommand"; -import { UpdateFunctionCodeCommandInput, UpdateFunctionCodeCommandOutput } from "./commands/UpdateFunctionCodeCommand"; -import { UpdateFunctionConfigurationCommandInput, UpdateFunctionConfigurationCommandOutput } from "./commands/UpdateFunctionConfigurationCommand"; -import { UpdateFunctionEventInvokeConfigCommandInput, UpdateFunctionEventInvokeConfigCommandOutput } from "./commands/UpdateFunctionEventInvokeConfigCommand"; -import { UpdateFunctionUrlConfigCommandInput, UpdateFunctionUrlConfigCommandOutput } from "./commands/UpdateFunctionUrlConfigCommand"; -import { LambdaClient } from "./LambdaClient"; -export interface Lambda { - /** - * @see {@link AddLayerVersionPermissionCommand} - */ - addLayerVersionPermission(args: AddLayerVersionPermissionCommandInput, options?: __HttpHandlerOptions): Promise; - addLayerVersionPermission(args: AddLayerVersionPermissionCommandInput, cb: (err: any, data?: AddLayerVersionPermissionCommandOutput) => void): void; - addLayerVersionPermission(args: AddLayerVersionPermissionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AddLayerVersionPermissionCommandOutput) => void): void; - /** - * @see {@link AddPermissionCommand} - */ - addPermission(args: AddPermissionCommandInput, options?: __HttpHandlerOptions): Promise; - addPermission(args: AddPermissionCommandInput, cb: (err: any, data?: AddPermissionCommandOutput) => void): void; - addPermission(args: AddPermissionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AddPermissionCommandOutput) => void): void; - /** - * @see {@link CreateAliasCommand} - */ - createAlias(args: CreateAliasCommandInput, options?: __HttpHandlerOptions): Promise; - createAlias(args: CreateAliasCommandInput, cb: (err: any, data?: CreateAliasCommandOutput) => void): void; - createAlias(args: CreateAliasCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAliasCommandOutput) => void): void; - /** - * @see {@link CreateCodeSigningConfigCommand} - */ - createCodeSigningConfig(args: CreateCodeSigningConfigCommandInput, options?: __HttpHandlerOptions): Promise; - createCodeSigningConfig(args: CreateCodeSigningConfigCommandInput, cb: (err: any, data?: CreateCodeSigningConfigCommandOutput) => void): void; - createCodeSigningConfig(args: CreateCodeSigningConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateCodeSigningConfigCommandOutput) => void): void; - /** - * @see {@link CreateEventSourceMappingCommand} - */ - createEventSourceMapping(args: CreateEventSourceMappingCommandInput, options?: __HttpHandlerOptions): Promise; - createEventSourceMapping(args: CreateEventSourceMappingCommandInput, cb: (err: any, data?: CreateEventSourceMappingCommandOutput) => void): void; - createEventSourceMapping(args: CreateEventSourceMappingCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateEventSourceMappingCommandOutput) => void): void; - /** - * @see {@link CreateFunctionCommand} - */ - createFunction(args: CreateFunctionCommandInput, options?: __HttpHandlerOptions): Promise; - createFunction(args: CreateFunctionCommandInput, cb: (err: any, data?: CreateFunctionCommandOutput) => void): void; - createFunction(args: CreateFunctionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateFunctionCommandOutput) => void): void; - /** - * @see {@link CreateFunctionUrlConfigCommand} - */ - createFunctionUrlConfig(args: CreateFunctionUrlConfigCommandInput, options?: __HttpHandlerOptions): Promise; - createFunctionUrlConfig(args: CreateFunctionUrlConfigCommandInput, cb: (err: any, data?: CreateFunctionUrlConfigCommandOutput) => void): void; - createFunctionUrlConfig(args: CreateFunctionUrlConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateFunctionUrlConfigCommandOutput) => void): void; - /** - * @see {@link DeleteAliasCommand} - */ - deleteAlias(args: DeleteAliasCommandInput, options?: __HttpHandlerOptions): Promise; - deleteAlias(args: DeleteAliasCommandInput, cb: (err: any, data?: DeleteAliasCommandOutput) => void): void; - deleteAlias(args: DeleteAliasCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAliasCommandOutput) => void): void; - /** - * @see {@link DeleteCodeSigningConfigCommand} - */ - deleteCodeSigningConfig(args: DeleteCodeSigningConfigCommandInput, options?: __HttpHandlerOptions): Promise; - deleteCodeSigningConfig(args: DeleteCodeSigningConfigCommandInput, cb: (err: any, data?: DeleteCodeSigningConfigCommandOutput) => void): void; - deleteCodeSigningConfig(args: DeleteCodeSigningConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteCodeSigningConfigCommandOutput) => void): void; - /** - * @see {@link DeleteEventSourceMappingCommand} - */ - deleteEventSourceMapping(args: DeleteEventSourceMappingCommandInput, options?: __HttpHandlerOptions): Promise; - deleteEventSourceMapping(args: DeleteEventSourceMappingCommandInput, cb: (err: any, data?: DeleteEventSourceMappingCommandOutput) => void): void; - deleteEventSourceMapping(args: DeleteEventSourceMappingCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteEventSourceMappingCommandOutput) => void): void; - /** - * @see {@link DeleteFunctionCommand} - */ - deleteFunction(args: DeleteFunctionCommandInput, options?: __HttpHandlerOptions): Promise; - deleteFunction(args: DeleteFunctionCommandInput, cb: (err: any, data?: DeleteFunctionCommandOutput) => void): void; - deleteFunction(args: DeleteFunctionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteFunctionCommandOutput) => void): void; - /** - * @see {@link DeleteFunctionCodeSigningConfigCommand} - */ - deleteFunctionCodeSigningConfig(args: DeleteFunctionCodeSigningConfigCommandInput, options?: __HttpHandlerOptions): Promise; - deleteFunctionCodeSigningConfig(args: DeleteFunctionCodeSigningConfigCommandInput, cb: (err: any, data?: DeleteFunctionCodeSigningConfigCommandOutput) => void): void; - deleteFunctionCodeSigningConfig(args: DeleteFunctionCodeSigningConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteFunctionCodeSigningConfigCommandOutput) => void): void; - /** - * @see {@link DeleteFunctionConcurrencyCommand} - */ - deleteFunctionConcurrency(args: DeleteFunctionConcurrencyCommandInput, options?: __HttpHandlerOptions): Promise; - deleteFunctionConcurrency(args: DeleteFunctionConcurrencyCommandInput, cb: (err: any, data?: DeleteFunctionConcurrencyCommandOutput) => void): void; - deleteFunctionConcurrency(args: DeleteFunctionConcurrencyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteFunctionConcurrencyCommandOutput) => void): void; - /** - * @see {@link DeleteFunctionEventInvokeConfigCommand} - */ - deleteFunctionEventInvokeConfig(args: DeleteFunctionEventInvokeConfigCommandInput, options?: __HttpHandlerOptions): Promise; - deleteFunctionEventInvokeConfig(args: DeleteFunctionEventInvokeConfigCommandInput, cb: (err: any, data?: DeleteFunctionEventInvokeConfigCommandOutput) => void): void; - deleteFunctionEventInvokeConfig(args: DeleteFunctionEventInvokeConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteFunctionEventInvokeConfigCommandOutput) => void): void; - /** - * @see {@link DeleteFunctionUrlConfigCommand} - */ - deleteFunctionUrlConfig(args: DeleteFunctionUrlConfigCommandInput, options?: __HttpHandlerOptions): Promise; - deleteFunctionUrlConfig(args: DeleteFunctionUrlConfigCommandInput, cb: (err: any, data?: DeleteFunctionUrlConfigCommandOutput) => void): void; - deleteFunctionUrlConfig(args: DeleteFunctionUrlConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteFunctionUrlConfigCommandOutput) => void): void; - /** - * @see {@link DeleteLayerVersionCommand} - */ - deleteLayerVersion(args: DeleteLayerVersionCommandInput, options?: __HttpHandlerOptions): Promise; - deleteLayerVersion(args: DeleteLayerVersionCommandInput, cb: (err: any, data?: DeleteLayerVersionCommandOutput) => void): void; - deleteLayerVersion(args: DeleteLayerVersionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteLayerVersionCommandOutput) => void): void; - /** - * @see {@link DeleteProvisionedConcurrencyConfigCommand} - */ - deleteProvisionedConcurrencyConfig(args: DeleteProvisionedConcurrencyConfigCommandInput, options?: __HttpHandlerOptions): Promise; - deleteProvisionedConcurrencyConfig(args: DeleteProvisionedConcurrencyConfigCommandInput, cb: (err: any, data?: DeleteProvisionedConcurrencyConfigCommandOutput) => void): void; - deleteProvisionedConcurrencyConfig(args: DeleteProvisionedConcurrencyConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteProvisionedConcurrencyConfigCommandOutput) => void): void; - /** - * @see {@link GetAccountSettingsCommand} - */ - getAccountSettings(args: GetAccountSettingsCommandInput, options?: __HttpHandlerOptions): Promise; - getAccountSettings(args: GetAccountSettingsCommandInput, cb: (err: any, data?: GetAccountSettingsCommandOutput) => void): void; - getAccountSettings(args: GetAccountSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAccountSettingsCommandOutput) => void): void; - /** - * @see {@link GetAliasCommand} - */ - getAlias(args: GetAliasCommandInput, options?: __HttpHandlerOptions): Promise; - getAlias(args: GetAliasCommandInput, cb: (err: any, data?: GetAliasCommandOutput) => void): void; - getAlias(args: GetAliasCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAliasCommandOutput) => void): void; - /** - * @see {@link GetCodeSigningConfigCommand} - */ - getCodeSigningConfig(args: GetCodeSigningConfigCommandInput, options?: __HttpHandlerOptions): Promise; - getCodeSigningConfig(args: GetCodeSigningConfigCommandInput, cb: (err: any, data?: GetCodeSigningConfigCommandOutput) => void): void; - getCodeSigningConfig(args: GetCodeSigningConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCodeSigningConfigCommandOutput) => void): void; - /** - * @see {@link GetEventSourceMappingCommand} - */ - getEventSourceMapping(args: GetEventSourceMappingCommandInput, options?: __HttpHandlerOptions): Promise; - getEventSourceMapping(args: GetEventSourceMappingCommandInput, cb: (err: any, data?: GetEventSourceMappingCommandOutput) => void): void; - getEventSourceMapping(args: GetEventSourceMappingCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetEventSourceMappingCommandOutput) => void): void; - /** - * @see {@link GetFunctionCommand} - */ - getFunction(args: GetFunctionCommandInput, options?: __HttpHandlerOptions): Promise; - getFunction(args: GetFunctionCommandInput, cb: (err: any, data?: GetFunctionCommandOutput) => void): void; - getFunction(args: GetFunctionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetFunctionCommandOutput) => void): void; - /** - * @see {@link GetFunctionCodeSigningConfigCommand} - */ - getFunctionCodeSigningConfig(args: GetFunctionCodeSigningConfigCommandInput, options?: __HttpHandlerOptions): Promise; - getFunctionCodeSigningConfig(args: GetFunctionCodeSigningConfigCommandInput, cb: (err: any, data?: GetFunctionCodeSigningConfigCommandOutput) => void): void; - getFunctionCodeSigningConfig(args: GetFunctionCodeSigningConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetFunctionCodeSigningConfigCommandOutput) => void): void; - /** - * @see {@link GetFunctionConcurrencyCommand} - */ - getFunctionConcurrency(args: GetFunctionConcurrencyCommandInput, options?: __HttpHandlerOptions): Promise; - getFunctionConcurrency(args: GetFunctionConcurrencyCommandInput, cb: (err: any, data?: GetFunctionConcurrencyCommandOutput) => void): void; - getFunctionConcurrency(args: GetFunctionConcurrencyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetFunctionConcurrencyCommandOutput) => void): void; - /** - * @see {@link GetFunctionConfigurationCommand} - */ - getFunctionConfiguration(args: GetFunctionConfigurationCommandInput, options?: __HttpHandlerOptions): Promise; - getFunctionConfiguration(args: GetFunctionConfigurationCommandInput, cb: (err: any, data?: GetFunctionConfigurationCommandOutput) => void): void; - getFunctionConfiguration(args: GetFunctionConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetFunctionConfigurationCommandOutput) => void): void; - /** - * @see {@link GetFunctionEventInvokeConfigCommand} - */ - getFunctionEventInvokeConfig(args: GetFunctionEventInvokeConfigCommandInput, options?: __HttpHandlerOptions): Promise; - getFunctionEventInvokeConfig(args: GetFunctionEventInvokeConfigCommandInput, cb: (err: any, data?: GetFunctionEventInvokeConfigCommandOutput) => void): void; - getFunctionEventInvokeConfig(args: GetFunctionEventInvokeConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetFunctionEventInvokeConfigCommandOutput) => void): void; - /** - * @see {@link GetFunctionUrlConfigCommand} - */ - getFunctionUrlConfig(args: GetFunctionUrlConfigCommandInput, options?: __HttpHandlerOptions): Promise; - getFunctionUrlConfig(args: GetFunctionUrlConfigCommandInput, cb: (err: any, data?: GetFunctionUrlConfigCommandOutput) => void): void; - getFunctionUrlConfig(args: GetFunctionUrlConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetFunctionUrlConfigCommandOutput) => void): void; - /** - * @see {@link GetLayerVersionCommand} - */ - getLayerVersion(args: GetLayerVersionCommandInput, options?: __HttpHandlerOptions): Promise; - getLayerVersion(args: GetLayerVersionCommandInput, cb: (err: any, data?: GetLayerVersionCommandOutput) => void): void; - getLayerVersion(args: GetLayerVersionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetLayerVersionCommandOutput) => void): void; - /** - * @see {@link GetLayerVersionByArnCommand} - */ - getLayerVersionByArn(args: GetLayerVersionByArnCommandInput, options?: __HttpHandlerOptions): Promise; - getLayerVersionByArn(args: GetLayerVersionByArnCommandInput, cb: (err: any, data?: GetLayerVersionByArnCommandOutput) => void): void; - getLayerVersionByArn(args: GetLayerVersionByArnCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetLayerVersionByArnCommandOutput) => void): void; - /** - * @see {@link GetLayerVersionPolicyCommand} - */ - getLayerVersionPolicy(args: GetLayerVersionPolicyCommandInput, options?: __HttpHandlerOptions): Promise; - getLayerVersionPolicy(args: GetLayerVersionPolicyCommandInput, cb: (err: any, data?: GetLayerVersionPolicyCommandOutput) => void): void; - getLayerVersionPolicy(args: GetLayerVersionPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetLayerVersionPolicyCommandOutput) => void): void; - /** - * @see {@link GetPolicyCommand} - */ - getPolicy(args: GetPolicyCommandInput, options?: __HttpHandlerOptions): Promise; - getPolicy(args: GetPolicyCommandInput, cb: (err: any, data?: GetPolicyCommandOutput) => void): void; - getPolicy(args: GetPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPolicyCommandOutput) => void): void; - /** - * @see {@link GetProvisionedConcurrencyConfigCommand} - */ - getProvisionedConcurrencyConfig(args: GetProvisionedConcurrencyConfigCommandInput, options?: __HttpHandlerOptions): Promise; - getProvisionedConcurrencyConfig(args: GetProvisionedConcurrencyConfigCommandInput, cb: (err: any, data?: GetProvisionedConcurrencyConfigCommandOutput) => void): void; - getProvisionedConcurrencyConfig(args: GetProvisionedConcurrencyConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetProvisionedConcurrencyConfigCommandOutput) => void): void; - /** - * @see {@link GetRuntimeManagementConfigCommand} - */ - getRuntimeManagementConfig(args: GetRuntimeManagementConfigCommandInput, options?: __HttpHandlerOptions): Promise; - getRuntimeManagementConfig(args: GetRuntimeManagementConfigCommandInput, cb: (err: any, data?: GetRuntimeManagementConfigCommandOutput) => void): void; - getRuntimeManagementConfig(args: GetRuntimeManagementConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRuntimeManagementConfigCommandOutput) => void): void; - /** - * @see {@link InvokeCommand} - */ - invoke(args: InvokeCommandInput, options?: __HttpHandlerOptions): Promise; - invoke(args: InvokeCommandInput, cb: (err: any, data?: InvokeCommandOutput) => void): void; - invoke(args: InvokeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: InvokeCommandOutput) => void): void; - /** - * @see {@link InvokeAsyncCommand} - */ - invokeAsync(args: InvokeAsyncCommandInput, options?: __HttpHandlerOptions): Promise; - invokeAsync(args: InvokeAsyncCommandInput, cb: (err: any, data?: InvokeAsyncCommandOutput) => void): void; - invokeAsync(args: InvokeAsyncCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: InvokeAsyncCommandOutput) => void): void; - /** - * @see {@link InvokeWithResponseStreamCommand} - */ - invokeWithResponseStream(args: InvokeWithResponseStreamCommandInput, options?: __HttpHandlerOptions): Promise; - invokeWithResponseStream(args: InvokeWithResponseStreamCommandInput, cb: (err: any, data?: InvokeWithResponseStreamCommandOutput) => void): void; - invokeWithResponseStream(args: InvokeWithResponseStreamCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: InvokeWithResponseStreamCommandOutput) => void): void; - /** - * @see {@link ListAliasesCommand} - */ - listAliases(args: ListAliasesCommandInput, options?: __HttpHandlerOptions): Promise; - listAliases(args: ListAliasesCommandInput, cb: (err: any, data?: ListAliasesCommandOutput) => void): void; - listAliases(args: ListAliasesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAliasesCommandOutput) => void): void; - /** - * @see {@link ListCodeSigningConfigsCommand} - */ - listCodeSigningConfigs(args: ListCodeSigningConfigsCommandInput, options?: __HttpHandlerOptions): Promise; - listCodeSigningConfigs(args: ListCodeSigningConfigsCommandInput, cb: (err: any, data?: ListCodeSigningConfigsCommandOutput) => void): void; - listCodeSigningConfigs(args: ListCodeSigningConfigsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListCodeSigningConfigsCommandOutput) => void): void; - /** - * @see {@link ListEventSourceMappingsCommand} - */ - listEventSourceMappings(args: ListEventSourceMappingsCommandInput, options?: __HttpHandlerOptions): Promise; - listEventSourceMappings(args: ListEventSourceMappingsCommandInput, cb: (err: any, data?: ListEventSourceMappingsCommandOutput) => void): void; - listEventSourceMappings(args: ListEventSourceMappingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListEventSourceMappingsCommandOutput) => void): void; - /** - * @see {@link ListFunctionEventInvokeConfigsCommand} - */ - listFunctionEventInvokeConfigs(args: ListFunctionEventInvokeConfigsCommandInput, options?: __HttpHandlerOptions): Promise; - listFunctionEventInvokeConfigs(args: ListFunctionEventInvokeConfigsCommandInput, cb: (err: any, data?: ListFunctionEventInvokeConfigsCommandOutput) => void): void; - listFunctionEventInvokeConfigs(args: ListFunctionEventInvokeConfigsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListFunctionEventInvokeConfigsCommandOutput) => void): void; - /** - * @see {@link ListFunctionsCommand} - */ - listFunctions(args: ListFunctionsCommandInput, options?: __HttpHandlerOptions): Promise; - listFunctions(args: ListFunctionsCommandInput, cb: (err: any, data?: ListFunctionsCommandOutput) => void): void; - listFunctions(args: ListFunctionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListFunctionsCommandOutput) => void): void; - /** - * @see {@link ListFunctionsByCodeSigningConfigCommand} - */ - listFunctionsByCodeSigningConfig(args: ListFunctionsByCodeSigningConfigCommandInput, options?: __HttpHandlerOptions): Promise; - listFunctionsByCodeSigningConfig(args: ListFunctionsByCodeSigningConfigCommandInput, cb: (err: any, data?: ListFunctionsByCodeSigningConfigCommandOutput) => void): void; - listFunctionsByCodeSigningConfig(args: ListFunctionsByCodeSigningConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListFunctionsByCodeSigningConfigCommandOutput) => void): void; - /** - * @see {@link ListFunctionUrlConfigsCommand} - */ - listFunctionUrlConfigs(args: ListFunctionUrlConfigsCommandInput, options?: __HttpHandlerOptions): Promise; - listFunctionUrlConfigs(args: ListFunctionUrlConfigsCommandInput, cb: (err: any, data?: ListFunctionUrlConfigsCommandOutput) => void): void; - listFunctionUrlConfigs(args: ListFunctionUrlConfigsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListFunctionUrlConfigsCommandOutput) => void): void; - /** - * @see {@link ListLayersCommand} - */ - listLayers(args: ListLayersCommandInput, options?: __HttpHandlerOptions): Promise; - listLayers(args: ListLayersCommandInput, cb: (err: any, data?: ListLayersCommandOutput) => void): void; - listLayers(args: ListLayersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListLayersCommandOutput) => void): void; - /** - * @see {@link ListLayerVersionsCommand} - */ - listLayerVersions(args: ListLayerVersionsCommandInput, options?: __HttpHandlerOptions): Promise; - listLayerVersions(args: ListLayerVersionsCommandInput, cb: (err: any, data?: ListLayerVersionsCommandOutput) => void): void; - listLayerVersions(args: ListLayerVersionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListLayerVersionsCommandOutput) => void): void; - /** - * @see {@link ListProvisionedConcurrencyConfigsCommand} - */ - listProvisionedConcurrencyConfigs(args: ListProvisionedConcurrencyConfigsCommandInput, options?: __HttpHandlerOptions): Promise; - listProvisionedConcurrencyConfigs(args: ListProvisionedConcurrencyConfigsCommandInput, cb: (err: any, data?: ListProvisionedConcurrencyConfigsCommandOutput) => void): void; - listProvisionedConcurrencyConfigs(args: ListProvisionedConcurrencyConfigsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListProvisionedConcurrencyConfigsCommandOutput) => void): void; - /** - * @see {@link ListTagsCommand} - */ - listTags(args: ListTagsCommandInput, options?: __HttpHandlerOptions): Promise; - listTags(args: ListTagsCommandInput, cb: (err: any, data?: ListTagsCommandOutput) => void): void; - listTags(args: ListTagsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsCommandOutput) => void): void; - /** - * @see {@link ListVersionsByFunctionCommand} - */ - listVersionsByFunction(args: ListVersionsByFunctionCommandInput, options?: __HttpHandlerOptions): Promise; - listVersionsByFunction(args: ListVersionsByFunctionCommandInput, cb: (err: any, data?: ListVersionsByFunctionCommandOutput) => void): void; - listVersionsByFunction(args: ListVersionsByFunctionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListVersionsByFunctionCommandOutput) => void): void; - /** - * @see {@link PublishLayerVersionCommand} - */ - publishLayerVersion(args: PublishLayerVersionCommandInput, options?: __HttpHandlerOptions): Promise; - publishLayerVersion(args: PublishLayerVersionCommandInput, cb: (err: any, data?: PublishLayerVersionCommandOutput) => void): void; - publishLayerVersion(args: PublishLayerVersionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PublishLayerVersionCommandOutput) => void): void; - /** - * @see {@link PublishVersionCommand} - */ - publishVersion(args: PublishVersionCommandInput, options?: __HttpHandlerOptions): Promise; - publishVersion(args: PublishVersionCommandInput, cb: (err: any, data?: PublishVersionCommandOutput) => void): void; - publishVersion(args: PublishVersionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PublishVersionCommandOutput) => void): void; - /** - * @see {@link PutFunctionCodeSigningConfigCommand} - */ - putFunctionCodeSigningConfig(args: PutFunctionCodeSigningConfigCommandInput, options?: __HttpHandlerOptions): Promise; - putFunctionCodeSigningConfig(args: PutFunctionCodeSigningConfigCommandInput, cb: (err: any, data?: PutFunctionCodeSigningConfigCommandOutput) => void): void; - putFunctionCodeSigningConfig(args: PutFunctionCodeSigningConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutFunctionCodeSigningConfigCommandOutput) => void): void; - /** - * @see {@link PutFunctionConcurrencyCommand} - */ - putFunctionConcurrency(args: PutFunctionConcurrencyCommandInput, options?: __HttpHandlerOptions): Promise; - putFunctionConcurrency(args: PutFunctionConcurrencyCommandInput, cb: (err: any, data?: PutFunctionConcurrencyCommandOutput) => void): void; - putFunctionConcurrency(args: PutFunctionConcurrencyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutFunctionConcurrencyCommandOutput) => void): void; - /** - * @see {@link PutFunctionEventInvokeConfigCommand} - */ - putFunctionEventInvokeConfig(args: PutFunctionEventInvokeConfigCommandInput, options?: __HttpHandlerOptions): Promise; - putFunctionEventInvokeConfig(args: PutFunctionEventInvokeConfigCommandInput, cb: (err: any, data?: PutFunctionEventInvokeConfigCommandOutput) => void): void; - putFunctionEventInvokeConfig(args: PutFunctionEventInvokeConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutFunctionEventInvokeConfigCommandOutput) => void): void; - /** - * @see {@link PutProvisionedConcurrencyConfigCommand} - */ - putProvisionedConcurrencyConfig(args: PutProvisionedConcurrencyConfigCommandInput, options?: __HttpHandlerOptions): Promise; - putProvisionedConcurrencyConfig(args: PutProvisionedConcurrencyConfigCommandInput, cb: (err: any, data?: PutProvisionedConcurrencyConfigCommandOutput) => void): void; - putProvisionedConcurrencyConfig(args: PutProvisionedConcurrencyConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutProvisionedConcurrencyConfigCommandOutput) => void): void; - /** - * @see {@link PutRuntimeManagementConfigCommand} - */ - putRuntimeManagementConfig(args: PutRuntimeManagementConfigCommandInput, options?: __HttpHandlerOptions): Promise; - putRuntimeManagementConfig(args: PutRuntimeManagementConfigCommandInput, cb: (err: any, data?: PutRuntimeManagementConfigCommandOutput) => void): void; - putRuntimeManagementConfig(args: PutRuntimeManagementConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutRuntimeManagementConfigCommandOutput) => void): void; - /** - * @see {@link RemoveLayerVersionPermissionCommand} - */ - removeLayerVersionPermission(args: RemoveLayerVersionPermissionCommandInput, options?: __HttpHandlerOptions): Promise; - removeLayerVersionPermission(args: RemoveLayerVersionPermissionCommandInput, cb: (err: any, data?: RemoveLayerVersionPermissionCommandOutput) => void): void; - removeLayerVersionPermission(args: RemoveLayerVersionPermissionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RemoveLayerVersionPermissionCommandOutput) => void): void; - /** - * @see {@link RemovePermissionCommand} - */ - removePermission(args: RemovePermissionCommandInput, options?: __HttpHandlerOptions): Promise; - removePermission(args: RemovePermissionCommandInput, cb: (err: any, data?: RemovePermissionCommandOutput) => void): void; - removePermission(args: RemovePermissionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RemovePermissionCommandOutput) => void): void; - /** - * @see {@link TagResourceCommand} - */ - tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise; - tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void; - tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void; - /** - * @see {@link UntagResourceCommand} - */ - untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise; - untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void; - untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void; - /** - * @see {@link UpdateAliasCommand} - */ - updateAlias(args: UpdateAliasCommandInput, options?: __HttpHandlerOptions): Promise; - updateAlias(args: UpdateAliasCommandInput, cb: (err: any, data?: UpdateAliasCommandOutput) => void): void; - updateAlias(args: UpdateAliasCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateAliasCommandOutput) => void): void; - /** - * @see {@link UpdateCodeSigningConfigCommand} - */ - updateCodeSigningConfig(args: UpdateCodeSigningConfigCommandInput, options?: __HttpHandlerOptions): Promise; - updateCodeSigningConfig(args: UpdateCodeSigningConfigCommandInput, cb: (err: any, data?: UpdateCodeSigningConfigCommandOutput) => void): void; - updateCodeSigningConfig(args: UpdateCodeSigningConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateCodeSigningConfigCommandOutput) => void): void; - /** - * @see {@link UpdateEventSourceMappingCommand} - */ - updateEventSourceMapping(args: UpdateEventSourceMappingCommandInput, options?: __HttpHandlerOptions): Promise; - updateEventSourceMapping(args: UpdateEventSourceMappingCommandInput, cb: (err: any, data?: UpdateEventSourceMappingCommandOutput) => void): void; - updateEventSourceMapping(args: UpdateEventSourceMappingCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateEventSourceMappingCommandOutput) => void): void; - /** - * @see {@link UpdateFunctionCodeCommand} - */ - updateFunctionCode(args: UpdateFunctionCodeCommandInput, options?: __HttpHandlerOptions): Promise; - updateFunctionCode(args: UpdateFunctionCodeCommandInput, cb: (err: any, data?: UpdateFunctionCodeCommandOutput) => void): void; - updateFunctionCode(args: UpdateFunctionCodeCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateFunctionCodeCommandOutput) => void): void; - /** - * @see {@link UpdateFunctionConfigurationCommand} - */ - updateFunctionConfiguration(args: UpdateFunctionConfigurationCommandInput, options?: __HttpHandlerOptions): Promise; - updateFunctionConfiguration(args: UpdateFunctionConfigurationCommandInput, cb: (err: any, data?: UpdateFunctionConfigurationCommandOutput) => void): void; - updateFunctionConfiguration(args: UpdateFunctionConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateFunctionConfigurationCommandOutput) => void): void; - /** - * @see {@link UpdateFunctionEventInvokeConfigCommand} - */ - updateFunctionEventInvokeConfig(args: UpdateFunctionEventInvokeConfigCommandInput, options?: __HttpHandlerOptions): Promise; - updateFunctionEventInvokeConfig(args: UpdateFunctionEventInvokeConfigCommandInput, cb: (err: any, data?: UpdateFunctionEventInvokeConfigCommandOutput) => void): void; - updateFunctionEventInvokeConfig(args: UpdateFunctionEventInvokeConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateFunctionEventInvokeConfigCommandOutput) => void): void; - /** - * @see {@link UpdateFunctionUrlConfigCommand} - */ - updateFunctionUrlConfig(args: UpdateFunctionUrlConfigCommandInput, options?: __HttpHandlerOptions): Promise; - updateFunctionUrlConfig(args: UpdateFunctionUrlConfigCommandInput, cb: (err: any, data?: UpdateFunctionUrlConfigCommandOutput) => void): void; - updateFunctionUrlConfig(args: UpdateFunctionUrlConfigCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateFunctionUrlConfigCommandOutput) => void): void; -} -/** - * @public - * Lambda - *

- * Overview - *

- *

Lambda is a compute service that lets you run code without provisioning or managing servers. - * Lambda runs your code on a high-availability compute infrastructure and performs all of the - * administration of the compute resources, including server and operating system maintenance, capacity provisioning - * and automatic scaling, code monitoring and logging. With Lambda, you can run code for virtually any - * type of application or backend service. For more information about the Lambda service, see What is Lambda in the Lambda Developer Guide.

- *

The Lambda API Reference provides information about - * each of the API methods, including details about the parameters in each API request and - * response.

- *

- *

You can use Software Development Kits (SDKs), Integrated Development Environment (IDE) Toolkits, and command - * line tools to access the API. For installation instructions, see Tools for - * Amazon Web Services.

- *

For a list of Region-specific endpoints that Lambda supports, - * see Lambda - * endpoints and quotas in the Amazon Web Services General Reference..

- *

When making the API calls, you will need to - * authenticate your request by providing a signature. Lambda supports signature version 4. For more information, - * see Signature Version 4 signing process in the - * Amazon Web Services General Reference..

- *

- * CA certificates - *

- *

Because Amazon Web Services SDKs use the CA certificates from your computer, changes to the certificates on the Amazon Web Services servers - * can cause connection failures when you attempt to use an SDK. You can prevent these failures by keeping your - * computer's CA certificates and operating system up-to-date. If you encounter this issue in a corporate - * environment and do not manage your own computer, you might need to ask an administrator to assist with the - * update process. The following list shows minimum operating system and Java versions:

- *
    - *
  • - *

    Microsoft Windows versions that have updates from January 2005 or later installed contain at least one - * of the required CAs in their trust list.

    - *
  • - *
  • - *

    Mac OS X 10.4 with Java for Mac OS X 10.4 Release 5 (February 2007), Mac OS X 10.5 (October 2007), and - * later versions contain at least one of the required CAs in their trust list.

    - *
  • - *
  • - *

    Red Hat Enterprise Linux 5 (March 2007), 6, and 7 and CentOS 5, 6, and 7 all contain at least one of the - * required CAs in their default trusted CA list.

    - *
  • - *
  • - *

    Java 1.4.2_12 (May 2006), 5 Update 2 (March 2005), and all later versions, including Java 6 (December - * 2006), 7, and 8, contain at least one of the required CAs in their default trusted CA list.

    - *
  • - *
- *

When accessing the Lambda management console or Lambda API endpoints, whether through browsers or - * programmatically, you will need to ensure your client machines support any of the following CAs:

- *
    - *
  • - *

    Amazon Root CA 1

    - *
  • - *
  • - *

    Starfield Services Root Certificate Authority - G2

    - *
  • - *
  • - *

    Starfield Class 2 Certification Authority

    - *
  • - *
- *

Root certificates from the first two authorities are available from Amazon trust services, but keeping your computer - * up-to-date is the more straightforward solution. To learn more about ACM-provided certificates, see Amazon Web Services Certificate Manager FAQs. - *

- */ -export declare class Lambda extends LambdaClient implements Lambda { -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/LambdaClient.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/LambdaClient.d.ts deleted file mode 100644 index d75be82d..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/LambdaClient.d.ts +++ /dev/null @@ -1,304 +0,0 @@ -import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header"; -import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing"; -import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent"; -import { Credentials as __Credentials } from "@aws-sdk/types"; -import { RegionInputConfig, RegionResolvedConfig } from "@smithy/config-resolver"; -import { EventStreamSerdeInputConfig, EventStreamSerdeResolvedConfig } from "@smithy/eventstream-serde-config-resolver"; -import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-endpoint"; -import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry"; -import { HttpHandler as __HttpHandler } from "@smithy/protocol-http"; -import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client"; -import { BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, EventStreamSerdeProvider as __EventStreamSerdeProvider, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types"; -import { AddLayerVersionPermissionCommandInput, AddLayerVersionPermissionCommandOutput } from "./commands/AddLayerVersionPermissionCommand"; -import { AddPermissionCommandInput, AddPermissionCommandOutput } from "./commands/AddPermissionCommand"; -import { CreateAliasCommandInput, CreateAliasCommandOutput } from "./commands/CreateAliasCommand"; -import { CreateCodeSigningConfigCommandInput, CreateCodeSigningConfigCommandOutput } from "./commands/CreateCodeSigningConfigCommand"; -import { CreateEventSourceMappingCommandInput, CreateEventSourceMappingCommandOutput } from "./commands/CreateEventSourceMappingCommand"; -import { CreateFunctionCommandInput, CreateFunctionCommandOutput } from "./commands/CreateFunctionCommand"; -import { CreateFunctionUrlConfigCommandInput, CreateFunctionUrlConfigCommandOutput } from "./commands/CreateFunctionUrlConfigCommand"; -import { DeleteAliasCommandInput, DeleteAliasCommandOutput } from "./commands/DeleteAliasCommand"; -import { DeleteCodeSigningConfigCommandInput, DeleteCodeSigningConfigCommandOutput } from "./commands/DeleteCodeSigningConfigCommand"; -import { DeleteEventSourceMappingCommandInput, DeleteEventSourceMappingCommandOutput } from "./commands/DeleteEventSourceMappingCommand"; -import { DeleteFunctionCodeSigningConfigCommandInput, DeleteFunctionCodeSigningConfigCommandOutput } from "./commands/DeleteFunctionCodeSigningConfigCommand"; -import { DeleteFunctionCommandInput, DeleteFunctionCommandOutput } from "./commands/DeleteFunctionCommand"; -import { DeleteFunctionConcurrencyCommandInput, DeleteFunctionConcurrencyCommandOutput } from "./commands/DeleteFunctionConcurrencyCommand"; -import { DeleteFunctionEventInvokeConfigCommandInput, DeleteFunctionEventInvokeConfigCommandOutput } from "./commands/DeleteFunctionEventInvokeConfigCommand"; -import { DeleteFunctionUrlConfigCommandInput, DeleteFunctionUrlConfigCommandOutput } from "./commands/DeleteFunctionUrlConfigCommand"; -import { DeleteLayerVersionCommandInput, DeleteLayerVersionCommandOutput } from "./commands/DeleteLayerVersionCommand"; -import { DeleteProvisionedConcurrencyConfigCommandInput, DeleteProvisionedConcurrencyConfigCommandOutput } from "./commands/DeleteProvisionedConcurrencyConfigCommand"; -import { GetAccountSettingsCommandInput, GetAccountSettingsCommandOutput } from "./commands/GetAccountSettingsCommand"; -import { GetAliasCommandInput, GetAliasCommandOutput } from "./commands/GetAliasCommand"; -import { GetCodeSigningConfigCommandInput, GetCodeSigningConfigCommandOutput } from "./commands/GetCodeSigningConfigCommand"; -import { GetEventSourceMappingCommandInput, GetEventSourceMappingCommandOutput } from "./commands/GetEventSourceMappingCommand"; -import { GetFunctionCodeSigningConfigCommandInput, GetFunctionCodeSigningConfigCommandOutput } from "./commands/GetFunctionCodeSigningConfigCommand"; -import { GetFunctionCommandInput, GetFunctionCommandOutput } from "./commands/GetFunctionCommand"; -import { GetFunctionConcurrencyCommandInput, GetFunctionConcurrencyCommandOutput } from "./commands/GetFunctionConcurrencyCommand"; -import { GetFunctionConfigurationCommandInput, GetFunctionConfigurationCommandOutput } from "./commands/GetFunctionConfigurationCommand"; -import { GetFunctionEventInvokeConfigCommandInput, GetFunctionEventInvokeConfigCommandOutput } from "./commands/GetFunctionEventInvokeConfigCommand"; -import { GetFunctionUrlConfigCommandInput, GetFunctionUrlConfigCommandOutput } from "./commands/GetFunctionUrlConfigCommand"; -import { GetLayerVersionByArnCommandInput, GetLayerVersionByArnCommandOutput } from "./commands/GetLayerVersionByArnCommand"; -import { GetLayerVersionCommandInput, GetLayerVersionCommandOutput } from "./commands/GetLayerVersionCommand"; -import { GetLayerVersionPolicyCommandInput, GetLayerVersionPolicyCommandOutput } from "./commands/GetLayerVersionPolicyCommand"; -import { GetPolicyCommandInput, GetPolicyCommandOutput } from "./commands/GetPolicyCommand"; -import { GetProvisionedConcurrencyConfigCommandInput, GetProvisionedConcurrencyConfigCommandOutput } from "./commands/GetProvisionedConcurrencyConfigCommand"; -import { GetRuntimeManagementConfigCommandInput, GetRuntimeManagementConfigCommandOutput } from "./commands/GetRuntimeManagementConfigCommand"; -import { InvokeAsyncCommandInput, InvokeAsyncCommandOutput } from "./commands/InvokeAsyncCommand"; -import { InvokeCommandInput, InvokeCommandOutput } from "./commands/InvokeCommand"; -import { InvokeWithResponseStreamCommandInput, InvokeWithResponseStreamCommandOutput } from "./commands/InvokeWithResponseStreamCommand"; -import { ListAliasesCommandInput, ListAliasesCommandOutput } from "./commands/ListAliasesCommand"; -import { ListCodeSigningConfigsCommandInput, ListCodeSigningConfigsCommandOutput } from "./commands/ListCodeSigningConfigsCommand"; -import { ListEventSourceMappingsCommandInput, ListEventSourceMappingsCommandOutput } from "./commands/ListEventSourceMappingsCommand"; -import { ListFunctionEventInvokeConfigsCommandInput, ListFunctionEventInvokeConfigsCommandOutput } from "./commands/ListFunctionEventInvokeConfigsCommand"; -import { ListFunctionsByCodeSigningConfigCommandInput, ListFunctionsByCodeSigningConfigCommandOutput } from "./commands/ListFunctionsByCodeSigningConfigCommand"; -import { ListFunctionsCommandInput, ListFunctionsCommandOutput } from "./commands/ListFunctionsCommand"; -import { ListFunctionUrlConfigsCommandInput, ListFunctionUrlConfigsCommandOutput } from "./commands/ListFunctionUrlConfigsCommand"; -import { ListLayersCommandInput, ListLayersCommandOutput } from "./commands/ListLayersCommand"; -import { ListLayerVersionsCommandInput, ListLayerVersionsCommandOutput } from "./commands/ListLayerVersionsCommand"; -import { ListProvisionedConcurrencyConfigsCommandInput, ListProvisionedConcurrencyConfigsCommandOutput } from "./commands/ListProvisionedConcurrencyConfigsCommand"; -import { ListTagsCommandInput, ListTagsCommandOutput } from "./commands/ListTagsCommand"; -import { ListVersionsByFunctionCommandInput, ListVersionsByFunctionCommandOutput } from "./commands/ListVersionsByFunctionCommand"; -import { PublishLayerVersionCommandInput, PublishLayerVersionCommandOutput } from "./commands/PublishLayerVersionCommand"; -import { PublishVersionCommandInput, PublishVersionCommandOutput } from "./commands/PublishVersionCommand"; -import { PutFunctionCodeSigningConfigCommandInput, PutFunctionCodeSigningConfigCommandOutput } from "./commands/PutFunctionCodeSigningConfigCommand"; -import { PutFunctionConcurrencyCommandInput, PutFunctionConcurrencyCommandOutput } from "./commands/PutFunctionConcurrencyCommand"; -import { PutFunctionEventInvokeConfigCommandInput, PutFunctionEventInvokeConfigCommandOutput } from "./commands/PutFunctionEventInvokeConfigCommand"; -import { PutProvisionedConcurrencyConfigCommandInput, PutProvisionedConcurrencyConfigCommandOutput } from "./commands/PutProvisionedConcurrencyConfigCommand"; -import { PutRuntimeManagementConfigCommandInput, PutRuntimeManagementConfigCommandOutput } from "./commands/PutRuntimeManagementConfigCommand"; -import { RemoveLayerVersionPermissionCommandInput, RemoveLayerVersionPermissionCommandOutput } from "./commands/RemoveLayerVersionPermissionCommand"; -import { RemovePermissionCommandInput, RemovePermissionCommandOutput } from "./commands/RemovePermissionCommand"; -import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand"; -import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand"; -import { UpdateAliasCommandInput, UpdateAliasCommandOutput } from "./commands/UpdateAliasCommand"; -import { UpdateCodeSigningConfigCommandInput, UpdateCodeSigningConfigCommandOutput } from "./commands/UpdateCodeSigningConfigCommand"; -import { UpdateEventSourceMappingCommandInput, UpdateEventSourceMappingCommandOutput } from "./commands/UpdateEventSourceMappingCommand"; -import { UpdateFunctionCodeCommandInput, UpdateFunctionCodeCommandOutput } from "./commands/UpdateFunctionCodeCommand"; -import { UpdateFunctionConfigurationCommandInput, UpdateFunctionConfigurationCommandOutput } from "./commands/UpdateFunctionConfigurationCommand"; -import { UpdateFunctionEventInvokeConfigCommandInput, UpdateFunctionEventInvokeConfigCommandOutput } from "./commands/UpdateFunctionEventInvokeConfigCommand"; -import { UpdateFunctionUrlConfigCommandInput, UpdateFunctionUrlConfigCommandOutput } from "./commands/UpdateFunctionUrlConfigCommand"; -import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters"; -import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions"; -export { __Client }; -/** - * @public - */ -export type ServiceInputTypes = AddLayerVersionPermissionCommandInput | AddPermissionCommandInput | CreateAliasCommandInput | CreateCodeSigningConfigCommandInput | CreateEventSourceMappingCommandInput | CreateFunctionCommandInput | CreateFunctionUrlConfigCommandInput | DeleteAliasCommandInput | DeleteCodeSigningConfigCommandInput | DeleteEventSourceMappingCommandInput | DeleteFunctionCodeSigningConfigCommandInput | DeleteFunctionCommandInput | DeleteFunctionConcurrencyCommandInput | DeleteFunctionEventInvokeConfigCommandInput | DeleteFunctionUrlConfigCommandInput | DeleteLayerVersionCommandInput | DeleteProvisionedConcurrencyConfigCommandInput | GetAccountSettingsCommandInput | GetAliasCommandInput | GetCodeSigningConfigCommandInput | GetEventSourceMappingCommandInput | GetFunctionCodeSigningConfigCommandInput | GetFunctionCommandInput | GetFunctionConcurrencyCommandInput | GetFunctionConfigurationCommandInput | GetFunctionEventInvokeConfigCommandInput | GetFunctionUrlConfigCommandInput | GetLayerVersionByArnCommandInput | GetLayerVersionCommandInput | GetLayerVersionPolicyCommandInput | GetPolicyCommandInput | GetProvisionedConcurrencyConfigCommandInput | GetRuntimeManagementConfigCommandInput | InvokeAsyncCommandInput | InvokeCommandInput | InvokeWithResponseStreamCommandInput | ListAliasesCommandInput | ListCodeSigningConfigsCommandInput | ListEventSourceMappingsCommandInput | ListFunctionEventInvokeConfigsCommandInput | ListFunctionUrlConfigsCommandInput | ListFunctionsByCodeSigningConfigCommandInput | ListFunctionsCommandInput | ListLayerVersionsCommandInput | ListLayersCommandInput | ListProvisionedConcurrencyConfigsCommandInput | ListTagsCommandInput | ListVersionsByFunctionCommandInput | PublishLayerVersionCommandInput | PublishVersionCommandInput | PutFunctionCodeSigningConfigCommandInput | PutFunctionConcurrencyCommandInput | PutFunctionEventInvokeConfigCommandInput | PutProvisionedConcurrencyConfigCommandInput | PutRuntimeManagementConfigCommandInput | RemoveLayerVersionPermissionCommandInput | RemovePermissionCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAliasCommandInput | UpdateCodeSigningConfigCommandInput | UpdateEventSourceMappingCommandInput | UpdateFunctionCodeCommandInput | UpdateFunctionConfigurationCommandInput | UpdateFunctionEventInvokeConfigCommandInput | UpdateFunctionUrlConfigCommandInput; -/** - * @public - */ -export type ServiceOutputTypes = AddLayerVersionPermissionCommandOutput | AddPermissionCommandOutput | CreateAliasCommandOutput | CreateCodeSigningConfigCommandOutput | CreateEventSourceMappingCommandOutput | CreateFunctionCommandOutput | CreateFunctionUrlConfigCommandOutput | DeleteAliasCommandOutput | DeleteCodeSigningConfigCommandOutput | DeleteEventSourceMappingCommandOutput | DeleteFunctionCodeSigningConfigCommandOutput | DeleteFunctionCommandOutput | DeleteFunctionConcurrencyCommandOutput | DeleteFunctionEventInvokeConfigCommandOutput | DeleteFunctionUrlConfigCommandOutput | DeleteLayerVersionCommandOutput | DeleteProvisionedConcurrencyConfigCommandOutput | GetAccountSettingsCommandOutput | GetAliasCommandOutput | GetCodeSigningConfigCommandOutput | GetEventSourceMappingCommandOutput | GetFunctionCodeSigningConfigCommandOutput | GetFunctionCommandOutput | GetFunctionConcurrencyCommandOutput | GetFunctionConfigurationCommandOutput | GetFunctionEventInvokeConfigCommandOutput | GetFunctionUrlConfigCommandOutput | GetLayerVersionByArnCommandOutput | GetLayerVersionCommandOutput | GetLayerVersionPolicyCommandOutput | GetPolicyCommandOutput | GetProvisionedConcurrencyConfigCommandOutput | GetRuntimeManagementConfigCommandOutput | InvokeAsyncCommandOutput | InvokeCommandOutput | InvokeWithResponseStreamCommandOutput | ListAliasesCommandOutput | ListCodeSigningConfigsCommandOutput | ListEventSourceMappingsCommandOutput | ListFunctionEventInvokeConfigsCommandOutput | ListFunctionUrlConfigsCommandOutput | ListFunctionsByCodeSigningConfigCommandOutput | ListFunctionsCommandOutput | ListLayerVersionsCommandOutput | ListLayersCommandOutput | ListProvisionedConcurrencyConfigsCommandOutput | ListTagsCommandOutput | ListVersionsByFunctionCommandOutput | PublishLayerVersionCommandOutput | PublishVersionCommandOutput | PutFunctionCodeSigningConfigCommandOutput | PutFunctionConcurrencyCommandOutput | PutFunctionEventInvokeConfigCommandOutput | PutProvisionedConcurrencyConfigCommandOutput | PutRuntimeManagementConfigCommandOutput | RemoveLayerVersionPermissionCommandOutput | RemovePermissionCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAliasCommandOutput | UpdateCodeSigningConfigCommandOutput | UpdateEventSourceMappingCommandOutput | UpdateFunctionCodeCommandOutput | UpdateFunctionConfigurationCommandOutput | UpdateFunctionEventInvokeConfigCommandOutput | UpdateFunctionUrlConfigCommandOutput; -/** - * @public - */ -export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> { - /** - * The HTTP handler to use. Fetch in browser and Https in Nodejs. - */ - requestHandler?: __HttpHandler; - /** - * A constructor for a class implementing the {@link @smithy/types#ChecksumConstructor} interface - * that computes the SHA-256 HMAC or checksum of a string or binary buffer. - * @internal - */ - sha256?: __ChecksumConstructor | __HashConstructor; - /** - * The function that will be used to convert strings into HTTP endpoints. - * @internal - */ - urlParser?: __UrlParser; - /** - * A function that can calculate the length of a request body. - * @internal - */ - bodyLengthChecker?: __BodyLengthCalculator; - /** - * A function that converts a stream into an array of bytes. - * @internal - */ - streamCollector?: __StreamCollector; - /** - * The function that will be used to convert a base64-encoded string to a byte array. - * @internal - */ - base64Decoder?: __Decoder; - /** - * The function that will be used to convert binary data to a base64-encoded string. - * @internal - */ - base64Encoder?: __Encoder; - /** - * The function that will be used to convert a UTF8-encoded string to a byte array. - * @internal - */ - utf8Decoder?: __Decoder; - /** - * The function that will be used to convert binary data to a UTF-8 encoded string. - * @internal - */ - utf8Encoder?: __Encoder; - /** - * The runtime environment. - * @internal - */ - runtime?: string; - /** - * Disable dynamically changing the endpoint of the client based on the hostPrefix - * trait of an operation. - */ - disableHostPrefix?: boolean; - /** - * Unique service identifier. - * @internal - */ - serviceId?: string; - /** - * Enables IPv6/IPv4 dualstack endpoint. - */ - useDualstackEndpoint?: boolean | __Provider; - /** - * Enables FIPS compatible endpoints. - */ - useFipsEndpoint?: boolean | __Provider; - /** - * The AWS region to which this client will send requests - */ - region?: string | __Provider; - /** - * Default credentials provider; Not available in browser runtime. - * @internal - */ - credentialDefaultProvider?: (input: any) => __Provider<__Credentials>; - /** - * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header - * @internal - */ - defaultUserAgentProvider?: Provider<__UserAgent>; - /** - * Value for how many times a request will be made at most in case of retry. - */ - maxAttempts?: number | __Provider; - /** - * Specifies which retry algorithm to use. - * @see https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-smithy-util-retry/Enum/RETRY_MODES/ - * - */ - retryMode?: string | __Provider; - /** - * Optional logger for logging debug/info/warn/error. - */ - logger?: __Logger; - /** - * Optional extensions - */ - extensions?: RuntimeExtension[]; - /** - * The function that provides necessary utilities for generating and parsing event stream - */ - eventStreamSerdeProvider?: __EventStreamSerdeProvider; - /** - * The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK. - */ - defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>; -} -/** - * @public - */ -export type LambdaClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & EventStreamSerdeInputConfig & ClientInputEndpointParameters; -/** - * @public - * - * The configuration interface of LambdaClient class constructor that set the region, credentials and other options. - */ -export interface LambdaClientConfig extends LambdaClientConfigType { -} -/** - * @public - */ -export type LambdaClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required & RuntimeExtensionsConfig & RegionResolvedConfig & EndpointResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & EventStreamSerdeResolvedConfig & ClientResolvedEndpointParameters; -/** - * @public - * - * The resolved configuration interface of LambdaClient class. This is resolved and normalized from the {@link LambdaClientConfig | constructor configuration interface}. - */ -export interface LambdaClientResolvedConfig extends LambdaClientResolvedConfigType { -} -/** - * @public - * Lambda - *

- * Overview - *

- *

Lambda is a compute service that lets you run code without provisioning or managing servers. - * Lambda runs your code on a high-availability compute infrastructure and performs all of the - * administration of the compute resources, including server and operating system maintenance, capacity provisioning - * and automatic scaling, code monitoring and logging. With Lambda, you can run code for virtually any - * type of application or backend service. For more information about the Lambda service, see What is Lambda in the Lambda Developer Guide.

- *

The Lambda API Reference provides information about - * each of the API methods, including details about the parameters in each API request and - * response.

- *

- *

You can use Software Development Kits (SDKs), Integrated Development Environment (IDE) Toolkits, and command - * line tools to access the API. For installation instructions, see Tools for - * Amazon Web Services.

- *

For a list of Region-specific endpoints that Lambda supports, - * see Lambda - * endpoints and quotas in the Amazon Web Services General Reference..

- *

When making the API calls, you will need to - * authenticate your request by providing a signature. Lambda supports signature version 4. For more information, - * see Signature Version 4 signing process in the - * Amazon Web Services General Reference..

- *

- * CA certificates - *

- *

Because Amazon Web Services SDKs use the CA certificates from your computer, changes to the certificates on the Amazon Web Services servers - * can cause connection failures when you attempt to use an SDK. You can prevent these failures by keeping your - * computer's CA certificates and operating system up-to-date. If you encounter this issue in a corporate - * environment and do not manage your own computer, you might need to ask an administrator to assist with the - * update process. The following list shows minimum operating system and Java versions:

- *
    - *
  • - *

    Microsoft Windows versions that have updates from January 2005 or later installed contain at least one - * of the required CAs in their trust list.

    - *
  • - *
  • - *

    Mac OS X 10.4 with Java for Mac OS X 10.4 Release 5 (February 2007), Mac OS X 10.5 (October 2007), and - * later versions contain at least one of the required CAs in their trust list.

    - *
  • - *
  • - *

    Red Hat Enterprise Linux 5 (March 2007), 6, and 7 and CentOS 5, 6, and 7 all contain at least one of the - * required CAs in their default trusted CA list.

    - *
  • - *
  • - *

    Java 1.4.2_12 (May 2006), 5 Update 2 (March 2005), and all later versions, including Java 6 (December - * 2006), 7, and 8, contain at least one of the required CAs in their default trusted CA list.

    - *
  • - *
- *

When accessing the Lambda management console or Lambda API endpoints, whether through browsers or - * programmatically, you will need to ensure your client machines support any of the following CAs:

- *
    - *
  • - *

    Amazon Root CA 1

    - *
  • - *
  • - *

    Starfield Services Root Certificate Authority - G2

    - *
  • - *
  • - *

    Starfield Class 2 Certification Authority

    - *
  • - *
- *

Root certificates from the first two authorities are available from Amazon trust services, but keeping your computer - * up-to-date is the more straightforward solution. To learn more about ACM-provided certificates, see Amazon Web Services Certificate Manager FAQs. - *

- */ -export declare class LambdaClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, LambdaClientResolvedConfig> { - /** - * The resolved configuration of LambdaClient class. This is resolved and normalized from the {@link LambdaClientConfig | constructor configuration interface}. - */ - readonly config: LambdaClientResolvedConfig; - constructor(...[configuration]: __CheckOptionalClientConfig); - /** - * Destroy underlying resources, like sockets. It's usually not necessary to do this. - * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed. - * Otherwise, sockets might stay open for quite a long time before the server terminates them. - */ - destroy(): void; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/commands/AddLayerVersionPermissionCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/commands/AddLayerVersionPermissionCommand.d.ts deleted file mode 100644 index 958ab359..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/commands/AddLayerVersionPermissionCommand.d.ts +++ /dev/null @@ -1,107 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; -import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; -import { AddLayerVersionPermissionRequest, AddLayerVersionPermissionResponse } from "../models/models_0"; -/** - * @public - */ -export { __MetadataBearer, $Command }; -/** - * @public - * - * The input for {@link AddLayerVersionPermissionCommand}. - */ -export interface AddLayerVersionPermissionCommandInput extends AddLayerVersionPermissionRequest { -} -/** - * @public - * - * The output of {@link AddLayerVersionPermissionCommand}. - */ -export interface AddLayerVersionPermissionCommandOutput extends AddLayerVersionPermissionResponse, __MetadataBearer { -} -/** - * @public - *

Adds permissions to the resource-based policy of a version of an Lambda - * layer. Use this action to grant layer - * usage permission to other accounts. You can grant permission to a single account, all accounts in an organization, - * or all Amazon Web Services accounts.

- *

To revoke permission, call RemoveLayerVersionPermission with the statement ID that you - * specified when you added it.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { LambdaClient, AddLayerVersionPermissionCommand } from "@aws-sdk/client-lambda"; // ES Modules import - * // const { LambdaClient, AddLayerVersionPermissionCommand } = require("@aws-sdk/client-lambda"); // CommonJS import - * const client = new LambdaClient(config); - * const input = { // AddLayerVersionPermissionRequest - * LayerName: "STRING_VALUE", // required - * VersionNumber: Number("long"), // required - * StatementId: "STRING_VALUE", // required - * Action: "STRING_VALUE", // required - * Principal: "STRING_VALUE", // required - * OrganizationId: "STRING_VALUE", - * RevisionId: "STRING_VALUE", - * }; - * const command = new AddLayerVersionPermissionCommand(input); - * const response = await client.send(command); - * // { // AddLayerVersionPermissionResponse - * // Statement: "STRING_VALUE", - * // RevisionId: "STRING_VALUE", - * // }; - * - * ``` - * - * @param AddLayerVersionPermissionCommandInput - {@link AddLayerVersionPermissionCommandInput} - * @returns {@link AddLayerVersionPermissionCommandOutput} - * @see {@link AddLayerVersionPermissionCommandInput} for command's `input` shape. - * @see {@link AddLayerVersionPermissionCommandOutput} for command's `response` shape. - * @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape. - * - * @throws {@link InvalidParameterValueException} (client fault) - *

One of the parameters in the request is not valid.

- * - * @throws {@link PolicyLengthExceededException} (client fault) - *

The permissions policy for the resource is too large. For more information, see Lambda quotas.

- * - * @throws {@link PreconditionFailedException} (client fault) - *

The RevisionId provided does not match the latest RevisionId for the Lambda function or alias. Call the GetFunction or the GetAlias - * API operation to retrieve the latest RevisionId for your resource.

- * - * @throws {@link ResourceConflictException} (client fault) - *

The resource already exists, or another operation is in progress.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The resource specified in the request does not exist.

- * - * @throws {@link ServiceException} (server fault) - *

The Lambda service encountered an internal error.

- * - * @throws {@link TooManyRequestsException} (client fault) - *

The request throughput limit was exceeded. For more information, see Lambda quotas.

- * - * @throws {@link LambdaServiceException} - *

Base exception class for all service exceptions from Lambda service.

- * - */ -export declare class AddLayerVersionPermissionCommand extends $Command { - readonly input: AddLayerVersionPermissionCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - /** - * @public - */ - constructor(input: AddLayerVersionPermissionCommandInput); - /** - * @internal - */ - resolveMiddleware(clientStack: MiddlewareStack, configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions): Handler; - /** - * @internal - */ - private serialize; - /** - * @internal - */ - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/commands/AddPermissionCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/commands/AddPermissionCommand.d.ts deleted file mode 100644 index ef0b29df..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/commands/AddPermissionCommand.d.ts +++ /dev/null @@ -1,117 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; -import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; -import { AddPermissionRequest, AddPermissionResponse } from "../models/models_0"; -/** - * @public - */ -export { __MetadataBearer, $Command }; -/** - * @public - * - * The input for {@link AddPermissionCommand}. - */ -export interface AddPermissionCommandInput extends AddPermissionRequest { -} -/** - * @public - * - * The output of {@link AddPermissionCommand}. - */ -export interface AddPermissionCommandOutput extends AddPermissionResponse, __MetadataBearer { -} -/** - * @public - *

Grants an Amazon Web Service, Amazon Web Services account, or Amazon Web Services organization - * permission to use a function. You can apply the policy at the function level, or specify a qualifier to restrict - * access to a single version or alias. If you use a qualifier, the invoker must use the full Amazon Resource Name - * (ARN) of that version or alias to invoke the function. Note: Lambda does not support adding policies - * to version $LATEST.

- *

To grant permission to another account, specify the account ID as the Principal. To grant - * permission to an organization defined in Organizations, specify the organization ID as the - * PrincipalOrgID. For Amazon Web Services, the principal is a domain-style identifier that - * the service defines, such as s3.amazonaws.com or sns.amazonaws.com. For Amazon Web Services, you can also specify the ARN of the associated resource as the SourceArn. If - * you grant permission to a service principal without specifying the source, other accounts could potentially - * configure resources in their account to invoke your Lambda function.

- *

This operation adds a statement to a resource-based permissions policy for the function. For more information - * about function policies, see Using resource-based policies for Lambda.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { LambdaClient, AddPermissionCommand } from "@aws-sdk/client-lambda"; // ES Modules import - * // const { LambdaClient, AddPermissionCommand } = require("@aws-sdk/client-lambda"); // CommonJS import - * const client = new LambdaClient(config); - * const input = { // AddPermissionRequest - * FunctionName: "STRING_VALUE", // required - * StatementId: "STRING_VALUE", // required - * Action: "STRING_VALUE", // required - * Principal: "STRING_VALUE", // required - * SourceArn: "STRING_VALUE", - * SourceAccount: "STRING_VALUE", - * EventSourceToken: "STRING_VALUE", - * Qualifier: "STRING_VALUE", - * RevisionId: "STRING_VALUE", - * PrincipalOrgID: "STRING_VALUE", - * FunctionUrlAuthType: "NONE" || "AWS_IAM", - * }; - * const command = new AddPermissionCommand(input); - * const response = await client.send(command); - * // { // AddPermissionResponse - * // Statement: "STRING_VALUE", - * // }; - * - * ``` - * - * @param AddPermissionCommandInput - {@link AddPermissionCommandInput} - * @returns {@link AddPermissionCommandOutput} - * @see {@link AddPermissionCommandInput} for command's `input` shape. - * @see {@link AddPermissionCommandOutput} for command's `response` shape. - * @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape. - * - * @throws {@link InvalidParameterValueException} (client fault) - *

One of the parameters in the request is not valid.

- * - * @throws {@link PolicyLengthExceededException} (client fault) - *

The permissions policy for the resource is too large. For more information, see Lambda quotas.

- * - * @throws {@link PreconditionFailedException} (client fault) - *

The RevisionId provided does not match the latest RevisionId for the Lambda function or alias. Call the GetFunction or the GetAlias - * API operation to retrieve the latest RevisionId for your resource.

- * - * @throws {@link ResourceConflictException} (client fault) - *

The resource already exists, or another operation is in progress.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The resource specified in the request does not exist.

- * - * @throws {@link ServiceException} (server fault) - *

The Lambda service encountered an internal error.

- * - * @throws {@link TooManyRequestsException} (client fault) - *

The request throughput limit was exceeded. For more information, see Lambda quotas.

- * - * @throws {@link LambdaServiceException} - *

Base exception class for all service exceptions from Lambda service.

- * - */ -export declare class AddPermissionCommand extends $Command { - readonly input: AddPermissionCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - /** - * @public - */ - constructor(input: AddPermissionCommandInput); - /** - * @internal - */ - resolveMiddleware(clientStack: MiddlewareStack, configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions): Handler; - /** - * @internal - */ - private serialize; - /** - * @internal - */ - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/commands/CreateAliasCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/commands/CreateAliasCommand.d.ts deleted file mode 100644 index 170b2cf5..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/commands/CreateAliasCommand.d.ts +++ /dev/null @@ -1,110 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; -import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; -import { AliasConfiguration, CreateAliasRequest } from "../models/models_0"; -/** - * @public - */ -export { __MetadataBearer, $Command }; -/** - * @public - * - * The input for {@link CreateAliasCommand}. - */ -export interface CreateAliasCommandInput extends CreateAliasRequest { -} -/** - * @public - * - * The output of {@link CreateAliasCommand}. - */ -export interface CreateAliasCommandOutput extends AliasConfiguration, __MetadataBearer { -} -/** - * @public - *

Creates an alias for a - * Lambda function version. Use aliases to provide clients with a function identifier that you can update to invoke a - * different version.

- *

You can also map an alias to split invocation requests between two versions. Use the - * RoutingConfig parameter to specify a second version and the percentage of invocation requests that - * it receives.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { LambdaClient, CreateAliasCommand } from "@aws-sdk/client-lambda"; // ES Modules import - * // const { LambdaClient, CreateAliasCommand } = require("@aws-sdk/client-lambda"); // CommonJS import - * const client = new LambdaClient(config); - * const input = { // CreateAliasRequest - * FunctionName: "STRING_VALUE", // required - * Name: "STRING_VALUE", // required - * FunctionVersion: "STRING_VALUE", // required - * Description: "STRING_VALUE", - * RoutingConfig: { // AliasRoutingConfiguration - * AdditionalVersionWeights: { // AdditionalVersionWeights - * "": Number("double"), - * }, - * }, - * }; - * const command = new CreateAliasCommand(input); - * const response = await client.send(command); - * // { // AliasConfiguration - * // AliasArn: "STRING_VALUE", - * // Name: "STRING_VALUE", - * // FunctionVersion: "STRING_VALUE", - * // Description: "STRING_VALUE", - * // RoutingConfig: { // AliasRoutingConfiguration - * // AdditionalVersionWeights: { // AdditionalVersionWeights - * // "": Number("double"), - * // }, - * // }, - * // RevisionId: "STRING_VALUE", - * // }; - * - * ``` - * - * @param CreateAliasCommandInput - {@link CreateAliasCommandInput} - * @returns {@link CreateAliasCommandOutput} - * @see {@link CreateAliasCommandInput} for command's `input` shape. - * @see {@link CreateAliasCommandOutput} for command's `response` shape. - * @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape. - * - * @throws {@link InvalidParameterValueException} (client fault) - *

One of the parameters in the request is not valid.

- * - * @throws {@link ResourceConflictException} (client fault) - *

The resource already exists, or another operation is in progress.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The resource specified in the request does not exist.

- * - * @throws {@link ServiceException} (server fault) - *

The Lambda service encountered an internal error.

- * - * @throws {@link TooManyRequestsException} (client fault) - *

The request throughput limit was exceeded. For more information, see Lambda quotas.

- * - * @throws {@link LambdaServiceException} - *

Base exception class for all service exceptions from Lambda service.

- * - */ -export declare class CreateAliasCommand extends $Command { - readonly input: CreateAliasCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - /** - * @public - */ - constructor(input: CreateAliasCommandInput); - /** - * @internal - */ - resolveMiddleware(clientStack: MiddlewareStack, configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions): Handler; - /** - * @internal - */ - private serialize; - /** - * @internal - */ - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/commands/CreateCodeSigningConfigCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/commands/CreateCodeSigningConfigCommand.d.ts deleted file mode 100644 index 3b429767..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/commands/CreateCodeSigningConfigCommand.d.ts +++ /dev/null @@ -1,102 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; -import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; -import { CreateCodeSigningConfigRequest, CreateCodeSigningConfigResponse } from "../models/models_0"; -/** - * @public - */ -export { __MetadataBearer, $Command }; -/** - * @public - * - * The input for {@link CreateCodeSigningConfigCommand}. - */ -export interface CreateCodeSigningConfigCommandInput extends CreateCodeSigningConfigRequest { -} -/** - * @public - * - * The output of {@link CreateCodeSigningConfigCommand}. - */ -export interface CreateCodeSigningConfigCommandOutput extends CreateCodeSigningConfigResponse, __MetadataBearer { -} -/** - * @public - *

Creates a code signing configuration. A code signing configuration defines a list of - * allowed signing profiles and defines the code-signing validation policy (action to be taken if deployment - * validation checks fail).

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { LambdaClient, CreateCodeSigningConfigCommand } from "@aws-sdk/client-lambda"; // ES Modules import - * // const { LambdaClient, CreateCodeSigningConfigCommand } = require("@aws-sdk/client-lambda"); // CommonJS import - * const client = new LambdaClient(config); - * const input = { // CreateCodeSigningConfigRequest - * Description: "STRING_VALUE", - * AllowedPublishers: { // AllowedPublishers - * SigningProfileVersionArns: [ // SigningProfileVersionArns // required - * "STRING_VALUE", - * ], - * }, - * CodeSigningPolicies: { // CodeSigningPolicies - * UntrustedArtifactOnDeployment: "Warn" || "Enforce", - * }, - * }; - * const command = new CreateCodeSigningConfigCommand(input); - * const response = await client.send(command); - * // { // CreateCodeSigningConfigResponse - * // CodeSigningConfig: { // CodeSigningConfig - * // CodeSigningConfigId: "STRING_VALUE", // required - * // CodeSigningConfigArn: "STRING_VALUE", // required - * // Description: "STRING_VALUE", - * // AllowedPublishers: { // AllowedPublishers - * // SigningProfileVersionArns: [ // SigningProfileVersionArns // required - * // "STRING_VALUE", - * // ], - * // }, - * // CodeSigningPolicies: { // CodeSigningPolicies - * // UntrustedArtifactOnDeployment: "Warn" || "Enforce", - * // }, - * // LastModified: "STRING_VALUE", // required - * // }, - * // }; - * - * ``` - * - * @param CreateCodeSigningConfigCommandInput - {@link CreateCodeSigningConfigCommandInput} - * @returns {@link CreateCodeSigningConfigCommandOutput} - * @see {@link CreateCodeSigningConfigCommandInput} for command's `input` shape. - * @see {@link CreateCodeSigningConfigCommandOutput} for command's `response` shape. - * @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape. - * - * @throws {@link InvalidParameterValueException} (client fault) - *

One of the parameters in the request is not valid.

- * - * @throws {@link ServiceException} (server fault) - *

The Lambda service encountered an internal error.

- * - * @throws {@link LambdaServiceException} - *

Base exception class for all service exceptions from Lambda service.

- * - */ -export declare class CreateCodeSigningConfigCommand extends $Command { - readonly input: CreateCodeSigningConfigCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - /** - * @public - */ - constructor(input: CreateCodeSigningConfigCommandInput); - /** - * @internal - */ - resolveMiddleware(clientStack: MiddlewareStack, configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions): Handler; - /** - * @internal - */ - private serialize; - /** - * @internal - */ - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/commands/CreateEventSourceMappingCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/commands/CreateEventSourceMappingCommand.d.ts deleted file mode 100644 index 778937fd..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/commands/CreateEventSourceMappingCommand.d.ts +++ /dev/null @@ -1,329 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; -import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; -import { CreateEventSourceMappingRequest, EventSourceMappingConfiguration } from "../models/models_0"; -/** - * @public - */ -export { __MetadataBearer, $Command }; -/** - * @public - * - * The input for {@link CreateEventSourceMappingCommand}. - */ -export interface CreateEventSourceMappingCommandInput extends CreateEventSourceMappingRequest { -} -/** - * @public - * - * The output of {@link CreateEventSourceMappingCommand}. - */ -export interface CreateEventSourceMappingCommandOutput extends EventSourceMappingConfiguration, __MetadataBearer { -} -/** - * @public - *

Creates a mapping between an event source and an Lambda function. Lambda reads items from the event source and invokes the function.

- *

For details about how to configure different event sources, see the following topics.

- * - *

The following error handling options are available only for stream sources (DynamoDB and Kinesis):

- *
    - *
  • - *

    - * BisectBatchOnFunctionError – If the function returns an error, split the batch in two and retry.

    - *
  • - *
  • - *

    - * DestinationConfig – Send discarded records to an Amazon SQS queue or Amazon SNS topic.

    - *
  • - *
  • - *

    - * MaximumRecordAgeInSeconds – Discard records older than the specified age. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires

    - *
  • - *
  • - *

    - * MaximumRetryAttempts – Discard records after the specified number of retries. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires.

    - *
  • - *
  • - *

    - * ParallelizationFactor – Process multiple batches from each shard concurrently.

    - *
  • - *
- *

For information about which configuration parameters apply to each event source, see the following topics.

- * - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { LambdaClient, CreateEventSourceMappingCommand } from "@aws-sdk/client-lambda"; // ES Modules import - * // const { LambdaClient, CreateEventSourceMappingCommand } = require("@aws-sdk/client-lambda"); // CommonJS import - * const client = new LambdaClient(config); - * const input = { // CreateEventSourceMappingRequest - * EventSourceArn: "STRING_VALUE", - * FunctionName: "STRING_VALUE", // required - * Enabled: true || false, - * BatchSize: Number("int"), - * FilterCriteria: { // FilterCriteria - * Filters: [ // FilterList - * { // Filter - * Pattern: "STRING_VALUE", - * }, - * ], - * }, - * MaximumBatchingWindowInSeconds: Number("int"), - * ParallelizationFactor: Number("int"), - * StartingPosition: "TRIM_HORIZON" || "LATEST" || "AT_TIMESTAMP", - * StartingPositionTimestamp: new Date("TIMESTAMP"), - * DestinationConfig: { // DestinationConfig - * OnSuccess: { // OnSuccess - * Destination: "STRING_VALUE", - * }, - * OnFailure: { // OnFailure - * Destination: "STRING_VALUE", - * }, - * }, - * MaximumRecordAgeInSeconds: Number("int"), - * BisectBatchOnFunctionError: true || false, - * MaximumRetryAttempts: Number("int"), - * TumblingWindowInSeconds: Number("int"), - * Topics: [ // Topics - * "STRING_VALUE", - * ], - * Queues: [ // Queues - * "STRING_VALUE", - * ], - * SourceAccessConfigurations: [ // SourceAccessConfigurations - * { // SourceAccessConfiguration - * Type: "BASIC_AUTH" || "VPC_SUBNET" || "VPC_SECURITY_GROUP" || "SASL_SCRAM_512_AUTH" || "SASL_SCRAM_256_AUTH" || "VIRTUAL_HOST" || "CLIENT_CERTIFICATE_TLS_AUTH" || "SERVER_ROOT_CA_CERTIFICATE", - * URI: "STRING_VALUE", - * }, - * ], - * SelfManagedEventSource: { // SelfManagedEventSource - * Endpoints: { // Endpoints - * "": [ // EndpointLists - * "STRING_VALUE", - * ], - * }, - * }, - * FunctionResponseTypes: [ // FunctionResponseTypeList - * "ReportBatchItemFailures", - * ], - * AmazonManagedKafkaEventSourceConfig: { // AmazonManagedKafkaEventSourceConfig - * ConsumerGroupId: "STRING_VALUE", - * }, - * SelfManagedKafkaEventSourceConfig: { // SelfManagedKafkaEventSourceConfig - * ConsumerGroupId: "STRING_VALUE", - * }, - * ScalingConfig: { // ScalingConfig - * MaximumConcurrency: Number("int"), - * }, - * DocumentDBEventSourceConfig: { // DocumentDBEventSourceConfig - * DatabaseName: "STRING_VALUE", - * CollectionName: "STRING_VALUE", - * FullDocument: "UpdateLookup" || "Default", - * }, - * }; - * const command = new CreateEventSourceMappingCommand(input); - * const response = await client.send(command); - * // { // EventSourceMappingConfiguration - * // UUID: "STRING_VALUE", - * // StartingPosition: "TRIM_HORIZON" || "LATEST" || "AT_TIMESTAMP", - * // StartingPositionTimestamp: new Date("TIMESTAMP"), - * // BatchSize: Number("int"), - * // MaximumBatchingWindowInSeconds: Number("int"), - * // ParallelizationFactor: Number("int"), - * // EventSourceArn: "STRING_VALUE", - * // FilterCriteria: { // FilterCriteria - * // Filters: [ // FilterList - * // { // Filter - * // Pattern: "STRING_VALUE", - * // }, - * // ], - * // }, - * // FunctionArn: "STRING_VALUE", - * // LastModified: new Date("TIMESTAMP"), - * // LastProcessingResult: "STRING_VALUE", - * // State: "STRING_VALUE", - * // StateTransitionReason: "STRING_VALUE", - * // DestinationConfig: { // DestinationConfig - * // OnSuccess: { // OnSuccess - * // Destination: "STRING_VALUE", - * // }, - * // OnFailure: { // OnFailure - * // Destination: "STRING_VALUE", - * // }, - * // }, - * // Topics: [ // Topics - * // "STRING_VALUE", - * // ], - * // Queues: [ // Queues - * // "STRING_VALUE", - * // ], - * // SourceAccessConfigurations: [ // SourceAccessConfigurations - * // { // SourceAccessConfiguration - * // Type: "BASIC_AUTH" || "VPC_SUBNET" || "VPC_SECURITY_GROUP" || "SASL_SCRAM_512_AUTH" || "SASL_SCRAM_256_AUTH" || "VIRTUAL_HOST" || "CLIENT_CERTIFICATE_TLS_AUTH" || "SERVER_ROOT_CA_CERTIFICATE", - * // URI: "STRING_VALUE", - * // }, - * // ], - * // SelfManagedEventSource: { // SelfManagedEventSource - * // Endpoints: { // Endpoints - * // "": [ // EndpointLists - * // "STRING_VALUE", - * // ], - * // }, - * // }, - * // MaximumRecordAgeInSeconds: Number("int"), - * // BisectBatchOnFunctionError: true || false, - * // MaximumRetryAttempts: Number("int"), - * // TumblingWindowInSeconds: Number("int"), - * // FunctionResponseTypes: [ // FunctionResponseTypeList - * // "ReportBatchItemFailures", - * // ], - * // AmazonManagedKafkaEventSourceConfig: { // AmazonManagedKafkaEventSourceConfig - * // ConsumerGroupId: "STRING_VALUE", - * // }, - * // SelfManagedKafkaEventSourceConfig: { // SelfManagedKafkaEventSourceConfig - * // ConsumerGroupId: "STRING_VALUE", - * // }, - * // ScalingConfig: { // ScalingConfig - * // MaximumConcurrency: Number("int"), - * // }, - * // DocumentDBEventSourceConfig: { // DocumentDBEventSourceConfig - * // DatabaseName: "STRING_VALUE", - * // CollectionName: "STRING_VALUE", - * // FullDocument: "UpdateLookup" || "Default", - * // }, - * // }; - * - * ``` - * - * @param CreateEventSourceMappingCommandInput - {@link CreateEventSourceMappingCommandInput} - * @returns {@link CreateEventSourceMappingCommandOutput} - * @see {@link CreateEventSourceMappingCommandInput} for command's `input` shape. - * @see {@link CreateEventSourceMappingCommandOutput} for command's `response` shape. - * @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape. - * - * @throws {@link InvalidParameterValueException} (client fault) - *

One of the parameters in the request is not valid.

- * - * @throws {@link ResourceConflictException} (client fault) - *

The resource already exists, or another operation is in progress.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The resource specified in the request does not exist.

- * - * @throws {@link ServiceException} (server fault) - *

The Lambda service encountered an internal error.

- * - * @throws {@link TooManyRequestsException} (client fault) - *

The request throughput limit was exceeded. For more information, see Lambda quotas.

- * - * @throws {@link LambdaServiceException} - *

Base exception class for all service exceptions from Lambda service.

- * - */ -export declare class CreateEventSourceMappingCommand extends $Command { - readonly input: CreateEventSourceMappingCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - /** - * @public - */ - constructor(input: CreateEventSourceMappingCommandInput); - /** - * @internal - */ - resolveMiddleware(clientStack: MiddlewareStack, configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions): Handler; - /** - * @internal - */ - private serialize; - /** - * @internal - */ - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/commands/CreateFunctionCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/commands/CreateFunctionCommand.d.ts deleted file mode 100644 index 9f496a19..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/commands/CreateFunctionCommand.d.ts +++ /dev/null @@ -1,312 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; -import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; -import { CreateFunctionRequest, FunctionConfiguration } from "../models/models_0"; -/** - * @public - */ -export { __MetadataBearer, $Command }; -/** - * @public - * - * The input for {@link CreateFunctionCommand}. - */ -export interface CreateFunctionCommandInput extends CreateFunctionRequest { -} -/** - * @public - * - * The output of {@link CreateFunctionCommand}. - */ -export interface CreateFunctionCommandOutput extends FunctionConfiguration, __MetadataBearer { -} -/** - * @public - *

Creates a Lambda function. To create a function, you need a deployment package and an execution role. The - * deployment package is a .zip file archive or container image that contains your function code. The execution role - * grants the function permission to use Amazon Web Services, such as Amazon CloudWatch Logs for log - * streaming and X-Ray for request tracing.

- *

If the deployment package is a container - * image, then you set the package type to Image. For a container image, the code property - * must include the URI of a container image in the Amazon ECR registry. You do not need to specify the - * handler and runtime properties.

- *

If the deployment package is a .zip file archive, then - * you set the package type to Zip. For a .zip file archive, the code property specifies the location of - * the .zip file. You must also specify the handler and runtime properties. The code in the deployment package must - * be compatible with the target instruction set architecture of the function (x86-64 or - * arm64). If you do not specify the architecture, then the default value is - * x86-64.

- *

When you create a function, Lambda provisions an instance of the function and its supporting - * resources. If your function connects to a VPC, this process can take a minute or so. During this time, you can't - * invoke or modify the function. The State, StateReason, and StateReasonCode - * fields in the response from GetFunctionConfiguration indicate when the function is ready to - * invoke. For more information, see Lambda function states.

- *

A function has an unpublished version, and can have published versions and aliases. The unpublished version - * changes when you update your function's code and configuration. A published version is a snapshot of your function - * code and configuration that can't be changed. An alias is a named resource that maps to a version, and can be - * changed to map to a different version. Use the Publish parameter to create version 1 of - * your function from its initial configuration.

- *

The other parameters let you configure version-specific and function-level settings. You can modify - * version-specific settings later with UpdateFunctionConfiguration. Function-level settings apply - * to both the unpublished and published versions of the function, and include tags (TagResource) - * and per-function concurrency limits (PutFunctionConcurrency).

- *

You can use code signing if your deployment package is a .zip file archive. To enable code signing for this - * function, specify the ARN of a code-signing configuration. When a user attempts to deploy a code package with - * UpdateFunctionCode, Lambda checks that the code package has a valid signature from - * a trusted publisher. The code-signing configuration includes set of signing profiles, which define the trusted - * publishers for this function.

- *

If another Amazon Web Services account or an Amazon Web Service invokes your function, use AddPermission to grant permission by creating a resource-based Identity and Access Management (IAM) policy. You can grant permissions at the function level, on a version, or on an alias.

- *

To invoke your function directly, use Invoke. To invoke your function in response to events - * in other Amazon Web Services, create an event source mapping (CreateEventSourceMapping), - * or configure a function trigger in the other service. For more information, see Invoking Lambda - * functions.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { LambdaClient, CreateFunctionCommand } from "@aws-sdk/client-lambda"; // ES Modules import - * // const { LambdaClient, CreateFunctionCommand } = require("@aws-sdk/client-lambda"); // CommonJS import - * const client = new LambdaClient(config); - * const input = { // CreateFunctionRequest - * FunctionName: "STRING_VALUE", // required - * Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21", - * Role: "STRING_VALUE", // required - * Handler: "STRING_VALUE", - * Code: { // FunctionCode - * ZipFile: "BLOB_VALUE", - * S3Bucket: "STRING_VALUE", - * S3Key: "STRING_VALUE", - * S3ObjectVersion: "STRING_VALUE", - * ImageUri: "STRING_VALUE", - * }, - * Description: "STRING_VALUE", - * Timeout: Number("int"), - * MemorySize: Number("int"), - * Publish: true || false, - * VpcConfig: { // VpcConfig - * SubnetIds: [ // SubnetIds - * "STRING_VALUE", - * ], - * SecurityGroupIds: [ // SecurityGroupIds - * "STRING_VALUE", - * ], - * Ipv6AllowedForDualStack: true || false, - * }, - * PackageType: "Zip" || "Image", - * DeadLetterConfig: { // DeadLetterConfig - * TargetArn: "STRING_VALUE", - * }, - * Environment: { // Environment - * Variables: { // EnvironmentVariables - * "": "STRING_VALUE", - * }, - * }, - * KMSKeyArn: "STRING_VALUE", - * TracingConfig: { // TracingConfig - * Mode: "Active" || "PassThrough", - * }, - * Tags: { // Tags - * "": "STRING_VALUE", - * }, - * Layers: [ // LayerList - * "STRING_VALUE", - * ], - * FileSystemConfigs: [ // FileSystemConfigList - * { // FileSystemConfig - * Arn: "STRING_VALUE", // required - * LocalMountPath: "STRING_VALUE", // required - * }, - * ], - * ImageConfig: { // ImageConfig - * EntryPoint: [ // StringList - * "STRING_VALUE", - * ], - * Command: [ - * "STRING_VALUE", - * ], - * WorkingDirectory: "STRING_VALUE", - * }, - * CodeSigningConfigArn: "STRING_VALUE", - * Architectures: [ // ArchitecturesList - * "x86_64" || "arm64", - * ], - * EphemeralStorage: { // EphemeralStorage - * Size: Number("int"), // required - * }, - * SnapStart: { // SnapStart - * ApplyOn: "PublishedVersions" || "None", - * }, - * LoggingConfig: { // LoggingConfig - * LogFormat: "JSON" || "Text", - * ApplicationLogLevel: "TRACE" || "DEBUG" || "INFO" || "WARN" || "ERROR" || "FATAL", - * SystemLogLevel: "DEBUG" || "INFO" || "WARN", - * LogGroup: "STRING_VALUE", - * }, - * }; - * const command = new CreateFunctionCommand(input); - * const response = await client.send(command); - * // { // FunctionConfiguration - * // FunctionName: "STRING_VALUE", - * // FunctionArn: "STRING_VALUE", - * // Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21", - * // Role: "STRING_VALUE", - * // Handler: "STRING_VALUE", - * // CodeSize: Number("long"), - * // Description: "STRING_VALUE", - * // Timeout: Number("int"), - * // MemorySize: Number("int"), - * // LastModified: "STRING_VALUE", - * // CodeSha256: "STRING_VALUE", - * // Version: "STRING_VALUE", - * // VpcConfig: { // VpcConfigResponse - * // SubnetIds: [ // SubnetIds - * // "STRING_VALUE", - * // ], - * // SecurityGroupIds: [ // SecurityGroupIds - * // "STRING_VALUE", - * // ], - * // VpcId: "STRING_VALUE", - * // Ipv6AllowedForDualStack: true || false, - * // }, - * // DeadLetterConfig: { // DeadLetterConfig - * // TargetArn: "STRING_VALUE", - * // }, - * // Environment: { // EnvironmentResponse - * // Variables: { // EnvironmentVariables - * // "": "STRING_VALUE", - * // }, - * // Error: { // EnvironmentError - * // ErrorCode: "STRING_VALUE", - * // Message: "STRING_VALUE", - * // }, - * // }, - * // KMSKeyArn: "STRING_VALUE", - * // TracingConfig: { // TracingConfigResponse - * // Mode: "Active" || "PassThrough", - * // }, - * // MasterArn: "STRING_VALUE", - * // RevisionId: "STRING_VALUE", - * // Layers: [ // LayersReferenceList - * // { // Layer - * // Arn: "STRING_VALUE", - * // CodeSize: Number("long"), - * // SigningProfileVersionArn: "STRING_VALUE", - * // SigningJobArn: "STRING_VALUE", - * // }, - * // ], - * // State: "Pending" || "Active" || "Inactive" || "Failed", - * // StateReason: "STRING_VALUE", - * // StateReasonCode: "Idle" || "Creating" || "Restoring" || "EniLimitExceeded" || "InsufficientRolePermissions" || "InvalidConfiguration" || "InternalError" || "SubnetOutOfIPAddresses" || "InvalidSubnet" || "InvalidSecurityGroup" || "ImageDeleted" || "ImageAccessDenied" || "InvalidImage" || "KMSKeyAccessDenied" || "KMSKeyNotFound" || "InvalidStateKMSKey" || "DisabledKMSKey" || "EFSIOError" || "EFSMountConnectivityError" || "EFSMountFailure" || "EFSMountTimeout" || "InvalidRuntime" || "InvalidZipFileException" || "FunctionError", - * // LastUpdateStatus: "Successful" || "Failed" || "InProgress", - * // LastUpdateStatusReason: "STRING_VALUE", - * // LastUpdateStatusReasonCode: "EniLimitExceeded" || "InsufficientRolePermissions" || "InvalidConfiguration" || "InternalError" || "SubnetOutOfIPAddresses" || "InvalidSubnet" || "InvalidSecurityGroup" || "ImageDeleted" || "ImageAccessDenied" || "InvalidImage" || "KMSKeyAccessDenied" || "KMSKeyNotFound" || "InvalidStateKMSKey" || "DisabledKMSKey" || "EFSIOError" || "EFSMountConnectivityError" || "EFSMountFailure" || "EFSMountTimeout" || "InvalidRuntime" || "InvalidZipFileException" || "FunctionError", - * // FileSystemConfigs: [ // FileSystemConfigList - * // { // FileSystemConfig - * // Arn: "STRING_VALUE", // required - * // LocalMountPath: "STRING_VALUE", // required - * // }, - * // ], - * // PackageType: "Zip" || "Image", - * // ImageConfigResponse: { // ImageConfigResponse - * // ImageConfig: { // ImageConfig - * // EntryPoint: [ // StringList - * // "STRING_VALUE", - * // ], - * // Command: [ - * // "STRING_VALUE", - * // ], - * // WorkingDirectory: "STRING_VALUE", - * // }, - * // Error: { // ImageConfigError - * // ErrorCode: "STRING_VALUE", - * // Message: "STRING_VALUE", - * // }, - * // }, - * // SigningProfileVersionArn: "STRING_VALUE", - * // SigningJobArn: "STRING_VALUE", - * // Architectures: [ // ArchitecturesList - * // "x86_64" || "arm64", - * // ], - * // EphemeralStorage: { // EphemeralStorage - * // Size: Number("int"), // required - * // }, - * // SnapStart: { // SnapStartResponse - * // ApplyOn: "PublishedVersions" || "None", - * // OptimizationStatus: "On" || "Off", - * // }, - * // RuntimeVersionConfig: { // RuntimeVersionConfig - * // RuntimeVersionArn: "STRING_VALUE", - * // Error: { // RuntimeVersionError - * // ErrorCode: "STRING_VALUE", - * // Message: "STRING_VALUE", - * // }, - * // }, - * // LoggingConfig: { // LoggingConfig - * // LogFormat: "JSON" || "Text", - * // ApplicationLogLevel: "TRACE" || "DEBUG" || "INFO" || "WARN" || "ERROR" || "FATAL", - * // SystemLogLevel: "DEBUG" || "INFO" || "WARN", - * // LogGroup: "STRING_VALUE", - * // }, - * // }; - * - * ``` - * - * @param CreateFunctionCommandInput - {@link CreateFunctionCommandInput} - * @returns {@link CreateFunctionCommandOutput} - * @see {@link CreateFunctionCommandInput} for command's `input` shape. - * @see {@link CreateFunctionCommandOutput} for command's `response` shape. - * @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape. - * - * @throws {@link CodeSigningConfigNotFoundException} (client fault) - *

The specified code signing configuration does not exist.

- * - * @throws {@link CodeStorageExceededException} (client fault) - *

Your Amazon Web Services account has exceeded its maximum total code size. For more information, see Lambda quotas.

- * - * @throws {@link CodeVerificationFailedException} (client fault) - *

The code signature failed one or more of the validation checks for signature mismatch or expiry, and the code - * signing policy is set to ENFORCE. Lambda blocks the deployment.

- * - * @throws {@link InvalidCodeSignatureException} (client fault) - *

The code signature failed the integrity check. If the integrity check fails, then Lambda blocks - * deployment, even if the code signing policy is set to WARN.

- * - * @throws {@link InvalidParameterValueException} (client fault) - *

One of the parameters in the request is not valid.

- * - * @throws {@link ResourceConflictException} (client fault) - *

The resource already exists, or another operation is in progress.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The resource specified in the request does not exist.

- * - * @throws {@link ServiceException} (server fault) - *

The Lambda service encountered an internal error.

- * - * @throws {@link TooManyRequestsException} (client fault) - *

The request throughput limit was exceeded. For more information, see Lambda quotas.

- * - * @throws {@link LambdaServiceException} - *

Base exception class for all service exceptions from Lambda service.

- * - */ -export declare class CreateFunctionCommand extends $Command { - readonly input: CreateFunctionCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - /** - * @public - */ - constructor(input: CreateFunctionCommandInput); - /** - * @internal - */ - resolveMiddleware(clientStack: MiddlewareStack, configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions): Handler; - /** - * @internal - */ - private serialize; - /** - * @internal - */ - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/commands/CreateFunctionUrlConfigCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/commands/CreateFunctionUrlConfigCommand.d.ts deleted file mode 100644 index 295341a2..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/commands/CreateFunctionUrlConfigCommand.d.ts +++ /dev/null @@ -1,128 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; -import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; -import { CreateFunctionUrlConfigRequest, CreateFunctionUrlConfigResponse } from "../models/models_0"; -/** - * @public - */ -export { __MetadataBearer, $Command }; -/** - * @public - * - * The input for {@link CreateFunctionUrlConfigCommand}. - */ -export interface CreateFunctionUrlConfigCommandInput extends CreateFunctionUrlConfigRequest { -} -/** - * @public - * - * The output of {@link CreateFunctionUrlConfigCommand}. - */ -export interface CreateFunctionUrlConfigCommandOutput extends CreateFunctionUrlConfigResponse, __MetadataBearer { -} -/** - * @public - *

Creates a Lambda function URL with the specified configuration parameters. A function URL is - * a dedicated HTTP(S) endpoint that you can use to invoke your function.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { LambdaClient, CreateFunctionUrlConfigCommand } from "@aws-sdk/client-lambda"; // ES Modules import - * // const { LambdaClient, CreateFunctionUrlConfigCommand } = require("@aws-sdk/client-lambda"); // CommonJS import - * const client = new LambdaClient(config); - * const input = { // CreateFunctionUrlConfigRequest - * FunctionName: "STRING_VALUE", // required - * Qualifier: "STRING_VALUE", - * AuthType: "NONE" || "AWS_IAM", // required - * Cors: { // Cors - * AllowCredentials: true || false, - * AllowHeaders: [ // HeadersList - * "STRING_VALUE", - * ], - * AllowMethods: [ // AllowMethodsList - * "STRING_VALUE", - * ], - * AllowOrigins: [ // AllowOriginsList - * "STRING_VALUE", - * ], - * ExposeHeaders: [ - * "STRING_VALUE", - * ], - * MaxAge: Number("int"), - * }, - * InvokeMode: "BUFFERED" || "RESPONSE_STREAM", - * }; - * const command = new CreateFunctionUrlConfigCommand(input); - * const response = await client.send(command); - * // { // CreateFunctionUrlConfigResponse - * // FunctionUrl: "STRING_VALUE", // required - * // FunctionArn: "STRING_VALUE", // required - * // AuthType: "NONE" || "AWS_IAM", // required - * // Cors: { // Cors - * // AllowCredentials: true || false, - * // AllowHeaders: [ // HeadersList - * // "STRING_VALUE", - * // ], - * // AllowMethods: [ // AllowMethodsList - * // "STRING_VALUE", - * // ], - * // AllowOrigins: [ // AllowOriginsList - * // "STRING_VALUE", - * // ], - * // ExposeHeaders: [ - * // "STRING_VALUE", - * // ], - * // MaxAge: Number("int"), - * // }, - * // CreationTime: "STRING_VALUE", // required - * // InvokeMode: "BUFFERED" || "RESPONSE_STREAM", - * // }; - * - * ``` - * - * @param CreateFunctionUrlConfigCommandInput - {@link CreateFunctionUrlConfigCommandInput} - * @returns {@link CreateFunctionUrlConfigCommandOutput} - * @see {@link CreateFunctionUrlConfigCommandInput} for command's `input` shape. - * @see {@link CreateFunctionUrlConfigCommandOutput} for command's `response` shape. - * @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape. - * - * @throws {@link InvalidParameterValueException} (client fault) - *

One of the parameters in the request is not valid.

- * - * @throws {@link ResourceConflictException} (client fault) - *

The resource already exists, or another operation is in progress.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The resource specified in the request does not exist.

- * - * @throws {@link ServiceException} (server fault) - *

The Lambda service encountered an internal error.

- * - * @throws {@link TooManyRequestsException} (client fault) - *

The request throughput limit was exceeded. For more information, see Lambda quotas.

- * - * @throws {@link LambdaServiceException} - *

Base exception class for all service exceptions from Lambda service.

- * - */ -export declare class CreateFunctionUrlConfigCommand extends $Command { - readonly input: CreateFunctionUrlConfigCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - /** - * @public - */ - constructor(input: CreateFunctionUrlConfigCommandInput); - /** - * @internal - */ - resolveMiddleware(clientStack: MiddlewareStack, configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions): Handler; - /** - * @internal - */ - private serialize; - /** - * @internal - */ - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/commands/DeleteAliasCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/commands/DeleteAliasCommand.d.ts deleted file mode 100644 index 4b309cab..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/commands/DeleteAliasCommand.d.ts +++ /dev/null @@ -1,84 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; -import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; -import { DeleteAliasRequest } from "../models/models_0"; -/** - * @public - */ -export { __MetadataBearer, $Command }; -/** - * @public - * - * The input for {@link DeleteAliasCommand}. - */ -export interface DeleteAliasCommandInput extends DeleteAliasRequest { -} -/** - * @public - * - * The output of {@link DeleteAliasCommand}. - */ -export interface DeleteAliasCommandOutput extends __MetadataBearer { -} -/** - * @public - *

Deletes a Lambda function alias.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { LambdaClient, DeleteAliasCommand } from "@aws-sdk/client-lambda"; // ES Modules import - * // const { LambdaClient, DeleteAliasCommand } = require("@aws-sdk/client-lambda"); // CommonJS import - * const client = new LambdaClient(config); - * const input = { // DeleteAliasRequest - * FunctionName: "STRING_VALUE", // required - * Name: "STRING_VALUE", // required - * }; - * const command = new DeleteAliasCommand(input); - * const response = await client.send(command); - * // {}; - * - * ``` - * - * @param DeleteAliasCommandInput - {@link DeleteAliasCommandInput} - * @returns {@link DeleteAliasCommandOutput} - * @see {@link DeleteAliasCommandInput} for command's `input` shape. - * @see {@link DeleteAliasCommandOutput} for command's `response` shape. - * @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape. - * - * @throws {@link InvalidParameterValueException} (client fault) - *

One of the parameters in the request is not valid.

- * - * @throws {@link ResourceConflictException} (client fault) - *

The resource already exists, or another operation is in progress.

- * - * @throws {@link ServiceException} (server fault) - *

The Lambda service encountered an internal error.

- * - * @throws {@link TooManyRequestsException} (client fault) - *

The request throughput limit was exceeded. For more information, see Lambda quotas.

- * - * @throws {@link LambdaServiceException} - *

Base exception class for all service exceptions from Lambda service.

- * - */ -export declare class DeleteAliasCommand extends $Command { - readonly input: DeleteAliasCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - /** - * @public - */ - constructor(input: DeleteAliasCommandInput); - /** - * @internal - */ - resolveMiddleware(clientStack: MiddlewareStack, configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions): Handler; - /** - * @internal - */ - private serialize; - /** - * @internal - */ - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/commands/DeleteCodeSigningConfigCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/commands/DeleteCodeSigningConfigCommand.d.ts deleted file mode 100644 index 62cd2795..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/commands/DeleteCodeSigningConfigCommand.d.ts +++ /dev/null @@ -1,84 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; -import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; -import { DeleteCodeSigningConfigRequest, DeleteCodeSigningConfigResponse } from "../models/models_0"; -/** - * @public - */ -export { __MetadataBearer, $Command }; -/** - * @public - * - * The input for {@link DeleteCodeSigningConfigCommand}. - */ -export interface DeleteCodeSigningConfigCommandInput extends DeleteCodeSigningConfigRequest { -} -/** - * @public - * - * The output of {@link DeleteCodeSigningConfigCommand}. - */ -export interface DeleteCodeSigningConfigCommandOutput extends DeleteCodeSigningConfigResponse, __MetadataBearer { -} -/** - * @public - *

Deletes the code signing configuration. You can delete the code signing configuration only if no function is - * using it.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { LambdaClient, DeleteCodeSigningConfigCommand } from "@aws-sdk/client-lambda"; // ES Modules import - * // const { LambdaClient, DeleteCodeSigningConfigCommand } = require("@aws-sdk/client-lambda"); // CommonJS import - * const client = new LambdaClient(config); - * const input = { // DeleteCodeSigningConfigRequest - * CodeSigningConfigArn: "STRING_VALUE", // required - * }; - * const command = new DeleteCodeSigningConfigCommand(input); - * const response = await client.send(command); - * // {}; - * - * ``` - * - * @param DeleteCodeSigningConfigCommandInput - {@link DeleteCodeSigningConfigCommandInput} - * @returns {@link DeleteCodeSigningConfigCommandOutput} - * @see {@link DeleteCodeSigningConfigCommandInput} for command's `input` shape. - * @see {@link DeleteCodeSigningConfigCommandOutput} for command's `response` shape. - * @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape. - * - * @throws {@link InvalidParameterValueException} (client fault) - *

One of the parameters in the request is not valid.

- * - * @throws {@link ResourceConflictException} (client fault) - *

The resource already exists, or another operation is in progress.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The resource specified in the request does not exist.

- * - * @throws {@link ServiceException} (server fault) - *

The Lambda service encountered an internal error.

- * - * @throws {@link LambdaServiceException} - *

Base exception class for all service exceptions from Lambda service.

- * - */ -export declare class DeleteCodeSigningConfigCommand extends $Command { - readonly input: DeleteCodeSigningConfigCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - /** - * @public - */ - constructor(input: DeleteCodeSigningConfigCommandInput); - /** - * @internal - */ - resolveMiddleware(clientStack: MiddlewareStack, configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions): Handler; - /** - * @internal - */ - private serialize; - /** - * @internal - */ - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/commands/DeleteEventSourceMappingCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/commands/DeleteEventSourceMappingCommand.d.ts deleted file mode 100644 index 7ef942ab..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/commands/DeleteEventSourceMappingCommand.d.ts +++ /dev/null @@ -1,161 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; -import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; -import { DeleteEventSourceMappingRequest, EventSourceMappingConfiguration } from "../models/models_0"; -/** - * @public - */ -export { __MetadataBearer, $Command }; -/** - * @public - * - * The input for {@link DeleteEventSourceMappingCommand}. - */ -export interface DeleteEventSourceMappingCommandInput extends DeleteEventSourceMappingRequest { -} -/** - * @public - * - * The output of {@link DeleteEventSourceMappingCommand}. - */ -export interface DeleteEventSourceMappingCommandOutput extends EventSourceMappingConfiguration, __MetadataBearer { -} -/** - * @public - *

Deletes an event source - * mapping. You can get the identifier of a mapping from the output of ListEventSourceMappings.

- *

When you delete an event source mapping, it enters a Deleting state and might not be completely - * deleted for several seconds.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { LambdaClient, DeleteEventSourceMappingCommand } from "@aws-sdk/client-lambda"; // ES Modules import - * // const { LambdaClient, DeleteEventSourceMappingCommand } = require("@aws-sdk/client-lambda"); // CommonJS import - * const client = new LambdaClient(config); - * const input = { // DeleteEventSourceMappingRequest - * UUID: "STRING_VALUE", // required - * }; - * const command = new DeleteEventSourceMappingCommand(input); - * const response = await client.send(command); - * // { // EventSourceMappingConfiguration - * // UUID: "STRING_VALUE", - * // StartingPosition: "TRIM_HORIZON" || "LATEST" || "AT_TIMESTAMP", - * // StartingPositionTimestamp: new Date("TIMESTAMP"), - * // BatchSize: Number("int"), - * // MaximumBatchingWindowInSeconds: Number("int"), - * // ParallelizationFactor: Number("int"), - * // EventSourceArn: "STRING_VALUE", - * // FilterCriteria: { // FilterCriteria - * // Filters: [ // FilterList - * // { // Filter - * // Pattern: "STRING_VALUE", - * // }, - * // ], - * // }, - * // FunctionArn: "STRING_VALUE", - * // LastModified: new Date("TIMESTAMP"), - * // LastProcessingResult: "STRING_VALUE", - * // State: "STRING_VALUE", - * // StateTransitionReason: "STRING_VALUE", - * // DestinationConfig: { // DestinationConfig - * // OnSuccess: { // OnSuccess - * // Destination: "STRING_VALUE", - * // }, - * // OnFailure: { // OnFailure - * // Destination: "STRING_VALUE", - * // }, - * // }, - * // Topics: [ // Topics - * // "STRING_VALUE", - * // ], - * // Queues: [ // Queues - * // "STRING_VALUE", - * // ], - * // SourceAccessConfigurations: [ // SourceAccessConfigurations - * // { // SourceAccessConfiguration - * // Type: "BASIC_AUTH" || "VPC_SUBNET" || "VPC_SECURITY_GROUP" || "SASL_SCRAM_512_AUTH" || "SASL_SCRAM_256_AUTH" || "VIRTUAL_HOST" || "CLIENT_CERTIFICATE_TLS_AUTH" || "SERVER_ROOT_CA_CERTIFICATE", - * // URI: "STRING_VALUE", - * // }, - * // ], - * // SelfManagedEventSource: { // SelfManagedEventSource - * // Endpoints: { // Endpoints - * // "": [ // EndpointLists - * // "STRING_VALUE", - * // ], - * // }, - * // }, - * // MaximumRecordAgeInSeconds: Number("int"), - * // BisectBatchOnFunctionError: true || false, - * // MaximumRetryAttempts: Number("int"), - * // TumblingWindowInSeconds: Number("int"), - * // FunctionResponseTypes: [ // FunctionResponseTypeList - * // "ReportBatchItemFailures", - * // ], - * // AmazonManagedKafkaEventSourceConfig: { // AmazonManagedKafkaEventSourceConfig - * // ConsumerGroupId: "STRING_VALUE", - * // }, - * // SelfManagedKafkaEventSourceConfig: { // SelfManagedKafkaEventSourceConfig - * // ConsumerGroupId: "STRING_VALUE", - * // }, - * // ScalingConfig: { // ScalingConfig - * // MaximumConcurrency: Number("int"), - * // }, - * // DocumentDBEventSourceConfig: { // DocumentDBEventSourceConfig - * // DatabaseName: "STRING_VALUE", - * // CollectionName: "STRING_VALUE", - * // FullDocument: "UpdateLookup" || "Default", - * // }, - * // }; - * - * ``` - * - * @param DeleteEventSourceMappingCommandInput - {@link DeleteEventSourceMappingCommandInput} - * @returns {@link DeleteEventSourceMappingCommandOutput} - * @see {@link DeleteEventSourceMappingCommandInput} for command's `input` shape. - * @see {@link DeleteEventSourceMappingCommandOutput} for command's `response` shape. - * @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape. - * - * @throws {@link InvalidParameterValueException} (client fault) - *

One of the parameters in the request is not valid.

- * - * @throws {@link ResourceConflictException} (client fault) - *

The resource already exists, or another operation is in progress.

- * - * @throws {@link ResourceInUseException} (client fault) - *

The operation conflicts with the resource's availability. For example, you tried to update an event source - * mapping in the CREATING state, or you tried to delete an event source mapping currently UPDATING.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The resource specified in the request does not exist.

- * - * @throws {@link ServiceException} (server fault) - *

The Lambda service encountered an internal error.

- * - * @throws {@link TooManyRequestsException} (client fault) - *

The request throughput limit was exceeded. For more information, see Lambda quotas.

- * - * @throws {@link LambdaServiceException} - *

Base exception class for all service exceptions from Lambda service.

- * - */ -export declare class DeleteEventSourceMappingCommand extends $Command { - readonly input: DeleteEventSourceMappingCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - /** - * @public - */ - constructor(input: DeleteEventSourceMappingCommandInput); - /** - * @internal - */ - resolveMiddleware(clientStack: MiddlewareStack, configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions): Handler; - /** - * @internal - */ - private serialize; - /** - * @internal - */ - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/commands/DeleteFunctionCodeSigningConfigCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/commands/DeleteFunctionCodeSigningConfigCommand.d.ts deleted file mode 100644 index bbaa8c0f..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/commands/DeleteFunctionCodeSigningConfigCommand.d.ts +++ /dev/null @@ -1,89 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; -import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; -import { DeleteFunctionCodeSigningConfigRequest } from "../models/models_0"; -/** - * @public - */ -export { __MetadataBearer, $Command }; -/** - * @public - * - * The input for {@link DeleteFunctionCodeSigningConfigCommand}. - */ -export interface DeleteFunctionCodeSigningConfigCommandInput extends DeleteFunctionCodeSigningConfigRequest { -} -/** - * @public - * - * The output of {@link DeleteFunctionCodeSigningConfigCommand}. - */ -export interface DeleteFunctionCodeSigningConfigCommandOutput extends __MetadataBearer { -} -/** - * @public - *

Removes the code signing configuration from the function.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { LambdaClient, DeleteFunctionCodeSigningConfigCommand } from "@aws-sdk/client-lambda"; // ES Modules import - * // const { LambdaClient, DeleteFunctionCodeSigningConfigCommand } = require("@aws-sdk/client-lambda"); // CommonJS import - * const client = new LambdaClient(config); - * const input = { // DeleteFunctionCodeSigningConfigRequest - * FunctionName: "STRING_VALUE", // required - * }; - * const command = new DeleteFunctionCodeSigningConfigCommand(input); - * const response = await client.send(command); - * // {}; - * - * ``` - * - * @param DeleteFunctionCodeSigningConfigCommandInput - {@link DeleteFunctionCodeSigningConfigCommandInput} - * @returns {@link DeleteFunctionCodeSigningConfigCommandOutput} - * @see {@link DeleteFunctionCodeSigningConfigCommandInput} for command's `input` shape. - * @see {@link DeleteFunctionCodeSigningConfigCommandOutput} for command's `response` shape. - * @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape. - * - * @throws {@link CodeSigningConfigNotFoundException} (client fault) - *

The specified code signing configuration does not exist.

- * - * @throws {@link InvalidParameterValueException} (client fault) - *

One of the parameters in the request is not valid.

- * - * @throws {@link ResourceConflictException} (client fault) - *

The resource already exists, or another operation is in progress.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The resource specified in the request does not exist.

- * - * @throws {@link ServiceException} (server fault) - *

The Lambda service encountered an internal error.

- * - * @throws {@link TooManyRequestsException} (client fault) - *

The request throughput limit was exceeded. For more information, see Lambda quotas.

- * - * @throws {@link LambdaServiceException} - *

Base exception class for all service exceptions from Lambda service.

- * - */ -export declare class DeleteFunctionCodeSigningConfigCommand extends $Command { - readonly input: DeleteFunctionCodeSigningConfigCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - /** - * @public - */ - constructor(input: DeleteFunctionCodeSigningConfigCommandInput); - /** - * @internal - */ - resolveMiddleware(clientStack: MiddlewareStack, configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions): Handler; - /** - * @internal - */ - private serialize; - /** - * @internal - */ - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/commands/DeleteFunctionCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/commands/DeleteFunctionCommand.d.ts deleted file mode 100644 index 2ea0e97e..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/commands/DeleteFunctionCommand.d.ts +++ /dev/null @@ -1,91 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; -import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; -import { DeleteFunctionRequest } from "../models/models_0"; -/** - * @public - */ -export { __MetadataBearer, $Command }; -/** - * @public - * - * The input for {@link DeleteFunctionCommand}. - */ -export interface DeleteFunctionCommandInput extends DeleteFunctionRequest { -} -/** - * @public - * - * The output of {@link DeleteFunctionCommand}. - */ -export interface DeleteFunctionCommandOutput extends __MetadataBearer { -} -/** - * @public - *

Deletes a Lambda function. To delete a specific function version, use the Qualifier parameter. - * Otherwise, all versions and aliases are deleted. This doesn't require the user to have explicit - * permissions for DeleteAlias.

- *

To delete Lambda event source mappings that invoke a function, use DeleteEventSourceMapping. For Amazon Web Services and resources that invoke your function - * directly, delete the trigger in the service where you originally configured it.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { LambdaClient, DeleteFunctionCommand } from "@aws-sdk/client-lambda"; // ES Modules import - * // const { LambdaClient, DeleteFunctionCommand } = require("@aws-sdk/client-lambda"); // CommonJS import - * const client = new LambdaClient(config); - * const input = { // DeleteFunctionRequest - * FunctionName: "STRING_VALUE", // required - * Qualifier: "STRING_VALUE", - * }; - * const command = new DeleteFunctionCommand(input); - * const response = await client.send(command); - * // {}; - * - * ``` - * - * @param DeleteFunctionCommandInput - {@link DeleteFunctionCommandInput} - * @returns {@link DeleteFunctionCommandOutput} - * @see {@link DeleteFunctionCommandInput} for command's `input` shape. - * @see {@link DeleteFunctionCommandOutput} for command's `response` shape. - * @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape. - * - * @throws {@link InvalidParameterValueException} (client fault) - *

One of the parameters in the request is not valid.

- * - * @throws {@link ResourceConflictException} (client fault) - *

The resource already exists, or another operation is in progress.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The resource specified in the request does not exist.

- * - * @throws {@link ServiceException} (server fault) - *

The Lambda service encountered an internal error.

- * - * @throws {@link TooManyRequestsException} (client fault) - *

The request throughput limit was exceeded. For more information, see Lambda quotas.

- * - * @throws {@link LambdaServiceException} - *

Base exception class for all service exceptions from Lambda service.

- * - */ -export declare class DeleteFunctionCommand extends $Command { - readonly input: DeleteFunctionCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - /** - * @public - */ - constructor(input: DeleteFunctionCommandInput); - /** - * @internal - */ - resolveMiddleware(clientStack: MiddlewareStack, configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions): Handler; - /** - * @internal - */ - private serialize; - /** - * @internal - */ - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/commands/DeleteFunctionConcurrencyCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/commands/DeleteFunctionConcurrencyCommand.d.ts deleted file mode 100644 index 659c2791..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/commands/DeleteFunctionConcurrencyCommand.d.ts +++ /dev/null @@ -1,86 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; -import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; -import { DeleteFunctionConcurrencyRequest } from "../models/models_0"; -/** - * @public - */ -export { __MetadataBearer, $Command }; -/** - * @public - * - * The input for {@link DeleteFunctionConcurrencyCommand}. - */ -export interface DeleteFunctionConcurrencyCommandInput extends DeleteFunctionConcurrencyRequest { -} -/** - * @public - * - * The output of {@link DeleteFunctionConcurrencyCommand}. - */ -export interface DeleteFunctionConcurrencyCommandOutput extends __MetadataBearer { -} -/** - * @public - *

Removes a concurrent execution limit from a function.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { LambdaClient, DeleteFunctionConcurrencyCommand } from "@aws-sdk/client-lambda"; // ES Modules import - * // const { LambdaClient, DeleteFunctionConcurrencyCommand } = require("@aws-sdk/client-lambda"); // CommonJS import - * const client = new LambdaClient(config); - * const input = { // DeleteFunctionConcurrencyRequest - * FunctionName: "STRING_VALUE", // required - * }; - * const command = new DeleteFunctionConcurrencyCommand(input); - * const response = await client.send(command); - * // {}; - * - * ``` - * - * @param DeleteFunctionConcurrencyCommandInput - {@link DeleteFunctionConcurrencyCommandInput} - * @returns {@link DeleteFunctionConcurrencyCommandOutput} - * @see {@link DeleteFunctionConcurrencyCommandInput} for command's `input` shape. - * @see {@link DeleteFunctionConcurrencyCommandOutput} for command's `response` shape. - * @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape. - * - * @throws {@link InvalidParameterValueException} (client fault) - *

One of the parameters in the request is not valid.

- * - * @throws {@link ResourceConflictException} (client fault) - *

The resource already exists, or another operation is in progress.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The resource specified in the request does not exist.

- * - * @throws {@link ServiceException} (server fault) - *

The Lambda service encountered an internal error.

- * - * @throws {@link TooManyRequestsException} (client fault) - *

The request throughput limit was exceeded. For more information, see Lambda quotas.

- * - * @throws {@link LambdaServiceException} - *

Base exception class for all service exceptions from Lambda service.

- * - */ -export declare class DeleteFunctionConcurrencyCommand extends $Command { - readonly input: DeleteFunctionConcurrencyCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - /** - * @public - */ - constructor(input: DeleteFunctionConcurrencyCommandInput); - /** - * @internal - */ - resolveMiddleware(clientStack: MiddlewareStack, configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions): Handler; - /** - * @internal - */ - private serialize; - /** - * @internal - */ - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/commands/DeleteFunctionEventInvokeConfigCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/commands/DeleteFunctionEventInvokeConfigCommand.d.ts deleted file mode 100644 index e6119fd1..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/commands/DeleteFunctionEventInvokeConfigCommand.d.ts +++ /dev/null @@ -1,88 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; -import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; -import { DeleteFunctionEventInvokeConfigRequest } from "../models/models_0"; -/** - * @public - */ -export { __MetadataBearer, $Command }; -/** - * @public - * - * The input for {@link DeleteFunctionEventInvokeConfigCommand}. - */ -export interface DeleteFunctionEventInvokeConfigCommandInput extends DeleteFunctionEventInvokeConfigRequest { -} -/** - * @public - * - * The output of {@link DeleteFunctionEventInvokeConfigCommand}. - */ -export interface DeleteFunctionEventInvokeConfigCommandOutput extends __MetadataBearer { -} -/** - * @public - *

Deletes the configuration for asynchronous invocation for a function, version, or alias.

- *

To configure options for asynchronous invocation, use PutFunctionEventInvokeConfig.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { LambdaClient, DeleteFunctionEventInvokeConfigCommand } from "@aws-sdk/client-lambda"; // ES Modules import - * // const { LambdaClient, DeleteFunctionEventInvokeConfigCommand } = require("@aws-sdk/client-lambda"); // CommonJS import - * const client = new LambdaClient(config); - * const input = { // DeleteFunctionEventInvokeConfigRequest - * FunctionName: "STRING_VALUE", // required - * Qualifier: "STRING_VALUE", - * }; - * const command = new DeleteFunctionEventInvokeConfigCommand(input); - * const response = await client.send(command); - * // {}; - * - * ``` - * - * @param DeleteFunctionEventInvokeConfigCommandInput - {@link DeleteFunctionEventInvokeConfigCommandInput} - * @returns {@link DeleteFunctionEventInvokeConfigCommandOutput} - * @see {@link DeleteFunctionEventInvokeConfigCommandInput} for command's `input` shape. - * @see {@link DeleteFunctionEventInvokeConfigCommandOutput} for command's `response` shape. - * @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape. - * - * @throws {@link InvalidParameterValueException} (client fault) - *

One of the parameters in the request is not valid.

- * - * @throws {@link ResourceConflictException} (client fault) - *

The resource already exists, or another operation is in progress.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The resource specified in the request does not exist.

- * - * @throws {@link ServiceException} (server fault) - *

The Lambda service encountered an internal error.

- * - * @throws {@link TooManyRequestsException} (client fault) - *

The request throughput limit was exceeded. For more information, see Lambda quotas.

- * - * @throws {@link LambdaServiceException} - *

Base exception class for all service exceptions from Lambda service.

- * - */ -export declare class DeleteFunctionEventInvokeConfigCommand extends $Command { - readonly input: DeleteFunctionEventInvokeConfigCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - /** - * @public - */ - constructor(input: DeleteFunctionEventInvokeConfigCommandInput); - /** - * @internal - */ - resolveMiddleware(clientStack: MiddlewareStack, configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions): Handler; - /** - * @internal - */ - private serialize; - /** - * @internal - */ - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/commands/DeleteFunctionUrlConfigCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/commands/DeleteFunctionUrlConfigCommand.d.ts deleted file mode 100644 index dbf0be7d..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/commands/DeleteFunctionUrlConfigCommand.d.ts +++ /dev/null @@ -1,85 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; -import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; -import { DeleteFunctionUrlConfigRequest } from "../models/models_0"; -/** - * @public - */ -export { __MetadataBearer, $Command }; -/** - * @public - * - * The input for {@link DeleteFunctionUrlConfigCommand}. - */ -export interface DeleteFunctionUrlConfigCommandInput extends DeleteFunctionUrlConfigRequest { -} -/** - * @public - * - * The output of {@link DeleteFunctionUrlConfigCommand}. - */ -export interface DeleteFunctionUrlConfigCommandOutput extends __MetadataBearer { -} -/** - * @public - *

Deletes a Lambda function URL. When you delete a function URL, you - * can't recover it. Creating a new function URL results in a different URL address.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { LambdaClient, DeleteFunctionUrlConfigCommand } from "@aws-sdk/client-lambda"; // ES Modules import - * // const { LambdaClient, DeleteFunctionUrlConfigCommand } = require("@aws-sdk/client-lambda"); // CommonJS import - * const client = new LambdaClient(config); - * const input = { // DeleteFunctionUrlConfigRequest - * FunctionName: "STRING_VALUE", // required - * Qualifier: "STRING_VALUE", - * }; - * const command = new DeleteFunctionUrlConfigCommand(input); - * const response = await client.send(command); - * // {}; - * - * ``` - * - * @param DeleteFunctionUrlConfigCommandInput - {@link DeleteFunctionUrlConfigCommandInput} - * @returns {@link DeleteFunctionUrlConfigCommandOutput} - * @see {@link DeleteFunctionUrlConfigCommandInput} for command's `input` shape. - * @see {@link DeleteFunctionUrlConfigCommandOutput} for command's `response` shape. - * @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape. - * - * @throws {@link ResourceConflictException} (client fault) - *

The resource already exists, or another operation is in progress.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The resource specified in the request does not exist.

- * - * @throws {@link ServiceException} (server fault) - *

The Lambda service encountered an internal error.

- * - * @throws {@link TooManyRequestsException} (client fault) - *

The request throughput limit was exceeded. For more information, see Lambda quotas.

- * - * @throws {@link LambdaServiceException} - *

Base exception class for all service exceptions from Lambda service.

- * - */ -export declare class DeleteFunctionUrlConfigCommand extends $Command { - readonly input: DeleteFunctionUrlConfigCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - /** - * @public - */ - constructor(input: DeleteFunctionUrlConfigCommandInput); - /** - * @internal - */ - resolveMiddleware(clientStack: MiddlewareStack, configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions): Handler; - /** - * @internal - */ - private serialize; - /** - * @internal - */ - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/commands/DeleteLayerVersionCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/commands/DeleteLayerVersionCommand.d.ts deleted file mode 100644 index e8895fd7..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/commands/DeleteLayerVersionCommand.d.ts +++ /dev/null @@ -1,80 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; -import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; -import { DeleteLayerVersionRequest } from "../models/models_0"; -/** - * @public - */ -export { __MetadataBearer, $Command }; -/** - * @public - * - * The input for {@link DeleteLayerVersionCommand}. - */ -export interface DeleteLayerVersionCommandInput extends DeleteLayerVersionRequest { -} -/** - * @public - * - * The output of {@link DeleteLayerVersionCommand}. - */ -export interface DeleteLayerVersionCommandOutput extends __MetadataBearer { -} -/** - * @public - *

Deletes a version of an Lambda - * layer. Deleted versions can no longer be viewed or added to functions. To avoid - * breaking functions, a copy of the version remains in Lambda until no functions refer to it.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { LambdaClient, DeleteLayerVersionCommand } from "@aws-sdk/client-lambda"; // ES Modules import - * // const { LambdaClient, DeleteLayerVersionCommand } = require("@aws-sdk/client-lambda"); // CommonJS import - * const client = new LambdaClient(config); - * const input = { // DeleteLayerVersionRequest - * LayerName: "STRING_VALUE", // required - * VersionNumber: Number("long"), // required - * }; - * const command = new DeleteLayerVersionCommand(input); - * const response = await client.send(command); - * // {}; - * - * ``` - * - * @param DeleteLayerVersionCommandInput - {@link DeleteLayerVersionCommandInput} - * @returns {@link DeleteLayerVersionCommandOutput} - * @see {@link DeleteLayerVersionCommandInput} for command's `input` shape. - * @see {@link DeleteLayerVersionCommandOutput} for command's `response` shape. - * @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape. - * - * @throws {@link ServiceException} (server fault) - *

The Lambda service encountered an internal error.

- * - * @throws {@link TooManyRequestsException} (client fault) - *

The request throughput limit was exceeded. For more information, see Lambda quotas.

- * - * @throws {@link LambdaServiceException} - *

Base exception class for all service exceptions from Lambda service.

- * - */ -export declare class DeleteLayerVersionCommand extends $Command { - readonly input: DeleteLayerVersionCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - /** - * @public - */ - constructor(input: DeleteLayerVersionCommandInput); - /** - * @internal - */ - resolveMiddleware(clientStack: MiddlewareStack, configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions): Handler; - /** - * @internal - */ - private serialize; - /** - * @internal - */ - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/commands/DeleteProvisionedConcurrencyConfigCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/commands/DeleteProvisionedConcurrencyConfigCommand.d.ts deleted file mode 100644 index 0a0cfd74..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/commands/DeleteProvisionedConcurrencyConfigCommand.d.ts +++ /dev/null @@ -1,87 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; -import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; -import { DeleteProvisionedConcurrencyConfigRequest } from "../models/models_0"; -/** - * @public - */ -export { __MetadataBearer, $Command }; -/** - * @public - * - * The input for {@link DeleteProvisionedConcurrencyConfigCommand}. - */ -export interface DeleteProvisionedConcurrencyConfigCommandInput extends DeleteProvisionedConcurrencyConfigRequest { -} -/** - * @public - * - * The output of {@link DeleteProvisionedConcurrencyConfigCommand}. - */ -export interface DeleteProvisionedConcurrencyConfigCommandOutput extends __MetadataBearer { -} -/** - * @public - *

Deletes the provisioned concurrency configuration for a function.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { LambdaClient, DeleteProvisionedConcurrencyConfigCommand } from "@aws-sdk/client-lambda"; // ES Modules import - * // const { LambdaClient, DeleteProvisionedConcurrencyConfigCommand } = require("@aws-sdk/client-lambda"); // CommonJS import - * const client = new LambdaClient(config); - * const input = { // DeleteProvisionedConcurrencyConfigRequest - * FunctionName: "STRING_VALUE", // required - * Qualifier: "STRING_VALUE", // required - * }; - * const command = new DeleteProvisionedConcurrencyConfigCommand(input); - * const response = await client.send(command); - * // {}; - * - * ``` - * - * @param DeleteProvisionedConcurrencyConfigCommandInput - {@link DeleteProvisionedConcurrencyConfigCommandInput} - * @returns {@link DeleteProvisionedConcurrencyConfigCommandOutput} - * @see {@link DeleteProvisionedConcurrencyConfigCommandInput} for command's `input` shape. - * @see {@link DeleteProvisionedConcurrencyConfigCommandOutput} for command's `response` shape. - * @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape. - * - * @throws {@link InvalidParameterValueException} (client fault) - *

One of the parameters in the request is not valid.

- * - * @throws {@link ResourceConflictException} (client fault) - *

The resource already exists, or another operation is in progress.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The resource specified in the request does not exist.

- * - * @throws {@link ServiceException} (server fault) - *

The Lambda service encountered an internal error.

- * - * @throws {@link TooManyRequestsException} (client fault) - *

The request throughput limit was exceeded. For more information, see Lambda quotas.

- * - * @throws {@link LambdaServiceException} - *

Base exception class for all service exceptions from Lambda service.

- * - */ -export declare class DeleteProvisionedConcurrencyConfigCommand extends $Command { - readonly input: DeleteProvisionedConcurrencyConfigCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - /** - * @public - */ - constructor(input: DeleteProvisionedConcurrencyConfigCommandInput); - /** - * @internal - */ - resolveMiddleware(clientStack: MiddlewareStack, configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions): Handler; - /** - * @internal - */ - private serialize; - /** - * @internal - */ - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetAccountSettingsCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetAccountSettingsCommand.d.ts deleted file mode 100644 index 70b525c9..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetAccountSettingsCommand.d.ts +++ /dev/null @@ -1,87 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; -import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; -import { GetAccountSettingsRequest, GetAccountSettingsResponse } from "../models/models_0"; -/** - * @public - */ -export { __MetadataBearer, $Command }; -/** - * @public - * - * The input for {@link GetAccountSettingsCommand}. - */ -export interface GetAccountSettingsCommandInput extends GetAccountSettingsRequest { -} -/** - * @public - * - * The output of {@link GetAccountSettingsCommand}. - */ -export interface GetAccountSettingsCommandOutput extends GetAccountSettingsResponse, __MetadataBearer { -} -/** - * @public - *

Retrieves details about your account's limits and usage in an Amazon Web Services Region.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { LambdaClient, GetAccountSettingsCommand } from "@aws-sdk/client-lambda"; // ES Modules import - * // const { LambdaClient, GetAccountSettingsCommand } = require("@aws-sdk/client-lambda"); // CommonJS import - * const client = new LambdaClient(config); - * const input = {}; - * const command = new GetAccountSettingsCommand(input); - * const response = await client.send(command); - * // { // GetAccountSettingsResponse - * // AccountLimit: { // AccountLimit - * // TotalCodeSize: Number("long"), - * // CodeSizeUnzipped: Number("long"), - * // CodeSizeZipped: Number("long"), - * // ConcurrentExecutions: Number("int"), - * // UnreservedConcurrentExecutions: Number("int"), - * // }, - * // AccountUsage: { // AccountUsage - * // TotalCodeSize: Number("long"), - * // FunctionCount: Number("long"), - * // }, - * // }; - * - * ``` - * - * @param GetAccountSettingsCommandInput - {@link GetAccountSettingsCommandInput} - * @returns {@link GetAccountSettingsCommandOutput} - * @see {@link GetAccountSettingsCommandInput} for command's `input` shape. - * @see {@link GetAccountSettingsCommandOutput} for command's `response` shape. - * @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape. - * - * @throws {@link ServiceException} (server fault) - *

The Lambda service encountered an internal error.

- * - * @throws {@link TooManyRequestsException} (client fault) - *

The request throughput limit was exceeded. For more information, see Lambda quotas.

- * - * @throws {@link LambdaServiceException} - *

Base exception class for all service exceptions from Lambda service.

- * - */ -export declare class GetAccountSettingsCommand extends $Command { - readonly input: GetAccountSettingsCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - /** - * @public - */ - constructor(input: GetAccountSettingsCommandInput); - /** - * @internal - */ - resolveMiddleware(clientStack: MiddlewareStack, configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions): Handler; - /** - * @internal - */ - private serialize; - /** - * @internal - */ - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetAliasCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetAliasCommand.d.ts deleted file mode 100644 index 092fc26f..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetAliasCommand.d.ts +++ /dev/null @@ -1,95 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; -import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; -import { AliasConfiguration, GetAliasRequest } from "../models/models_0"; -/** - * @public - */ -export { __MetadataBearer, $Command }; -/** - * @public - * - * The input for {@link GetAliasCommand}. - */ -export interface GetAliasCommandInput extends GetAliasRequest { -} -/** - * @public - * - * The output of {@link GetAliasCommand}. - */ -export interface GetAliasCommandOutput extends AliasConfiguration, __MetadataBearer { -} -/** - * @public - *

Returns details about a Lambda function alias.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { LambdaClient, GetAliasCommand } from "@aws-sdk/client-lambda"; // ES Modules import - * // const { LambdaClient, GetAliasCommand } = require("@aws-sdk/client-lambda"); // CommonJS import - * const client = new LambdaClient(config); - * const input = { // GetAliasRequest - * FunctionName: "STRING_VALUE", // required - * Name: "STRING_VALUE", // required - * }; - * const command = new GetAliasCommand(input); - * const response = await client.send(command); - * // { // AliasConfiguration - * // AliasArn: "STRING_VALUE", - * // Name: "STRING_VALUE", - * // FunctionVersion: "STRING_VALUE", - * // Description: "STRING_VALUE", - * // RoutingConfig: { // AliasRoutingConfiguration - * // AdditionalVersionWeights: { // AdditionalVersionWeights - * // "": Number("double"), - * // }, - * // }, - * // RevisionId: "STRING_VALUE", - * // }; - * - * ``` - * - * @param GetAliasCommandInput - {@link GetAliasCommandInput} - * @returns {@link GetAliasCommandOutput} - * @see {@link GetAliasCommandInput} for command's `input` shape. - * @see {@link GetAliasCommandOutput} for command's `response` shape. - * @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape. - * - * @throws {@link InvalidParameterValueException} (client fault) - *

One of the parameters in the request is not valid.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The resource specified in the request does not exist.

- * - * @throws {@link ServiceException} (server fault) - *

The Lambda service encountered an internal error.

- * - * @throws {@link TooManyRequestsException} (client fault) - *

The request throughput limit was exceeded. For more information, see Lambda quotas.

- * - * @throws {@link LambdaServiceException} - *

Base exception class for all service exceptions from Lambda service.

- * - */ -export declare class GetAliasCommand extends $Command { - readonly input: GetAliasCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - /** - * @public - */ - constructor(input: GetAliasCommandInput); - /** - * @internal - */ - resolveMiddleware(clientStack: MiddlewareStack, configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions): Handler; - /** - * @internal - */ - private serialize; - /** - * @internal - */ - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetCodeSigningConfigCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetCodeSigningConfigCommand.d.ts deleted file mode 100644 index f44d61a0..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetCodeSigningConfigCommand.d.ts +++ /dev/null @@ -1,95 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; -import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; -import { GetCodeSigningConfigRequest, GetCodeSigningConfigResponse } from "../models/models_0"; -/** - * @public - */ -export { __MetadataBearer, $Command }; -/** - * @public - * - * The input for {@link GetCodeSigningConfigCommand}. - */ -export interface GetCodeSigningConfigCommandInput extends GetCodeSigningConfigRequest { -} -/** - * @public - * - * The output of {@link GetCodeSigningConfigCommand}. - */ -export interface GetCodeSigningConfigCommandOutput extends GetCodeSigningConfigResponse, __MetadataBearer { -} -/** - * @public - *

Returns information about the specified code signing configuration.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { LambdaClient, GetCodeSigningConfigCommand } from "@aws-sdk/client-lambda"; // ES Modules import - * // const { LambdaClient, GetCodeSigningConfigCommand } = require("@aws-sdk/client-lambda"); // CommonJS import - * const client = new LambdaClient(config); - * const input = { // GetCodeSigningConfigRequest - * CodeSigningConfigArn: "STRING_VALUE", // required - * }; - * const command = new GetCodeSigningConfigCommand(input); - * const response = await client.send(command); - * // { // GetCodeSigningConfigResponse - * // CodeSigningConfig: { // CodeSigningConfig - * // CodeSigningConfigId: "STRING_VALUE", // required - * // CodeSigningConfigArn: "STRING_VALUE", // required - * // Description: "STRING_VALUE", - * // AllowedPublishers: { // AllowedPublishers - * // SigningProfileVersionArns: [ // SigningProfileVersionArns // required - * // "STRING_VALUE", - * // ], - * // }, - * // CodeSigningPolicies: { // CodeSigningPolicies - * // UntrustedArtifactOnDeployment: "Warn" || "Enforce", - * // }, - * // LastModified: "STRING_VALUE", // required - * // }, - * // }; - * - * ``` - * - * @param GetCodeSigningConfigCommandInput - {@link GetCodeSigningConfigCommandInput} - * @returns {@link GetCodeSigningConfigCommandOutput} - * @see {@link GetCodeSigningConfigCommandInput} for command's `input` shape. - * @see {@link GetCodeSigningConfigCommandOutput} for command's `response` shape. - * @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape. - * - * @throws {@link InvalidParameterValueException} (client fault) - *

One of the parameters in the request is not valid.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The resource specified in the request does not exist.

- * - * @throws {@link ServiceException} (server fault) - *

The Lambda service encountered an internal error.

- * - * @throws {@link LambdaServiceException} - *

Base exception class for all service exceptions from Lambda service.

- * - */ -export declare class GetCodeSigningConfigCommand extends $Command { - readonly input: GetCodeSigningConfigCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - /** - * @public - */ - constructor(input: GetCodeSigningConfigCommandInput); - /** - * @internal - */ - resolveMiddleware(clientStack: MiddlewareStack, configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions): Handler; - /** - * @internal - */ - private serialize; - /** - * @internal - */ - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetEventSourceMappingCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetEventSourceMappingCommand.d.ts deleted file mode 100644 index ab5d6a9d..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetEventSourceMappingCommand.d.ts +++ /dev/null @@ -1,152 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; -import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; -import { EventSourceMappingConfiguration, GetEventSourceMappingRequest } from "../models/models_0"; -/** - * @public - */ -export { __MetadataBearer, $Command }; -/** - * @public - * - * The input for {@link GetEventSourceMappingCommand}. - */ -export interface GetEventSourceMappingCommandInput extends GetEventSourceMappingRequest { -} -/** - * @public - * - * The output of {@link GetEventSourceMappingCommand}. - */ -export interface GetEventSourceMappingCommandOutput extends EventSourceMappingConfiguration, __MetadataBearer { -} -/** - * @public - *

Returns details about an event source mapping. You can get the identifier of a mapping from the output of - * ListEventSourceMappings.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { LambdaClient, GetEventSourceMappingCommand } from "@aws-sdk/client-lambda"; // ES Modules import - * // const { LambdaClient, GetEventSourceMappingCommand } = require("@aws-sdk/client-lambda"); // CommonJS import - * const client = new LambdaClient(config); - * const input = { // GetEventSourceMappingRequest - * UUID: "STRING_VALUE", // required - * }; - * const command = new GetEventSourceMappingCommand(input); - * const response = await client.send(command); - * // { // EventSourceMappingConfiguration - * // UUID: "STRING_VALUE", - * // StartingPosition: "TRIM_HORIZON" || "LATEST" || "AT_TIMESTAMP", - * // StartingPositionTimestamp: new Date("TIMESTAMP"), - * // BatchSize: Number("int"), - * // MaximumBatchingWindowInSeconds: Number("int"), - * // ParallelizationFactor: Number("int"), - * // EventSourceArn: "STRING_VALUE", - * // FilterCriteria: { // FilterCriteria - * // Filters: [ // FilterList - * // { // Filter - * // Pattern: "STRING_VALUE", - * // }, - * // ], - * // }, - * // FunctionArn: "STRING_VALUE", - * // LastModified: new Date("TIMESTAMP"), - * // LastProcessingResult: "STRING_VALUE", - * // State: "STRING_VALUE", - * // StateTransitionReason: "STRING_VALUE", - * // DestinationConfig: { // DestinationConfig - * // OnSuccess: { // OnSuccess - * // Destination: "STRING_VALUE", - * // }, - * // OnFailure: { // OnFailure - * // Destination: "STRING_VALUE", - * // }, - * // }, - * // Topics: [ // Topics - * // "STRING_VALUE", - * // ], - * // Queues: [ // Queues - * // "STRING_VALUE", - * // ], - * // SourceAccessConfigurations: [ // SourceAccessConfigurations - * // { // SourceAccessConfiguration - * // Type: "BASIC_AUTH" || "VPC_SUBNET" || "VPC_SECURITY_GROUP" || "SASL_SCRAM_512_AUTH" || "SASL_SCRAM_256_AUTH" || "VIRTUAL_HOST" || "CLIENT_CERTIFICATE_TLS_AUTH" || "SERVER_ROOT_CA_CERTIFICATE", - * // URI: "STRING_VALUE", - * // }, - * // ], - * // SelfManagedEventSource: { // SelfManagedEventSource - * // Endpoints: { // Endpoints - * // "": [ // EndpointLists - * // "STRING_VALUE", - * // ], - * // }, - * // }, - * // MaximumRecordAgeInSeconds: Number("int"), - * // BisectBatchOnFunctionError: true || false, - * // MaximumRetryAttempts: Number("int"), - * // TumblingWindowInSeconds: Number("int"), - * // FunctionResponseTypes: [ // FunctionResponseTypeList - * // "ReportBatchItemFailures", - * // ], - * // AmazonManagedKafkaEventSourceConfig: { // AmazonManagedKafkaEventSourceConfig - * // ConsumerGroupId: "STRING_VALUE", - * // }, - * // SelfManagedKafkaEventSourceConfig: { // SelfManagedKafkaEventSourceConfig - * // ConsumerGroupId: "STRING_VALUE", - * // }, - * // ScalingConfig: { // ScalingConfig - * // MaximumConcurrency: Number("int"), - * // }, - * // DocumentDBEventSourceConfig: { // DocumentDBEventSourceConfig - * // DatabaseName: "STRING_VALUE", - * // CollectionName: "STRING_VALUE", - * // FullDocument: "UpdateLookup" || "Default", - * // }, - * // }; - * - * ``` - * - * @param GetEventSourceMappingCommandInput - {@link GetEventSourceMappingCommandInput} - * @returns {@link GetEventSourceMappingCommandOutput} - * @see {@link GetEventSourceMappingCommandInput} for command's `input` shape. - * @see {@link GetEventSourceMappingCommandOutput} for command's `response` shape. - * @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape. - * - * @throws {@link InvalidParameterValueException} (client fault) - *

One of the parameters in the request is not valid.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The resource specified in the request does not exist.

- * - * @throws {@link ServiceException} (server fault) - *

The Lambda service encountered an internal error.

- * - * @throws {@link TooManyRequestsException} (client fault) - *

The request throughput limit was exceeded. For more information, see Lambda quotas.

- * - * @throws {@link LambdaServiceException} - *

Base exception class for all service exceptions from Lambda service.

- * - */ -export declare class GetEventSourceMappingCommand extends $Command { - readonly input: GetEventSourceMappingCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - /** - * @public - */ - constructor(input: GetEventSourceMappingCommandInput); - /** - * @internal - */ - resolveMiddleware(clientStack: MiddlewareStack, configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions): Handler; - /** - * @internal - */ - private serialize; - /** - * @internal - */ - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetFunctionCodeSigningConfigCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetFunctionCodeSigningConfigCommand.d.ts deleted file mode 100644 index 6cce1319..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetFunctionCodeSigningConfigCommand.d.ts +++ /dev/null @@ -1,86 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; -import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; -import { GetFunctionCodeSigningConfigRequest, GetFunctionCodeSigningConfigResponse } from "../models/models_0"; -/** - * @public - */ -export { __MetadataBearer, $Command }; -/** - * @public - * - * The input for {@link GetFunctionCodeSigningConfigCommand}. - */ -export interface GetFunctionCodeSigningConfigCommandInput extends GetFunctionCodeSigningConfigRequest { -} -/** - * @public - * - * The output of {@link GetFunctionCodeSigningConfigCommand}. - */ -export interface GetFunctionCodeSigningConfigCommandOutput extends GetFunctionCodeSigningConfigResponse, __MetadataBearer { -} -/** - * @public - *

Returns the code signing configuration for the specified function.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { LambdaClient, GetFunctionCodeSigningConfigCommand } from "@aws-sdk/client-lambda"; // ES Modules import - * // const { LambdaClient, GetFunctionCodeSigningConfigCommand } = require("@aws-sdk/client-lambda"); // CommonJS import - * const client = new LambdaClient(config); - * const input = { // GetFunctionCodeSigningConfigRequest - * FunctionName: "STRING_VALUE", // required - * }; - * const command = new GetFunctionCodeSigningConfigCommand(input); - * const response = await client.send(command); - * // { // GetFunctionCodeSigningConfigResponse - * // CodeSigningConfigArn: "STRING_VALUE", // required - * // FunctionName: "STRING_VALUE", // required - * // }; - * - * ``` - * - * @param GetFunctionCodeSigningConfigCommandInput - {@link GetFunctionCodeSigningConfigCommandInput} - * @returns {@link GetFunctionCodeSigningConfigCommandOutput} - * @see {@link GetFunctionCodeSigningConfigCommandInput} for command's `input` shape. - * @see {@link GetFunctionCodeSigningConfigCommandOutput} for command's `response` shape. - * @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape. - * - * @throws {@link InvalidParameterValueException} (client fault) - *

One of the parameters in the request is not valid.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The resource specified in the request does not exist.

- * - * @throws {@link ServiceException} (server fault) - *

The Lambda service encountered an internal error.

- * - * @throws {@link TooManyRequestsException} (client fault) - *

The request throughput limit was exceeded. For more information, see Lambda quotas.

- * - * @throws {@link LambdaServiceException} - *

Base exception class for all service exceptions from Lambda service.

- * - */ -export declare class GetFunctionCodeSigningConfigCommand extends $Command { - readonly input: GetFunctionCodeSigningConfigCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - /** - * @public - */ - constructor(input: GetFunctionCodeSigningConfigCommandInput); - /** - * @internal - */ - resolveMiddleware(clientStack: MiddlewareStack, configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions): Handler; - /** - * @internal - */ - private serialize; - /** - * @internal - */ - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetFunctionCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetFunctionCommand.d.ts deleted file mode 100644 index 23cafaca..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetFunctionCommand.d.ts +++ /dev/null @@ -1,202 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; -import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; -import { GetFunctionRequest, GetFunctionResponse } from "../models/models_0"; -/** - * @public - */ -export { __MetadataBearer, $Command }; -/** - * @public - * - * The input for {@link GetFunctionCommand}. - */ -export interface GetFunctionCommandInput extends GetFunctionRequest { -} -/** - * @public - * - * The output of {@link GetFunctionCommand}. - */ -export interface GetFunctionCommandOutput extends GetFunctionResponse, __MetadataBearer { -} -/** - * @public - *

Returns information about the function or function version, with a link to download the deployment package - * that's valid for 10 minutes. If you specify a function version, only details that are specific to that version are - * returned.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { LambdaClient, GetFunctionCommand } from "@aws-sdk/client-lambda"; // ES Modules import - * // const { LambdaClient, GetFunctionCommand } = require("@aws-sdk/client-lambda"); // CommonJS import - * const client = new LambdaClient(config); - * const input = { // GetFunctionRequest - * FunctionName: "STRING_VALUE", // required - * Qualifier: "STRING_VALUE", - * }; - * const command = new GetFunctionCommand(input); - * const response = await client.send(command); - * // { // GetFunctionResponse - * // Configuration: { // FunctionConfiguration - * // FunctionName: "STRING_VALUE", - * // FunctionArn: "STRING_VALUE", - * // Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21", - * // Role: "STRING_VALUE", - * // Handler: "STRING_VALUE", - * // CodeSize: Number("long"), - * // Description: "STRING_VALUE", - * // Timeout: Number("int"), - * // MemorySize: Number("int"), - * // LastModified: "STRING_VALUE", - * // CodeSha256: "STRING_VALUE", - * // Version: "STRING_VALUE", - * // VpcConfig: { // VpcConfigResponse - * // SubnetIds: [ // SubnetIds - * // "STRING_VALUE", - * // ], - * // SecurityGroupIds: [ // SecurityGroupIds - * // "STRING_VALUE", - * // ], - * // VpcId: "STRING_VALUE", - * // Ipv6AllowedForDualStack: true || false, - * // }, - * // DeadLetterConfig: { // DeadLetterConfig - * // TargetArn: "STRING_VALUE", - * // }, - * // Environment: { // EnvironmentResponse - * // Variables: { // EnvironmentVariables - * // "": "STRING_VALUE", - * // }, - * // Error: { // EnvironmentError - * // ErrorCode: "STRING_VALUE", - * // Message: "STRING_VALUE", - * // }, - * // }, - * // KMSKeyArn: "STRING_VALUE", - * // TracingConfig: { // TracingConfigResponse - * // Mode: "Active" || "PassThrough", - * // }, - * // MasterArn: "STRING_VALUE", - * // RevisionId: "STRING_VALUE", - * // Layers: [ // LayersReferenceList - * // { // Layer - * // Arn: "STRING_VALUE", - * // CodeSize: Number("long"), - * // SigningProfileVersionArn: "STRING_VALUE", - * // SigningJobArn: "STRING_VALUE", - * // }, - * // ], - * // State: "Pending" || "Active" || "Inactive" || "Failed", - * // StateReason: "STRING_VALUE", - * // StateReasonCode: "Idle" || "Creating" || "Restoring" || "EniLimitExceeded" || "InsufficientRolePermissions" || "InvalidConfiguration" || "InternalError" || "SubnetOutOfIPAddresses" || "InvalidSubnet" || "InvalidSecurityGroup" || "ImageDeleted" || "ImageAccessDenied" || "InvalidImage" || "KMSKeyAccessDenied" || "KMSKeyNotFound" || "InvalidStateKMSKey" || "DisabledKMSKey" || "EFSIOError" || "EFSMountConnectivityError" || "EFSMountFailure" || "EFSMountTimeout" || "InvalidRuntime" || "InvalidZipFileException" || "FunctionError", - * // LastUpdateStatus: "Successful" || "Failed" || "InProgress", - * // LastUpdateStatusReason: "STRING_VALUE", - * // LastUpdateStatusReasonCode: "EniLimitExceeded" || "InsufficientRolePermissions" || "InvalidConfiguration" || "InternalError" || "SubnetOutOfIPAddresses" || "InvalidSubnet" || "InvalidSecurityGroup" || "ImageDeleted" || "ImageAccessDenied" || "InvalidImage" || "KMSKeyAccessDenied" || "KMSKeyNotFound" || "InvalidStateKMSKey" || "DisabledKMSKey" || "EFSIOError" || "EFSMountConnectivityError" || "EFSMountFailure" || "EFSMountTimeout" || "InvalidRuntime" || "InvalidZipFileException" || "FunctionError", - * // FileSystemConfigs: [ // FileSystemConfigList - * // { // FileSystemConfig - * // Arn: "STRING_VALUE", // required - * // LocalMountPath: "STRING_VALUE", // required - * // }, - * // ], - * // PackageType: "Zip" || "Image", - * // ImageConfigResponse: { // ImageConfigResponse - * // ImageConfig: { // ImageConfig - * // EntryPoint: [ // StringList - * // "STRING_VALUE", - * // ], - * // Command: [ - * // "STRING_VALUE", - * // ], - * // WorkingDirectory: "STRING_VALUE", - * // }, - * // Error: { // ImageConfigError - * // ErrorCode: "STRING_VALUE", - * // Message: "STRING_VALUE", - * // }, - * // }, - * // SigningProfileVersionArn: "STRING_VALUE", - * // SigningJobArn: "STRING_VALUE", - * // Architectures: [ // ArchitecturesList - * // "x86_64" || "arm64", - * // ], - * // EphemeralStorage: { // EphemeralStorage - * // Size: Number("int"), // required - * // }, - * // SnapStart: { // SnapStartResponse - * // ApplyOn: "PublishedVersions" || "None", - * // OptimizationStatus: "On" || "Off", - * // }, - * // RuntimeVersionConfig: { // RuntimeVersionConfig - * // RuntimeVersionArn: "STRING_VALUE", - * // Error: { // RuntimeVersionError - * // ErrorCode: "STRING_VALUE", - * // Message: "STRING_VALUE", - * // }, - * // }, - * // LoggingConfig: { // LoggingConfig - * // LogFormat: "JSON" || "Text", - * // ApplicationLogLevel: "TRACE" || "DEBUG" || "INFO" || "WARN" || "ERROR" || "FATAL", - * // SystemLogLevel: "DEBUG" || "INFO" || "WARN", - * // LogGroup: "STRING_VALUE", - * // }, - * // }, - * // Code: { // FunctionCodeLocation - * // RepositoryType: "STRING_VALUE", - * // Location: "STRING_VALUE", - * // ImageUri: "STRING_VALUE", - * // ResolvedImageUri: "STRING_VALUE", - * // }, - * // Tags: { // Tags - * // "": "STRING_VALUE", - * // }, - * // Concurrency: { // Concurrency - * // ReservedConcurrentExecutions: Number("int"), - * // }, - * // }; - * - * ``` - * - * @param GetFunctionCommandInput - {@link GetFunctionCommandInput} - * @returns {@link GetFunctionCommandOutput} - * @see {@link GetFunctionCommandInput} for command's `input` shape. - * @see {@link GetFunctionCommandOutput} for command's `response` shape. - * @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape. - * - * @throws {@link InvalidParameterValueException} (client fault) - *

One of the parameters in the request is not valid.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The resource specified in the request does not exist.

- * - * @throws {@link ServiceException} (server fault) - *

The Lambda service encountered an internal error.

- * - * @throws {@link TooManyRequestsException} (client fault) - *

The request throughput limit was exceeded. For more information, see Lambda quotas.

- * - * @throws {@link LambdaServiceException} - *

Base exception class for all service exceptions from Lambda service.

- * - */ -export declare class GetFunctionCommand extends $Command { - readonly input: GetFunctionCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - /** - * @public - */ - constructor(input: GetFunctionCommandInput); - /** - * @internal - */ - resolveMiddleware(clientStack: MiddlewareStack, configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions): Handler; - /** - * @internal - */ - private serialize; - /** - * @internal - */ - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetFunctionConcurrencyCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetFunctionConcurrencyCommand.d.ts deleted file mode 100644 index c8399dba..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetFunctionConcurrencyCommand.d.ts +++ /dev/null @@ -1,86 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; -import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; -import { GetFunctionConcurrencyRequest, GetFunctionConcurrencyResponse } from "../models/models_0"; -/** - * @public - */ -export { __MetadataBearer, $Command }; -/** - * @public - * - * The input for {@link GetFunctionConcurrencyCommand}. - */ -export interface GetFunctionConcurrencyCommandInput extends GetFunctionConcurrencyRequest { -} -/** - * @public - * - * The output of {@link GetFunctionConcurrencyCommand}. - */ -export interface GetFunctionConcurrencyCommandOutput extends GetFunctionConcurrencyResponse, __MetadataBearer { -} -/** - * @public - *

Returns details about the reserved concurrency configuration for a function. To set a concurrency limit for a - * function, use PutFunctionConcurrency.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { LambdaClient, GetFunctionConcurrencyCommand } from "@aws-sdk/client-lambda"; // ES Modules import - * // const { LambdaClient, GetFunctionConcurrencyCommand } = require("@aws-sdk/client-lambda"); // CommonJS import - * const client = new LambdaClient(config); - * const input = { // GetFunctionConcurrencyRequest - * FunctionName: "STRING_VALUE", // required - * }; - * const command = new GetFunctionConcurrencyCommand(input); - * const response = await client.send(command); - * // { // GetFunctionConcurrencyResponse - * // ReservedConcurrentExecutions: Number("int"), - * // }; - * - * ``` - * - * @param GetFunctionConcurrencyCommandInput - {@link GetFunctionConcurrencyCommandInput} - * @returns {@link GetFunctionConcurrencyCommandOutput} - * @see {@link GetFunctionConcurrencyCommandInput} for command's `input` shape. - * @see {@link GetFunctionConcurrencyCommandOutput} for command's `response` shape. - * @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape. - * - * @throws {@link InvalidParameterValueException} (client fault) - *

One of the parameters in the request is not valid.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The resource specified in the request does not exist.

- * - * @throws {@link ServiceException} (server fault) - *

The Lambda service encountered an internal error.

- * - * @throws {@link TooManyRequestsException} (client fault) - *

The request throughput limit was exceeded. For more information, see Lambda quotas.

- * - * @throws {@link LambdaServiceException} - *

Base exception class for all service exceptions from Lambda service.

- * - */ -export declare class GetFunctionConcurrencyCommand extends $Command { - readonly input: GetFunctionConcurrencyCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - /** - * @public - */ - constructor(input: GetFunctionConcurrencyCommandInput); - /** - * @internal - */ - resolveMiddleware(clientStack: MiddlewareStack, configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions): Handler; - /** - * @internal - */ - private serialize; - /** - * @internal - */ - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetFunctionConfigurationCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetFunctionConfigurationCommand.d.ts deleted file mode 100644 index 2c232606..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetFunctionConfigurationCommand.d.ts +++ /dev/null @@ -1,188 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; -import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; -import { FunctionConfiguration, GetFunctionConfigurationRequest } from "../models/models_0"; -/** - * @public - */ -export { __MetadataBearer, $Command }; -/** - * @public - * - * The input for {@link GetFunctionConfigurationCommand}. - */ -export interface GetFunctionConfigurationCommandInput extends GetFunctionConfigurationRequest { -} -/** - * @public - * - * The output of {@link GetFunctionConfigurationCommand}. - */ -export interface GetFunctionConfigurationCommandOutput extends FunctionConfiguration, __MetadataBearer { -} -/** - * @public - *

Returns the version-specific settings of a Lambda function or version. The output includes only options that - * can vary between versions of a function. To modify these settings, use UpdateFunctionConfiguration.

- *

To get all of a function's details, including function-level settings, use GetFunction.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { LambdaClient, GetFunctionConfigurationCommand } from "@aws-sdk/client-lambda"; // ES Modules import - * // const { LambdaClient, GetFunctionConfigurationCommand } = require("@aws-sdk/client-lambda"); // CommonJS import - * const client = new LambdaClient(config); - * const input = { // GetFunctionConfigurationRequest - * FunctionName: "STRING_VALUE", // required - * Qualifier: "STRING_VALUE", - * }; - * const command = new GetFunctionConfigurationCommand(input); - * const response = await client.send(command); - * // { // FunctionConfiguration - * // FunctionName: "STRING_VALUE", - * // FunctionArn: "STRING_VALUE", - * // Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21", - * // Role: "STRING_VALUE", - * // Handler: "STRING_VALUE", - * // CodeSize: Number("long"), - * // Description: "STRING_VALUE", - * // Timeout: Number("int"), - * // MemorySize: Number("int"), - * // LastModified: "STRING_VALUE", - * // CodeSha256: "STRING_VALUE", - * // Version: "STRING_VALUE", - * // VpcConfig: { // VpcConfigResponse - * // SubnetIds: [ // SubnetIds - * // "STRING_VALUE", - * // ], - * // SecurityGroupIds: [ // SecurityGroupIds - * // "STRING_VALUE", - * // ], - * // VpcId: "STRING_VALUE", - * // Ipv6AllowedForDualStack: true || false, - * // }, - * // DeadLetterConfig: { // DeadLetterConfig - * // TargetArn: "STRING_VALUE", - * // }, - * // Environment: { // EnvironmentResponse - * // Variables: { // EnvironmentVariables - * // "": "STRING_VALUE", - * // }, - * // Error: { // EnvironmentError - * // ErrorCode: "STRING_VALUE", - * // Message: "STRING_VALUE", - * // }, - * // }, - * // KMSKeyArn: "STRING_VALUE", - * // TracingConfig: { // TracingConfigResponse - * // Mode: "Active" || "PassThrough", - * // }, - * // MasterArn: "STRING_VALUE", - * // RevisionId: "STRING_VALUE", - * // Layers: [ // LayersReferenceList - * // { // Layer - * // Arn: "STRING_VALUE", - * // CodeSize: Number("long"), - * // SigningProfileVersionArn: "STRING_VALUE", - * // SigningJobArn: "STRING_VALUE", - * // }, - * // ], - * // State: "Pending" || "Active" || "Inactive" || "Failed", - * // StateReason: "STRING_VALUE", - * // StateReasonCode: "Idle" || "Creating" || "Restoring" || "EniLimitExceeded" || "InsufficientRolePermissions" || "InvalidConfiguration" || "InternalError" || "SubnetOutOfIPAddresses" || "InvalidSubnet" || "InvalidSecurityGroup" || "ImageDeleted" || "ImageAccessDenied" || "InvalidImage" || "KMSKeyAccessDenied" || "KMSKeyNotFound" || "InvalidStateKMSKey" || "DisabledKMSKey" || "EFSIOError" || "EFSMountConnectivityError" || "EFSMountFailure" || "EFSMountTimeout" || "InvalidRuntime" || "InvalidZipFileException" || "FunctionError", - * // LastUpdateStatus: "Successful" || "Failed" || "InProgress", - * // LastUpdateStatusReason: "STRING_VALUE", - * // LastUpdateStatusReasonCode: "EniLimitExceeded" || "InsufficientRolePermissions" || "InvalidConfiguration" || "InternalError" || "SubnetOutOfIPAddresses" || "InvalidSubnet" || "InvalidSecurityGroup" || "ImageDeleted" || "ImageAccessDenied" || "InvalidImage" || "KMSKeyAccessDenied" || "KMSKeyNotFound" || "InvalidStateKMSKey" || "DisabledKMSKey" || "EFSIOError" || "EFSMountConnectivityError" || "EFSMountFailure" || "EFSMountTimeout" || "InvalidRuntime" || "InvalidZipFileException" || "FunctionError", - * // FileSystemConfigs: [ // FileSystemConfigList - * // { // FileSystemConfig - * // Arn: "STRING_VALUE", // required - * // LocalMountPath: "STRING_VALUE", // required - * // }, - * // ], - * // PackageType: "Zip" || "Image", - * // ImageConfigResponse: { // ImageConfigResponse - * // ImageConfig: { // ImageConfig - * // EntryPoint: [ // StringList - * // "STRING_VALUE", - * // ], - * // Command: [ - * // "STRING_VALUE", - * // ], - * // WorkingDirectory: "STRING_VALUE", - * // }, - * // Error: { // ImageConfigError - * // ErrorCode: "STRING_VALUE", - * // Message: "STRING_VALUE", - * // }, - * // }, - * // SigningProfileVersionArn: "STRING_VALUE", - * // SigningJobArn: "STRING_VALUE", - * // Architectures: [ // ArchitecturesList - * // "x86_64" || "arm64", - * // ], - * // EphemeralStorage: { // EphemeralStorage - * // Size: Number("int"), // required - * // }, - * // SnapStart: { // SnapStartResponse - * // ApplyOn: "PublishedVersions" || "None", - * // OptimizationStatus: "On" || "Off", - * // }, - * // RuntimeVersionConfig: { // RuntimeVersionConfig - * // RuntimeVersionArn: "STRING_VALUE", - * // Error: { // RuntimeVersionError - * // ErrorCode: "STRING_VALUE", - * // Message: "STRING_VALUE", - * // }, - * // }, - * // LoggingConfig: { // LoggingConfig - * // LogFormat: "JSON" || "Text", - * // ApplicationLogLevel: "TRACE" || "DEBUG" || "INFO" || "WARN" || "ERROR" || "FATAL", - * // SystemLogLevel: "DEBUG" || "INFO" || "WARN", - * // LogGroup: "STRING_VALUE", - * // }, - * // }; - * - * ``` - * - * @param GetFunctionConfigurationCommandInput - {@link GetFunctionConfigurationCommandInput} - * @returns {@link GetFunctionConfigurationCommandOutput} - * @see {@link GetFunctionConfigurationCommandInput} for command's `input` shape. - * @see {@link GetFunctionConfigurationCommandOutput} for command's `response` shape. - * @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape. - * - * @throws {@link InvalidParameterValueException} (client fault) - *

One of the parameters in the request is not valid.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The resource specified in the request does not exist.

- * - * @throws {@link ServiceException} (server fault) - *

The Lambda service encountered an internal error.

- * - * @throws {@link TooManyRequestsException} (client fault) - *

The request throughput limit was exceeded. For more information, see Lambda quotas.

- * - * @throws {@link LambdaServiceException} - *

Base exception class for all service exceptions from Lambda service.

- * - */ -export declare class GetFunctionConfigurationCommand extends $Command { - readonly input: GetFunctionConfigurationCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - /** - * @public - */ - constructor(input: GetFunctionConfigurationCommandInput); - /** - * @internal - */ - resolveMiddleware(clientStack: MiddlewareStack, configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions): Handler; - /** - * @internal - */ - private serialize; - /** - * @internal - */ - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetFunctionEventInvokeConfigCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetFunctionEventInvokeConfigCommand.d.ts deleted file mode 100644 index 55515b3a..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetFunctionEventInvokeConfigCommand.d.ts +++ /dev/null @@ -1,98 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; -import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; -import { FunctionEventInvokeConfig, GetFunctionEventInvokeConfigRequest } from "../models/models_0"; -/** - * @public - */ -export { __MetadataBearer, $Command }; -/** - * @public - * - * The input for {@link GetFunctionEventInvokeConfigCommand}. - */ -export interface GetFunctionEventInvokeConfigCommandInput extends GetFunctionEventInvokeConfigRequest { -} -/** - * @public - * - * The output of {@link GetFunctionEventInvokeConfigCommand}. - */ -export interface GetFunctionEventInvokeConfigCommandOutput extends FunctionEventInvokeConfig, __MetadataBearer { -} -/** - * @public - *

Retrieves the configuration for asynchronous invocation for a function, version, or alias.

- *

To configure options for asynchronous invocation, use PutFunctionEventInvokeConfig.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { LambdaClient, GetFunctionEventInvokeConfigCommand } from "@aws-sdk/client-lambda"; // ES Modules import - * // const { LambdaClient, GetFunctionEventInvokeConfigCommand } = require("@aws-sdk/client-lambda"); // CommonJS import - * const client = new LambdaClient(config); - * const input = { // GetFunctionEventInvokeConfigRequest - * FunctionName: "STRING_VALUE", // required - * Qualifier: "STRING_VALUE", - * }; - * const command = new GetFunctionEventInvokeConfigCommand(input); - * const response = await client.send(command); - * // { // FunctionEventInvokeConfig - * // LastModified: new Date("TIMESTAMP"), - * // FunctionArn: "STRING_VALUE", - * // MaximumRetryAttempts: Number("int"), - * // MaximumEventAgeInSeconds: Number("int"), - * // DestinationConfig: { // DestinationConfig - * // OnSuccess: { // OnSuccess - * // Destination: "STRING_VALUE", - * // }, - * // OnFailure: { // OnFailure - * // Destination: "STRING_VALUE", - * // }, - * // }, - * // }; - * - * ``` - * - * @param GetFunctionEventInvokeConfigCommandInput - {@link GetFunctionEventInvokeConfigCommandInput} - * @returns {@link GetFunctionEventInvokeConfigCommandOutput} - * @see {@link GetFunctionEventInvokeConfigCommandInput} for command's `input` shape. - * @see {@link GetFunctionEventInvokeConfigCommandOutput} for command's `response` shape. - * @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape. - * - * @throws {@link InvalidParameterValueException} (client fault) - *

One of the parameters in the request is not valid.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The resource specified in the request does not exist.

- * - * @throws {@link ServiceException} (server fault) - *

The Lambda service encountered an internal error.

- * - * @throws {@link TooManyRequestsException} (client fault) - *

The request throughput limit was exceeded. For more information, see Lambda quotas.

- * - * @throws {@link LambdaServiceException} - *

Base exception class for all service exceptions from Lambda service.

- * - */ -export declare class GetFunctionEventInvokeConfigCommand extends $Command { - readonly input: GetFunctionEventInvokeConfigCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - /** - * @public - */ - constructor(input: GetFunctionEventInvokeConfigCommandInput); - /** - * @internal - */ - resolveMiddleware(clientStack: MiddlewareStack, configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions): Handler; - /** - * @internal - */ - private serialize; - /** - * @internal - */ - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetFunctionUrlConfigCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetFunctionUrlConfigCommand.d.ts deleted file mode 100644 index b21be478..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetFunctionUrlConfigCommand.d.ts +++ /dev/null @@ -1,107 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; -import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; -import { GetFunctionUrlConfigRequest, GetFunctionUrlConfigResponse } from "../models/models_0"; -/** - * @public - */ -export { __MetadataBearer, $Command }; -/** - * @public - * - * The input for {@link GetFunctionUrlConfigCommand}. - */ -export interface GetFunctionUrlConfigCommandInput extends GetFunctionUrlConfigRequest { -} -/** - * @public - * - * The output of {@link GetFunctionUrlConfigCommand}. - */ -export interface GetFunctionUrlConfigCommandOutput extends GetFunctionUrlConfigResponse, __MetadataBearer { -} -/** - * @public - *

Returns details about a Lambda function URL.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { LambdaClient, GetFunctionUrlConfigCommand } from "@aws-sdk/client-lambda"; // ES Modules import - * // const { LambdaClient, GetFunctionUrlConfigCommand } = require("@aws-sdk/client-lambda"); // CommonJS import - * const client = new LambdaClient(config); - * const input = { // GetFunctionUrlConfigRequest - * FunctionName: "STRING_VALUE", // required - * Qualifier: "STRING_VALUE", - * }; - * const command = new GetFunctionUrlConfigCommand(input); - * const response = await client.send(command); - * // { // GetFunctionUrlConfigResponse - * // FunctionUrl: "STRING_VALUE", // required - * // FunctionArn: "STRING_VALUE", // required - * // AuthType: "NONE" || "AWS_IAM", // required - * // Cors: { // Cors - * // AllowCredentials: true || false, - * // AllowHeaders: [ // HeadersList - * // "STRING_VALUE", - * // ], - * // AllowMethods: [ // AllowMethodsList - * // "STRING_VALUE", - * // ], - * // AllowOrigins: [ // AllowOriginsList - * // "STRING_VALUE", - * // ], - * // ExposeHeaders: [ - * // "STRING_VALUE", - * // ], - * // MaxAge: Number("int"), - * // }, - * // CreationTime: "STRING_VALUE", // required - * // LastModifiedTime: "STRING_VALUE", // required - * // InvokeMode: "BUFFERED" || "RESPONSE_STREAM", - * // }; - * - * ``` - * - * @param GetFunctionUrlConfigCommandInput - {@link GetFunctionUrlConfigCommandInput} - * @returns {@link GetFunctionUrlConfigCommandOutput} - * @see {@link GetFunctionUrlConfigCommandInput} for command's `input` shape. - * @see {@link GetFunctionUrlConfigCommandOutput} for command's `response` shape. - * @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape. - * - * @throws {@link InvalidParameterValueException} (client fault) - *

One of the parameters in the request is not valid.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The resource specified in the request does not exist.

- * - * @throws {@link ServiceException} (server fault) - *

The Lambda service encountered an internal error.

- * - * @throws {@link TooManyRequestsException} (client fault) - *

The request throughput limit was exceeded. For more information, see Lambda quotas.

- * - * @throws {@link LambdaServiceException} - *

Base exception class for all service exceptions from Lambda service.

- * - */ -export declare class GetFunctionUrlConfigCommand extends $Command { - readonly input: GetFunctionUrlConfigCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - /** - * @public - */ - constructor(input: GetFunctionUrlConfigCommandInput); - /** - * @internal - */ - resolveMiddleware(clientStack: MiddlewareStack, configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions): Handler; - /** - * @internal - */ - private serialize; - /** - * @internal - */ - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetLayerVersionByArnCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetLayerVersionByArnCommand.d.ts deleted file mode 100644 index bb553cbd..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetLayerVersionByArnCommand.d.ts +++ /dev/null @@ -1,105 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; -import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; -import { GetLayerVersionByArnRequest, GetLayerVersionResponse } from "../models/models_0"; -/** - * @public - */ -export { __MetadataBearer, $Command }; -/** - * @public - * - * The input for {@link GetLayerVersionByArnCommand}. - */ -export interface GetLayerVersionByArnCommandInput extends GetLayerVersionByArnRequest { -} -/** - * @public - * - * The output of {@link GetLayerVersionByArnCommand}. - */ -export interface GetLayerVersionByArnCommandOutput extends GetLayerVersionResponse, __MetadataBearer { -} -/** - * @public - *

Returns information about a version of an Lambda - * layer, with a link to download the layer archive - * that's valid for 10 minutes.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { LambdaClient, GetLayerVersionByArnCommand } from "@aws-sdk/client-lambda"; // ES Modules import - * // const { LambdaClient, GetLayerVersionByArnCommand } = require("@aws-sdk/client-lambda"); // CommonJS import - * const client = new LambdaClient(config); - * const input = { // GetLayerVersionByArnRequest - * Arn: "STRING_VALUE", // required - * }; - * const command = new GetLayerVersionByArnCommand(input); - * const response = await client.send(command); - * // { // GetLayerVersionResponse - * // Content: { // LayerVersionContentOutput - * // Location: "STRING_VALUE", - * // CodeSha256: "STRING_VALUE", - * // CodeSize: Number("long"), - * // SigningProfileVersionArn: "STRING_VALUE", - * // SigningJobArn: "STRING_VALUE", - * // }, - * // LayerArn: "STRING_VALUE", - * // LayerVersionArn: "STRING_VALUE", - * // Description: "STRING_VALUE", - * // CreatedDate: "STRING_VALUE", - * // Version: Number("long"), - * // CompatibleRuntimes: [ // CompatibleRuntimes - * // "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21", - * // ], - * // LicenseInfo: "STRING_VALUE", - * // CompatibleArchitectures: [ // CompatibleArchitectures - * // "x86_64" || "arm64", - * // ], - * // }; - * - * ``` - * - * @param GetLayerVersionByArnCommandInput - {@link GetLayerVersionByArnCommandInput} - * @returns {@link GetLayerVersionByArnCommandOutput} - * @see {@link GetLayerVersionByArnCommandInput} for command's `input` shape. - * @see {@link GetLayerVersionByArnCommandOutput} for command's `response` shape. - * @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape. - * - * @throws {@link InvalidParameterValueException} (client fault) - *

One of the parameters in the request is not valid.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The resource specified in the request does not exist.

- * - * @throws {@link ServiceException} (server fault) - *

The Lambda service encountered an internal error.

- * - * @throws {@link TooManyRequestsException} (client fault) - *

The request throughput limit was exceeded. For more information, see Lambda quotas.

- * - * @throws {@link LambdaServiceException} - *

Base exception class for all service exceptions from Lambda service.

- * - */ -export declare class GetLayerVersionByArnCommand extends $Command { - readonly input: GetLayerVersionByArnCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - /** - * @public - */ - constructor(input: GetLayerVersionByArnCommandInput); - /** - * @internal - */ - resolveMiddleware(clientStack: MiddlewareStack, configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions): Handler; - /** - * @internal - */ - private serialize; - /** - * @internal - */ - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetLayerVersionCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetLayerVersionCommand.d.ts deleted file mode 100644 index 508fbf1a..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetLayerVersionCommand.d.ts +++ /dev/null @@ -1,106 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; -import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; -import { GetLayerVersionRequest, GetLayerVersionResponse } from "../models/models_0"; -/** - * @public - */ -export { __MetadataBearer, $Command }; -/** - * @public - * - * The input for {@link GetLayerVersionCommand}. - */ -export interface GetLayerVersionCommandInput extends GetLayerVersionRequest { -} -/** - * @public - * - * The output of {@link GetLayerVersionCommand}. - */ -export interface GetLayerVersionCommandOutput extends GetLayerVersionResponse, __MetadataBearer { -} -/** - * @public - *

Returns information about a version of an Lambda - * layer, with a link to download the layer archive - * that's valid for 10 minutes.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { LambdaClient, GetLayerVersionCommand } from "@aws-sdk/client-lambda"; // ES Modules import - * // const { LambdaClient, GetLayerVersionCommand } = require("@aws-sdk/client-lambda"); // CommonJS import - * const client = new LambdaClient(config); - * const input = { // GetLayerVersionRequest - * LayerName: "STRING_VALUE", // required - * VersionNumber: Number("long"), // required - * }; - * const command = new GetLayerVersionCommand(input); - * const response = await client.send(command); - * // { // GetLayerVersionResponse - * // Content: { // LayerVersionContentOutput - * // Location: "STRING_VALUE", - * // CodeSha256: "STRING_VALUE", - * // CodeSize: Number("long"), - * // SigningProfileVersionArn: "STRING_VALUE", - * // SigningJobArn: "STRING_VALUE", - * // }, - * // LayerArn: "STRING_VALUE", - * // LayerVersionArn: "STRING_VALUE", - * // Description: "STRING_VALUE", - * // CreatedDate: "STRING_VALUE", - * // Version: Number("long"), - * // CompatibleRuntimes: [ // CompatibleRuntimes - * // "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21", - * // ], - * // LicenseInfo: "STRING_VALUE", - * // CompatibleArchitectures: [ // CompatibleArchitectures - * // "x86_64" || "arm64", - * // ], - * // }; - * - * ``` - * - * @param GetLayerVersionCommandInput - {@link GetLayerVersionCommandInput} - * @returns {@link GetLayerVersionCommandOutput} - * @see {@link GetLayerVersionCommandInput} for command's `input` shape. - * @see {@link GetLayerVersionCommandOutput} for command's `response` shape. - * @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape. - * - * @throws {@link InvalidParameterValueException} (client fault) - *

One of the parameters in the request is not valid.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The resource specified in the request does not exist.

- * - * @throws {@link ServiceException} (server fault) - *

The Lambda service encountered an internal error.

- * - * @throws {@link TooManyRequestsException} (client fault) - *

The request throughput limit was exceeded. For more information, see Lambda quotas.

- * - * @throws {@link LambdaServiceException} - *

Base exception class for all service exceptions from Lambda service.

- * - */ -export declare class GetLayerVersionCommand extends $Command { - readonly input: GetLayerVersionCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - /** - * @public - */ - constructor(input: GetLayerVersionCommandInput); - /** - * @internal - */ - resolveMiddleware(clientStack: MiddlewareStack, configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions): Handler; - /** - * @internal - */ - private serialize; - /** - * @internal - */ - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetLayerVersionPolicyCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetLayerVersionPolicyCommand.d.ts deleted file mode 100644 index f644f520..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetLayerVersionPolicyCommand.d.ts +++ /dev/null @@ -1,88 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; -import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; -import { GetLayerVersionPolicyRequest, GetLayerVersionPolicyResponse } from "../models/models_0"; -/** - * @public - */ -export { __MetadataBearer, $Command }; -/** - * @public - * - * The input for {@link GetLayerVersionPolicyCommand}. - */ -export interface GetLayerVersionPolicyCommandInput extends GetLayerVersionPolicyRequest { -} -/** - * @public - * - * The output of {@link GetLayerVersionPolicyCommand}. - */ -export interface GetLayerVersionPolicyCommandOutput extends GetLayerVersionPolicyResponse, __MetadataBearer { -} -/** - * @public - *

Returns the permission policy for a version of an Lambda - * layer. For more information, see AddLayerVersionPermission.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { LambdaClient, GetLayerVersionPolicyCommand } from "@aws-sdk/client-lambda"; // ES Modules import - * // const { LambdaClient, GetLayerVersionPolicyCommand } = require("@aws-sdk/client-lambda"); // CommonJS import - * const client = new LambdaClient(config); - * const input = { // GetLayerVersionPolicyRequest - * LayerName: "STRING_VALUE", // required - * VersionNumber: Number("long"), // required - * }; - * const command = new GetLayerVersionPolicyCommand(input); - * const response = await client.send(command); - * // { // GetLayerVersionPolicyResponse - * // Policy: "STRING_VALUE", - * // RevisionId: "STRING_VALUE", - * // }; - * - * ``` - * - * @param GetLayerVersionPolicyCommandInput - {@link GetLayerVersionPolicyCommandInput} - * @returns {@link GetLayerVersionPolicyCommandOutput} - * @see {@link GetLayerVersionPolicyCommandInput} for command's `input` shape. - * @see {@link GetLayerVersionPolicyCommandOutput} for command's `response` shape. - * @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape. - * - * @throws {@link InvalidParameterValueException} (client fault) - *

One of the parameters in the request is not valid.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The resource specified in the request does not exist.

- * - * @throws {@link ServiceException} (server fault) - *

The Lambda service encountered an internal error.

- * - * @throws {@link TooManyRequestsException} (client fault) - *

The request throughput limit was exceeded. For more information, see Lambda quotas.

- * - * @throws {@link LambdaServiceException} - *

Base exception class for all service exceptions from Lambda service.

- * - */ -export declare class GetLayerVersionPolicyCommand extends $Command { - readonly input: GetLayerVersionPolicyCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - /** - * @public - */ - constructor(input: GetLayerVersionPolicyCommandInput); - /** - * @internal - */ - resolveMiddleware(clientStack: MiddlewareStack, configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions): Handler; - /** - * @internal - */ - private serialize; - /** - * @internal - */ - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetPolicyCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetPolicyCommand.d.ts deleted file mode 100644 index 60a93cdb..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetPolicyCommand.d.ts +++ /dev/null @@ -1,87 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; -import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; -import { GetPolicyRequest, GetPolicyResponse } from "../models/models_0"; -/** - * @public - */ -export { __MetadataBearer, $Command }; -/** - * @public - * - * The input for {@link GetPolicyCommand}. - */ -export interface GetPolicyCommandInput extends GetPolicyRequest { -} -/** - * @public - * - * The output of {@link GetPolicyCommand}. - */ -export interface GetPolicyCommandOutput extends GetPolicyResponse, __MetadataBearer { -} -/** - * @public - *

Returns the resource-based IAM policy for a function, version, or alias.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { LambdaClient, GetPolicyCommand } from "@aws-sdk/client-lambda"; // ES Modules import - * // const { LambdaClient, GetPolicyCommand } = require("@aws-sdk/client-lambda"); // CommonJS import - * const client = new LambdaClient(config); - * const input = { // GetPolicyRequest - * FunctionName: "STRING_VALUE", // required - * Qualifier: "STRING_VALUE", - * }; - * const command = new GetPolicyCommand(input); - * const response = await client.send(command); - * // { // GetPolicyResponse - * // Policy: "STRING_VALUE", - * // RevisionId: "STRING_VALUE", - * // }; - * - * ``` - * - * @param GetPolicyCommandInput - {@link GetPolicyCommandInput} - * @returns {@link GetPolicyCommandOutput} - * @see {@link GetPolicyCommandInput} for command's `input` shape. - * @see {@link GetPolicyCommandOutput} for command's `response` shape. - * @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape. - * - * @throws {@link InvalidParameterValueException} (client fault) - *

One of the parameters in the request is not valid.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The resource specified in the request does not exist.

- * - * @throws {@link ServiceException} (server fault) - *

The Lambda service encountered an internal error.

- * - * @throws {@link TooManyRequestsException} (client fault) - *

The request throughput limit was exceeded. For more information, see Lambda quotas.

- * - * @throws {@link LambdaServiceException} - *

Base exception class for all service exceptions from Lambda service.

- * - */ -export declare class GetPolicyCommand extends $Command { - readonly input: GetPolicyCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - /** - * @public - */ - constructor(input: GetPolicyCommandInput); - /** - * @internal - */ - resolveMiddleware(clientStack: MiddlewareStack, configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions): Handler; - /** - * @internal - */ - private serialize; - /** - * @internal - */ - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetProvisionedConcurrencyConfigCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetProvisionedConcurrencyConfigCommand.d.ts deleted file mode 100644 index d2107bde..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetProvisionedConcurrencyConfigCommand.d.ts +++ /dev/null @@ -1,94 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; -import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; -import { GetProvisionedConcurrencyConfigRequest, GetProvisionedConcurrencyConfigResponse } from "../models/models_0"; -/** - * @public - */ -export { __MetadataBearer, $Command }; -/** - * @public - * - * The input for {@link GetProvisionedConcurrencyConfigCommand}. - */ -export interface GetProvisionedConcurrencyConfigCommandInput extends GetProvisionedConcurrencyConfigRequest { -} -/** - * @public - * - * The output of {@link GetProvisionedConcurrencyConfigCommand}. - */ -export interface GetProvisionedConcurrencyConfigCommandOutput extends GetProvisionedConcurrencyConfigResponse, __MetadataBearer { -} -/** - * @public - *

Retrieves the provisioned concurrency configuration for a function's alias or version.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { LambdaClient, GetProvisionedConcurrencyConfigCommand } from "@aws-sdk/client-lambda"; // ES Modules import - * // const { LambdaClient, GetProvisionedConcurrencyConfigCommand } = require("@aws-sdk/client-lambda"); // CommonJS import - * const client = new LambdaClient(config); - * const input = { // GetProvisionedConcurrencyConfigRequest - * FunctionName: "STRING_VALUE", // required - * Qualifier: "STRING_VALUE", // required - * }; - * const command = new GetProvisionedConcurrencyConfigCommand(input); - * const response = await client.send(command); - * // { // GetProvisionedConcurrencyConfigResponse - * // RequestedProvisionedConcurrentExecutions: Number("int"), - * // AvailableProvisionedConcurrentExecutions: Number("int"), - * // AllocatedProvisionedConcurrentExecutions: Number("int"), - * // Status: "IN_PROGRESS" || "READY" || "FAILED", - * // StatusReason: "STRING_VALUE", - * // LastModified: "STRING_VALUE", - * // }; - * - * ``` - * - * @param GetProvisionedConcurrencyConfigCommandInput - {@link GetProvisionedConcurrencyConfigCommandInput} - * @returns {@link GetProvisionedConcurrencyConfigCommandOutput} - * @see {@link GetProvisionedConcurrencyConfigCommandInput} for command's `input` shape. - * @see {@link GetProvisionedConcurrencyConfigCommandOutput} for command's `response` shape. - * @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape. - * - * @throws {@link InvalidParameterValueException} (client fault) - *

One of the parameters in the request is not valid.

- * - * @throws {@link ProvisionedConcurrencyConfigNotFoundException} (client fault) - *

The specified configuration does not exist.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The resource specified in the request does not exist.

- * - * @throws {@link ServiceException} (server fault) - *

The Lambda service encountered an internal error.

- * - * @throws {@link TooManyRequestsException} (client fault) - *

The request throughput limit was exceeded. For more information, see Lambda quotas.

- * - * @throws {@link LambdaServiceException} - *

Base exception class for all service exceptions from Lambda service.

- * - */ -export declare class GetProvisionedConcurrencyConfigCommand extends $Command { - readonly input: GetProvisionedConcurrencyConfigCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - /** - * @public - */ - constructor(input: GetProvisionedConcurrencyConfigCommandInput); - /** - * @internal - */ - resolveMiddleware(clientStack: MiddlewareStack, configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions): Handler; - /** - * @internal - */ - private serialize; - /** - * @internal - */ - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetRuntimeManagementConfigCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetRuntimeManagementConfigCommand.d.ts deleted file mode 100644 index 79edef6b..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/commands/GetRuntimeManagementConfigCommand.d.ts +++ /dev/null @@ -1,90 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; -import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; -import { GetRuntimeManagementConfigRequest, GetRuntimeManagementConfigResponse } from "../models/models_0"; -/** - * @public - */ -export { __MetadataBearer, $Command }; -/** - * @public - * - * The input for {@link GetRuntimeManagementConfigCommand}. - */ -export interface GetRuntimeManagementConfigCommandInput extends GetRuntimeManagementConfigRequest { -} -/** - * @public - * - * The output of {@link GetRuntimeManagementConfigCommand}. - */ -export interface GetRuntimeManagementConfigCommandOutput extends GetRuntimeManagementConfigResponse, __MetadataBearer { -} -/** - * @public - *

Retrieves the runtime management configuration for a function's version. If the runtime update mode is Manual, this includes the ARN of the - * runtime version and the runtime update mode. If the runtime update mode is Auto or Function update, - * this includes the runtime update mode and null is returned for the ARN. For more information, see Runtime updates.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { LambdaClient, GetRuntimeManagementConfigCommand } from "@aws-sdk/client-lambda"; // ES Modules import - * // const { LambdaClient, GetRuntimeManagementConfigCommand } = require("@aws-sdk/client-lambda"); // CommonJS import - * const client = new LambdaClient(config); - * const input = { // GetRuntimeManagementConfigRequest - * FunctionName: "STRING_VALUE", // required - * Qualifier: "STRING_VALUE", - * }; - * const command = new GetRuntimeManagementConfigCommand(input); - * const response = await client.send(command); - * // { // GetRuntimeManagementConfigResponse - * // UpdateRuntimeOn: "Auto" || "Manual" || "FunctionUpdate", - * // RuntimeVersionArn: "STRING_VALUE", - * // FunctionArn: "STRING_VALUE", - * // }; - * - * ``` - * - * @param GetRuntimeManagementConfigCommandInput - {@link GetRuntimeManagementConfigCommandInput} - * @returns {@link GetRuntimeManagementConfigCommandOutput} - * @see {@link GetRuntimeManagementConfigCommandInput} for command's `input` shape. - * @see {@link GetRuntimeManagementConfigCommandOutput} for command's `response` shape. - * @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape. - * - * @throws {@link InvalidParameterValueException} (client fault) - *

One of the parameters in the request is not valid.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The resource specified in the request does not exist.

- * - * @throws {@link ServiceException} (server fault) - *

The Lambda service encountered an internal error.

- * - * @throws {@link TooManyRequestsException} (client fault) - *

The request throughput limit was exceeded. For more information, see Lambda quotas.

- * - * @throws {@link LambdaServiceException} - *

Base exception class for all service exceptions from Lambda service.

- * - */ -export declare class GetRuntimeManagementConfigCommand extends $Command { - readonly input: GetRuntimeManagementConfigCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - /** - * @public - */ - constructor(input: GetRuntimeManagementConfigCommandInput); - /** - * @internal - */ - resolveMiddleware(clientStack: MiddlewareStack, configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions): Handler; - /** - * @internal - */ - private serialize; - /** - * @internal - */ - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/commands/InvokeAsyncCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/commands/InvokeAsyncCommand.d.ts deleted file mode 100644 index 5118ad16..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/commands/InvokeAsyncCommand.d.ts +++ /dev/null @@ -1,95 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack, StreamingBlobPayloadInputTypes } from "@smithy/types"; -import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; -import { InvokeAsyncRequest, InvokeAsyncResponse } from "../models/models_0"; -/** - * @public - */ -export { __MetadataBearer, $Command }; -/** - * @public - * - * The input for {@link InvokeAsyncCommand}. - */ -export interface InvokeAsyncCommandInput extends Omit { - InvokeArgs: StreamingBlobPayloadInputTypes; -} -/** - * @public - * - * The output of {@link InvokeAsyncCommand}. - */ -export interface InvokeAsyncCommandOutput extends InvokeAsyncResponse, __MetadataBearer { -} -/** - * @public - * @deprecated - * - * - *

For asynchronous function invocation, use Invoke.

- *
- *

Invokes a function asynchronously.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { LambdaClient, InvokeAsyncCommand } from "@aws-sdk/client-lambda"; // ES Modules import - * // const { LambdaClient, InvokeAsyncCommand } = require("@aws-sdk/client-lambda"); // CommonJS import - * const client = new LambdaClient(config); - * const input = { // InvokeAsyncRequest - * FunctionName: "STRING_VALUE", // required - * InvokeArgs: "STREAMING_BLOB_VALUE", // required - * }; - * const command = new InvokeAsyncCommand(input); - * const response = await client.send(command); - * // { // InvokeAsyncResponse - * // Status: Number("int"), - * // }; - * - * ``` - * - * @param InvokeAsyncCommandInput - {@link InvokeAsyncCommandInput} - * @returns {@link InvokeAsyncCommandOutput} - * @see {@link InvokeAsyncCommandInput} for command's `input` shape. - * @see {@link InvokeAsyncCommandOutput} for command's `response` shape. - * @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape. - * - * @throws {@link InvalidRequestContentException} (client fault) - *

The request body could not be parsed as JSON.

- * - * @throws {@link InvalidRuntimeException} (server fault) - *

The runtime or runtime version specified is not supported.

- * - * @throws {@link ResourceConflictException} (client fault) - *

The resource already exists, or another operation is in progress.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The resource specified in the request does not exist.

- * - * @throws {@link ServiceException} (server fault) - *

The Lambda service encountered an internal error.

- * - * @throws {@link LambdaServiceException} - *

Base exception class for all service exceptions from Lambda service.

- * - */ -export declare class InvokeAsyncCommand extends $Command { - readonly input: InvokeAsyncCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - /** - * @public - */ - constructor(input: InvokeAsyncCommandInput); - /** - * @internal - */ - resolveMiddleware(clientStack: MiddlewareStack, configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions): Handler; - /** - * @internal - */ - private serialize; - /** - * @internal - */ - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/commands/InvokeCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/commands/InvokeCommand.d.ts deleted file mode 100644 index 898050d2..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/commands/InvokeCommand.d.ts +++ /dev/null @@ -1,225 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { BlobPayloadInputTypes, Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; -import { Uint8ArrayBlobAdapter } from "@smithy/util-stream"; -import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; -import { InvocationRequest, InvocationResponse } from "../models/models_0"; -/** - * @public - */ -export { __MetadataBearer, $Command }; -/** - * @public - */ -export type InvokeCommandInputType = Omit & { - Payload?: BlobPayloadInputTypes; -}; -/** - * @public - * - * The input for {@link InvokeCommand}. - */ -export interface InvokeCommandInput extends InvokeCommandInputType { -} -/** - * @public - */ -export type InvokeCommandOutputType = Omit & { - Payload?: Uint8ArrayBlobAdapter; -}; -/** - * @public - * - * The output of {@link InvokeCommand}. - */ -export interface InvokeCommandOutput extends InvokeCommandOutputType, __MetadataBearer { -} -/** - * @public - *

Invokes a Lambda function. You can invoke a function synchronously (and wait for the response), or - * asynchronously. By default, Lambda invokes your function synchronously (i.e. theInvocationType - * is RequestResponse). To invoke a function asynchronously, set InvocationType to - * Event. Lambda passes the ClientContext object to your function for - * synchronous invocations only.

- *

For synchronous invocation, - * details about the function response, including errors, are included in the response body and headers. For either - * invocation type, you can find more information in the execution log and trace.

- *

When an error occurs, your function may be invoked multiple times. Retry behavior varies by error type, - * client, event source, and invocation type. For example, if you invoke a function asynchronously and it returns an - * error, Lambda executes the function up to two more times. For more information, see Error handling and automatic retries in - * Lambda.

- *

For asynchronous invocation, - * Lambda adds events to a queue before sending them to your function. If your function does not have enough capacity - * to keep up with the queue, events may be lost. Occasionally, your function may receive the same event multiple - * times, even if no error occurs. To retain events that were not processed, configure your function with a dead-letter queue.

- *

The status code in the API response doesn't reflect function errors. Error codes are reserved for errors that - * prevent your function from executing, such as permissions errors, quota errors, or issues with your function's code and - * configuration. For example, Lambda returns TooManyRequestsException if running the - * function would cause you to exceed a concurrency limit at either the account level - * (ConcurrentInvocationLimitExceeded) or function level - * (ReservedFunctionConcurrentInvocationLimitExceeded).

- *

For functions with a long timeout, your client might disconnect during synchronous invocation while it waits - * for a response. Configure your HTTP client, SDK, firewall, proxy, or operating system to allow for long - * connections with timeout or keep-alive settings.

- *

This operation requires permission for the lambda:InvokeFunction action. For details on how to set up - * permissions for cross-account invocations, see Granting function - * access to other accounts.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { LambdaClient, InvokeCommand } from "@aws-sdk/client-lambda"; // ES Modules import - * // const { LambdaClient, InvokeCommand } = require("@aws-sdk/client-lambda"); // CommonJS import - * const client = new LambdaClient(config); - * const input = { // InvocationRequest - * FunctionName: "STRING_VALUE", // required - * InvocationType: "Event" || "RequestResponse" || "DryRun", - * LogType: "None" || "Tail", - * ClientContext: "STRING_VALUE", - * Payload: "BLOB_VALUE", - * Qualifier: "STRING_VALUE", - * }; - * const command = new InvokeCommand(input); - * const response = await client.send(command); - * // { // InvocationResponse - * // StatusCode: Number("int"), - * // FunctionError: "STRING_VALUE", - * // LogResult: "STRING_VALUE", - * // Payload: "BLOB_VALUE", - * // ExecutedVersion: "STRING_VALUE", - * // }; - * - * ``` - * - * @param InvokeCommandInput - {@link InvokeCommandInput} - * @returns {@link InvokeCommandOutput} - * @see {@link InvokeCommandInput} for command's `input` shape. - * @see {@link InvokeCommandOutput} for command's `response` shape. - * @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape. - * - * @throws {@link EC2AccessDeniedException} (server fault) - *

Need additional permissions to configure VPC settings.

- * - * @throws {@link EC2ThrottledException} (server fault) - *

Amazon EC2 throttled Lambda during Lambda function initialization using - * the execution role provided for the function.

- * - * @throws {@link EC2UnexpectedException} (server fault) - *

Lambda received an unexpected Amazon EC2 client exception while setting up for the - * Lambda function.

- * - * @throws {@link EFSIOException} (client fault) - *

An error occurred when reading from or writing to a connected file system.

- * - * @throws {@link EFSMountConnectivityException} (client fault) - *

The Lambda function couldn't make a network connection to the configured file system.

- * - * @throws {@link EFSMountFailureException} (client fault) - *

The Lambda function couldn't mount the configured file system due to a permission or configuration - * issue.

- * - * @throws {@link EFSMountTimeoutException} (client fault) - *

The Lambda function made a network connection to the configured file system, but the mount - * operation timed out.

- * - * @throws {@link ENILimitReachedException} (server fault) - *

Lambda couldn't create an elastic network interface in the VPC, specified as part of Lambda function configuration, because the limit for network interfaces has been reached. For more - * information, see Lambda - * quotas.

- * - * @throws {@link InvalidParameterValueException} (client fault) - *

One of the parameters in the request is not valid.

- * - * @throws {@link InvalidRequestContentException} (client fault) - *

The request body could not be parsed as JSON.

- * - * @throws {@link InvalidRuntimeException} (server fault) - *

The runtime or runtime version specified is not supported.

- * - * @throws {@link InvalidSecurityGroupIDException} (server fault) - *

The security group ID provided in the Lambda function VPC configuration is not valid.

- * - * @throws {@link InvalidSubnetIDException} (server fault) - *

The subnet ID provided in the Lambda function VPC configuration is not valid.

- * - * @throws {@link InvalidZipFileException} (server fault) - *

Lambda could not unzip the deployment package.

- * - * @throws {@link KMSAccessDeniedException} (server fault) - *

Lambda couldn't decrypt the environment variables because KMS access was denied. - * Check the Lambda function's KMS permissions.

- * - * @throws {@link KMSDisabledException} (server fault) - *

Lambda couldn't decrypt the environment variables because the KMS key used is - * disabled. Check the Lambda function's KMS key settings.

- * - * @throws {@link KMSInvalidStateException} (server fault) - *

Lambda couldn't decrypt the environment variables because the state of the KMS key used is not valid for Decrypt. Check the function's KMS key settings.

- * - * @throws {@link KMSNotFoundException} (server fault) - *

Lambda couldn't decrypt the environment variables because the KMS key was not - * found. Check the function's KMS key settings.

- * - * @throws {@link RecursiveInvocationException} (client fault) - *

Lambda has detected your function being invoked in a recursive loop with other Amazon Web Services resources and stopped your function's invocation.

- * - * @throws {@link RequestTooLargeException} (client fault) - *

The request payload exceeded the Invoke request body JSON input quota. For more information, see Lambda - * quotas.

- * - * @throws {@link ResourceConflictException} (client fault) - *

The resource already exists, or another operation is in progress.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The resource specified in the request does not exist.

- * - * @throws {@link ResourceNotReadyException} (server fault) - *

The function is inactive and its VPC connection is no longer available. Wait for the VPC connection to - * reestablish and try again.

- * - * @throws {@link ServiceException} (server fault) - *

The Lambda service encountered an internal error.

- * - * @throws {@link SnapStartException} (client fault) - *

The afterRestore() - * runtime hook encountered an error. For more information, check the Amazon CloudWatch logs.

- * - * @throws {@link SnapStartNotReadyException} (client fault) - *

Lambda is initializing your function. You can invoke the function when the function state becomes Active.

- * - * @throws {@link SnapStartTimeoutException} (client fault) - *

Lambda couldn't restore the snapshot within the timeout limit.

- * - * @throws {@link SubnetIPAddressLimitReachedException} (server fault) - *

Lambda couldn't set up VPC access for the Lambda function because one or more - * configured subnets has no available IP addresses.

- * - * @throws {@link TooManyRequestsException} (client fault) - *

The request throughput limit was exceeded. For more information, see Lambda quotas.

- * - * @throws {@link UnsupportedMediaTypeException} (client fault) - *

The content type of the Invoke request body is not JSON.

- * - * @throws {@link LambdaServiceException} - *

Base exception class for all service exceptions from Lambda service.

- * - */ -export declare class InvokeCommand extends $Command { - readonly input: InvokeCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - /** - * @public - */ - constructor(input: InvokeCommandInput); - /** - * @internal - */ - resolveMiddleware(clientStack: MiddlewareStack, configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions): Handler; - /** - * @internal - */ - private serialize; - /** - * @internal - */ - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/commands/InvokeWithResponseStreamCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/commands/InvokeWithResponseStreamCommand.d.ts deleted file mode 100644 index 14c7ad63..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/commands/InvokeWithResponseStreamCommand.d.ts +++ /dev/null @@ -1,202 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { BlobPayloadInputTypes, Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; -import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; -import { InvokeWithResponseStreamRequest, InvokeWithResponseStreamResponse } from "../models/models_0"; -/** - * @public - */ -export { __MetadataBearer, $Command }; -/** - * @public - */ -export type InvokeWithResponseStreamCommandInputType = Omit & { - Payload?: BlobPayloadInputTypes; -}; -/** - * @public - * - * The input for {@link InvokeWithResponseStreamCommand}. - */ -export interface InvokeWithResponseStreamCommandInput extends InvokeWithResponseStreamCommandInputType { -} -/** - * @public - * - * The output of {@link InvokeWithResponseStreamCommand}. - */ -export interface InvokeWithResponseStreamCommandOutput extends InvokeWithResponseStreamResponse, __MetadataBearer { -} -/** - * @public - *

Configure your Lambda functions to stream response payloads back to clients. For more information, see Configuring a Lambda function to stream responses.

- *

This operation requires permission for the lambda:InvokeFunction action. For details on how to set up - * permissions for cross-account invocations, see Granting function - * access to other accounts.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { LambdaClient, InvokeWithResponseStreamCommand } from "@aws-sdk/client-lambda"; // ES Modules import - * // const { LambdaClient, InvokeWithResponseStreamCommand } = require("@aws-sdk/client-lambda"); // CommonJS import - * const client = new LambdaClient(config); - * const input = { // InvokeWithResponseStreamRequest - * FunctionName: "STRING_VALUE", // required - * InvocationType: "RequestResponse" || "DryRun", - * LogType: "None" || "Tail", - * ClientContext: "STRING_VALUE", - * Qualifier: "STRING_VALUE", - * Payload: "BLOB_VALUE", - * }; - * const command = new InvokeWithResponseStreamCommand(input); - * const response = await client.send(command); - * // { // InvokeWithResponseStreamResponse - * // StatusCode: Number("int"), - * // ExecutedVersion: "STRING_VALUE", - * // EventStream: { // InvokeWithResponseStreamResponseEvent Union: only one key present - * // PayloadChunk: { // InvokeResponseStreamUpdate - * // Payload: "BLOB_VALUE", - * // }, - * // InvokeComplete: { // InvokeWithResponseStreamCompleteEvent - * // ErrorCode: "STRING_VALUE", - * // ErrorDetails: "STRING_VALUE", - * // LogResult: "STRING_VALUE", - * // }, - * // }, - * // ResponseStreamContentType: "STRING_VALUE", - * // }; - * - * ``` - * - * @param InvokeWithResponseStreamCommandInput - {@link InvokeWithResponseStreamCommandInput} - * @returns {@link InvokeWithResponseStreamCommandOutput} - * @see {@link InvokeWithResponseStreamCommandInput} for command's `input` shape. - * @see {@link InvokeWithResponseStreamCommandOutput} for command's `response` shape. - * @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape. - * - * @throws {@link EC2AccessDeniedException} (server fault) - *

Need additional permissions to configure VPC settings.

- * - * @throws {@link EC2ThrottledException} (server fault) - *

Amazon EC2 throttled Lambda during Lambda function initialization using - * the execution role provided for the function.

- * - * @throws {@link EC2UnexpectedException} (server fault) - *

Lambda received an unexpected Amazon EC2 client exception while setting up for the - * Lambda function.

- * - * @throws {@link EFSIOException} (client fault) - *

An error occurred when reading from or writing to a connected file system.

- * - * @throws {@link EFSMountConnectivityException} (client fault) - *

The Lambda function couldn't make a network connection to the configured file system.

- * - * @throws {@link EFSMountFailureException} (client fault) - *

The Lambda function couldn't mount the configured file system due to a permission or configuration - * issue.

- * - * @throws {@link EFSMountTimeoutException} (client fault) - *

The Lambda function made a network connection to the configured file system, but the mount - * operation timed out.

- * - * @throws {@link ENILimitReachedException} (server fault) - *

Lambda couldn't create an elastic network interface in the VPC, specified as part of Lambda function configuration, because the limit for network interfaces has been reached. For more - * information, see Lambda - * quotas.

- * - * @throws {@link InvalidParameterValueException} (client fault) - *

One of the parameters in the request is not valid.

- * - * @throws {@link InvalidRequestContentException} (client fault) - *

The request body could not be parsed as JSON.

- * - * @throws {@link InvalidRuntimeException} (server fault) - *

The runtime or runtime version specified is not supported.

- * - * @throws {@link InvalidSecurityGroupIDException} (server fault) - *

The security group ID provided in the Lambda function VPC configuration is not valid.

- * - * @throws {@link InvalidSubnetIDException} (server fault) - *

The subnet ID provided in the Lambda function VPC configuration is not valid.

- * - * @throws {@link InvalidZipFileException} (server fault) - *

Lambda could not unzip the deployment package.

- * - * @throws {@link KMSAccessDeniedException} (server fault) - *

Lambda couldn't decrypt the environment variables because KMS access was denied. - * Check the Lambda function's KMS permissions.

- * - * @throws {@link KMSDisabledException} (server fault) - *

Lambda couldn't decrypt the environment variables because the KMS key used is - * disabled. Check the Lambda function's KMS key settings.

- * - * @throws {@link KMSInvalidStateException} (server fault) - *

Lambda couldn't decrypt the environment variables because the state of the KMS key used is not valid for Decrypt. Check the function's KMS key settings.

- * - * @throws {@link KMSNotFoundException} (server fault) - *

Lambda couldn't decrypt the environment variables because the KMS key was not - * found. Check the function's KMS key settings.

- * - * @throws {@link RecursiveInvocationException} (client fault) - *

Lambda has detected your function being invoked in a recursive loop with other Amazon Web Services resources and stopped your function's invocation.

- * - * @throws {@link RequestTooLargeException} (client fault) - *

The request payload exceeded the Invoke request body JSON input quota. For more information, see Lambda - * quotas.

- * - * @throws {@link ResourceConflictException} (client fault) - *

The resource already exists, or another operation is in progress.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The resource specified in the request does not exist.

- * - * @throws {@link ResourceNotReadyException} (server fault) - *

The function is inactive and its VPC connection is no longer available. Wait for the VPC connection to - * reestablish and try again.

- * - * @throws {@link ServiceException} (server fault) - *

The Lambda service encountered an internal error.

- * - * @throws {@link SnapStartException} (client fault) - *

The afterRestore() - * runtime hook encountered an error. For more information, check the Amazon CloudWatch logs.

- * - * @throws {@link SnapStartNotReadyException} (client fault) - *

Lambda is initializing your function. You can invoke the function when the function state becomes Active.

- * - * @throws {@link SnapStartTimeoutException} (client fault) - *

Lambda couldn't restore the snapshot within the timeout limit.

- * - * @throws {@link SubnetIPAddressLimitReachedException} (server fault) - *

Lambda couldn't set up VPC access for the Lambda function because one or more - * configured subnets has no available IP addresses.

- * - * @throws {@link TooManyRequestsException} (client fault) - *

The request throughput limit was exceeded. For more information, see Lambda quotas.

- * - * @throws {@link UnsupportedMediaTypeException} (client fault) - *

The content type of the Invoke request body is not JSON.

- * - * @throws {@link LambdaServiceException} - *

Base exception class for all service exceptions from Lambda service.

- * - */ -export declare class InvokeWithResponseStreamCommand extends $Command { - readonly input: InvokeWithResponseStreamCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - /** - * @public - */ - constructor(input: InvokeWithResponseStreamCommandInput); - /** - * @internal - */ - resolveMiddleware(clientStack: MiddlewareStack, configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions): Handler; - /** - * @internal - */ - private serialize; - /** - * @internal - */ - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/commands/ListAliasesCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/commands/ListAliasesCommand.d.ts deleted file mode 100644 index b117ddf6..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/commands/ListAliasesCommand.d.ts +++ /dev/null @@ -1,103 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; -import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; -import { ListAliasesRequest, ListAliasesResponse } from "../models/models_0"; -/** - * @public - */ -export { __MetadataBearer, $Command }; -/** - * @public - * - * The input for {@link ListAliasesCommand}. - */ -export interface ListAliasesCommandInput extends ListAliasesRequest { -} -/** - * @public - * - * The output of {@link ListAliasesCommand}. - */ -export interface ListAliasesCommandOutput extends ListAliasesResponse, __MetadataBearer { -} -/** - * @public - *

Returns a list of aliases - * for a Lambda function.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { LambdaClient, ListAliasesCommand } from "@aws-sdk/client-lambda"; // ES Modules import - * // const { LambdaClient, ListAliasesCommand } = require("@aws-sdk/client-lambda"); // CommonJS import - * const client = new LambdaClient(config); - * const input = { // ListAliasesRequest - * FunctionName: "STRING_VALUE", // required - * FunctionVersion: "STRING_VALUE", - * Marker: "STRING_VALUE", - * MaxItems: Number("int"), - * }; - * const command = new ListAliasesCommand(input); - * const response = await client.send(command); - * // { // ListAliasesResponse - * // NextMarker: "STRING_VALUE", - * // Aliases: [ // AliasList - * // { // AliasConfiguration - * // AliasArn: "STRING_VALUE", - * // Name: "STRING_VALUE", - * // FunctionVersion: "STRING_VALUE", - * // Description: "STRING_VALUE", - * // RoutingConfig: { // AliasRoutingConfiguration - * // AdditionalVersionWeights: { // AdditionalVersionWeights - * // "": Number("double"), - * // }, - * // }, - * // RevisionId: "STRING_VALUE", - * // }, - * // ], - * // }; - * - * ``` - * - * @param ListAliasesCommandInput - {@link ListAliasesCommandInput} - * @returns {@link ListAliasesCommandOutput} - * @see {@link ListAliasesCommandInput} for command's `input` shape. - * @see {@link ListAliasesCommandOutput} for command's `response` shape. - * @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape. - * - * @throws {@link InvalidParameterValueException} (client fault) - *

One of the parameters in the request is not valid.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The resource specified in the request does not exist.

- * - * @throws {@link ServiceException} (server fault) - *

The Lambda service encountered an internal error.

- * - * @throws {@link TooManyRequestsException} (client fault) - *

The request throughput limit was exceeded. For more information, see Lambda quotas.

- * - * @throws {@link LambdaServiceException} - *

Base exception class for all service exceptions from Lambda service.

- * - */ -export declare class ListAliasesCommand extends $Command { - readonly input: ListAliasesCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - /** - * @public - */ - constructor(input: ListAliasesCommandInput); - /** - * @internal - */ - resolveMiddleware(clientStack: MiddlewareStack, configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions): Handler; - /** - * @internal - */ - private serialize; - /** - * @internal - */ - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/commands/ListCodeSigningConfigsCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/commands/ListCodeSigningConfigsCommand.d.ts deleted file mode 100644 index 70a37249..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/commands/ListCodeSigningConfigsCommand.d.ts +++ /dev/null @@ -1,98 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; -import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; -import { ListCodeSigningConfigsRequest, ListCodeSigningConfigsResponse } from "../models/models_0"; -/** - * @public - */ -export { __MetadataBearer, $Command }; -/** - * @public - * - * The input for {@link ListCodeSigningConfigsCommand}. - */ -export interface ListCodeSigningConfigsCommandInput extends ListCodeSigningConfigsRequest { -} -/** - * @public - * - * The output of {@link ListCodeSigningConfigsCommand}. - */ -export interface ListCodeSigningConfigsCommandOutput extends ListCodeSigningConfigsResponse, __MetadataBearer { -} -/** - * @public - *

Returns a list of code - * signing configurations. A request returns up to 10,000 configurations per - * call. You can use the MaxItems parameter to return fewer configurations per call.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { LambdaClient, ListCodeSigningConfigsCommand } from "@aws-sdk/client-lambda"; // ES Modules import - * // const { LambdaClient, ListCodeSigningConfigsCommand } = require("@aws-sdk/client-lambda"); // CommonJS import - * const client = new LambdaClient(config); - * const input = { // ListCodeSigningConfigsRequest - * Marker: "STRING_VALUE", - * MaxItems: Number("int"), - * }; - * const command = new ListCodeSigningConfigsCommand(input); - * const response = await client.send(command); - * // { // ListCodeSigningConfigsResponse - * // NextMarker: "STRING_VALUE", - * // CodeSigningConfigs: [ // CodeSigningConfigList - * // { // CodeSigningConfig - * // CodeSigningConfigId: "STRING_VALUE", // required - * // CodeSigningConfigArn: "STRING_VALUE", // required - * // Description: "STRING_VALUE", - * // AllowedPublishers: { // AllowedPublishers - * // SigningProfileVersionArns: [ // SigningProfileVersionArns // required - * // "STRING_VALUE", - * // ], - * // }, - * // CodeSigningPolicies: { // CodeSigningPolicies - * // UntrustedArtifactOnDeployment: "Warn" || "Enforce", - * // }, - * // LastModified: "STRING_VALUE", // required - * // }, - * // ], - * // }; - * - * ``` - * - * @param ListCodeSigningConfigsCommandInput - {@link ListCodeSigningConfigsCommandInput} - * @returns {@link ListCodeSigningConfigsCommandOutput} - * @see {@link ListCodeSigningConfigsCommandInput} for command's `input` shape. - * @see {@link ListCodeSigningConfigsCommandOutput} for command's `response` shape. - * @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape. - * - * @throws {@link InvalidParameterValueException} (client fault) - *

One of the parameters in the request is not valid.

- * - * @throws {@link ServiceException} (server fault) - *

The Lambda service encountered an internal error.

- * - * @throws {@link LambdaServiceException} - *

Base exception class for all service exceptions from Lambda service.

- * - */ -export declare class ListCodeSigningConfigsCommand extends $Command { - readonly input: ListCodeSigningConfigsCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - /** - * @public - */ - constructor(input: ListCodeSigningConfigsCommandInput); - /** - * @internal - */ - resolveMiddleware(clientStack: MiddlewareStack, configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions): Handler; - /** - * @internal - */ - private serialize; - /** - * @internal - */ - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/commands/ListEventSourceMappingsCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/commands/ListEventSourceMappingsCommand.d.ts deleted file mode 100644 index 6919706e..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/commands/ListEventSourceMappingsCommand.d.ts +++ /dev/null @@ -1,160 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; -import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; -import { ListEventSourceMappingsRequest, ListEventSourceMappingsResponse } from "../models/models_0"; -/** - * @public - */ -export { __MetadataBearer, $Command }; -/** - * @public - * - * The input for {@link ListEventSourceMappingsCommand}. - */ -export interface ListEventSourceMappingsCommandInput extends ListEventSourceMappingsRequest { -} -/** - * @public - * - * The output of {@link ListEventSourceMappingsCommand}. - */ -export interface ListEventSourceMappingsCommandOutput extends ListEventSourceMappingsResponse, __MetadataBearer { -} -/** - * @public - *

Lists event source mappings. Specify an EventSourceArn to show only event source mappings for a - * single event source.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { LambdaClient, ListEventSourceMappingsCommand } from "@aws-sdk/client-lambda"; // ES Modules import - * // const { LambdaClient, ListEventSourceMappingsCommand } = require("@aws-sdk/client-lambda"); // CommonJS import - * const client = new LambdaClient(config); - * const input = { // ListEventSourceMappingsRequest - * EventSourceArn: "STRING_VALUE", - * FunctionName: "STRING_VALUE", - * Marker: "STRING_VALUE", - * MaxItems: Number("int"), - * }; - * const command = new ListEventSourceMappingsCommand(input); - * const response = await client.send(command); - * // { // ListEventSourceMappingsResponse - * // NextMarker: "STRING_VALUE", - * // EventSourceMappings: [ // EventSourceMappingsList - * // { // EventSourceMappingConfiguration - * // UUID: "STRING_VALUE", - * // StartingPosition: "TRIM_HORIZON" || "LATEST" || "AT_TIMESTAMP", - * // StartingPositionTimestamp: new Date("TIMESTAMP"), - * // BatchSize: Number("int"), - * // MaximumBatchingWindowInSeconds: Number("int"), - * // ParallelizationFactor: Number("int"), - * // EventSourceArn: "STRING_VALUE", - * // FilterCriteria: { // FilterCriteria - * // Filters: [ // FilterList - * // { // Filter - * // Pattern: "STRING_VALUE", - * // }, - * // ], - * // }, - * // FunctionArn: "STRING_VALUE", - * // LastModified: new Date("TIMESTAMP"), - * // LastProcessingResult: "STRING_VALUE", - * // State: "STRING_VALUE", - * // StateTransitionReason: "STRING_VALUE", - * // DestinationConfig: { // DestinationConfig - * // OnSuccess: { // OnSuccess - * // Destination: "STRING_VALUE", - * // }, - * // OnFailure: { // OnFailure - * // Destination: "STRING_VALUE", - * // }, - * // }, - * // Topics: [ // Topics - * // "STRING_VALUE", - * // ], - * // Queues: [ // Queues - * // "STRING_VALUE", - * // ], - * // SourceAccessConfigurations: [ // SourceAccessConfigurations - * // { // SourceAccessConfiguration - * // Type: "BASIC_AUTH" || "VPC_SUBNET" || "VPC_SECURITY_GROUP" || "SASL_SCRAM_512_AUTH" || "SASL_SCRAM_256_AUTH" || "VIRTUAL_HOST" || "CLIENT_CERTIFICATE_TLS_AUTH" || "SERVER_ROOT_CA_CERTIFICATE", - * // URI: "STRING_VALUE", - * // }, - * // ], - * // SelfManagedEventSource: { // SelfManagedEventSource - * // Endpoints: { // Endpoints - * // "": [ // EndpointLists - * // "STRING_VALUE", - * // ], - * // }, - * // }, - * // MaximumRecordAgeInSeconds: Number("int"), - * // BisectBatchOnFunctionError: true || false, - * // MaximumRetryAttempts: Number("int"), - * // TumblingWindowInSeconds: Number("int"), - * // FunctionResponseTypes: [ // FunctionResponseTypeList - * // "ReportBatchItemFailures", - * // ], - * // AmazonManagedKafkaEventSourceConfig: { // AmazonManagedKafkaEventSourceConfig - * // ConsumerGroupId: "STRING_VALUE", - * // }, - * // SelfManagedKafkaEventSourceConfig: { // SelfManagedKafkaEventSourceConfig - * // ConsumerGroupId: "STRING_VALUE", - * // }, - * // ScalingConfig: { // ScalingConfig - * // MaximumConcurrency: Number("int"), - * // }, - * // DocumentDBEventSourceConfig: { // DocumentDBEventSourceConfig - * // DatabaseName: "STRING_VALUE", - * // CollectionName: "STRING_VALUE", - * // FullDocument: "UpdateLookup" || "Default", - * // }, - * // }, - * // ], - * // }; - * - * ``` - * - * @param ListEventSourceMappingsCommandInput - {@link ListEventSourceMappingsCommandInput} - * @returns {@link ListEventSourceMappingsCommandOutput} - * @see {@link ListEventSourceMappingsCommandInput} for command's `input` shape. - * @see {@link ListEventSourceMappingsCommandOutput} for command's `response` shape. - * @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape. - * - * @throws {@link InvalidParameterValueException} (client fault) - *

One of the parameters in the request is not valid.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The resource specified in the request does not exist.

- * - * @throws {@link ServiceException} (server fault) - *

The Lambda service encountered an internal error.

- * - * @throws {@link TooManyRequestsException} (client fault) - *

The request throughput limit was exceeded. For more information, see Lambda quotas.

- * - * @throws {@link LambdaServiceException} - *

Base exception class for all service exceptions from Lambda service.

- * - */ -export declare class ListEventSourceMappingsCommand extends $Command { - readonly input: ListEventSourceMappingsCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - /** - * @public - */ - constructor(input: ListEventSourceMappingsCommandInput); - /** - * @internal - */ - resolveMiddleware(clientStack: MiddlewareStack, configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions): Handler; - /** - * @internal - */ - private serialize; - /** - * @internal - */ - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/commands/ListFunctionEventInvokeConfigsCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/commands/ListFunctionEventInvokeConfigsCommand.d.ts deleted file mode 100644 index 6a4c7953..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/commands/ListFunctionEventInvokeConfigsCommand.d.ts +++ /dev/null @@ -1,104 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; -import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; -import { ListFunctionEventInvokeConfigsRequest, ListFunctionEventInvokeConfigsResponse } from "../models/models_0"; -/** - * @public - */ -export { __MetadataBearer, $Command }; -/** - * @public - * - * The input for {@link ListFunctionEventInvokeConfigsCommand}. - */ -export interface ListFunctionEventInvokeConfigsCommandInput extends ListFunctionEventInvokeConfigsRequest { -} -/** - * @public - * - * The output of {@link ListFunctionEventInvokeConfigsCommand}. - */ -export interface ListFunctionEventInvokeConfigsCommandOutput extends ListFunctionEventInvokeConfigsResponse, __MetadataBearer { -} -/** - * @public - *

Retrieves a list of configurations for asynchronous invocation for a function.

- *

To configure options for asynchronous invocation, use PutFunctionEventInvokeConfig.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { LambdaClient, ListFunctionEventInvokeConfigsCommand } from "@aws-sdk/client-lambda"; // ES Modules import - * // const { LambdaClient, ListFunctionEventInvokeConfigsCommand } = require("@aws-sdk/client-lambda"); // CommonJS import - * const client = new LambdaClient(config); - * const input = { // ListFunctionEventInvokeConfigsRequest - * FunctionName: "STRING_VALUE", // required - * Marker: "STRING_VALUE", - * MaxItems: Number("int"), - * }; - * const command = new ListFunctionEventInvokeConfigsCommand(input); - * const response = await client.send(command); - * // { // ListFunctionEventInvokeConfigsResponse - * // FunctionEventInvokeConfigs: [ // FunctionEventInvokeConfigList - * // { // FunctionEventInvokeConfig - * // LastModified: new Date("TIMESTAMP"), - * // FunctionArn: "STRING_VALUE", - * // MaximumRetryAttempts: Number("int"), - * // MaximumEventAgeInSeconds: Number("int"), - * // DestinationConfig: { // DestinationConfig - * // OnSuccess: { // OnSuccess - * // Destination: "STRING_VALUE", - * // }, - * // OnFailure: { // OnFailure - * // Destination: "STRING_VALUE", - * // }, - * // }, - * // }, - * // ], - * // NextMarker: "STRING_VALUE", - * // }; - * - * ``` - * - * @param ListFunctionEventInvokeConfigsCommandInput - {@link ListFunctionEventInvokeConfigsCommandInput} - * @returns {@link ListFunctionEventInvokeConfigsCommandOutput} - * @see {@link ListFunctionEventInvokeConfigsCommandInput} for command's `input` shape. - * @see {@link ListFunctionEventInvokeConfigsCommandOutput} for command's `response` shape. - * @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape. - * - * @throws {@link InvalidParameterValueException} (client fault) - *

One of the parameters in the request is not valid.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The resource specified in the request does not exist.

- * - * @throws {@link ServiceException} (server fault) - *

The Lambda service encountered an internal error.

- * - * @throws {@link TooManyRequestsException} (client fault) - *

The request throughput limit was exceeded. For more information, see Lambda quotas.

- * - * @throws {@link LambdaServiceException} - *

Base exception class for all service exceptions from Lambda service.

- * - */ -export declare class ListFunctionEventInvokeConfigsCommand extends $Command { - readonly input: ListFunctionEventInvokeConfigsCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - /** - * @public - */ - constructor(input: ListFunctionEventInvokeConfigsCommandInput); - /** - * @internal - */ - resolveMiddleware(clientStack: MiddlewareStack, configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions): Handler; - /** - * @internal - */ - private serialize; - /** - * @internal - */ - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/commands/ListFunctionUrlConfigsCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/commands/ListFunctionUrlConfigsCommand.d.ts deleted file mode 100644 index 5f75a94b..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/commands/ListFunctionUrlConfigsCommand.d.ts +++ /dev/null @@ -1,113 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; -import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; -import { ListFunctionUrlConfigsRequest, ListFunctionUrlConfigsResponse } from "../models/models_0"; -/** - * @public - */ -export { __MetadataBearer, $Command }; -/** - * @public - * - * The input for {@link ListFunctionUrlConfigsCommand}. - */ -export interface ListFunctionUrlConfigsCommandInput extends ListFunctionUrlConfigsRequest { -} -/** - * @public - * - * The output of {@link ListFunctionUrlConfigsCommand}. - */ -export interface ListFunctionUrlConfigsCommandOutput extends ListFunctionUrlConfigsResponse, __MetadataBearer { -} -/** - * @public - *

Returns a list of Lambda function URLs for the specified function.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { LambdaClient, ListFunctionUrlConfigsCommand } from "@aws-sdk/client-lambda"; // ES Modules import - * // const { LambdaClient, ListFunctionUrlConfigsCommand } = require("@aws-sdk/client-lambda"); // CommonJS import - * const client = new LambdaClient(config); - * const input = { // ListFunctionUrlConfigsRequest - * FunctionName: "STRING_VALUE", // required - * Marker: "STRING_VALUE", - * MaxItems: Number("int"), - * }; - * const command = new ListFunctionUrlConfigsCommand(input); - * const response = await client.send(command); - * // { // ListFunctionUrlConfigsResponse - * // FunctionUrlConfigs: [ // FunctionUrlConfigList // required - * // { // FunctionUrlConfig - * // FunctionUrl: "STRING_VALUE", // required - * // FunctionArn: "STRING_VALUE", // required - * // CreationTime: "STRING_VALUE", // required - * // LastModifiedTime: "STRING_VALUE", // required - * // Cors: { // Cors - * // AllowCredentials: true || false, - * // AllowHeaders: [ // HeadersList - * // "STRING_VALUE", - * // ], - * // AllowMethods: [ // AllowMethodsList - * // "STRING_VALUE", - * // ], - * // AllowOrigins: [ // AllowOriginsList - * // "STRING_VALUE", - * // ], - * // ExposeHeaders: [ - * // "STRING_VALUE", - * // ], - * // MaxAge: Number("int"), - * // }, - * // AuthType: "NONE" || "AWS_IAM", // required - * // InvokeMode: "BUFFERED" || "RESPONSE_STREAM", - * // }, - * // ], - * // NextMarker: "STRING_VALUE", - * // }; - * - * ``` - * - * @param ListFunctionUrlConfigsCommandInput - {@link ListFunctionUrlConfigsCommandInput} - * @returns {@link ListFunctionUrlConfigsCommandOutput} - * @see {@link ListFunctionUrlConfigsCommandInput} for command's `input` shape. - * @see {@link ListFunctionUrlConfigsCommandOutput} for command's `response` shape. - * @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape. - * - * @throws {@link InvalidParameterValueException} (client fault) - *

One of the parameters in the request is not valid.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The resource specified in the request does not exist.

- * - * @throws {@link ServiceException} (server fault) - *

The Lambda service encountered an internal error.

- * - * @throws {@link TooManyRequestsException} (client fault) - *

The request throughput limit was exceeded. For more information, see Lambda quotas.

- * - * @throws {@link LambdaServiceException} - *

Base exception class for all service exceptions from Lambda service.

- * - */ -export declare class ListFunctionUrlConfigsCommand extends $Command { - readonly input: ListFunctionUrlConfigsCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - /** - * @public - */ - constructor(input: ListFunctionUrlConfigsCommandInput); - /** - * @internal - */ - resolveMiddleware(clientStack: MiddlewareStack, configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions): Handler; - /** - * @internal - */ - private serialize; - /** - * @internal - */ - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/commands/ListFunctionsByCodeSigningConfigCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/commands/ListFunctionsByCodeSigningConfigCommand.d.ts deleted file mode 100644 index 2bcac511..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/commands/ListFunctionsByCodeSigningConfigCommand.d.ts +++ /dev/null @@ -1,88 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; -import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; -import { ListFunctionsByCodeSigningConfigRequest, ListFunctionsByCodeSigningConfigResponse } from "../models/models_0"; -/** - * @public - */ -export { __MetadataBearer, $Command }; -/** - * @public - * - * The input for {@link ListFunctionsByCodeSigningConfigCommand}. - */ -export interface ListFunctionsByCodeSigningConfigCommandInput extends ListFunctionsByCodeSigningConfigRequest { -} -/** - * @public - * - * The output of {@link ListFunctionsByCodeSigningConfigCommand}. - */ -export interface ListFunctionsByCodeSigningConfigCommandOutput extends ListFunctionsByCodeSigningConfigResponse, __MetadataBearer { -} -/** - * @public - *

List the functions that use the specified code signing configuration. You can use this method prior to deleting a - * code signing configuration, to verify that no functions are using it.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { LambdaClient, ListFunctionsByCodeSigningConfigCommand } from "@aws-sdk/client-lambda"; // ES Modules import - * // const { LambdaClient, ListFunctionsByCodeSigningConfigCommand } = require("@aws-sdk/client-lambda"); // CommonJS import - * const client = new LambdaClient(config); - * const input = { // ListFunctionsByCodeSigningConfigRequest - * CodeSigningConfigArn: "STRING_VALUE", // required - * Marker: "STRING_VALUE", - * MaxItems: Number("int"), - * }; - * const command = new ListFunctionsByCodeSigningConfigCommand(input); - * const response = await client.send(command); - * // { // ListFunctionsByCodeSigningConfigResponse - * // NextMarker: "STRING_VALUE", - * // FunctionArns: [ // FunctionArnList - * // "STRING_VALUE", - * // ], - * // }; - * - * ``` - * - * @param ListFunctionsByCodeSigningConfigCommandInput - {@link ListFunctionsByCodeSigningConfigCommandInput} - * @returns {@link ListFunctionsByCodeSigningConfigCommandOutput} - * @see {@link ListFunctionsByCodeSigningConfigCommandInput} for command's `input` shape. - * @see {@link ListFunctionsByCodeSigningConfigCommandOutput} for command's `response` shape. - * @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape. - * - * @throws {@link InvalidParameterValueException} (client fault) - *

One of the parameters in the request is not valid.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The resource specified in the request does not exist.

- * - * @throws {@link ServiceException} (server fault) - *

The Lambda service encountered an internal error.

- * - * @throws {@link LambdaServiceException} - *

Base exception class for all service exceptions from Lambda service.

- * - */ -export declare class ListFunctionsByCodeSigningConfigCommand extends $Command { - readonly input: ListFunctionsByCodeSigningConfigCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - /** - * @public - */ - constructor(input: ListFunctionsByCodeSigningConfigCommandInput); - /** - * @internal - */ - resolveMiddleware(clientStack: MiddlewareStack, configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions): Handler; - /** - * @internal - */ - private serialize; - /** - * @internal - */ - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/commands/ListFunctionsCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/commands/ListFunctionsCommand.d.ts deleted file mode 100644 index 7f5dad13..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/commands/ListFunctionsCommand.d.ts +++ /dev/null @@ -1,198 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; -import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; -import { ListFunctionsRequest, ListFunctionsResponse } from "../models/models_0"; -/** - * @public - */ -export { __MetadataBearer, $Command }; -/** - * @public - * - * The input for {@link ListFunctionsCommand}. - */ -export interface ListFunctionsCommandInput extends ListFunctionsRequest { -} -/** - * @public - * - * The output of {@link ListFunctionsCommand}. - */ -export interface ListFunctionsCommandOutput extends ListFunctionsResponse, __MetadataBearer { -} -/** - * @public - *

Returns a list of Lambda functions, with the version-specific configuration of each. Lambda returns up to 50 - * functions per call.

- *

Set FunctionVersion to ALL to include all published versions of each function in - * addition to the unpublished version.

- * - *

The ListFunctions operation returns a subset of the FunctionConfiguration fields. - * To get the additional fields (State, StateReasonCode, StateReason, LastUpdateStatus, LastUpdateStatusReason, - * LastUpdateStatusReasonCode, RuntimeVersionConfig) for a function or version, use GetFunction.

- *
- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { LambdaClient, ListFunctionsCommand } from "@aws-sdk/client-lambda"; // ES Modules import - * // const { LambdaClient, ListFunctionsCommand } = require("@aws-sdk/client-lambda"); // CommonJS import - * const client = new LambdaClient(config); - * const input = { // ListFunctionsRequest - * MasterRegion: "STRING_VALUE", - * FunctionVersion: "ALL", - * Marker: "STRING_VALUE", - * MaxItems: Number("int"), - * }; - * const command = new ListFunctionsCommand(input); - * const response = await client.send(command); - * // { // ListFunctionsResponse - * // NextMarker: "STRING_VALUE", - * // Functions: [ // FunctionList - * // { // FunctionConfiguration - * // FunctionName: "STRING_VALUE", - * // FunctionArn: "STRING_VALUE", - * // Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21", - * // Role: "STRING_VALUE", - * // Handler: "STRING_VALUE", - * // CodeSize: Number("long"), - * // Description: "STRING_VALUE", - * // Timeout: Number("int"), - * // MemorySize: Number("int"), - * // LastModified: "STRING_VALUE", - * // CodeSha256: "STRING_VALUE", - * // Version: "STRING_VALUE", - * // VpcConfig: { // VpcConfigResponse - * // SubnetIds: [ // SubnetIds - * // "STRING_VALUE", - * // ], - * // SecurityGroupIds: [ // SecurityGroupIds - * // "STRING_VALUE", - * // ], - * // VpcId: "STRING_VALUE", - * // Ipv6AllowedForDualStack: true || false, - * // }, - * // DeadLetterConfig: { // DeadLetterConfig - * // TargetArn: "STRING_VALUE", - * // }, - * // Environment: { // EnvironmentResponse - * // Variables: { // EnvironmentVariables - * // "": "STRING_VALUE", - * // }, - * // Error: { // EnvironmentError - * // ErrorCode: "STRING_VALUE", - * // Message: "STRING_VALUE", - * // }, - * // }, - * // KMSKeyArn: "STRING_VALUE", - * // TracingConfig: { // TracingConfigResponse - * // Mode: "Active" || "PassThrough", - * // }, - * // MasterArn: "STRING_VALUE", - * // RevisionId: "STRING_VALUE", - * // Layers: [ // LayersReferenceList - * // { // Layer - * // Arn: "STRING_VALUE", - * // CodeSize: Number("long"), - * // SigningProfileVersionArn: "STRING_VALUE", - * // SigningJobArn: "STRING_VALUE", - * // }, - * // ], - * // State: "Pending" || "Active" || "Inactive" || "Failed", - * // StateReason: "STRING_VALUE", - * // StateReasonCode: "Idle" || "Creating" || "Restoring" || "EniLimitExceeded" || "InsufficientRolePermissions" || "InvalidConfiguration" || "InternalError" || "SubnetOutOfIPAddresses" || "InvalidSubnet" || "InvalidSecurityGroup" || "ImageDeleted" || "ImageAccessDenied" || "InvalidImage" || "KMSKeyAccessDenied" || "KMSKeyNotFound" || "InvalidStateKMSKey" || "DisabledKMSKey" || "EFSIOError" || "EFSMountConnectivityError" || "EFSMountFailure" || "EFSMountTimeout" || "InvalidRuntime" || "InvalidZipFileException" || "FunctionError", - * // LastUpdateStatus: "Successful" || "Failed" || "InProgress", - * // LastUpdateStatusReason: "STRING_VALUE", - * // LastUpdateStatusReasonCode: "EniLimitExceeded" || "InsufficientRolePermissions" || "InvalidConfiguration" || "InternalError" || "SubnetOutOfIPAddresses" || "InvalidSubnet" || "InvalidSecurityGroup" || "ImageDeleted" || "ImageAccessDenied" || "InvalidImage" || "KMSKeyAccessDenied" || "KMSKeyNotFound" || "InvalidStateKMSKey" || "DisabledKMSKey" || "EFSIOError" || "EFSMountConnectivityError" || "EFSMountFailure" || "EFSMountTimeout" || "InvalidRuntime" || "InvalidZipFileException" || "FunctionError", - * // FileSystemConfigs: [ // FileSystemConfigList - * // { // FileSystemConfig - * // Arn: "STRING_VALUE", // required - * // LocalMountPath: "STRING_VALUE", // required - * // }, - * // ], - * // PackageType: "Zip" || "Image", - * // ImageConfigResponse: { // ImageConfigResponse - * // ImageConfig: { // ImageConfig - * // EntryPoint: [ // StringList - * // "STRING_VALUE", - * // ], - * // Command: [ - * // "STRING_VALUE", - * // ], - * // WorkingDirectory: "STRING_VALUE", - * // }, - * // Error: { // ImageConfigError - * // ErrorCode: "STRING_VALUE", - * // Message: "STRING_VALUE", - * // }, - * // }, - * // SigningProfileVersionArn: "STRING_VALUE", - * // SigningJobArn: "STRING_VALUE", - * // Architectures: [ // ArchitecturesList - * // "x86_64" || "arm64", - * // ], - * // EphemeralStorage: { // EphemeralStorage - * // Size: Number("int"), // required - * // }, - * // SnapStart: { // SnapStartResponse - * // ApplyOn: "PublishedVersions" || "None", - * // OptimizationStatus: "On" || "Off", - * // }, - * // RuntimeVersionConfig: { // RuntimeVersionConfig - * // RuntimeVersionArn: "STRING_VALUE", - * // Error: { // RuntimeVersionError - * // ErrorCode: "STRING_VALUE", - * // Message: "STRING_VALUE", - * // }, - * // }, - * // LoggingConfig: { // LoggingConfig - * // LogFormat: "JSON" || "Text", - * // ApplicationLogLevel: "TRACE" || "DEBUG" || "INFO" || "WARN" || "ERROR" || "FATAL", - * // SystemLogLevel: "DEBUG" || "INFO" || "WARN", - * // LogGroup: "STRING_VALUE", - * // }, - * // }, - * // ], - * // }; - * - * ``` - * - * @param ListFunctionsCommandInput - {@link ListFunctionsCommandInput} - * @returns {@link ListFunctionsCommandOutput} - * @see {@link ListFunctionsCommandInput} for command's `input` shape. - * @see {@link ListFunctionsCommandOutput} for command's `response` shape. - * @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape. - * - * @throws {@link InvalidParameterValueException} (client fault) - *

One of the parameters in the request is not valid.

- * - * @throws {@link ServiceException} (server fault) - *

The Lambda service encountered an internal error.

- * - * @throws {@link TooManyRequestsException} (client fault) - *

The request throughput limit was exceeded. For more information, see Lambda quotas.

- * - * @throws {@link LambdaServiceException} - *

Base exception class for all service exceptions from Lambda service.

- * - */ -export declare class ListFunctionsCommand extends $Command { - readonly input: ListFunctionsCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - /** - * @public - */ - constructor(input: ListFunctionsCommandInput); - /** - * @internal - */ - resolveMiddleware(clientStack: MiddlewareStack, configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions): Handler; - /** - * @internal - */ - private serialize; - /** - * @internal - */ - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/commands/ListLayerVersionsCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/commands/ListLayerVersionsCommand.d.ts deleted file mode 100644 index 0474d852..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/commands/ListLayerVersionsCommand.d.ts +++ /dev/null @@ -1,107 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; -import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; -import { ListLayerVersionsRequest, ListLayerVersionsResponse } from "../models/models_0"; -/** - * @public - */ -export { __MetadataBearer, $Command }; -/** - * @public - * - * The input for {@link ListLayerVersionsCommand}. - */ -export interface ListLayerVersionsCommandInput extends ListLayerVersionsRequest { -} -/** - * @public - * - * The output of {@link ListLayerVersionsCommand}. - */ -export interface ListLayerVersionsCommandOutput extends ListLayerVersionsResponse, __MetadataBearer { -} -/** - * @public - *

Lists the versions of an Lambda - * layer. Versions that have been deleted aren't listed. Specify a runtime identifier to list only - * versions that indicate that they're compatible with that runtime. Specify a compatible architecture to include only - * layer versions that are compatible with that architecture.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { LambdaClient, ListLayerVersionsCommand } from "@aws-sdk/client-lambda"; // ES Modules import - * // const { LambdaClient, ListLayerVersionsCommand } = require("@aws-sdk/client-lambda"); // CommonJS import - * const client = new LambdaClient(config); - * const input = { // ListLayerVersionsRequest - * CompatibleRuntime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21", - * LayerName: "STRING_VALUE", // required - * Marker: "STRING_VALUE", - * MaxItems: Number("int"), - * CompatibleArchitecture: "x86_64" || "arm64", - * }; - * const command = new ListLayerVersionsCommand(input); - * const response = await client.send(command); - * // { // ListLayerVersionsResponse - * // NextMarker: "STRING_VALUE", - * // LayerVersions: [ // LayerVersionsList - * // { // LayerVersionsListItem - * // LayerVersionArn: "STRING_VALUE", - * // Version: Number("long"), - * // Description: "STRING_VALUE", - * // CreatedDate: "STRING_VALUE", - * // CompatibleRuntimes: [ // CompatibleRuntimes - * // "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21", - * // ], - * // LicenseInfo: "STRING_VALUE", - * // CompatibleArchitectures: [ // CompatibleArchitectures - * // "x86_64" || "arm64", - * // ], - * // }, - * // ], - * // }; - * - * ``` - * - * @param ListLayerVersionsCommandInput - {@link ListLayerVersionsCommandInput} - * @returns {@link ListLayerVersionsCommandOutput} - * @see {@link ListLayerVersionsCommandInput} for command's `input` shape. - * @see {@link ListLayerVersionsCommandOutput} for command's `response` shape. - * @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape. - * - * @throws {@link InvalidParameterValueException} (client fault) - *

One of the parameters in the request is not valid.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The resource specified in the request does not exist.

- * - * @throws {@link ServiceException} (server fault) - *

The Lambda service encountered an internal error.

- * - * @throws {@link TooManyRequestsException} (client fault) - *

The request throughput limit was exceeded. For more information, see Lambda quotas.

- * - * @throws {@link LambdaServiceException} - *

Base exception class for all service exceptions from Lambda service.

- * - */ -export declare class ListLayerVersionsCommand extends $Command { - readonly input: ListLayerVersionsCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - /** - * @public - */ - constructor(input: ListLayerVersionsCommandInput); - /** - * @internal - */ - resolveMiddleware(clientStack: MiddlewareStack, configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions): Handler; - /** - * @internal - */ - private serialize; - /** - * @internal - */ - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/commands/ListLayersCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/commands/ListLayersCommand.d.ts deleted file mode 100644 index 42da3662..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/commands/ListLayersCommand.d.ts +++ /dev/null @@ -1,109 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; -import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; -import { ListLayersRequest, ListLayersResponse } from "../models/models_0"; -/** - * @public - */ -export { __MetadataBearer, $Command }; -/** - * @public - * - * The input for {@link ListLayersCommand}. - */ -export interface ListLayersCommandInput extends ListLayersRequest { -} -/** - * @public - * - * The output of {@link ListLayersCommand}. - */ -export interface ListLayersCommandOutput extends ListLayersResponse, __MetadataBearer { -} -/** - * @public - *

Lists Lambda - * layers and shows information about the latest version of each. Specify a - * runtime - * identifier to list only layers that indicate that they're compatible with that - * runtime. Specify a compatible architecture to include only layers that are compatible with - * that instruction set architecture.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { LambdaClient, ListLayersCommand } from "@aws-sdk/client-lambda"; // ES Modules import - * // const { LambdaClient, ListLayersCommand } = require("@aws-sdk/client-lambda"); // CommonJS import - * const client = new LambdaClient(config); - * const input = { // ListLayersRequest - * CompatibleRuntime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21", - * Marker: "STRING_VALUE", - * MaxItems: Number("int"), - * CompatibleArchitecture: "x86_64" || "arm64", - * }; - * const command = new ListLayersCommand(input); - * const response = await client.send(command); - * // { // ListLayersResponse - * // NextMarker: "STRING_VALUE", - * // Layers: [ // LayersList - * // { // LayersListItem - * // LayerName: "STRING_VALUE", - * // LayerArn: "STRING_VALUE", - * // LatestMatchingVersion: { // LayerVersionsListItem - * // LayerVersionArn: "STRING_VALUE", - * // Version: Number("long"), - * // Description: "STRING_VALUE", - * // CreatedDate: "STRING_VALUE", - * // CompatibleRuntimes: [ // CompatibleRuntimes - * // "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21", - * // ], - * // LicenseInfo: "STRING_VALUE", - * // CompatibleArchitectures: [ // CompatibleArchitectures - * // "x86_64" || "arm64", - * // ], - * // }, - * // }, - * // ], - * // }; - * - * ``` - * - * @param ListLayersCommandInput - {@link ListLayersCommandInput} - * @returns {@link ListLayersCommandOutput} - * @see {@link ListLayersCommandInput} for command's `input` shape. - * @see {@link ListLayersCommandOutput} for command's `response` shape. - * @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape. - * - * @throws {@link InvalidParameterValueException} (client fault) - *

One of the parameters in the request is not valid.

- * - * @throws {@link ServiceException} (server fault) - *

The Lambda service encountered an internal error.

- * - * @throws {@link TooManyRequestsException} (client fault) - *

The request throughput limit was exceeded. For more information, see Lambda quotas.

- * - * @throws {@link LambdaServiceException} - *

Base exception class for all service exceptions from Lambda service.

- * - */ -export declare class ListLayersCommand extends $Command { - readonly input: ListLayersCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - /** - * @public - */ - constructor(input: ListLayersCommandInput); - /** - * @internal - */ - resolveMiddleware(clientStack: MiddlewareStack, configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions): Handler; - /** - * @internal - */ - private serialize; - /** - * @internal - */ - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/commands/ListProvisionedConcurrencyConfigsCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/commands/ListProvisionedConcurrencyConfigsCommand.d.ts deleted file mode 100644 index b3368342..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/commands/ListProvisionedConcurrencyConfigsCommand.d.ts +++ /dev/null @@ -1,98 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; -import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; -import { ListProvisionedConcurrencyConfigsRequest, ListProvisionedConcurrencyConfigsResponse } from "../models/models_0"; -/** - * @public - */ -export { __MetadataBearer, $Command }; -/** - * @public - * - * The input for {@link ListProvisionedConcurrencyConfigsCommand}. - */ -export interface ListProvisionedConcurrencyConfigsCommandInput extends ListProvisionedConcurrencyConfigsRequest { -} -/** - * @public - * - * The output of {@link ListProvisionedConcurrencyConfigsCommand}. - */ -export interface ListProvisionedConcurrencyConfigsCommandOutput extends ListProvisionedConcurrencyConfigsResponse, __MetadataBearer { -} -/** - * @public - *

Retrieves a list of provisioned concurrency configurations for a function.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { LambdaClient, ListProvisionedConcurrencyConfigsCommand } from "@aws-sdk/client-lambda"; // ES Modules import - * // const { LambdaClient, ListProvisionedConcurrencyConfigsCommand } = require("@aws-sdk/client-lambda"); // CommonJS import - * const client = new LambdaClient(config); - * const input = { // ListProvisionedConcurrencyConfigsRequest - * FunctionName: "STRING_VALUE", // required - * Marker: "STRING_VALUE", - * MaxItems: Number("int"), - * }; - * const command = new ListProvisionedConcurrencyConfigsCommand(input); - * const response = await client.send(command); - * // { // ListProvisionedConcurrencyConfigsResponse - * // ProvisionedConcurrencyConfigs: [ // ProvisionedConcurrencyConfigList - * // { // ProvisionedConcurrencyConfigListItem - * // FunctionArn: "STRING_VALUE", - * // RequestedProvisionedConcurrentExecutions: Number("int"), - * // AvailableProvisionedConcurrentExecutions: Number("int"), - * // AllocatedProvisionedConcurrentExecutions: Number("int"), - * // Status: "IN_PROGRESS" || "READY" || "FAILED", - * // StatusReason: "STRING_VALUE", - * // LastModified: "STRING_VALUE", - * // }, - * // ], - * // NextMarker: "STRING_VALUE", - * // }; - * - * ``` - * - * @param ListProvisionedConcurrencyConfigsCommandInput - {@link ListProvisionedConcurrencyConfigsCommandInput} - * @returns {@link ListProvisionedConcurrencyConfigsCommandOutput} - * @see {@link ListProvisionedConcurrencyConfigsCommandInput} for command's `input` shape. - * @see {@link ListProvisionedConcurrencyConfigsCommandOutput} for command's `response` shape. - * @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape. - * - * @throws {@link InvalidParameterValueException} (client fault) - *

One of the parameters in the request is not valid.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The resource specified in the request does not exist.

- * - * @throws {@link ServiceException} (server fault) - *

The Lambda service encountered an internal error.

- * - * @throws {@link TooManyRequestsException} (client fault) - *

The request throughput limit was exceeded. For more information, see Lambda quotas.

- * - * @throws {@link LambdaServiceException} - *

Base exception class for all service exceptions from Lambda service.

- * - */ -export declare class ListProvisionedConcurrencyConfigsCommand extends $Command { - readonly input: ListProvisionedConcurrencyConfigsCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - /** - * @public - */ - constructor(input: ListProvisionedConcurrencyConfigsCommandInput); - /** - * @internal - */ - resolveMiddleware(clientStack: MiddlewareStack, configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions): Handler; - /** - * @internal - */ - private serialize; - /** - * @internal - */ - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/commands/ListTagsCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/commands/ListTagsCommand.d.ts deleted file mode 100644 index acebff5e..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/commands/ListTagsCommand.d.ts +++ /dev/null @@ -1,88 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; -import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; -import { ListTagsRequest, ListTagsResponse } from "../models/models_0"; -/** - * @public - */ -export { __MetadataBearer, $Command }; -/** - * @public - * - * The input for {@link ListTagsCommand}. - */ -export interface ListTagsCommandInput extends ListTagsRequest { -} -/** - * @public - * - * The output of {@link ListTagsCommand}. - */ -export interface ListTagsCommandOutput extends ListTagsResponse, __MetadataBearer { -} -/** - * @public - *

Returns a function's tags. You can - * also view tags with GetFunction.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { LambdaClient, ListTagsCommand } from "@aws-sdk/client-lambda"; // ES Modules import - * // const { LambdaClient, ListTagsCommand } = require("@aws-sdk/client-lambda"); // CommonJS import - * const client = new LambdaClient(config); - * const input = { // ListTagsRequest - * Resource: "STRING_VALUE", // required - * }; - * const command = new ListTagsCommand(input); - * const response = await client.send(command); - * // { // ListTagsResponse - * // Tags: { // Tags - * // "": "STRING_VALUE", - * // }, - * // }; - * - * ``` - * - * @param ListTagsCommandInput - {@link ListTagsCommandInput} - * @returns {@link ListTagsCommandOutput} - * @see {@link ListTagsCommandInput} for command's `input` shape. - * @see {@link ListTagsCommandOutput} for command's `response` shape. - * @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape. - * - * @throws {@link InvalidParameterValueException} (client fault) - *

One of the parameters in the request is not valid.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The resource specified in the request does not exist.

- * - * @throws {@link ServiceException} (server fault) - *

The Lambda service encountered an internal error.

- * - * @throws {@link TooManyRequestsException} (client fault) - *

The request throughput limit was exceeded. For more information, see Lambda quotas.

- * - * @throws {@link LambdaServiceException} - *

Base exception class for all service exceptions from Lambda service.

- * - */ -export declare class ListTagsCommand extends $Command { - readonly input: ListTagsCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - /** - * @public - */ - constructor(input: ListTagsCommandInput); - /** - * @internal - */ - resolveMiddleware(clientStack: MiddlewareStack, configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions): Handler; - /** - * @internal - */ - private serialize; - /** - * @internal - */ - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/commands/ListVersionsByFunctionCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/commands/ListVersionsByFunctionCommand.d.ts deleted file mode 100644 index c2682cbc..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/commands/ListVersionsByFunctionCommand.d.ts +++ /dev/null @@ -1,193 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; -import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; -import { ListVersionsByFunctionRequest, ListVersionsByFunctionResponse } from "../models/models_0"; -/** - * @public - */ -export { __MetadataBearer, $Command }; -/** - * @public - * - * The input for {@link ListVersionsByFunctionCommand}. - */ -export interface ListVersionsByFunctionCommandInput extends ListVersionsByFunctionRequest { -} -/** - * @public - * - * The output of {@link ListVersionsByFunctionCommand}. - */ -export interface ListVersionsByFunctionCommandOutput extends ListVersionsByFunctionResponse, __MetadataBearer { -} -/** - * @public - *

Returns a list of versions, - * with the version-specific configuration of each. Lambda returns up to 50 versions per call.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { LambdaClient, ListVersionsByFunctionCommand } from "@aws-sdk/client-lambda"; // ES Modules import - * // const { LambdaClient, ListVersionsByFunctionCommand } = require("@aws-sdk/client-lambda"); // CommonJS import - * const client = new LambdaClient(config); - * const input = { // ListVersionsByFunctionRequest - * FunctionName: "STRING_VALUE", // required - * Marker: "STRING_VALUE", - * MaxItems: Number("int"), - * }; - * const command = new ListVersionsByFunctionCommand(input); - * const response = await client.send(command); - * // { // ListVersionsByFunctionResponse - * // NextMarker: "STRING_VALUE", - * // Versions: [ // FunctionList - * // { // FunctionConfiguration - * // FunctionName: "STRING_VALUE", - * // FunctionArn: "STRING_VALUE", - * // Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21", - * // Role: "STRING_VALUE", - * // Handler: "STRING_VALUE", - * // CodeSize: Number("long"), - * // Description: "STRING_VALUE", - * // Timeout: Number("int"), - * // MemorySize: Number("int"), - * // LastModified: "STRING_VALUE", - * // CodeSha256: "STRING_VALUE", - * // Version: "STRING_VALUE", - * // VpcConfig: { // VpcConfigResponse - * // SubnetIds: [ // SubnetIds - * // "STRING_VALUE", - * // ], - * // SecurityGroupIds: [ // SecurityGroupIds - * // "STRING_VALUE", - * // ], - * // VpcId: "STRING_VALUE", - * // Ipv6AllowedForDualStack: true || false, - * // }, - * // DeadLetterConfig: { // DeadLetterConfig - * // TargetArn: "STRING_VALUE", - * // }, - * // Environment: { // EnvironmentResponse - * // Variables: { // EnvironmentVariables - * // "": "STRING_VALUE", - * // }, - * // Error: { // EnvironmentError - * // ErrorCode: "STRING_VALUE", - * // Message: "STRING_VALUE", - * // }, - * // }, - * // KMSKeyArn: "STRING_VALUE", - * // TracingConfig: { // TracingConfigResponse - * // Mode: "Active" || "PassThrough", - * // }, - * // MasterArn: "STRING_VALUE", - * // RevisionId: "STRING_VALUE", - * // Layers: [ // LayersReferenceList - * // { // Layer - * // Arn: "STRING_VALUE", - * // CodeSize: Number("long"), - * // SigningProfileVersionArn: "STRING_VALUE", - * // SigningJobArn: "STRING_VALUE", - * // }, - * // ], - * // State: "Pending" || "Active" || "Inactive" || "Failed", - * // StateReason: "STRING_VALUE", - * // StateReasonCode: "Idle" || "Creating" || "Restoring" || "EniLimitExceeded" || "InsufficientRolePermissions" || "InvalidConfiguration" || "InternalError" || "SubnetOutOfIPAddresses" || "InvalidSubnet" || "InvalidSecurityGroup" || "ImageDeleted" || "ImageAccessDenied" || "InvalidImage" || "KMSKeyAccessDenied" || "KMSKeyNotFound" || "InvalidStateKMSKey" || "DisabledKMSKey" || "EFSIOError" || "EFSMountConnectivityError" || "EFSMountFailure" || "EFSMountTimeout" || "InvalidRuntime" || "InvalidZipFileException" || "FunctionError", - * // LastUpdateStatus: "Successful" || "Failed" || "InProgress", - * // LastUpdateStatusReason: "STRING_VALUE", - * // LastUpdateStatusReasonCode: "EniLimitExceeded" || "InsufficientRolePermissions" || "InvalidConfiguration" || "InternalError" || "SubnetOutOfIPAddresses" || "InvalidSubnet" || "InvalidSecurityGroup" || "ImageDeleted" || "ImageAccessDenied" || "InvalidImage" || "KMSKeyAccessDenied" || "KMSKeyNotFound" || "InvalidStateKMSKey" || "DisabledKMSKey" || "EFSIOError" || "EFSMountConnectivityError" || "EFSMountFailure" || "EFSMountTimeout" || "InvalidRuntime" || "InvalidZipFileException" || "FunctionError", - * // FileSystemConfigs: [ // FileSystemConfigList - * // { // FileSystemConfig - * // Arn: "STRING_VALUE", // required - * // LocalMountPath: "STRING_VALUE", // required - * // }, - * // ], - * // PackageType: "Zip" || "Image", - * // ImageConfigResponse: { // ImageConfigResponse - * // ImageConfig: { // ImageConfig - * // EntryPoint: [ // StringList - * // "STRING_VALUE", - * // ], - * // Command: [ - * // "STRING_VALUE", - * // ], - * // WorkingDirectory: "STRING_VALUE", - * // }, - * // Error: { // ImageConfigError - * // ErrorCode: "STRING_VALUE", - * // Message: "STRING_VALUE", - * // }, - * // }, - * // SigningProfileVersionArn: "STRING_VALUE", - * // SigningJobArn: "STRING_VALUE", - * // Architectures: [ // ArchitecturesList - * // "x86_64" || "arm64", - * // ], - * // EphemeralStorage: { // EphemeralStorage - * // Size: Number("int"), // required - * // }, - * // SnapStart: { // SnapStartResponse - * // ApplyOn: "PublishedVersions" || "None", - * // OptimizationStatus: "On" || "Off", - * // }, - * // RuntimeVersionConfig: { // RuntimeVersionConfig - * // RuntimeVersionArn: "STRING_VALUE", - * // Error: { // RuntimeVersionError - * // ErrorCode: "STRING_VALUE", - * // Message: "STRING_VALUE", - * // }, - * // }, - * // LoggingConfig: { // LoggingConfig - * // LogFormat: "JSON" || "Text", - * // ApplicationLogLevel: "TRACE" || "DEBUG" || "INFO" || "WARN" || "ERROR" || "FATAL", - * // SystemLogLevel: "DEBUG" || "INFO" || "WARN", - * // LogGroup: "STRING_VALUE", - * // }, - * // }, - * // ], - * // }; - * - * ``` - * - * @param ListVersionsByFunctionCommandInput - {@link ListVersionsByFunctionCommandInput} - * @returns {@link ListVersionsByFunctionCommandOutput} - * @see {@link ListVersionsByFunctionCommandInput} for command's `input` shape. - * @see {@link ListVersionsByFunctionCommandOutput} for command's `response` shape. - * @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape. - * - * @throws {@link InvalidParameterValueException} (client fault) - *

One of the parameters in the request is not valid.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The resource specified in the request does not exist.

- * - * @throws {@link ServiceException} (server fault) - *

The Lambda service encountered an internal error.

- * - * @throws {@link TooManyRequestsException} (client fault) - *

The request throughput limit was exceeded. For more information, see Lambda quotas.

- * - * @throws {@link LambdaServiceException} - *

Base exception class for all service exceptions from Lambda service.

- * - */ -export declare class ListVersionsByFunctionCommand extends $Command { - readonly input: ListVersionsByFunctionCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - /** - * @public - */ - constructor(input: ListVersionsByFunctionCommandInput); - /** - * @internal - */ - resolveMiddleware(clientStack: MiddlewareStack, configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions): Handler; - /** - * @internal - */ - private serialize; - /** - * @internal - */ - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/commands/PublishLayerVersionCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/commands/PublishLayerVersionCommand.d.ts deleted file mode 100644 index f6ccb59e..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/commands/PublishLayerVersionCommand.d.ts +++ /dev/null @@ -1,123 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; -import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; -import { PublishLayerVersionRequest, PublishLayerVersionResponse } from "../models/models_0"; -/** - * @public - */ -export { __MetadataBearer, $Command }; -/** - * @public - * - * The input for {@link PublishLayerVersionCommand}. - */ -export interface PublishLayerVersionCommandInput extends PublishLayerVersionRequest { -} -/** - * @public - * - * The output of {@link PublishLayerVersionCommand}. - */ -export interface PublishLayerVersionCommandOutput extends PublishLayerVersionResponse, __MetadataBearer { -} -/** - * @public - *

Creates an Lambda - * layer from a ZIP archive. Each time you call PublishLayerVersion with the same - * layer name, a new version is created.

- *

Add layers to your function with CreateFunction or UpdateFunctionConfiguration.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { LambdaClient, PublishLayerVersionCommand } from "@aws-sdk/client-lambda"; // ES Modules import - * // const { LambdaClient, PublishLayerVersionCommand } = require("@aws-sdk/client-lambda"); // CommonJS import - * const client = new LambdaClient(config); - * const input = { // PublishLayerVersionRequest - * LayerName: "STRING_VALUE", // required - * Description: "STRING_VALUE", - * Content: { // LayerVersionContentInput - * S3Bucket: "STRING_VALUE", - * S3Key: "STRING_VALUE", - * S3ObjectVersion: "STRING_VALUE", - * ZipFile: "BLOB_VALUE", - * }, - * CompatibleRuntimes: [ // CompatibleRuntimes - * "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21", - * ], - * LicenseInfo: "STRING_VALUE", - * CompatibleArchitectures: [ // CompatibleArchitectures - * "x86_64" || "arm64", - * ], - * }; - * const command = new PublishLayerVersionCommand(input); - * const response = await client.send(command); - * // { // PublishLayerVersionResponse - * // Content: { // LayerVersionContentOutput - * // Location: "STRING_VALUE", - * // CodeSha256: "STRING_VALUE", - * // CodeSize: Number("long"), - * // SigningProfileVersionArn: "STRING_VALUE", - * // SigningJobArn: "STRING_VALUE", - * // }, - * // LayerArn: "STRING_VALUE", - * // LayerVersionArn: "STRING_VALUE", - * // Description: "STRING_VALUE", - * // CreatedDate: "STRING_VALUE", - * // Version: Number("long"), - * // CompatibleRuntimes: [ // CompatibleRuntimes - * // "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21", - * // ], - * // LicenseInfo: "STRING_VALUE", - * // CompatibleArchitectures: [ // CompatibleArchitectures - * // "x86_64" || "arm64", - * // ], - * // }; - * - * ``` - * - * @param PublishLayerVersionCommandInput - {@link PublishLayerVersionCommandInput} - * @returns {@link PublishLayerVersionCommandOutput} - * @see {@link PublishLayerVersionCommandInput} for command's `input` shape. - * @see {@link PublishLayerVersionCommandOutput} for command's `response` shape. - * @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape. - * - * @throws {@link CodeStorageExceededException} (client fault) - *

Your Amazon Web Services account has exceeded its maximum total code size. For more information, see Lambda quotas.

- * - * @throws {@link InvalidParameterValueException} (client fault) - *

One of the parameters in the request is not valid.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The resource specified in the request does not exist.

- * - * @throws {@link ServiceException} (server fault) - *

The Lambda service encountered an internal error.

- * - * @throws {@link TooManyRequestsException} (client fault) - *

The request throughput limit was exceeded. For more information, see Lambda quotas.

- * - * @throws {@link LambdaServiceException} - *

Base exception class for all service exceptions from Lambda service.

- * - */ -export declare class PublishLayerVersionCommand extends $Command { - readonly input: PublishLayerVersionCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - /** - * @public - */ - constructor(input: PublishLayerVersionCommandInput); - /** - * @internal - */ - resolveMiddleware(clientStack: MiddlewareStack, configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions): Handler; - /** - * @internal - */ - private serialize; - /** - * @internal - */ - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/commands/PublishVersionCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/commands/PublishVersionCommand.d.ts deleted file mode 100644 index 096ac62a..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/commands/PublishVersionCommand.d.ts +++ /dev/null @@ -1,204 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; -import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; -import { FunctionConfiguration, PublishVersionRequest } from "../models/models_0"; -/** - * @public - */ -export { __MetadataBearer, $Command }; -/** - * @public - * - * The input for {@link PublishVersionCommand}. - */ -export interface PublishVersionCommandInput extends PublishVersionRequest { -} -/** - * @public - * - * The output of {@link PublishVersionCommand}. - */ -export interface PublishVersionCommandOutput extends FunctionConfiguration, __MetadataBearer { -} -/** - * @public - *

Creates a version from the - * current code and configuration of a function. Use versions to create a snapshot of your function code and - * configuration that doesn't change.

- *

Lambda doesn't publish a version if the function's configuration and code haven't changed since the last - * version. Use UpdateFunctionCode or UpdateFunctionConfiguration to update the - * function before publishing a version.

- *

Clients can invoke versions directly or with an alias. To create an alias, use CreateAlias.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { LambdaClient, PublishVersionCommand } from "@aws-sdk/client-lambda"; // ES Modules import - * // const { LambdaClient, PublishVersionCommand } = require("@aws-sdk/client-lambda"); // CommonJS import - * const client = new LambdaClient(config); - * const input = { // PublishVersionRequest - * FunctionName: "STRING_VALUE", // required - * CodeSha256: "STRING_VALUE", - * Description: "STRING_VALUE", - * RevisionId: "STRING_VALUE", - * }; - * const command = new PublishVersionCommand(input); - * const response = await client.send(command); - * // { // FunctionConfiguration - * // FunctionName: "STRING_VALUE", - * // FunctionArn: "STRING_VALUE", - * // Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21", - * // Role: "STRING_VALUE", - * // Handler: "STRING_VALUE", - * // CodeSize: Number("long"), - * // Description: "STRING_VALUE", - * // Timeout: Number("int"), - * // MemorySize: Number("int"), - * // LastModified: "STRING_VALUE", - * // CodeSha256: "STRING_VALUE", - * // Version: "STRING_VALUE", - * // VpcConfig: { // VpcConfigResponse - * // SubnetIds: [ // SubnetIds - * // "STRING_VALUE", - * // ], - * // SecurityGroupIds: [ // SecurityGroupIds - * // "STRING_VALUE", - * // ], - * // VpcId: "STRING_VALUE", - * // Ipv6AllowedForDualStack: true || false, - * // }, - * // DeadLetterConfig: { // DeadLetterConfig - * // TargetArn: "STRING_VALUE", - * // }, - * // Environment: { // EnvironmentResponse - * // Variables: { // EnvironmentVariables - * // "": "STRING_VALUE", - * // }, - * // Error: { // EnvironmentError - * // ErrorCode: "STRING_VALUE", - * // Message: "STRING_VALUE", - * // }, - * // }, - * // KMSKeyArn: "STRING_VALUE", - * // TracingConfig: { // TracingConfigResponse - * // Mode: "Active" || "PassThrough", - * // }, - * // MasterArn: "STRING_VALUE", - * // RevisionId: "STRING_VALUE", - * // Layers: [ // LayersReferenceList - * // { // Layer - * // Arn: "STRING_VALUE", - * // CodeSize: Number("long"), - * // SigningProfileVersionArn: "STRING_VALUE", - * // SigningJobArn: "STRING_VALUE", - * // }, - * // ], - * // State: "Pending" || "Active" || "Inactive" || "Failed", - * // StateReason: "STRING_VALUE", - * // StateReasonCode: "Idle" || "Creating" || "Restoring" || "EniLimitExceeded" || "InsufficientRolePermissions" || "InvalidConfiguration" || "InternalError" || "SubnetOutOfIPAddresses" || "InvalidSubnet" || "InvalidSecurityGroup" || "ImageDeleted" || "ImageAccessDenied" || "InvalidImage" || "KMSKeyAccessDenied" || "KMSKeyNotFound" || "InvalidStateKMSKey" || "DisabledKMSKey" || "EFSIOError" || "EFSMountConnectivityError" || "EFSMountFailure" || "EFSMountTimeout" || "InvalidRuntime" || "InvalidZipFileException" || "FunctionError", - * // LastUpdateStatus: "Successful" || "Failed" || "InProgress", - * // LastUpdateStatusReason: "STRING_VALUE", - * // LastUpdateStatusReasonCode: "EniLimitExceeded" || "InsufficientRolePermissions" || "InvalidConfiguration" || "InternalError" || "SubnetOutOfIPAddresses" || "InvalidSubnet" || "InvalidSecurityGroup" || "ImageDeleted" || "ImageAccessDenied" || "InvalidImage" || "KMSKeyAccessDenied" || "KMSKeyNotFound" || "InvalidStateKMSKey" || "DisabledKMSKey" || "EFSIOError" || "EFSMountConnectivityError" || "EFSMountFailure" || "EFSMountTimeout" || "InvalidRuntime" || "InvalidZipFileException" || "FunctionError", - * // FileSystemConfigs: [ // FileSystemConfigList - * // { // FileSystemConfig - * // Arn: "STRING_VALUE", // required - * // LocalMountPath: "STRING_VALUE", // required - * // }, - * // ], - * // PackageType: "Zip" || "Image", - * // ImageConfigResponse: { // ImageConfigResponse - * // ImageConfig: { // ImageConfig - * // EntryPoint: [ // StringList - * // "STRING_VALUE", - * // ], - * // Command: [ - * // "STRING_VALUE", - * // ], - * // WorkingDirectory: "STRING_VALUE", - * // }, - * // Error: { // ImageConfigError - * // ErrorCode: "STRING_VALUE", - * // Message: "STRING_VALUE", - * // }, - * // }, - * // SigningProfileVersionArn: "STRING_VALUE", - * // SigningJobArn: "STRING_VALUE", - * // Architectures: [ // ArchitecturesList - * // "x86_64" || "arm64", - * // ], - * // EphemeralStorage: { // EphemeralStorage - * // Size: Number("int"), // required - * // }, - * // SnapStart: { // SnapStartResponse - * // ApplyOn: "PublishedVersions" || "None", - * // OptimizationStatus: "On" || "Off", - * // }, - * // RuntimeVersionConfig: { // RuntimeVersionConfig - * // RuntimeVersionArn: "STRING_VALUE", - * // Error: { // RuntimeVersionError - * // ErrorCode: "STRING_VALUE", - * // Message: "STRING_VALUE", - * // }, - * // }, - * // LoggingConfig: { // LoggingConfig - * // LogFormat: "JSON" || "Text", - * // ApplicationLogLevel: "TRACE" || "DEBUG" || "INFO" || "WARN" || "ERROR" || "FATAL", - * // SystemLogLevel: "DEBUG" || "INFO" || "WARN", - * // LogGroup: "STRING_VALUE", - * // }, - * // }; - * - * ``` - * - * @param PublishVersionCommandInput - {@link PublishVersionCommandInput} - * @returns {@link PublishVersionCommandOutput} - * @see {@link PublishVersionCommandInput} for command's `input` shape. - * @see {@link PublishVersionCommandOutput} for command's `response` shape. - * @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape. - * - * @throws {@link CodeStorageExceededException} (client fault) - *

Your Amazon Web Services account has exceeded its maximum total code size. For more information, see Lambda quotas.

- * - * @throws {@link InvalidParameterValueException} (client fault) - *

One of the parameters in the request is not valid.

- * - * @throws {@link PreconditionFailedException} (client fault) - *

The RevisionId provided does not match the latest RevisionId for the Lambda function or alias. Call the GetFunction or the GetAlias - * API operation to retrieve the latest RevisionId for your resource.

- * - * @throws {@link ResourceConflictException} (client fault) - *

The resource already exists, or another operation is in progress.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The resource specified in the request does not exist.

- * - * @throws {@link ServiceException} (server fault) - *

The Lambda service encountered an internal error.

- * - * @throws {@link TooManyRequestsException} (client fault) - *

The request throughput limit was exceeded. For more information, see Lambda quotas.

- * - * @throws {@link LambdaServiceException} - *

Base exception class for all service exceptions from Lambda service.

- * - */ -export declare class PublishVersionCommand extends $Command { - readonly input: PublishVersionCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - /** - * @public - */ - constructor(input: PublishVersionCommandInput); - /** - * @internal - */ - resolveMiddleware(clientStack: MiddlewareStack, configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions): Handler; - /** - * @internal - */ - private serialize; - /** - * @internal - */ - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/commands/PutFunctionCodeSigningConfigCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/commands/PutFunctionCodeSigningConfigCommand.d.ts deleted file mode 100644 index 2c1411c1..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/commands/PutFunctionCodeSigningConfigCommand.d.ts +++ /dev/null @@ -1,94 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; -import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; -import { PutFunctionCodeSigningConfigRequest, PutFunctionCodeSigningConfigResponse } from "../models/models_0"; -/** - * @public - */ -export { __MetadataBearer, $Command }; -/** - * @public - * - * The input for {@link PutFunctionCodeSigningConfigCommand}. - */ -export interface PutFunctionCodeSigningConfigCommandInput extends PutFunctionCodeSigningConfigRequest { -} -/** - * @public - * - * The output of {@link PutFunctionCodeSigningConfigCommand}. - */ -export interface PutFunctionCodeSigningConfigCommandOutput extends PutFunctionCodeSigningConfigResponse, __MetadataBearer { -} -/** - * @public - *

Update the code signing configuration for the function. Changes to the code signing configuration take effect the - * next time a user tries to deploy a code package to the function.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { LambdaClient, PutFunctionCodeSigningConfigCommand } from "@aws-sdk/client-lambda"; // ES Modules import - * // const { LambdaClient, PutFunctionCodeSigningConfigCommand } = require("@aws-sdk/client-lambda"); // CommonJS import - * const client = new LambdaClient(config); - * const input = { // PutFunctionCodeSigningConfigRequest - * CodeSigningConfigArn: "STRING_VALUE", // required - * FunctionName: "STRING_VALUE", // required - * }; - * const command = new PutFunctionCodeSigningConfigCommand(input); - * const response = await client.send(command); - * // { // PutFunctionCodeSigningConfigResponse - * // CodeSigningConfigArn: "STRING_VALUE", // required - * // FunctionName: "STRING_VALUE", // required - * // }; - * - * ``` - * - * @param PutFunctionCodeSigningConfigCommandInput - {@link PutFunctionCodeSigningConfigCommandInput} - * @returns {@link PutFunctionCodeSigningConfigCommandOutput} - * @see {@link PutFunctionCodeSigningConfigCommandInput} for command's `input` shape. - * @see {@link PutFunctionCodeSigningConfigCommandOutput} for command's `response` shape. - * @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape. - * - * @throws {@link CodeSigningConfigNotFoundException} (client fault) - *

The specified code signing configuration does not exist.

- * - * @throws {@link InvalidParameterValueException} (client fault) - *

One of the parameters in the request is not valid.

- * - * @throws {@link ResourceConflictException} (client fault) - *

The resource already exists, or another operation is in progress.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The resource specified in the request does not exist.

- * - * @throws {@link ServiceException} (server fault) - *

The Lambda service encountered an internal error.

- * - * @throws {@link TooManyRequestsException} (client fault) - *

The request throughput limit was exceeded. For more information, see Lambda quotas.

- * - * @throws {@link LambdaServiceException} - *

Base exception class for all service exceptions from Lambda service.

- * - */ -export declare class PutFunctionCodeSigningConfigCommand extends $Command { - readonly input: PutFunctionCodeSigningConfigCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - /** - * @public - */ - constructor(input: PutFunctionCodeSigningConfigCommandInput); - /** - * @internal - */ - resolveMiddleware(clientStack: MiddlewareStack, configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions): Handler; - /** - * @internal - */ - private serialize; - /** - * @internal - */ - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/commands/PutFunctionConcurrencyCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/commands/PutFunctionConcurrencyCommand.d.ts deleted file mode 100644 index 772e88c2..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/commands/PutFunctionConcurrencyCommand.d.ts +++ /dev/null @@ -1,97 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; -import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; -import { Concurrency, PutFunctionConcurrencyRequest } from "../models/models_0"; -/** - * @public - */ -export { __MetadataBearer, $Command }; -/** - * @public - * - * The input for {@link PutFunctionConcurrencyCommand}. - */ -export interface PutFunctionConcurrencyCommandInput extends PutFunctionConcurrencyRequest { -} -/** - * @public - * - * The output of {@link PutFunctionConcurrencyCommand}. - */ -export interface PutFunctionConcurrencyCommandOutput extends Concurrency, __MetadataBearer { -} -/** - * @public - *

Sets the maximum number of simultaneous executions for a function, and reserves capacity for that concurrency - * level.

- *

Concurrency settings apply to the function as a whole, including all published versions and the unpublished - * version. Reserving concurrency both ensures that your function has capacity to process the specified number of - * events simultaneously, and prevents it from scaling beyond that level. Use GetFunction to see - * the current setting for a function.

- *

Use GetAccountSettings to see your Regional concurrency limit. You can reserve concurrency - * for as many functions as you like, as long as you leave at least 100 simultaneous executions unreserved for - * functions that aren't configured with a per-function limit. For more information, see Lambda function scaling.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { LambdaClient, PutFunctionConcurrencyCommand } from "@aws-sdk/client-lambda"; // ES Modules import - * // const { LambdaClient, PutFunctionConcurrencyCommand } = require("@aws-sdk/client-lambda"); // CommonJS import - * const client = new LambdaClient(config); - * const input = { // PutFunctionConcurrencyRequest - * FunctionName: "STRING_VALUE", // required - * ReservedConcurrentExecutions: Number("int"), // required - * }; - * const command = new PutFunctionConcurrencyCommand(input); - * const response = await client.send(command); - * // { // Concurrency - * // ReservedConcurrentExecutions: Number("int"), - * // }; - * - * ``` - * - * @param PutFunctionConcurrencyCommandInput - {@link PutFunctionConcurrencyCommandInput} - * @returns {@link PutFunctionConcurrencyCommandOutput} - * @see {@link PutFunctionConcurrencyCommandInput} for command's `input` shape. - * @see {@link PutFunctionConcurrencyCommandOutput} for command's `response` shape. - * @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape. - * - * @throws {@link InvalidParameterValueException} (client fault) - *

One of the parameters in the request is not valid.

- * - * @throws {@link ResourceConflictException} (client fault) - *

The resource already exists, or another operation is in progress.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The resource specified in the request does not exist.

- * - * @throws {@link ServiceException} (server fault) - *

The Lambda service encountered an internal error.

- * - * @throws {@link TooManyRequestsException} (client fault) - *

The request throughput limit was exceeded. For more information, see Lambda quotas.

- * - * @throws {@link LambdaServiceException} - *

Base exception class for all service exceptions from Lambda service.

- * - */ -export declare class PutFunctionConcurrencyCommand extends $Command { - readonly input: PutFunctionConcurrencyCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - /** - * @public - */ - constructor(input: PutFunctionConcurrencyCommandInput); - /** - * @internal - */ - resolveMiddleware(clientStack: MiddlewareStack, configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions): Handler; - /** - * @internal - */ - private serialize; - /** - * @internal - */ - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/commands/PutFunctionEventInvokeConfigCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/commands/PutFunctionEventInvokeConfigCommand.d.ts deleted file mode 100644 index f50e0695..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/commands/PutFunctionEventInvokeConfigCommand.d.ts +++ /dev/null @@ -1,120 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; -import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; -import { FunctionEventInvokeConfig, PutFunctionEventInvokeConfigRequest } from "../models/models_0"; -/** - * @public - */ -export { __MetadataBearer, $Command }; -/** - * @public - * - * The input for {@link PutFunctionEventInvokeConfigCommand}. - */ -export interface PutFunctionEventInvokeConfigCommandInput extends PutFunctionEventInvokeConfigRequest { -} -/** - * @public - * - * The output of {@link PutFunctionEventInvokeConfigCommand}. - */ -export interface PutFunctionEventInvokeConfigCommandOutput extends FunctionEventInvokeConfig, __MetadataBearer { -} -/** - * @public - *

Configures options for asynchronous - * invocation on a function, version, or alias. If a configuration already exists for a function, version, - * or alias, this operation overwrites it. If you exclude any settings, they are removed. To set one option without - * affecting existing settings for other options, use UpdateFunctionEventInvokeConfig.

- *

By default, Lambda retries an asynchronous invocation twice if the function returns an error. It retains - * events in a queue for up to six hours. When an event fails all processing attempts or stays in the asynchronous - * invocation queue for too long, Lambda discards it. To retain discarded events, configure a dead-letter queue with - * UpdateFunctionConfiguration.

- *

To send an invocation record to a queue, topic, function, or event bus, specify a destination. You can configure separate destinations for successful invocations (on-success) and events - * that fail all processing attempts (on-failure). You can configure destinations in addition to or instead of a - * dead-letter queue.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { LambdaClient, PutFunctionEventInvokeConfigCommand } from "@aws-sdk/client-lambda"; // ES Modules import - * // const { LambdaClient, PutFunctionEventInvokeConfigCommand } = require("@aws-sdk/client-lambda"); // CommonJS import - * const client = new LambdaClient(config); - * const input = { // PutFunctionEventInvokeConfigRequest - * FunctionName: "STRING_VALUE", // required - * Qualifier: "STRING_VALUE", - * MaximumRetryAttempts: Number("int"), - * MaximumEventAgeInSeconds: Number("int"), - * DestinationConfig: { // DestinationConfig - * OnSuccess: { // OnSuccess - * Destination: "STRING_VALUE", - * }, - * OnFailure: { // OnFailure - * Destination: "STRING_VALUE", - * }, - * }, - * }; - * const command = new PutFunctionEventInvokeConfigCommand(input); - * const response = await client.send(command); - * // { // FunctionEventInvokeConfig - * // LastModified: new Date("TIMESTAMP"), - * // FunctionArn: "STRING_VALUE", - * // MaximumRetryAttempts: Number("int"), - * // MaximumEventAgeInSeconds: Number("int"), - * // DestinationConfig: { // DestinationConfig - * // OnSuccess: { // OnSuccess - * // Destination: "STRING_VALUE", - * // }, - * // OnFailure: { // OnFailure - * // Destination: "STRING_VALUE", - * // }, - * // }, - * // }; - * - * ``` - * - * @param PutFunctionEventInvokeConfigCommandInput - {@link PutFunctionEventInvokeConfigCommandInput} - * @returns {@link PutFunctionEventInvokeConfigCommandOutput} - * @see {@link PutFunctionEventInvokeConfigCommandInput} for command's `input` shape. - * @see {@link PutFunctionEventInvokeConfigCommandOutput} for command's `response` shape. - * @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape. - * - * @throws {@link InvalidParameterValueException} (client fault) - *

One of the parameters in the request is not valid.

- * - * @throws {@link ResourceConflictException} (client fault) - *

The resource already exists, or another operation is in progress.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The resource specified in the request does not exist.

- * - * @throws {@link ServiceException} (server fault) - *

The Lambda service encountered an internal error.

- * - * @throws {@link TooManyRequestsException} (client fault) - *

The request throughput limit was exceeded. For more information, see Lambda quotas.

- * - * @throws {@link LambdaServiceException} - *

Base exception class for all service exceptions from Lambda service.

- * - */ -export declare class PutFunctionEventInvokeConfigCommand extends $Command { - readonly input: PutFunctionEventInvokeConfigCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - /** - * @public - */ - constructor(input: PutFunctionEventInvokeConfigCommandInput); - /** - * @internal - */ - resolveMiddleware(clientStack: MiddlewareStack, configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions): Handler; - /** - * @internal - */ - private serialize; - /** - * @internal - */ - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/commands/PutProvisionedConcurrencyConfigCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/commands/PutProvisionedConcurrencyConfigCommand.d.ts deleted file mode 100644 index a93825e6..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/commands/PutProvisionedConcurrencyConfigCommand.d.ts +++ /dev/null @@ -1,95 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; -import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; -import { PutProvisionedConcurrencyConfigRequest, PutProvisionedConcurrencyConfigResponse } from "../models/models_0"; -/** - * @public - */ -export { __MetadataBearer, $Command }; -/** - * @public - * - * The input for {@link PutProvisionedConcurrencyConfigCommand}. - */ -export interface PutProvisionedConcurrencyConfigCommandInput extends PutProvisionedConcurrencyConfigRequest { -} -/** - * @public - * - * The output of {@link PutProvisionedConcurrencyConfigCommand}. - */ -export interface PutProvisionedConcurrencyConfigCommandOutput extends PutProvisionedConcurrencyConfigResponse, __MetadataBearer { -} -/** - * @public - *

Adds a provisioned concurrency configuration to a function's alias or version.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { LambdaClient, PutProvisionedConcurrencyConfigCommand } from "@aws-sdk/client-lambda"; // ES Modules import - * // const { LambdaClient, PutProvisionedConcurrencyConfigCommand } = require("@aws-sdk/client-lambda"); // CommonJS import - * const client = new LambdaClient(config); - * const input = { // PutProvisionedConcurrencyConfigRequest - * FunctionName: "STRING_VALUE", // required - * Qualifier: "STRING_VALUE", // required - * ProvisionedConcurrentExecutions: Number("int"), // required - * }; - * const command = new PutProvisionedConcurrencyConfigCommand(input); - * const response = await client.send(command); - * // { // PutProvisionedConcurrencyConfigResponse - * // RequestedProvisionedConcurrentExecutions: Number("int"), - * // AvailableProvisionedConcurrentExecutions: Number("int"), - * // AllocatedProvisionedConcurrentExecutions: Number("int"), - * // Status: "IN_PROGRESS" || "READY" || "FAILED", - * // StatusReason: "STRING_VALUE", - * // LastModified: "STRING_VALUE", - * // }; - * - * ``` - * - * @param PutProvisionedConcurrencyConfigCommandInput - {@link PutProvisionedConcurrencyConfigCommandInput} - * @returns {@link PutProvisionedConcurrencyConfigCommandOutput} - * @see {@link PutProvisionedConcurrencyConfigCommandInput} for command's `input` shape. - * @see {@link PutProvisionedConcurrencyConfigCommandOutput} for command's `response` shape. - * @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape. - * - * @throws {@link InvalidParameterValueException} (client fault) - *

One of the parameters in the request is not valid.

- * - * @throws {@link ResourceConflictException} (client fault) - *

The resource already exists, or another operation is in progress.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The resource specified in the request does not exist.

- * - * @throws {@link ServiceException} (server fault) - *

The Lambda service encountered an internal error.

- * - * @throws {@link TooManyRequestsException} (client fault) - *

The request throughput limit was exceeded. For more information, see Lambda quotas.

- * - * @throws {@link LambdaServiceException} - *

Base exception class for all service exceptions from Lambda service.

- * - */ -export declare class PutProvisionedConcurrencyConfigCommand extends $Command { - readonly input: PutProvisionedConcurrencyConfigCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - /** - * @public - */ - constructor(input: PutProvisionedConcurrencyConfigCommandInput); - /** - * @internal - */ - resolveMiddleware(clientStack: MiddlewareStack, configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions): Handler; - /** - * @internal - */ - private serialize; - /** - * @internal - */ - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/commands/PutRuntimeManagementConfigCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/commands/PutRuntimeManagementConfigCommand.d.ts deleted file mode 100644 index 4bbe398a..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/commands/PutRuntimeManagementConfigCommand.d.ts +++ /dev/null @@ -1,94 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; -import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; -import { PutRuntimeManagementConfigRequest, PutRuntimeManagementConfigResponse } from "../models/models_0"; -/** - * @public - */ -export { __MetadataBearer, $Command }; -/** - * @public - * - * The input for {@link PutRuntimeManagementConfigCommand}. - */ -export interface PutRuntimeManagementConfigCommandInput extends PutRuntimeManagementConfigRequest { -} -/** - * @public - * - * The output of {@link PutRuntimeManagementConfigCommand}. - */ -export interface PutRuntimeManagementConfigCommandOutput extends PutRuntimeManagementConfigResponse, __MetadataBearer { -} -/** - * @public - *

Sets the runtime management configuration for a function's version. For more information, - * see Runtime updates.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { LambdaClient, PutRuntimeManagementConfigCommand } from "@aws-sdk/client-lambda"; // ES Modules import - * // const { LambdaClient, PutRuntimeManagementConfigCommand } = require("@aws-sdk/client-lambda"); // CommonJS import - * const client = new LambdaClient(config); - * const input = { // PutRuntimeManagementConfigRequest - * FunctionName: "STRING_VALUE", // required - * Qualifier: "STRING_VALUE", - * UpdateRuntimeOn: "Auto" || "Manual" || "FunctionUpdate", // required - * RuntimeVersionArn: "STRING_VALUE", - * }; - * const command = new PutRuntimeManagementConfigCommand(input); - * const response = await client.send(command); - * // { // PutRuntimeManagementConfigResponse - * // UpdateRuntimeOn: "Auto" || "Manual" || "FunctionUpdate", // required - * // FunctionArn: "STRING_VALUE", // required - * // RuntimeVersionArn: "STRING_VALUE", - * // }; - * - * ``` - * - * @param PutRuntimeManagementConfigCommandInput - {@link PutRuntimeManagementConfigCommandInput} - * @returns {@link PutRuntimeManagementConfigCommandOutput} - * @see {@link PutRuntimeManagementConfigCommandInput} for command's `input` shape. - * @see {@link PutRuntimeManagementConfigCommandOutput} for command's `response` shape. - * @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape. - * - * @throws {@link InvalidParameterValueException} (client fault) - *

One of the parameters in the request is not valid.

- * - * @throws {@link ResourceConflictException} (client fault) - *

The resource already exists, or another operation is in progress.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The resource specified in the request does not exist.

- * - * @throws {@link ServiceException} (server fault) - *

The Lambda service encountered an internal error.

- * - * @throws {@link TooManyRequestsException} (client fault) - *

The request throughput limit was exceeded. For more information, see Lambda quotas.

- * - * @throws {@link LambdaServiceException} - *

Base exception class for all service exceptions from Lambda service.

- * - */ -export declare class PutRuntimeManagementConfigCommand extends $Command { - readonly input: PutRuntimeManagementConfigCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - /** - * @public - */ - constructor(input: PutRuntimeManagementConfigCommandInput); - /** - * @internal - */ - resolveMiddleware(clientStack: MiddlewareStack, configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions): Handler; - /** - * @internal - */ - private serialize; - /** - * @internal - */ - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/commands/RemoveLayerVersionPermissionCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/commands/RemoveLayerVersionPermissionCommand.d.ts deleted file mode 100644 index dc65d85d..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/commands/RemoveLayerVersionPermissionCommand.d.ts +++ /dev/null @@ -1,92 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; -import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; -import { RemoveLayerVersionPermissionRequest } from "../models/models_0"; -/** - * @public - */ -export { __MetadataBearer, $Command }; -/** - * @public - * - * The input for {@link RemoveLayerVersionPermissionCommand}. - */ -export interface RemoveLayerVersionPermissionCommandInput extends RemoveLayerVersionPermissionRequest { -} -/** - * @public - * - * The output of {@link RemoveLayerVersionPermissionCommand}. - */ -export interface RemoveLayerVersionPermissionCommandOutput extends __MetadataBearer { -} -/** - * @public - *

Removes a statement from the permissions policy for a version of an Lambda - * layer. For more information, see - * AddLayerVersionPermission.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { LambdaClient, RemoveLayerVersionPermissionCommand } from "@aws-sdk/client-lambda"; // ES Modules import - * // const { LambdaClient, RemoveLayerVersionPermissionCommand } = require("@aws-sdk/client-lambda"); // CommonJS import - * const client = new LambdaClient(config); - * const input = { // RemoveLayerVersionPermissionRequest - * LayerName: "STRING_VALUE", // required - * VersionNumber: Number("long"), // required - * StatementId: "STRING_VALUE", // required - * RevisionId: "STRING_VALUE", - * }; - * const command = new RemoveLayerVersionPermissionCommand(input); - * const response = await client.send(command); - * // {}; - * - * ``` - * - * @param RemoveLayerVersionPermissionCommandInput - {@link RemoveLayerVersionPermissionCommandInput} - * @returns {@link RemoveLayerVersionPermissionCommandOutput} - * @see {@link RemoveLayerVersionPermissionCommandInput} for command's `input` shape. - * @see {@link RemoveLayerVersionPermissionCommandOutput} for command's `response` shape. - * @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape. - * - * @throws {@link InvalidParameterValueException} (client fault) - *

One of the parameters in the request is not valid.

- * - * @throws {@link PreconditionFailedException} (client fault) - *

The RevisionId provided does not match the latest RevisionId for the Lambda function or alias. Call the GetFunction or the GetAlias - * API operation to retrieve the latest RevisionId for your resource.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The resource specified in the request does not exist.

- * - * @throws {@link ServiceException} (server fault) - *

The Lambda service encountered an internal error.

- * - * @throws {@link TooManyRequestsException} (client fault) - *

The request throughput limit was exceeded. For more information, see Lambda quotas.

- * - * @throws {@link LambdaServiceException} - *

Base exception class for all service exceptions from Lambda service.

- * - */ -export declare class RemoveLayerVersionPermissionCommand extends $Command { - readonly input: RemoveLayerVersionPermissionCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - /** - * @public - */ - constructor(input: RemoveLayerVersionPermissionCommandInput); - /** - * @internal - */ - resolveMiddleware(clientStack: MiddlewareStack, configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions): Handler; - /** - * @internal - */ - private serialize; - /** - * @internal - */ - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/commands/RemovePermissionCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/commands/RemovePermissionCommand.d.ts deleted file mode 100644 index a9991b51..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/commands/RemovePermissionCommand.d.ts +++ /dev/null @@ -1,91 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; -import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; -import { RemovePermissionRequest } from "../models/models_0"; -/** - * @public - */ -export { __MetadataBearer, $Command }; -/** - * @public - * - * The input for {@link RemovePermissionCommand}. - */ -export interface RemovePermissionCommandInput extends RemovePermissionRequest { -} -/** - * @public - * - * The output of {@link RemovePermissionCommand}. - */ -export interface RemovePermissionCommandOutput extends __MetadataBearer { -} -/** - * @public - *

Revokes function-use permission from an Amazon Web Service or another Amazon Web Services account. You - * can get the ID of the statement from the output of GetPolicy.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { LambdaClient, RemovePermissionCommand } from "@aws-sdk/client-lambda"; // ES Modules import - * // const { LambdaClient, RemovePermissionCommand } = require("@aws-sdk/client-lambda"); // CommonJS import - * const client = new LambdaClient(config); - * const input = { // RemovePermissionRequest - * FunctionName: "STRING_VALUE", // required - * StatementId: "STRING_VALUE", // required - * Qualifier: "STRING_VALUE", - * RevisionId: "STRING_VALUE", - * }; - * const command = new RemovePermissionCommand(input); - * const response = await client.send(command); - * // {}; - * - * ``` - * - * @param RemovePermissionCommandInput - {@link RemovePermissionCommandInput} - * @returns {@link RemovePermissionCommandOutput} - * @see {@link RemovePermissionCommandInput} for command's `input` shape. - * @see {@link RemovePermissionCommandOutput} for command's `response` shape. - * @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape. - * - * @throws {@link InvalidParameterValueException} (client fault) - *

One of the parameters in the request is not valid.

- * - * @throws {@link PreconditionFailedException} (client fault) - *

The RevisionId provided does not match the latest RevisionId for the Lambda function or alias. Call the GetFunction or the GetAlias - * API operation to retrieve the latest RevisionId for your resource.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The resource specified in the request does not exist.

- * - * @throws {@link ServiceException} (server fault) - *

The Lambda service encountered an internal error.

- * - * @throws {@link TooManyRequestsException} (client fault) - *

The request throughput limit was exceeded. For more information, see Lambda quotas.

- * - * @throws {@link LambdaServiceException} - *

Base exception class for all service exceptions from Lambda service.

- * - */ -export declare class RemovePermissionCommand extends $Command { - readonly input: RemovePermissionCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - /** - * @public - */ - constructor(input: RemovePermissionCommandInput); - /** - * @internal - */ - resolveMiddleware(clientStack: MiddlewareStack, configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions): Handler; - /** - * @internal - */ - private serialize; - /** - * @internal - */ - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/commands/TagResourceCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/commands/TagResourceCommand.d.ts deleted file mode 100644 index 9c7d5f67..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/commands/TagResourceCommand.d.ts +++ /dev/null @@ -1,89 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; -import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; -import { TagResourceRequest } from "../models/models_0"; -/** - * @public - */ -export { __MetadataBearer, $Command }; -/** - * @public - * - * The input for {@link TagResourceCommand}. - */ -export interface TagResourceCommandInput extends TagResourceRequest { -} -/** - * @public - * - * The output of {@link TagResourceCommand}. - */ -export interface TagResourceCommandOutput extends __MetadataBearer { -} -/** - * @public - *

Adds tags to a function.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { LambdaClient, TagResourceCommand } from "@aws-sdk/client-lambda"; // ES Modules import - * // const { LambdaClient, TagResourceCommand } = require("@aws-sdk/client-lambda"); // CommonJS import - * const client = new LambdaClient(config); - * const input = { // TagResourceRequest - * Resource: "STRING_VALUE", // required - * Tags: { // Tags // required - * "": "STRING_VALUE", - * }, - * }; - * const command = new TagResourceCommand(input); - * const response = await client.send(command); - * // {}; - * - * ``` - * - * @param TagResourceCommandInput - {@link TagResourceCommandInput} - * @returns {@link TagResourceCommandOutput} - * @see {@link TagResourceCommandInput} for command's `input` shape. - * @see {@link TagResourceCommandOutput} for command's `response` shape. - * @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape. - * - * @throws {@link InvalidParameterValueException} (client fault) - *

One of the parameters in the request is not valid.

- * - * @throws {@link ResourceConflictException} (client fault) - *

The resource already exists, or another operation is in progress.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The resource specified in the request does not exist.

- * - * @throws {@link ServiceException} (server fault) - *

The Lambda service encountered an internal error.

- * - * @throws {@link TooManyRequestsException} (client fault) - *

The request throughput limit was exceeded. For more information, see Lambda quotas.

- * - * @throws {@link LambdaServiceException} - *

Base exception class for all service exceptions from Lambda service.

- * - */ -export declare class TagResourceCommand extends $Command { - readonly input: TagResourceCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - /** - * @public - */ - constructor(input: TagResourceCommandInput); - /** - * @internal - */ - resolveMiddleware(clientStack: MiddlewareStack, configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions): Handler; - /** - * @internal - */ - private serialize; - /** - * @internal - */ - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/commands/UntagResourceCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/commands/UntagResourceCommand.d.ts deleted file mode 100644 index 47d88119..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/commands/UntagResourceCommand.d.ts +++ /dev/null @@ -1,89 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; -import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; -import { UntagResourceRequest } from "../models/models_0"; -/** - * @public - */ -export { __MetadataBearer, $Command }; -/** - * @public - * - * The input for {@link UntagResourceCommand}. - */ -export interface UntagResourceCommandInput extends UntagResourceRequest { -} -/** - * @public - * - * The output of {@link UntagResourceCommand}. - */ -export interface UntagResourceCommandOutput extends __MetadataBearer { -} -/** - * @public - *

Removes tags from a function.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { LambdaClient, UntagResourceCommand } from "@aws-sdk/client-lambda"; // ES Modules import - * // const { LambdaClient, UntagResourceCommand } = require("@aws-sdk/client-lambda"); // CommonJS import - * const client = new LambdaClient(config); - * const input = { // UntagResourceRequest - * Resource: "STRING_VALUE", // required - * TagKeys: [ // TagKeyList // required - * "STRING_VALUE", - * ], - * }; - * const command = new UntagResourceCommand(input); - * const response = await client.send(command); - * // {}; - * - * ``` - * - * @param UntagResourceCommandInput - {@link UntagResourceCommandInput} - * @returns {@link UntagResourceCommandOutput} - * @see {@link UntagResourceCommandInput} for command's `input` shape. - * @see {@link UntagResourceCommandOutput} for command's `response` shape. - * @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape. - * - * @throws {@link InvalidParameterValueException} (client fault) - *

One of the parameters in the request is not valid.

- * - * @throws {@link ResourceConflictException} (client fault) - *

The resource already exists, or another operation is in progress.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The resource specified in the request does not exist.

- * - * @throws {@link ServiceException} (server fault) - *

The Lambda service encountered an internal error.

- * - * @throws {@link TooManyRequestsException} (client fault) - *

The request throughput limit was exceeded. For more information, see Lambda quotas.

- * - * @throws {@link LambdaServiceException} - *

Base exception class for all service exceptions from Lambda service.

- * - */ -export declare class UntagResourceCommand extends $Command { - readonly input: UntagResourceCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - /** - * @public - */ - constructor(input: UntagResourceCommandInput); - /** - * @internal - */ - resolveMiddleware(clientStack: MiddlewareStack, configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions): Handler; - /** - * @internal - */ - private serialize; - /** - * @internal - */ - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/commands/UpdateAliasCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/commands/UpdateAliasCommand.d.ts deleted file mode 100644 index a42be895..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/commands/UpdateAliasCommand.d.ts +++ /dev/null @@ -1,110 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; -import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; -import { AliasConfiguration, UpdateAliasRequest } from "../models/models_0"; -/** - * @public - */ -export { __MetadataBearer, $Command }; -/** - * @public - * - * The input for {@link UpdateAliasCommand}. - */ -export interface UpdateAliasCommandInput extends UpdateAliasRequest { -} -/** - * @public - * - * The output of {@link UpdateAliasCommand}. - */ -export interface UpdateAliasCommandOutput extends AliasConfiguration, __MetadataBearer { -} -/** - * @public - *

Updates the configuration of a Lambda function alias.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { LambdaClient, UpdateAliasCommand } from "@aws-sdk/client-lambda"; // ES Modules import - * // const { LambdaClient, UpdateAliasCommand } = require("@aws-sdk/client-lambda"); // CommonJS import - * const client = new LambdaClient(config); - * const input = { // UpdateAliasRequest - * FunctionName: "STRING_VALUE", // required - * Name: "STRING_VALUE", // required - * FunctionVersion: "STRING_VALUE", - * Description: "STRING_VALUE", - * RoutingConfig: { // AliasRoutingConfiguration - * AdditionalVersionWeights: { // AdditionalVersionWeights - * "": Number("double"), - * }, - * }, - * RevisionId: "STRING_VALUE", - * }; - * const command = new UpdateAliasCommand(input); - * const response = await client.send(command); - * // { // AliasConfiguration - * // AliasArn: "STRING_VALUE", - * // Name: "STRING_VALUE", - * // FunctionVersion: "STRING_VALUE", - * // Description: "STRING_VALUE", - * // RoutingConfig: { // AliasRoutingConfiguration - * // AdditionalVersionWeights: { // AdditionalVersionWeights - * // "": Number("double"), - * // }, - * // }, - * // RevisionId: "STRING_VALUE", - * // }; - * - * ``` - * - * @param UpdateAliasCommandInput - {@link UpdateAliasCommandInput} - * @returns {@link UpdateAliasCommandOutput} - * @see {@link UpdateAliasCommandInput} for command's `input` shape. - * @see {@link UpdateAliasCommandOutput} for command's `response` shape. - * @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape. - * - * @throws {@link InvalidParameterValueException} (client fault) - *

One of the parameters in the request is not valid.

- * - * @throws {@link PreconditionFailedException} (client fault) - *

The RevisionId provided does not match the latest RevisionId for the Lambda function or alias. Call the GetFunction or the GetAlias - * API operation to retrieve the latest RevisionId for your resource.

- * - * @throws {@link ResourceConflictException} (client fault) - *

The resource already exists, or another operation is in progress.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The resource specified in the request does not exist.

- * - * @throws {@link ServiceException} (server fault) - *

The Lambda service encountered an internal error.

- * - * @throws {@link TooManyRequestsException} (client fault) - *

The request throughput limit was exceeded. For more information, see Lambda quotas.

- * - * @throws {@link LambdaServiceException} - *

Base exception class for all service exceptions from Lambda service.

- * - */ -export declare class UpdateAliasCommand extends $Command { - readonly input: UpdateAliasCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - /** - * @public - */ - constructor(input: UpdateAliasCommandInput); - /** - * @internal - */ - resolveMiddleware(clientStack: MiddlewareStack, configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions): Handler; - /** - * @internal - */ - private serialize; - /** - * @internal - */ - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/commands/UpdateCodeSigningConfigCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/commands/UpdateCodeSigningConfigCommand.d.ts deleted file mode 100644 index 3948b7b9..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/commands/UpdateCodeSigningConfigCommand.d.ts +++ /dev/null @@ -1,105 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; -import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; -import { UpdateCodeSigningConfigRequest, UpdateCodeSigningConfigResponse } from "../models/models_0"; -/** - * @public - */ -export { __MetadataBearer, $Command }; -/** - * @public - * - * The input for {@link UpdateCodeSigningConfigCommand}. - */ -export interface UpdateCodeSigningConfigCommandInput extends UpdateCodeSigningConfigRequest { -} -/** - * @public - * - * The output of {@link UpdateCodeSigningConfigCommand}. - */ -export interface UpdateCodeSigningConfigCommandOutput extends UpdateCodeSigningConfigResponse, __MetadataBearer { -} -/** - * @public - *

Update the code signing configuration. Changes to the code signing configuration take effect the next time a - * user tries to deploy a code package to the function.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { LambdaClient, UpdateCodeSigningConfigCommand } from "@aws-sdk/client-lambda"; // ES Modules import - * // const { LambdaClient, UpdateCodeSigningConfigCommand } = require("@aws-sdk/client-lambda"); // CommonJS import - * const client = new LambdaClient(config); - * const input = { // UpdateCodeSigningConfigRequest - * CodeSigningConfigArn: "STRING_VALUE", // required - * Description: "STRING_VALUE", - * AllowedPublishers: { // AllowedPublishers - * SigningProfileVersionArns: [ // SigningProfileVersionArns // required - * "STRING_VALUE", - * ], - * }, - * CodeSigningPolicies: { // CodeSigningPolicies - * UntrustedArtifactOnDeployment: "Warn" || "Enforce", - * }, - * }; - * const command = new UpdateCodeSigningConfigCommand(input); - * const response = await client.send(command); - * // { // UpdateCodeSigningConfigResponse - * // CodeSigningConfig: { // CodeSigningConfig - * // CodeSigningConfigId: "STRING_VALUE", // required - * // CodeSigningConfigArn: "STRING_VALUE", // required - * // Description: "STRING_VALUE", - * // AllowedPublishers: { // AllowedPublishers - * // SigningProfileVersionArns: [ // SigningProfileVersionArns // required - * // "STRING_VALUE", - * // ], - * // }, - * // CodeSigningPolicies: { // CodeSigningPolicies - * // UntrustedArtifactOnDeployment: "Warn" || "Enforce", - * // }, - * // LastModified: "STRING_VALUE", // required - * // }, - * // }; - * - * ``` - * - * @param UpdateCodeSigningConfigCommandInput - {@link UpdateCodeSigningConfigCommandInput} - * @returns {@link UpdateCodeSigningConfigCommandOutput} - * @see {@link UpdateCodeSigningConfigCommandInput} for command's `input` shape. - * @see {@link UpdateCodeSigningConfigCommandOutput} for command's `response` shape. - * @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape. - * - * @throws {@link InvalidParameterValueException} (client fault) - *

One of the parameters in the request is not valid.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The resource specified in the request does not exist.

- * - * @throws {@link ServiceException} (server fault) - *

The Lambda service encountered an internal error.

- * - * @throws {@link LambdaServiceException} - *

Base exception class for all service exceptions from Lambda service.

- * - */ -export declare class UpdateCodeSigningConfigCommand extends $Command { - readonly input: UpdateCodeSigningConfigCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - /** - * @public - */ - constructor(input: UpdateCodeSigningConfigCommandInput); - /** - * @internal - */ - resolveMiddleware(clientStack: MiddlewareStack, configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions): Handler; - /** - * @internal - */ - private serialize; - /** - * @internal - */ - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/commands/UpdateEventSourceMappingCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/commands/UpdateEventSourceMappingCommand.d.ts deleted file mode 100644 index 5b05b141..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/commands/UpdateEventSourceMappingCommand.d.ts +++ /dev/null @@ -1,313 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; -import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; -import { EventSourceMappingConfiguration, UpdateEventSourceMappingRequest } from "../models/models_0"; -/** - * @public - */ -export { __MetadataBearer, $Command }; -/** - * @public - * - * The input for {@link UpdateEventSourceMappingCommand}. - */ -export interface UpdateEventSourceMappingCommandInput extends UpdateEventSourceMappingRequest { -} -/** - * @public - * - * The output of {@link UpdateEventSourceMappingCommand}. - */ -export interface UpdateEventSourceMappingCommandOutput extends EventSourceMappingConfiguration, __MetadataBearer { -} -/** - * @public - *

Updates an event source mapping. You can change the function that Lambda invokes, or pause - * invocation and resume later from the same location.

- *

For details about how to configure different event sources, see the following topics.

- * - *

The following error handling options are available only for stream sources (DynamoDB and Kinesis):

- *
    - *
  • - *

    - * BisectBatchOnFunctionError – If the function returns an error, split the batch in two and retry.

    - *
  • - *
  • - *

    - * DestinationConfig – Send discarded records to an Amazon SQS queue or Amazon SNS topic.

    - *
  • - *
  • - *

    - * MaximumRecordAgeInSeconds – Discard records older than the specified age. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires

    - *
  • - *
  • - *

    - * MaximumRetryAttempts – Discard records after the specified number of retries. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires.

    - *
  • - *
  • - *

    - * ParallelizationFactor – Process multiple batches from each shard concurrently.

    - *
  • - *
- *

For information about which configuration parameters apply to each event source, see the following topics.

- * - * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { LambdaClient, UpdateEventSourceMappingCommand } from "@aws-sdk/client-lambda"; // ES Modules import - * // const { LambdaClient, UpdateEventSourceMappingCommand } = require("@aws-sdk/client-lambda"); // CommonJS import - * const client = new LambdaClient(config); - * const input = { // UpdateEventSourceMappingRequest - * UUID: "STRING_VALUE", // required - * FunctionName: "STRING_VALUE", - * Enabled: true || false, - * BatchSize: Number("int"), - * FilterCriteria: { // FilterCriteria - * Filters: [ // FilterList - * { // Filter - * Pattern: "STRING_VALUE", - * }, - * ], - * }, - * MaximumBatchingWindowInSeconds: Number("int"), - * DestinationConfig: { // DestinationConfig - * OnSuccess: { // OnSuccess - * Destination: "STRING_VALUE", - * }, - * OnFailure: { // OnFailure - * Destination: "STRING_VALUE", - * }, - * }, - * MaximumRecordAgeInSeconds: Number("int"), - * BisectBatchOnFunctionError: true || false, - * MaximumRetryAttempts: Number("int"), - * ParallelizationFactor: Number("int"), - * SourceAccessConfigurations: [ // SourceAccessConfigurations - * { // SourceAccessConfiguration - * Type: "BASIC_AUTH" || "VPC_SUBNET" || "VPC_SECURITY_GROUP" || "SASL_SCRAM_512_AUTH" || "SASL_SCRAM_256_AUTH" || "VIRTUAL_HOST" || "CLIENT_CERTIFICATE_TLS_AUTH" || "SERVER_ROOT_CA_CERTIFICATE", - * URI: "STRING_VALUE", - * }, - * ], - * TumblingWindowInSeconds: Number("int"), - * FunctionResponseTypes: [ // FunctionResponseTypeList - * "ReportBatchItemFailures", - * ], - * ScalingConfig: { // ScalingConfig - * MaximumConcurrency: Number("int"), - * }, - * DocumentDBEventSourceConfig: { // DocumentDBEventSourceConfig - * DatabaseName: "STRING_VALUE", - * CollectionName: "STRING_VALUE", - * FullDocument: "UpdateLookup" || "Default", - * }, - * }; - * const command = new UpdateEventSourceMappingCommand(input); - * const response = await client.send(command); - * // { // EventSourceMappingConfiguration - * // UUID: "STRING_VALUE", - * // StartingPosition: "TRIM_HORIZON" || "LATEST" || "AT_TIMESTAMP", - * // StartingPositionTimestamp: new Date("TIMESTAMP"), - * // BatchSize: Number("int"), - * // MaximumBatchingWindowInSeconds: Number("int"), - * // ParallelizationFactor: Number("int"), - * // EventSourceArn: "STRING_VALUE", - * // FilterCriteria: { // FilterCriteria - * // Filters: [ // FilterList - * // { // Filter - * // Pattern: "STRING_VALUE", - * // }, - * // ], - * // }, - * // FunctionArn: "STRING_VALUE", - * // LastModified: new Date("TIMESTAMP"), - * // LastProcessingResult: "STRING_VALUE", - * // State: "STRING_VALUE", - * // StateTransitionReason: "STRING_VALUE", - * // DestinationConfig: { // DestinationConfig - * // OnSuccess: { // OnSuccess - * // Destination: "STRING_VALUE", - * // }, - * // OnFailure: { // OnFailure - * // Destination: "STRING_VALUE", - * // }, - * // }, - * // Topics: [ // Topics - * // "STRING_VALUE", - * // ], - * // Queues: [ // Queues - * // "STRING_VALUE", - * // ], - * // SourceAccessConfigurations: [ // SourceAccessConfigurations - * // { // SourceAccessConfiguration - * // Type: "BASIC_AUTH" || "VPC_SUBNET" || "VPC_SECURITY_GROUP" || "SASL_SCRAM_512_AUTH" || "SASL_SCRAM_256_AUTH" || "VIRTUAL_HOST" || "CLIENT_CERTIFICATE_TLS_AUTH" || "SERVER_ROOT_CA_CERTIFICATE", - * // URI: "STRING_VALUE", - * // }, - * // ], - * // SelfManagedEventSource: { // SelfManagedEventSource - * // Endpoints: { // Endpoints - * // "": [ // EndpointLists - * // "STRING_VALUE", - * // ], - * // }, - * // }, - * // MaximumRecordAgeInSeconds: Number("int"), - * // BisectBatchOnFunctionError: true || false, - * // MaximumRetryAttempts: Number("int"), - * // TumblingWindowInSeconds: Number("int"), - * // FunctionResponseTypes: [ // FunctionResponseTypeList - * // "ReportBatchItemFailures", - * // ], - * // AmazonManagedKafkaEventSourceConfig: { // AmazonManagedKafkaEventSourceConfig - * // ConsumerGroupId: "STRING_VALUE", - * // }, - * // SelfManagedKafkaEventSourceConfig: { // SelfManagedKafkaEventSourceConfig - * // ConsumerGroupId: "STRING_VALUE", - * // }, - * // ScalingConfig: { // ScalingConfig - * // MaximumConcurrency: Number("int"), - * // }, - * // DocumentDBEventSourceConfig: { // DocumentDBEventSourceConfig - * // DatabaseName: "STRING_VALUE", - * // CollectionName: "STRING_VALUE", - * // FullDocument: "UpdateLookup" || "Default", - * // }, - * // }; - * - * ``` - * - * @param UpdateEventSourceMappingCommandInput - {@link UpdateEventSourceMappingCommandInput} - * @returns {@link UpdateEventSourceMappingCommandOutput} - * @see {@link UpdateEventSourceMappingCommandInput} for command's `input` shape. - * @see {@link UpdateEventSourceMappingCommandOutput} for command's `response` shape. - * @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape. - * - * @throws {@link InvalidParameterValueException} (client fault) - *

One of the parameters in the request is not valid.

- * - * @throws {@link ResourceConflictException} (client fault) - *

The resource already exists, or another operation is in progress.

- * - * @throws {@link ResourceInUseException} (client fault) - *

The operation conflicts with the resource's availability. For example, you tried to update an event source - * mapping in the CREATING state, or you tried to delete an event source mapping currently UPDATING.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The resource specified in the request does not exist.

- * - * @throws {@link ServiceException} (server fault) - *

The Lambda service encountered an internal error.

- * - * @throws {@link TooManyRequestsException} (client fault) - *

The request throughput limit was exceeded. For more information, see Lambda quotas.

- * - * @throws {@link LambdaServiceException} - *

Base exception class for all service exceptions from Lambda service.

- * - */ -export declare class UpdateEventSourceMappingCommand extends $Command { - readonly input: UpdateEventSourceMappingCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - /** - * @public - */ - constructor(input: UpdateEventSourceMappingCommandInput); - /** - * @internal - */ - resolveMiddleware(clientStack: MiddlewareStack, configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions): Handler; - /** - * @internal - */ - private serialize; - /** - * @internal - */ - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/commands/UpdateFunctionCodeCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/commands/UpdateFunctionCodeCommand.d.ts deleted file mode 100644 index c7b323d2..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/commands/UpdateFunctionCodeCommand.d.ts +++ /dev/null @@ -1,232 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; -import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; -import { FunctionConfiguration, UpdateFunctionCodeRequest } from "../models/models_0"; -/** - * @public - */ -export { __MetadataBearer, $Command }; -/** - * @public - * - * The input for {@link UpdateFunctionCodeCommand}. - */ -export interface UpdateFunctionCodeCommandInput extends UpdateFunctionCodeRequest { -} -/** - * @public - * - * The output of {@link UpdateFunctionCodeCommand}. - */ -export interface UpdateFunctionCodeCommandOutput extends FunctionConfiguration, __MetadataBearer { -} -/** - * @public - *

Updates a Lambda function's code. If code signing is enabled for the function, the code package - * must be signed by a trusted publisher. For more information, see Configuring code signing for Lambda.

- *

If the function's package type is Image, then you must specify the code package in - * ImageUri as the URI of a container image in the Amazon ECR registry.

- *

If the function's package type is Zip, then you must specify the deployment package as a .zip file - * archive. Enter the Amazon S3 bucket and key of the code .zip file location. You can also provide - * the function code inline using the ZipFile field.

- *

The code in the deployment package must be compatible with the target instruction set architecture of the - * function (x86-64 or arm64).

- *

The function's code is locked when you publish a version. You can't modify the code of a published version, - * only the unpublished version.

- * - *

For a function defined as a container image, Lambda resolves the image tag to an image digest. In - * Amazon ECR, if you update the image tag to a new image, Lambda does not automatically - * update the function.

- *
- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { LambdaClient, UpdateFunctionCodeCommand } from "@aws-sdk/client-lambda"; // ES Modules import - * // const { LambdaClient, UpdateFunctionCodeCommand } = require("@aws-sdk/client-lambda"); // CommonJS import - * const client = new LambdaClient(config); - * const input = { // UpdateFunctionCodeRequest - * FunctionName: "STRING_VALUE", // required - * ZipFile: "BLOB_VALUE", - * S3Bucket: "STRING_VALUE", - * S3Key: "STRING_VALUE", - * S3ObjectVersion: "STRING_VALUE", - * ImageUri: "STRING_VALUE", - * Publish: true || false, - * DryRun: true || false, - * RevisionId: "STRING_VALUE", - * Architectures: [ // ArchitecturesList - * "x86_64" || "arm64", - * ], - * }; - * const command = new UpdateFunctionCodeCommand(input); - * const response = await client.send(command); - * // { // FunctionConfiguration - * // FunctionName: "STRING_VALUE", - * // FunctionArn: "STRING_VALUE", - * // Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21", - * // Role: "STRING_VALUE", - * // Handler: "STRING_VALUE", - * // CodeSize: Number("long"), - * // Description: "STRING_VALUE", - * // Timeout: Number("int"), - * // MemorySize: Number("int"), - * // LastModified: "STRING_VALUE", - * // CodeSha256: "STRING_VALUE", - * // Version: "STRING_VALUE", - * // VpcConfig: { // VpcConfigResponse - * // SubnetIds: [ // SubnetIds - * // "STRING_VALUE", - * // ], - * // SecurityGroupIds: [ // SecurityGroupIds - * // "STRING_VALUE", - * // ], - * // VpcId: "STRING_VALUE", - * // Ipv6AllowedForDualStack: true || false, - * // }, - * // DeadLetterConfig: { // DeadLetterConfig - * // TargetArn: "STRING_VALUE", - * // }, - * // Environment: { // EnvironmentResponse - * // Variables: { // EnvironmentVariables - * // "": "STRING_VALUE", - * // }, - * // Error: { // EnvironmentError - * // ErrorCode: "STRING_VALUE", - * // Message: "STRING_VALUE", - * // }, - * // }, - * // KMSKeyArn: "STRING_VALUE", - * // TracingConfig: { // TracingConfigResponse - * // Mode: "Active" || "PassThrough", - * // }, - * // MasterArn: "STRING_VALUE", - * // RevisionId: "STRING_VALUE", - * // Layers: [ // LayersReferenceList - * // { // Layer - * // Arn: "STRING_VALUE", - * // CodeSize: Number("long"), - * // SigningProfileVersionArn: "STRING_VALUE", - * // SigningJobArn: "STRING_VALUE", - * // }, - * // ], - * // State: "Pending" || "Active" || "Inactive" || "Failed", - * // StateReason: "STRING_VALUE", - * // StateReasonCode: "Idle" || "Creating" || "Restoring" || "EniLimitExceeded" || "InsufficientRolePermissions" || "InvalidConfiguration" || "InternalError" || "SubnetOutOfIPAddresses" || "InvalidSubnet" || "InvalidSecurityGroup" || "ImageDeleted" || "ImageAccessDenied" || "InvalidImage" || "KMSKeyAccessDenied" || "KMSKeyNotFound" || "InvalidStateKMSKey" || "DisabledKMSKey" || "EFSIOError" || "EFSMountConnectivityError" || "EFSMountFailure" || "EFSMountTimeout" || "InvalidRuntime" || "InvalidZipFileException" || "FunctionError", - * // LastUpdateStatus: "Successful" || "Failed" || "InProgress", - * // LastUpdateStatusReason: "STRING_VALUE", - * // LastUpdateStatusReasonCode: "EniLimitExceeded" || "InsufficientRolePermissions" || "InvalidConfiguration" || "InternalError" || "SubnetOutOfIPAddresses" || "InvalidSubnet" || "InvalidSecurityGroup" || "ImageDeleted" || "ImageAccessDenied" || "InvalidImage" || "KMSKeyAccessDenied" || "KMSKeyNotFound" || "InvalidStateKMSKey" || "DisabledKMSKey" || "EFSIOError" || "EFSMountConnectivityError" || "EFSMountFailure" || "EFSMountTimeout" || "InvalidRuntime" || "InvalidZipFileException" || "FunctionError", - * // FileSystemConfigs: [ // FileSystemConfigList - * // { // FileSystemConfig - * // Arn: "STRING_VALUE", // required - * // LocalMountPath: "STRING_VALUE", // required - * // }, - * // ], - * // PackageType: "Zip" || "Image", - * // ImageConfigResponse: { // ImageConfigResponse - * // ImageConfig: { // ImageConfig - * // EntryPoint: [ // StringList - * // "STRING_VALUE", - * // ], - * // Command: [ - * // "STRING_VALUE", - * // ], - * // WorkingDirectory: "STRING_VALUE", - * // }, - * // Error: { // ImageConfigError - * // ErrorCode: "STRING_VALUE", - * // Message: "STRING_VALUE", - * // }, - * // }, - * // SigningProfileVersionArn: "STRING_VALUE", - * // SigningJobArn: "STRING_VALUE", - * // Architectures: [ // ArchitecturesList - * // "x86_64" || "arm64", - * // ], - * // EphemeralStorage: { // EphemeralStorage - * // Size: Number("int"), // required - * // }, - * // SnapStart: { // SnapStartResponse - * // ApplyOn: "PublishedVersions" || "None", - * // OptimizationStatus: "On" || "Off", - * // }, - * // RuntimeVersionConfig: { // RuntimeVersionConfig - * // RuntimeVersionArn: "STRING_VALUE", - * // Error: { // RuntimeVersionError - * // ErrorCode: "STRING_VALUE", - * // Message: "STRING_VALUE", - * // }, - * // }, - * // LoggingConfig: { // LoggingConfig - * // LogFormat: "JSON" || "Text", - * // ApplicationLogLevel: "TRACE" || "DEBUG" || "INFO" || "WARN" || "ERROR" || "FATAL", - * // SystemLogLevel: "DEBUG" || "INFO" || "WARN", - * // LogGroup: "STRING_VALUE", - * // }, - * // }; - * - * ``` - * - * @param UpdateFunctionCodeCommandInput - {@link UpdateFunctionCodeCommandInput} - * @returns {@link UpdateFunctionCodeCommandOutput} - * @see {@link UpdateFunctionCodeCommandInput} for command's `input` shape. - * @see {@link UpdateFunctionCodeCommandOutput} for command's `response` shape. - * @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape. - * - * @throws {@link CodeSigningConfigNotFoundException} (client fault) - *

The specified code signing configuration does not exist.

- * - * @throws {@link CodeStorageExceededException} (client fault) - *

Your Amazon Web Services account has exceeded its maximum total code size. For more information, see Lambda quotas.

- * - * @throws {@link CodeVerificationFailedException} (client fault) - *

The code signature failed one or more of the validation checks for signature mismatch or expiry, and the code - * signing policy is set to ENFORCE. Lambda blocks the deployment.

- * - * @throws {@link InvalidCodeSignatureException} (client fault) - *

The code signature failed the integrity check. If the integrity check fails, then Lambda blocks - * deployment, even if the code signing policy is set to WARN.

- * - * @throws {@link InvalidParameterValueException} (client fault) - *

One of the parameters in the request is not valid.

- * - * @throws {@link PreconditionFailedException} (client fault) - *

The RevisionId provided does not match the latest RevisionId for the Lambda function or alias. Call the GetFunction or the GetAlias - * API operation to retrieve the latest RevisionId for your resource.

- * - * @throws {@link ResourceConflictException} (client fault) - *

The resource already exists, or another operation is in progress.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The resource specified in the request does not exist.

- * - * @throws {@link ServiceException} (server fault) - *

The Lambda service encountered an internal error.

- * - * @throws {@link TooManyRequestsException} (client fault) - *

The request throughput limit was exceeded. For more information, see Lambda quotas.

- * - * @throws {@link LambdaServiceException} - *

Base exception class for all service exceptions from Lambda service.

- * - */ -export declare class UpdateFunctionCodeCommand extends $Command { - readonly input: UpdateFunctionCodeCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - /** - * @public - */ - constructor(input: UpdateFunctionCodeCommandInput); - /** - * @internal - */ - resolveMiddleware(clientStack: MiddlewareStack, configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions): Handler; - /** - * @internal - */ - private serialize; - /** - * @internal - */ - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/commands/UpdateFunctionConfigurationCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/commands/UpdateFunctionConfigurationCommand.d.ts deleted file mode 100644 index 6c527171..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/commands/UpdateFunctionConfigurationCommand.d.ts +++ /dev/null @@ -1,272 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; -import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; -import { FunctionConfiguration, UpdateFunctionConfigurationRequest } from "../models/models_0"; -/** - * @public - */ -export { __MetadataBearer, $Command }; -/** - * @public - * - * The input for {@link UpdateFunctionConfigurationCommand}. - */ -export interface UpdateFunctionConfigurationCommandInput extends UpdateFunctionConfigurationRequest { -} -/** - * @public - * - * The output of {@link UpdateFunctionConfigurationCommand}. - */ -export interface UpdateFunctionConfigurationCommandOutput extends FunctionConfiguration, __MetadataBearer { -} -/** - * @public - *

Modify the version-specific settings of a Lambda function.

- *

When you update a function, Lambda provisions an instance of the function and its supporting - * resources. If your function connects to a VPC, this process can take a minute. During this time, you can't modify - * the function, but you can still invoke it. The LastUpdateStatus, LastUpdateStatusReason, - * and LastUpdateStatusReasonCode fields in the response from GetFunctionConfiguration - * indicate when the update is complete and the function is processing events with the new configuration. For more - * information, see Lambda - * function states.

- *

These settings can vary between versions of a function and are locked when you publish a version. You can't - * modify the configuration of a published version, only the unpublished version.

- *

To configure function concurrency, use PutFunctionConcurrency. To grant invoke permissions - * to an Amazon Web Services account or Amazon Web Service, use AddPermission.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { LambdaClient, UpdateFunctionConfigurationCommand } from "@aws-sdk/client-lambda"; // ES Modules import - * // const { LambdaClient, UpdateFunctionConfigurationCommand } = require("@aws-sdk/client-lambda"); // CommonJS import - * const client = new LambdaClient(config); - * const input = { // UpdateFunctionConfigurationRequest - * FunctionName: "STRING_VALUE", // required - * Role: "STRING_VALUE", - * Handler: "STRING_VALUE", - * Description: "STRING_VALUE", - * Timeout: Number("int"), - * MemorySize: Number("int"), - * VpcConfig: { // VpcConfig - * SubnetIds: [ // SubnetIds - * "STRING_VALUE", - * ], - * SecurityGroupIds: [ // SecurityGroupIds - * "STRING_VALUE", - * ], - * Ipv6AllowedForDualStack: true || false, - * }, - * Environment: { // Environment - * Variables: { // EnvironmentVariables - * "": "STRING_VALUE", - * }, - * }, - * Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21", - * DeadLetterConfig: { // DeadLetterConfig - * TargetArn: "STRING_VALUE", - * }, - * KMSKeyArn: "STRING_VALUE", - * TracingConfig: { // TracingConfig - * Mode: "Active" || "PassThrough", - * }, - * RevisionId: "STRING_VALUE", - * Layers: [ // LayerList - * "STRING_VALUE", - * ], - * FileSystemConfigs: [ // FileSystemConfigList - * { // FileSystemConfig - * Arn: "STRING_VALUE", // required - * LocalMountPath: "STRING_VALUE", // required - * }, - * ], - * ImageConfig: { // ImageConfig - * EntryPoint: [ // StringList - * "STRING_VALUE", - * ], - * Command: [ - * "STRING_VALUE", - * ], - * WorkingDirectory: "STRING_VALUE", - * }, - * EphemeralStorage: { // EphemeralStorage - * Size: Number("int"), // required - * }, - * SnapStart: { // SnapStart - * ApplyOn: "PublishedVersions" || "None", - * }, - * LoggingConfig: { // LoggingConfig - * LogFormat: "JSON" || "Text", - * ApplicationLogLevel: "TRACE" || "DEBUG" || "INFO" || "WARN" || "ERROR" || "FATAL", - * SystemLogLevel: "DEBUG" || "INFO" || "WARN", - * LogGroup: "STRING_VALUE", - * }, - * }; - * const command = new UpdateFunctionConfigurationCommand(input); - * const response = await client.send(command); - * // { // FunctionConfiguration - * // FunctionName: "STRING_VALUE", - * // FunctionArn: "STRING_VALUE", - * // Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21", - * // Role: "STRING_VALUE", - * // Handler: "STRING_VALUE", - * // CodeSize: Number("long"), - * // Description: "STRING_VALUE", - * // Timeout: Number("int"), - * // MemorySize: Number("int"), - * // LastModified: "STRING_VALUE", - * // CodeSha256: "STRING_VALUE", - * // Version: "STRING_VALUE", - * // VpcConfig: { // VpcConfigResponse - * // SubnetIds: [ // SubnetIds - * // "STRING_VALUE", - * // ], - * // SecurityGroupIds: [ // SecurityGroupIds - * // "STRING_VALUE", - * // ], - * // VpcId: "STRING_VALUE", - * // Ipv6AllowedForDualStack: true || false, - * // }, - * // DeadLetterConfig: { // DeadLetterConfig - * // TargetArn: "STRING_VALUE", - * // }, - * // Environment: { // EnvironmentResponse - * // Variables: { // EnvironmentVariables - * // "": "STRING_VALUE", - * // }, - * // Error: { // EnvironmentError - * // ErrorCode: "STRING_VALUE", - * // Message: "STRING_VALUE", - * // }, - * // }, - * // KMSKeyArn: "STRING_VALUE", - * // TracingConfig: { // TracingConfigResponse - * // Mode: "Active" || "PassThrough", - * // }, - * // MasterArn: "STRING_VALUE", - * // RevisionId: "STRING_VALUE", - * // Layers: [ // LayersReferenceList - * // { // Layer - * // Arn: "STRING_VALUE", - * // CodeSize: Number("long"), - * // SigningProfileVersionArn: "STRING_VALUE", - * // SigningJobArn: "STRING_VALUE", - * // }, - * // ], - * // State: "Pending" || "Active" || "Inactive" || "Failed", - * // StateReason: "STRING_VALUE", - * // StateReasonCode: "Idle" || "Creating" || "Restoring" || "EniLimitExceeded" || "InsufficientRolePermissions" || "InvalidConfiguration" || "InternalError" || "SubnetOutOfIPAddresses" || "InvalidSubnet" || "InvalidSecurityGroup" || "ImageDeleted" || "ImageAccessDenied" || "InvalidImage" || "KMSKeyAccessDenied" || "KMSKeyNotFound" || "InvalidStateKMSKey" || "DisabledKMSKey" || "EFSIOError" || "EFSMountConnectivityError" || "EFSMountFailure" || "EFSMountTimeout" || "InvalidRuntime" || "InvalidZipFileException" || "FunctionError", - * // LastUpdateStatus: "Successful" || "Failed" || "InProgress", - * // LastUpdateStatusReason: "STRING_VALUE", - * // LastUpdateStatusReasonCode: "EniLimitExceeded" || "InsufficientRolePermissions" || "InvalidConfiguration" || "InternalError" || "SubnetOutOfIPAddresses" || "InvalidSubnet" || "InvalidSecurityGroup" || "ImageDeleted" || "ImageAccessDenied" || "InvalidImage" || "KMSKeyAccessDenied" || "KMSKeyNotFound" || "InvalidStateKMSKey" || "DisabledKMSKey" || "EFSIOError" || "EFSMountConnectivityError" || "EFSMountFailure" || "EFSMountTimeout" || "InvalidRuntime" || "InvalidZipFileException" || "FunctionError", - * // FileSystemConfigs: [ // FileSystemConfigList - * // { // FileSystemConfig - * // Arn: "STRING_VALUE", // required - * // LocalMountPath: "STRING_VALUE", // required - * // }, - * // ], - * // PackageType: "Zip" || "Image", - * // ImageConfigResponse: { // ImageConfigResponse - * // ImageConfig: { // ImageConfig - * // EntryPoint: [ // StringList - * // "STRING_VALUE", - * // ], - * // Command: [ - * // "STRING_VALUE", - * // ], - * // WorkingDirectory: "STRING_VALUE", - * // }, - * // Error: { // ImageConfigError - * // ErrorCode: "STRING_VALUE", - * // Message: "STRING_VALUE", - * // }, - * // }, - * // SigningProfileVersionArn: "STRING_VALUE", - * // SigningJobArn: "STRING_VALUE", - * // Architectures: [ // ArchitecturesList - * // "x86_64" || "arm64", - * // ], - * // EphemeralStorage: { // EphemeralStorage - * // Size: Number("int"), // required - * // }, - * // SnapStart: { // SnapStartResponse - * // ApplyOn: "PublishedVersions" || "None", - * // OptimizationStatus: "On" || "Off", - * // }, - * // RuntimeVersionConfig: { // RuntimeVersionConfig - * // RuntimeVersionArn: "STRING_VALUE", - * // Error: { // RuntimeVersionError - * // ErrorCode: "STRING_VALUE", - * // Message: "STRING_VALUE", - * // }, - * // }, - * // LoggingConfig: { // LoggingConfig - * // LogFormat: "JSON" || "Text", - * // ApplicationLogLevel: "TRACE" || "DEBUG" || "INFO" || "WARN" || "ERROR" || "FATAL", - * // SystemLogLevel: "DEBUG" || "INFO" || "WARN", - * // LogGroup: "STRING_VALUE", - * // }, - * // }; - * - * ``` - * - * @param UpdateFunctionConfigurationCommandInput - {@link UpdateFunctionConfigurationCommandInput} - * @returns {@link UpdateFunctionConfigurationCommandOutput} - * @see {@link UpdateFunctionConfigurationCommandInput} for command's `input` shape. - * @see {@link UpdateFunctionConfigurationCommandOutput} for command's `response` shape. - * @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape. - * - * @throws {@link CodeSigningConfigNotFoundException} (client fault) - *

The specified code signing configuration does not exist.

- * - * @throws {@link CodeVerificationFailedException} (client fault) - *

The code signature failed one or more of the validation checks for signature mismatch or expiry, and the code - * signing policy is set to ENFORCE. Lambda blocks the deployment.

- * - * @throws {@link InvalidCodeSignatureException} (client fault) - *

The code signature failed the integrity check. If the integrity check fails, then Lambda blocks - * deployment, even if the code signing policy is set to WARN.

- * - * @throws {@link InvalidParameterValueException} (client fault) - *

One of the parameters in the request is not valid.

- * - * @throws {@link PreconditionFailedException} (client fault) - *

The RevisionId provided does not match the latest RevisionId for the Lambda function or alias. Call the GetFunction or the GetAlias - * API operation to retrieve the latest RevisionId for your resource.

- * - * @throws {@link ResourceConflictException} (client fault) - *

The resource already exists, or another operation is in progress.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The resource specified in the request does not exist.

- * - * @throws {@link ServiceException} (server fault) - *

The Lambda service encountered an internal error.

- * - * @throws {@link TooManyRequestsException} (client fault) - *

The request throughput limit was exceeded. For more information, see Lambda quotas.

- * - * @throws {@link LambdaServiceException} - *

Base exception class for all service exceptions from Lambda service.

- * - */ -export declare class UpdateFunctionConfigurationCommand extends $Command { - readonly input: UpdateFunctionConfigurationCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - /** - * @public - */ - constructor(input: UpdateFunctionConfigurationCommandInput); - /** - * @internal - */ - resolveMiddleware(clientStack: MiddlewareStack, configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions): Handler; - /** - * @internal - */ - private serialize; - /** - * @internal - */ - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/commands/UpdateFunctionEventInvokeConfigCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/commands/UpdateFunctionEventInvokeConfigCommand.d.ts deleted file mode 100644 index 66441835..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/commands/UpdateFunctionEventInvokeConfigCommand.d.ts +++ /dev/null @@ -1,111 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; -import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; -import { FunctionEventInvokeConfig, UpdateFunctionEventInvokeConfigRequest } from "../models/models_0"; -/** - * @public - */ -export { __MetadataBearer, $Command }; -/** - * @public - * - * The input for {@link UpdateFunctionEventInvokeConfigCommand}. - */ -export interface UpdateFunctionEventInvokeConfigCommandInput extends UpdateFunctionEventInvokeConfigRequest { -} -/** - * @public - * - * The output of {@link UpdateFunctionEventInvokeConfigCommand}. - */ -export interface UpdateFunctionEventInvokeConfigCommandOutput extends FunctionEventInvokeConfig, __MetadataBearer { -} -/** - * @public - *

Updates the configuration for asynchronous invocation for a function, version, or alias.

- *

To configure options for asynchronous invocation, use PutFunctionEventInvokeConfig.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { LambdaClient, UpdateFunctionEventInvokeConfigCommand } from "@aws-sdk/client-lambda"; // ES Modules import - * // const { LambdaClient, UpdateFunctionEventInvokeConfigCommand } = require("@aws-sdk/client-lambda"); // CommonJS import - * const client = new LambdaClient(config); - * const input = { // UpdateFunctionEventInvokeConfigRequest - * FunctionName: "STRING_VALUE", // required - * Qualifier: "STRING_VALUE", - * MaximumRetryAttempts: Number("int"), - * MaximumEventAgeInSeconds: Number("int"), - * DestinationConfig: { // DestinationConfig - * OnSuccess: { // OnSuccess - * Destination: "STRING_VALUE", - * }, - * OnFailure: { // OnFailure - * Destination: "STRING_VALUE", - * }, - * }, - * }; - * const command = new UpdateFunctionEventInvokeConfigCommand(input); - * const response = await client.send(command); - * // { // FunctionEventInvokeConfig - * // LastModified: new Date("TIMESTAMP"), - * // FunctionArn: "STRING_VALUE", - * // MaximumRetryAttempts: Number("int"), - * // MaximumEventAgeInSeconds: Number("int"), - * // DestinationConfig: { // DestinationConfig - * // OnSuccess: { // OnSuccess - * // Destination: "STRING_VALUE", - * // }, - * // OnFailure: { // OnFailure - * // Destination: "STRING_VALUE", - * // }, - * // }, - * // }; - * - * ``` - * - * @param UpdateFunctionEventInvokeConfigCommandInput - {@link UpdateFunctionEventInvokeConfigCommandInput} - * @returns {@link UpdateFunctionEventInvokeConfigCommandOutput} - * @see {@link UpdateFunctionEventInvokeConfigCommandInput} for command's `input` shape. - * @see {@link UpdateFunctionEventInvokeConfigCommandOutput} for command's `response` shape. - * @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape. - * - * @throws {@link InvalidParameterValueException} (client fault) - *

One of the parameters in the request is not valid.

- * - * @throws {@link ResourceConflictException} (client fault) - *

The resource already exists, or another operation is in progress.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The resource specified in the request does not exist.

- * - * @throws {@link ServiceException} (server fault) - *

The Lambda service encountered an internal error.

- * - * @throws {@link TooManyRequestsException} (client fault) - *

The request throughput limit was exceeded. For more information, see Lambda quotas.

- * - * @throws {@link LambdaServiceException} - *

Base exception class for all service exceptions from Lambda service.

- * - */ -export declare class UpdateFunctionEventInvokeConfigCommand extends $Command { - readonly input: UpdateFunctionEventInvokeConfigCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - /** - * @public - */ - constructor(input: UpdateFunctionEventInvokeConfigCommandInput); - /** - * @internal - */ - resolveMiddleware(clientStack: MiddlewareStack, configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions): Handler; - /** - * @internal - */ - private serialize; - /** - * @internal - */ - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/commands/UpdateFunctionUrlConfigCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/commands/UpdateFunctionUrlConfigCommand.d.ts deleted file mode 100644 index 5abed61a..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/commands/UpdateFunctionUrlConfigCommand.d.ts +++ /dev/null @@ -1,128 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; -import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient"; -import { UpdateFunctionUrlConfigRequest, UpdateFunctionUrlConfigResponse } from "../models/models_0"; -/** - * @public - */ -export { __MetadataBearer, $Command }; -/** - * @public - * - * The input for {@link UpdateFunctionUrlConfigCommand}. - */ -export interface UpdateFunctionUrlConfigCommandInput extends UpdateFunctionUrlConfigRequest { -} -/** - * @public - * - * The output of {@link UpdateFunctionUrlConfigCommand}. - */ -export interface UpdateFunctionUrlConfigCommandOutput extends UpdateFunctionUrlConfigResponse, __MetadataBearer { -} -/** - * @public - *

Updates the configuration for a Lambda function URL.

- * @example - * Use a bare-bones client and the command you need to make an API call. - * ```javascript - * import { LambdaClient, UpdateFunctionUrlConfigCommand } from "@aws-sdk/client-lambda"; // ES Modules import - * // const { LambdaClient, UpdateFunctionUrlConfigCommand } = require("@aws-sdk/client-lambda"); // CommonJS import - * const client = new LambdaClient(config); - * const input = { // UpdateFunctionUrlConfigRequest - * FunctionName: "STRING_VALUE", // required - * Qualifier: "STRING_VALUE", - * AuthType: "NONE" || "AWS_IAM", - * Cors: { // Cors - * AllowCredentials: true || false, - * AllowHeaders: [ // HeadersList - * "STRING_VALUE", - * ], - * AllowMethods: [ // AllowMethodsList - * "STRING_VALUE", - * ], - * AllowOrigins: [ // AllowOriginsList - * "STRING_VALUE", - * ], - * ExposeHeaders: [ - * "STRING_VALUE", - * ], - * MaxAge: Number("int"), - * }, - * InvokeMode: "BUFFERED" || "RESPONSE_STREAM", - * }; - * const command = new UpdateFunctionUrlConfigCommand(input); - * const response = await client.send(command); - * // { // UpdateFunctionUrlConfigResponse - * // FunctionUrl: "STRING_VALUE", // required - * // FunctionArn: "STRING_VALUE", // required - * // AuthType: "NONE" || "AWS_IAM", // required - * // Cors: { // Cors - * // AllowCredentials: true || false, - * // AllowHeaders: [ // HeadersList - * // "STRING_VALUE", - * // ], - * // AllowMethods: [ // AllowMethodsList - * // "STRING_VALUE", - * // ], - * // AllowOrigins: [ // AllowOriginsList - * // "STRING_VALUE", - * // ], - * // ExposeHeaders: [ - * // "STRING_VALUE", - * // ], - * // MaxAge: Number("int"), - * // }, - * // CreationTime: "STRING_VALUE", // required - * // LastModifiedTime: "STRING_VALUE", // required - * // InvokeMode: "BUFFERED" || "RESPONSE_STREAM", - * // }; - * - * ``` - * - * @param UpdateFunctionUrlConfigCommandInput - {@link UpdateFunctionUrlConfigCommandInput} - * @returns {@link UpdateFunctionUrlConfigCommandOutput} - * @see {@link UpdateFunctionUrlConfigCommandInput} for command's `input` shape. - * @see {@link UpdateFunctionUrlConfigCommandOutput} for command's `response` shape. - * @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape. - * - * @throws {@link InvalidParameterValueException} (client fault) - *

One of the parameters in the request is not valid.

- * - * @throws {@link ResourceConflictException} (client fault) - *

The resource already exists, or another operation is in progress.

- * - * @throws {@link ResourceNotFoundException} (client fault) - *

The resource specified in the request does not exist.

- * - * @throws {@link ServiceException} (server fault) - *

The Lambda service encountered an internal error.

- * - * @throws {@link TooManyRequestsException} (client fault) - *

The request throughput limit was exceeded. For more information, see Lambda quotas.

- * - * @throws {@link LambdaServiceException} - *

Base exception class for all service exceptions from Lambda service.

- * - */ -export declare class UpdateFunctionUrlConfigCommand extends $Command { - readonly input: UpdateFunctionUrlConfigCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - /** - * @public - */ - constructor(input: UpdateFunctionUrlConfigCommandInput); - /** - * @internal - */ - resolveMiddleware(clientStack: MiddlewareStack, configuration: LambdaClientResolvedConfig, options?: __HttpHandlerOptions): Handler; - /** - * @internal - */ - private serialize; - /** - * @internal - */ - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/commands/index.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/commands/index.d.ts deleted file mode 100644 index 636eaaf6..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/commands/index.d.ts +++ /dev/null @@ -1,66 +0,0 @@ -export * from "./AddLayerVersionPermissionCommand"; -export * from "./AddPermissionCommand"; -export * from "./CreateAliasCommand"; -export * from "./CreateCodeSigningConfigCommand"; -export * from "./CreateEventSourceMappingCommand"; -export * from "./CreateFunctionCommand"; -export * from "./CreateFunctionUrlConfigCommand"; -export * from "./DeleteAliasCommand"; -export * from "./DeleteCodeSigningConfigCommand"; -export * from "./DeleteEventSourceMappingCommand"; -export * from "./DeleteFunctionCodeSigningConfigCommand"; -export * from "./DeleteFunctionCommand"; -export * from "./DeleteFunctionConcurrencyCommand"; -export * from "./DeleteFunctionEventInvokeConfigCommand"; -export * from "./DeleteFunctionUrlConfigCommand"; -export * from "./DeleteLayerVersionCommand"; -export * from "./DeleteProvisionedConcurrencyConfigCommand"; -export * from "./GetAccountSettingsCommand"; -export * from "./GetAliasCommand"; -export * from "./GetCodeSigningConfigCommand"; -export * from "./GetEventSourceMappingCommand"; -export * from "./GetFunctionCodeSigningConfigCommand"; -export * from "./GetFunctionCommand"; -export * from "./GetFunctionConcurrencyCommand"; -export * from "./GetFunctionConfigurationCommand"; -export * from "./GetFunctionEventInvokeConfigCommand"; -export * from "./GetFunctionUrlConfigCommand"; -export * from "./GetLayerVersionByArnCommand"; -export * from "./GetLayerVersionCommand"; -export * from "./GetLayerVersionPolicyCommand"; -export * from "./GetPolicyCommand"; -export * from "./GetProvisionedConcurrencyConfigCommand"; -export * from "./GetRuntimeManagementConfigCommand"; -export * from "./InvokeAsyncCommand"; -export * from "./InvokeCommand"; -export * from "./InvokeWithResponseStreamCommand"; -export * from "./ListAliasesCommand"; -export * from "./ListCodeSigningConfigsCommand"; -export * from "./ListEventSourceMappingsCommand"; -export * from "./ListFunctionEventInvokeConfigsCommand"; -export * from "./ListFunctionUrlConfigsCommand"; -export * from "./ListFunctionsByCodeSigningConfigCommand"; -export * from "./ListFunctionsCommand"; -export * from "./ListLayerVersionsCommand"; -export * from "./ListLayersCommand"; -export * from "./ListProvisionedConcurrencyConfigsCommand"; -export * from "./ListTagsCommand"; -export * from "./ListVersionsByFunctionCommand"; -export * from "./PublishLayerVersionCommand"; -export * from "./PublishVersionCommand"; -export * from "./PutFunctionCodeSigningConfigCommand"; -export * from "./PutFunctionConcurrencyCommand"; -export * from "./PutFunctionEventInvokeConfigCommand"; -export * from "./PutProvisionedConcurrencyConfigCommand"; -export * from "./PutRuntimeManagementConfigCommand"; -export * from "./RemoveLayerVersionPermissionCommand"; -export * from "./RemovePermissionCommand"; -export * from "./TagResourceCommand"; -export * from "./UntagResourceCommand"; -export * from "./UpdateAliasCommand"; -export * from "./UpdateCodeSigningConfigCommand"; -export * from "./UpdateEventSourceMappingCommand"; -export * from "./UpdateFunctionCodeCommand"; -export * from "./UpdateFunctionConfigurationCommand"; -export * from "./UpdateFunctionEventInvokeConfigCommand"; -export * from "./UpdateFunctionUrlConfigCommand"; diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/index.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/index.d.ts deleted file mode 100644 index 457321eb..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/index.d.ts +++ /dev/null @@ -1,80 +0,0 @@ -/** - * Lambda - *

- * Overview - *

- *

Lambda is a compute service that lets you run code without provisioning or managing servers. - * Lambda runs your code on a high-availability compute infrastructure and performs all of the - * administration of the compute resources, including server and operating system maintenance, capacity provisioning - * and automatic scaling, code monitoring and logging. With Lambda, you can run code for virtually any - * type of application or backend service. For more information about the Lambda service, see What is Lambda in the Lambda Developer Guide.

- *

The Lambda API Reference provides information about - * each of the API methods, including details about the parameters in each API request and - * response.

- *

- *

You can use Software Development Kits (SDKs), Integrated Development Environment (IDE) Toolkits, and command - * line tools to access the API. For installation instructions, see Tools for - * Amazon Web Services.

- *

For a list of Region-specific endpoints that Lambda supports, - * see Lambda - * endpoints and quotas in the Amazon Web Services General Reference..

- *

When making the API calls, you will need to - * authenticate your request by providing a signature. Lambda supports signature version 4. For more information, - * see Signature Version 4 signing process in the - * Amazon Web Services General Reference..

- *

- * CA certificates - *

- *

Because Amazon Web Services SDKs use the CA certificates from your computer, changes to the certificates on the Amazon Web Services servers - * can cause connection failures when you attempt to use an SDK. You can prevent these failures by keeping your - * computer's CA certificates and operating system up-to-date. If you encounter this issue in a corporate - * environment and do not manage your own computer, you might need to ask an administrator to assist with the - * update process. The following list shows minimum operating system and Java versions:

- *
    - *
  • - *

    Microsoft Windows versions that have updates from January 2005 or later installed contain at least one - * of the required CAs in their trust list.

    - *
  • - *
  • - *

    Mac OS X 10.4 with Java for Mac OS X 10.4 Release 5 (February 2007), Mac OS X 10.5 (October 2007), and - * later versions contain at least one of the required CAs in their trust list.

    - *
  • - *
  • - *

    Red Hat Enterprise Linux 5 (March 2007), 6, and 7 and CentOS 5, 6, and 7 all contain at least one of the - * required CAs in their default trusted CA list.

    - *
  • - *
  • - *

    Java 1.4.2_12 (May 2006), 5 Update 2 (March 2005), and all later versions, including Java 6 (December - * 2006), 7, and 8, contain at least one of the required CAs in their default trusted CA list.

    - *
  • - *
- *

When accessing the Lambda management console or Lambda API endpoints, whether through browsers or - * programmatically, you will need to ensure your client machines support any of the following CAs:

- *
    - *
  • - *

    Amazon Root CA 1

    - *
  • - *
  • - *

    Starfield Services Root Certificate Authority - G2

    - *
  • - *
  • - *

    Starfield Class 2 Certification Authority

    - *
  • - *
- *

Root certificates from the first two authorities are available from Amazon trust services, but keeping your computer - * up-to-date is the more straightforward solution. To learn more about ACM-provided certificates, see Amazon Web Services Certificate Manager FAQs. - *

- * - * @packageDocumentation - */ -export * from "./LambdaClient"; -export * from "./Lambda"; -export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters"; -export { RuntimeExtension } from "./runtimeExtensions"; -export { LambdaExtensionConfiguration } from "./extensionConfiguration"; -export * from "./commands"; -export * from "./pagination"; -export * from "./waiters"; -export * from "./models"; -import "@aws-sdk/util-endpoints"; -export { LambdaServiceException } from "./models/LambdaServiceException"; diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/models/index.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/models/index.d.ts deleted file mode 100644 index 09c5d6e0..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/models/index.d.ts +++ /dev/null @@ -1 +0,0 @@ -export * from "./models_0"; diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/models/models_0.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/models/models_0.d.ts deleted file mode 100644 index 9388213b..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/models/models_0.d.ts +++ /dev/null @@ -1,6378 +0,0 @@ -import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client"; -import { StreamingBlobTypes } from "@smithy/types"; -import { LambdaServiceException as __BaseException } from "./LambdaServiceException"; -/** - * @public - *

Limits that are related to concurrency and storage. All file and storage sizes are in bytes.

- */ -export interface AccountLimit { - /** - * @public - *

The amount of storage space that you can use for all deployment packages and layer archives.

- */ - TotalCodeSize?: number; - /** - * @public - *

The maximum size of a function's deployment package and layers when they're extracted.

- */ - CodeSizeUnzipped?: number; - /** - * @public - *

The maximum size of a deployment package when it's uploaded directly to Lambda. Use Amazon S3 for larger - * files.

- */ - CodeSizeZipped?: number; - /** - * @public - *

The maximum number of simultaneous function executions.

- */ - ConcurrentExecutions?: number; - /** - * @public - *

The maximum number of simultaneous function executions, minus the capacity that's reserved for individual - * functions with PutFunctionConcurrency.

- */ - UnreservedConcurrentExecutions?: number; -} -/** - * @public - *

The number of functions and amount of storage in use.

- */ -export interface AccountUsage { - /** - * @public - *

The amount of storage space, in bytes, that's being used by deployment packages and layer archives.

- */ - TotalCodeSize?: number; - /** - * @public - *

The number of Lambda functions.

- */ - FunctionCount?: number; -} -/** - * @public - */ -export interface AddLayerVersionPermissionRequest { - /** - * @public - *

The name or Amazon Resource Name (ARN) of the layer.

- */ - LayerName: string | undefined; - /** - * @public - *

The version number.

- */ - VersionNumber: number | undefined; - /** - * @public - *

An identifier that distinguishes the policy from others on the same layer version.

- */ - StatementId: string | undefined; - /** - * @public - *

The API action that grants access to the layer. For example, lambda:GetLayerVersion.

- */ - Action: string | undefined; - /** - * @public - *

An account ID, or * to grant layer usage permission to all - * accounts in an organization, or all Amazon Web Services accounts (if organizationId is not specified). - * For the last case, make sure that you really do want all Amazon Web Services accounts to have usage permission to this layer. - *

- */ - Principal: string | undefined; - /** - * @public - *

With the principal set to *, grant permission to all accounts in the specified - * organization.

- */ - OrganizationId?: string; - /** - * @public - *

Only update the policy if the revision ID matches the ID specified. Use this option to avoid modifying a - * policy that has changed since you last read it.

- */ - RevisionId?: string; -} -/** - * @public - */ -export interface AddLayerVersionPermissionResponse { - /** - * @public - *

The permission statement.

- */ - Statement?: string; - /** - * @public - *

A unique identifier for the current revision of the policy.

- */ - RevisionId?: string; -} -/** - * @public - *

One of the parameters in the request is not valid.

- */ -export declare class InvalidParameterValueException extends __BaseException { - readonly name: "InvalidParameterValueException"; - readonly $fault: "client"; - /** - * @public - *

The exception type.

- */ - Type?: string; - /** - * @internal - */ - constructor(opts: __ExceptionOptionType); -} -/** - * @public - *

The permissions policy for the resource is too large. For more information, see Lambda quotas.

- */ -export declare class PolicyLengthExceededException extends __BaseException { - readonly name: "PolicyLengthExceededException"; - readonly $fault: "client"; - Type?: string; - /** - * @internal - */ - constructor(opts: __ExceptionOptionType); -} -/** - * @public - *

The RevisionId provided does not match the latest RevisionId for the Lambda function or alias. Call the GetFunction or the GetAlias - * API operation to retrieve the latest RevisionId for your resource.

- */ -export declare class PreconditionFailedException extends __BaseException { - readonly name: "PreconditionFailedException"; - readonly $fault: "client"; - /** - * @public - *

The exception type.

- */ - Type?: string; - /** - * @internal - */ - constructor(opts: __ExceptionOptionType); -} -/** - * @public - *

The resource already exists, or another operation is in progress.

- */ -export declare class ResourceConflictException extends __BaseException { - readonly name: "ResourceConflictException"; - readonly $fault: "client"; - /** - * @public - *

The exception type.

- */ - Type?: string; - /** - * @internal - */ - constructor(opts: __ExceptionOptionType); -} -/** - * @public - *

The resource specified in the request does not exist.

- */ -export declare class ResourceNotFoundException extends __BaseException { - readonly name: "ResourceNotFoundException"; - readonly $fault: "client"; - Type?: string; - Message?: string; - /** - * @internal - */ - constructor(opts: __ExceptionOptionType); -} -/** - * @public - *

The Lambda service encountered an internal error.

- */ -export declare class ServiceException extends __BaseException { - readonly name: "ServiceException"; - readonly $fault: "server"; - Type?: string; - Message?: string; - /** - * @internal - */ - constructor(opts: __ExceptionOptionType); -} -/** - * @public - * @enum - */ -export declare const ThrottleReason: { - readonly CallerRateLimitExceeded: "CallerRateLimitExceeded"; - readonly ConcurrentInvocationLimitExceeded: "ConcurrentInvocationLimitExceeded"; - readonly ConcurrentSnapshotCreateLimitExceeded: "ConcurrentSnapshotCreateLimitExceeded"; - readonly FunctionInvocationRateLimitExceeded: "FunctionInvocationRateLimitExceeded"; - readonly ReservedFunctionConcurrentInvocationLimitExceeded: "ReservedFunctionConcurrentInvocationLimitExceeded"; - readonly ReservedFunctionInvocationRateLimitExceeded: "ReservedFunctionInvocationRateLimitExceeded"; -}; -/** - * @public - */ -export type ThrottleReason = (typeof ThrottleReason)[keyof typeof ThrottleReason]; -/** - * @public - *

The request throughput limit was exceeded. For more information, see Lambda quotas.

- */ -export declare class TooManyRequestsException extends __BaseException { - readonly name: "TooManyRequestsException"; - readonly $fault: "client"; - /** - * @public - *

The number of seconds the caller should wait before retrying.

- */ - retryAfterSeconds?: string; - Type?: string; - Reason?: ThrottleReason; - /** - * @internal - */ - constructor(opts: __ExceptionOptionType); -} -/** - * @public - * @enum - */ -export declare const FunctionUrlAuthType: { - readonly AWS_IAM: "AWS_IAM"; - readonly NONE: "NONE"; -}; -/** - * @public - */ -export type FunctionUrlAuthType = (typeof FunctionUrlAuthType)[keyof typeof FunctionUrlAuthType]; -/** - * @public - */ -export interface AddPermissionRequest { - /** - * @public - *

The name of the Lambda function, version, or alias.

- *

- * Name formats - *

- *
    - *
  • - *

    - * Function name – my-function (name-only), my-function:v1 (with alias).

    - *
  • - *
  • - *

    - * Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function.

    - *
  • - *
  • - *

    - * Partial ARN – 123456789012:function:my-function.

    - *
  • - *
- *

You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. - * If you specify only the function name, it is limited to 64 characters in length.

- */ - FunctionName: string | undefined; - /** - * @public - *

A statement identifier that differentiates the statement from others in the same policy.

- */ - StatementId: string | undefined; - /** - * @public - *

The action that the principal can use on the function. For example, lambda:InvokeFunction or - * lambda:GetFunction.

- */ - Action: string | undefined; - /** - * @public - *

The Amazon Web Service or Amazon Web Services account that invokes the function. If you specify a - * service, use SourceArn or SourceAccount to limit who can invoke the function through - * that service.

- */ - Principal: string | undefined; - /** - * @public - *

For Amazon Web Services, the ARN of the Amazon Web Services resource that invokes the function. For - * example, an Amazon S3 bucket or Amazon SNS topic.

- *

Note that Lambda configures the comparison using the StringLike operator.

- */ - SourceArn?: string; - /** - * @public - *

For Amazon Web Service, the ID of the Amazon Web Services account that owns the resource. Use this - * together with SourceArn to ensure that the specified account owns the resource. It is possible for an - * Amazon S3 bucket to be deleted by its owner and recreated by another account.

- */ - SourceAccount?: string; - /** - * @public - *

For Alexa Smart Home functions, a token that the invoker must supply.

- */ - EventSourceToken?: string; - /** - * @public - *

Specify a version or alias to add permissions to a published version of the function.

- */ - Qualifier?: string; - /** - * @public - *

Update the policy only if the revision ID matches the ID that's specified. Use this option to avoid modifying a - * policy that has changed since you last read it.

- */ - RevisionId?: string; - /** - * @public - *

The identifier for your organization in Organizations. Use this to grant permissions to all the - * Amazon Web Services accounts under this organization.

- */ - PrincipalOrgID?: string; - /** - * @public - *

The type of authentication that your function URL uses. Set to AWS_IAM if you want to restrict access to authenticated - * users only. Set to NONE if you want to bypass IAM authentication to create a public endpoint. For more information, - * see Security and auth model for Lambda function URLs.

- */ - FunctionUrlAuthType?: FunctionUrlAuthType; -} -/** - * @public - */ -export interface AddPermissionResponse { - /** - * @public - *

The permission statement that's added to the function policy.

- */ - Statement?: string; -} -/** - * @public - *

The traffic-shifting configuration of a Lambda function alias.

- */ -export interface AliasRoutingConfiguration { - /** - * @public - *

The second version, and the percentage of traffic that's routed to it.

- */ - AdditionalVersionWeights?: Record; -} -/** - * @public - *

Provides configuration information about a Lambda function alias.

- */ -export interface AliasConfiguration { - /** - * @public - *

The Amazon Resource Name (ARN) of the alias.

- */ - AliasArn?: string; - /** - * @public - *

The name of the alias.

- */ - Name?: string; - /** - * @public - *

The function version that the alias invokes.

- */ - FunctionVersion?: string; - /** - * @public - *

A description of the alias.

- */ - Description?: string; - /** - * @public - *

The routing - * configuration of the alias.

- */ - RoutingConfig?: AliasRoutingConfiguration; - /** - * @public - *

A unique identifier that changes when you update the alias.

- */ - RevisionId?: string; -} -/** - * @public - *

List of signing profiles that can sign a code package.

- */ -export interface AllowedPublishers { - /** - * @public - *

The Amazon Resource Name (ARN) for each of the signing profiles. A signing profile defines a trusted user - * who can sign a code package.

- */ - SigningProfileVersionArns: string[] | undefined; -} -/** - * @public - *

Specific configuration settings for an Amazon Managed Streaming for Apache Kafka (Amazon MSK) event source.

- */ -export interface AmazonManagedKafkaEventSourceConfig { - /** - * @public - *

The identifier for the Kafka consumer group to join. The consumer group ID must be unique among all your Kafka event sources. - * After creating a Kafka event source mapping with the consumer group ID specified, you cannot update this value. For more information, see - * Customizable consumer group ID.

- */ - ConsumerGroupId?: string; -} -/** - * @public - * @enum - */ -export declare const ApplicationLogLevel: { - readonly Debug: "DEBUG"; - readonly Error: "ERROR"; - readonly Fatal: "FATAL"; - readonly Info: "INFO"; - readonly Trace: "TRACE"; - readonly Warn: "WARN"; -}; -/** - * @public - */ -export type ApplicationLogLevel = (typeof ApplicationLogLevel)[keyof typeof ApplicationLogLevel]; -/** - * @public - * @enum - */ -export declare const Architecture: { - readonly arm64: "arm64"; - readonly x86_64: "x86_64"; -}; -/** - * @public - */ -export type Architecture = (typeof Architecture)[keyof typeof Architecture]; -/** - * @public - */ -export interface CreateAliasRequest { - /** - * @public - *

The name of the Lambda function.

- *

- * Name formats - *

- *
    - *
  • - *

    - * Function name - MyFunction.

    - *
  • - *
  • - *

    - * Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction.

    - *
  • - *
  • - *

    - * Partial ARN - 123456789012:function:MyFunction.

    - *
  • - *
- *

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 - * characters in length.

- */ - FunctionName: string | undefined; - /** - * @public - *

The name of the alias.

- */ - Name: string | undefined; - /** - * @public - *

The function version that the alias invokes.

- */ - FunctionVersion: string | undefined; - /** - * @public - *

A description of the alias.

- */ - Description?: string; - /** - * @public - *

The routing - * configuration of the alias.

- */ - RoutingConfig?: AliasRoutingConfiguration; -} -/** - * @public - * @enum - */ -export declare const CodeSigningPolicy: { - readonly Enforce: "Enforce"; - readonly Warn: "Warn"; -}; -/** - * @public - */ -export type CodeSigningPolicy = (typeof CodeSigningPolicy)[keyof typeof CodeSigningPolicy]; -/** - * @public - *

Code signing configuration policies specify the validation failure action for signature mismatch or - * expiry.

- */ -export interface CodeSigningPolicies { - /** - * @public - *

Code signing configuration policy for deployment validation failure. If you set the policy to - * Enforce, Lambda blocks the deployment request if signature validation checks fail. If you set the - * policy to Warn, Lambda allows the deployment and creates a CloudWatch log.

- *

Default value: Warn - *

- */ - UntrustedArtifactOnDeployment?: CodeSigningPolicy; -} -/** - * @public - */ -export interface CreateCodeSigningConfigRequest { - /** - * @public - *

Descriptive name for this code signing configuration.

- */ - Description?: string; - /** - * @public - *

Signing profiles for this code signing configuration.

- */ - AllowedPublishers: AllowedPublishers | undefined; - /** - * @public - *

The code signing policies define the actions to take if the validation checks fail.

- */ - CodeSigningPolicies?: CodeSigningPolicies; -} -/** - * @public - *

Details about a Code signing configuration.

- */ -export interface CodeSigningConfig { - /** - * @public - *

Unique identifer for the Code signing configuration.

- */ - CodeSigningConfigId: string | undefined; - /** - * @public - *

The Amazon Resource Name (ARN) of the Code signing configuration.

- */ - CodeSigningConfigArn: string | undefined; - /** - * @public - *

Code signing configuration description.

- */ - Description?: string; - /** - * @public - *

List of allowed publishers.

- */ - AllowedPublishers: AllowedPublishers | undefined; - /** - * @public - *

The code signing policy controls the validation failure action for signature mismatch or expiry.

- */ - CodeSigningPolicies: CodeSigningPolicies | undefined; - /** - * @public - *

The date and time that the Code signing configuration was last modified, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).

- */ - LastModified: string | undefined; -} -/** - * @public - */ -export interface CreateCodeSigningConfigResponse { - /** - * @public - *

The code signing configuration.

- */ - CodeSigningConfig: CodeSigningConfig | undefined; -} -/** - * @public - *

A destination for events that failed processing.

- */ -export interface OnFailure { - /** - * @public - *

The Amazon Resource Name (ARN) of the destination resource.

- */ - Destination?: string; -} -/** - * @public - *

A destination for events that were processed successfully.

- */ -export interface OnSuccess { - /** - * @public - *

The Amazon Resource Name (ARN) of the destination resource.

- */ - Destination?: string; -} -/** - * @public - *

A configuration object that specifies the destination of an event after Lambda processes it.

- */ -export interface DestinationConfig { - /** - * @public - *

The destination configuration for successful invocations.

- */ - OnSuccess?: OnSuccess; - /** - * @public - *

The destination configuration for failed invocations.

- */ - OnFailure?: OnFailure; -} -/** - * @public - * @enum - */ -export declare const FullDocument: { - readonly Default: "Default"; - readonly UpdateLookup: "UpdateLookup"; -}; -/** - * @public - */ -export type FullDocument = (typeof FullDocument)[keyof typeof FullDocument]; -/** - * @public - *

- * Specific configuration settings for a DocumentDB event source. - *

- */ -export interface DocumentDBEventSourceConfig { - /** - * @public - *

- * The name of the database to consume within the DocumentDB cluster. - *

- */ - DatabaseName?: string; - /** - * @public - *

- * The name of the collection to consume within the database. If you do not specify a collection, Lambda consumes all collections. - *

- */ - CollectionName?: string; - /** - * @public - *

- * Determines what DocumentDB sends to your event stream during document update operations. If set to UpdateLookup, DocumentDB sends a delta describing the changes, along with a copy of the entire document. Otherwise, DocumentDB sends only a partial document that contains the changes. - *

- */ - FullDocument?: FullDocument; -} -/** - * @public - *

- * A structure within a FilterCriteria object that defines an event filtering pattern. - *

- */ -export interface Filter { - /** - * @public - *

- * A filter pattern. For more information on the syntax of a filter pattern, see - * - * Filter rule syntax. - *

- */ - Pattern?: string; -} -/** - * @public - *

- * An object that contains the filters for an event source. - *

- */ -export interface FilterCriteria { - /** - * @public - *

- * A list of filters. - *

- */ - Filters?: Filter[]; -} -/** - * @public - * @enum - */ -export declare const FunctionResponseType: { - readonly ReportBatchItemFailures: "ReportBatchItemFailures"; -}; -/** - * @public - */ -export type FunctionResponseType = (typeof FunctionResponseType)[keyof typeof FunctionResponseType]; -/** - * @public - *

(Amazon SQS only) The scaling configuration for the event source. To remove the configuration, pass an empty value.

- */ -export interface ScalingConfig { - /** - * @public - *

Limits the number of concurrent instances that the Amazon SQS event source can invoke.

- */ - MaximumConcurrency?: number; -} -/** - * @public - * @enum - */ -export declare const EndPointType: { - readonly KAFKA_BOOTSTRAP_SERVERS: "KAFKA_BOOTSTRAP_SERVERS"; -}; -/** - * @public - */ -export type EndPointType = (typeof EndPointType)[keyof typeof EndPointType]; -/** - * @public - *

The self-managed Apache Kafka cluster for your event source.

- */ -export interface SelfManagedEventSource { - /** - * @public - *

The list of bootstrap servers for your Kafka brokers in the following format: "KAFKA_BOOTSTRAP_SERVERS": - * ["abc.xyz.com:xxxx","abc2.xyz.com:xxxx"].

- */ - Endpoints?: Partial>; -} -/** - * @public - *

Specific configuration settings for a self-managed Apache Kafka event source.

- */ -export interface SelfManagedKafkaEventSourceConfig { - /** - * @public - *

The identifier for the Kafka consumer group to join. The consumer group ID must be unique among all your Kafka event sources. - * After creating a Kafka event source mapping with the consumer group ID specified, you cannot update this value. For more information, see - * Customizable consumer group ID.

- */ - ConsumerGroupId?: string; -} -/** - * @public - * @enum - */ -export declare const SourceAccessType: { - readonly BASIC_AUTH: "BASIC_AUTH"; - readonly CLIENT_CERTIFICATE_TLS_AUTH: "CLIENT_CERTIFICATE_TLS_AUTH"; - readonly SASL_SCRAM_256_AUTH: "SASL_SCRAM_256_AUTH"; - readonly SASL_SCRAM_512_AUTH: "SASL_SCRAM_512_AUTH"; - readonly SERVER_ROOT_CA_CERTIFICATE: "SERVER_ROOT_CA_CERTIFICATE"; - readonly VIRTUAL_HOST: "VIRTUAL_HOST"; - readonly VPC_SECURITY_GROUP: "VPC_SECURITY_GROUP"; - readonly VPC_SUBNET: "VPC_SUBNET"; -}; -/** - * @public - */ -export type SourceAccessType = (typeof SourceAccessType)[keyof typeof SourceAccessType]; -/** - * @public - *

To secure and define access to your event source, you can specify the authentication protocol, VPC components, or virtual host.

- */ -export interface SourceAccessConfiguration { - /** - * @public - *

The type of authentication protocol, VPC components, or virtual host for your event source. For example: "Type":"SASL_SCRAM_512_AUTH".

- *
    - *
  • - *

    - * BASIC_AUTH – (Amazon MQ) The Secrets Manager secret that stores your broker credentials.

    - *
  • - *
  • - *

    - * BASIC_AUTH – (Self-managed Apache Kafka) The Secrets Manager ARN of your secret key used for SASL/PLAIN authentication of your Apache Kafka brokers.

    - *
  • - *
  • - *

    - * VPC_SUBNET – (Self-managed Apache Kafka) The subnets associated with your VPC. Lambda connects to these subnets to fetch data from your self-managed Apache Kafka cluster.

    - *
  • - *
  • - *

    - * VPC_SECURITY_GROUP – (Self-managed Apache Kafka) The VPC security group used to manage access to your self-managed Apache Kafka brokers.

    - *
  • - *
  • - *

    - * SASL_SCRAM_256_AUTH – (Self-managed Apache Kafka) The Secrets Manager ARN of your secret key used for SASL SCRAM-256 authentication of your self-managed Apache Kafka brokers.

    - *
  • - *
  • - *

    - * SASL_SCRAM_512_AUTH – (Amazon MSK, Self-managed Apache Kafka) The Secrets Manager ARN of your secret key used for SASL SCRAM-512 authentication of your self-managed Apache Kafka brokers.

    - *
  • - *
  • - *

    - * VIRTUAL_HOST –- (RabbitMQ) The name of the virtual host in your RabbitMQ broker. Lambda uses this RabbitMQ host as the event source. - * This property cannot be specified in an UpdateEventSourceMapping API call.

    - *
  • - *
  • - *

    - * CLIENT_CERTIFICATE_TLS_AUTH – (Amazon MSK, self-managed Apache Kafka) The Secrets Manager ARN of your secret key containing the certificate chain (X.509 PEM), - * private key (PKCS#8 PEM), and private key password (optional) used for mutual TLS authentication of your MSK/Apache Kafka brokers.

    - *
  • - *
  • - *

    - * SERVER_ROOT_CA_CERTIFICATE – (Self-managed Apache Kafka) The Secrets Manager ARN of your secret key containing the root CA certificate (X.509 PEM) used for TLS encryption of your Apache Kafka brokers. - *

    - *
  • - *
- */ - Type?: SourceAccessType; - /** - * @public - *

The value for your chosen configuration in Type. For example: "URI": "arn:aws:secretsmanager:us-east-1:01234567890:secret:MyBrokerSecretName".

- */ - URI?: string; -} -/** - * @public - * @enum - */ -export declare const EventSourcePosition: { - readonly AT_TIMESTAMP: "AT_TIMESTAMP"; - readonly LATEST: "LATEST"; - readonly TRIM_HORIZON: "TRIM_HORIZON"; -}; -/** - * @public - */ -export type EventSourcePosition = (typeof EventSourcePosition)[keyof typeof EventSourcePosition]; -/** - * @public - */ -export interface CreateEventSourceMappingRequest { - /** - * @public - *

The Amazon Resource Name (ARN) of the event source.

- *
    - *
  • - *

    - * Amazon Kinesis – The ARN of the data stream or a stream consumer.

    - *
  • - *
  • - *

    - * Amazon DynamoDB Streams – The ARN of the stream.

    - *
  • - *
  • - *

    - * Amazon Simple Queue Service – The ARN of the queue.

    - *
  • - *
  • - *

    - * Amazon Managed Streaming for Apache Kafka – The ARN of the cluster.

    - *
  • - *
  • - *

    - * Amazon MQ – The ARN of the broker.

    - *
  • - *
  • - *

    - * Amazon DocumentDB – The ARN of the DocumentDB change stream.

    - *
  • - *
- */ - EventSourceArn?: string; - /** - * @public - *

The name of the Lambda function.

- *

- * Name formats - *

- *
    - *
  • - *

    - * Function name – MyFunction.

    - *
  • - *
  • - *

    - * Function ARN – arn:aws:lambda:us-west-2:123456789012:function:MyFunction.

    - *
  • - *
  • - *

    - * Version or Alias ARN – arn:aws:lambda:us-west-2:123456789012:function:MyFunction:PROD.

    - *
  • - *
  • - *

    - * Partial ARN – 123456789012:function:MyFunction.

    - *
  • - *
- *

The length constraint applies only to the full ARN. If you specify only the function name, it's limited to 64 - * characters in length.

- */ - FunctionName: string | undefined; - /** - * @public - *

When true, the event source mapping is active. When false, Lambda pauses polling and invocation.

- *

Default: True

- */ - Enabled?: boolean; - /** - * @public - *

The maximum number of records in each batch that Lambda pulls from your stream or queue and sends to your function. Lambda passes all of the records in the batch to the function in a single call, up to the payload limit for synchronous invocation - * (6 MB).

- *
    - *
  • - *

    - * Amazon Kinesis – Default 100. Max 10,000.

    - *
  • - *
  • - *

    - * Amazon DynamoDB Streams – Default 100. Max 10,000.

    - *
  • - *
  • - *

    - * Amazon Simple Queue Service – Default 10. For standard queues the max is 10,000. For FIFO queues the max is 10.

    - *
  • - *
  • - *

    - * Amazon Managed Streaming for Apache Kafka – Default 100. Max 10,000.

    - *
  • - *
  • - *

    - * Self-managed Apache Kafka – Default 100. Max 10,000.

    - *
  • - *
  • - *

    - * Amazon MQ (ActiveMQ and RabbitMQ) – Default 100. Max 10,000.

    - *
  • - *
  • - *

    - * DocumentDB – Default 100. Max 10,000.

    - *
  • - *
- */ - BatchSize?: number; - /** - * @public - *

An object that defines the filter criteria that - * determine whether Lambda should process an event. For more information, see Lambda event filtering.

- */ - FilterCriteria?: FilterCriteria; - /** - * @public - *

The maximum amount of time, in seconds, that Lambda spends gathering records before invoking the function. - * You can configure MaximumBatchingWindowInSeconds to any value from 0 seconds to 300 seconds in increments of seconds.

- *

For streams and Amazon SQS event sources, the default batching window is 0 seconds. For Amazon MSK, Self-managed Apache Kafka, Amazon MQ, and DocumentDB event sources, the default - * batching window is 500 ms. Note that because you can only change MaximumBatchingWindowInSeconds in increments of seconds, you cannot revert back to the 500 ms default batching window after you have changed it. - * To restore the default batching window, you must create a new event source mapping.

- *

Related setting: For streams and Amazon SQS event sources, when you set BatchSize to a value greater than 10, you must set MaximumBatchingWindowInSeconds to at least 1.

- */ - MaximumBatchingWindowInSeconds?: number; - /** - * @public - *

(Kinesis and DynamoDB Streams only) The number of batches to process from each shard concurrently.

- */ - ParallelizationFactor?: number; - /** - * @public - *

The position in a stream from which to start reading. Required for Amazon Kinesis and - * Amazon DynamoDB Stream event sources. AT_TIMESTAMP is supported only for - * Amazon Kinesis streams, Amazon DocumentDB, Amazon MSK, and self-managed Apache Kafka.

- */ - StartingPosition?: EventSourcePosition; - /** - * @public - *

With StartingPosition set to AT_TIMESTAMP, the time from which to start - * reading. StartingPositionTimestamp cannot be in the future.

- */ - StartingPositionTimestamp?: Date; - /** - * @public - *

(Kinesis and DynamoDB Streams only) A standard Amazon SQS queue or standard Amazon SNS topic destination for discarded records.

- */ - DestinationConfig?: DestinationConfig; - /** - * @public - *

(Kinesis and DynamoDB Streams only) Discard records older than the specified age. The default value is infinite (-1).

- */ - MaximumRecordAgeInSeconds?: number; - /** - * @public - *

(Kinesis and DynamoDB Streams only) If the function returns an error, split the batch in two and retry.

- */ - BisectBatchOnFunctionError?: boolean; - /** - * @public - *

(Kinesis and DynamoDB Streams only) Discard records after the specified number of retries. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires.

- */ - MaximumRetryAttempts?: number; - /** - * @public - *

(Kinesis and DynamoDB Streams only) The duration in seconds of a processing window for DynamoDB and Kinesis Streams event sources. A value of 0 seconds indicates no tumbling window.

- */ - TumblingWindowInSeconds?: number; - /** - * @public - *

The name of the Kafka topic.

- */ - Topics?: string[]; - /** - * @public - *

(MQ) The name of the Amazon MQ broker destination queue to consume.

- */ - Queues?: string[]; - /** - * @public - *

An array of authentication protocols or VPC components required to secure your event source.

- */ - SourceAccessConfigurations?: SourceAccessConfiguration[]; - /** - * @public - *

The self-managed Apache Kafka cluster to receive records from.

- */ - SelfManagedEventSource?: SelfManagedEventSource; - /** - * @public - *

(Kinesis, DynamoDB Streams, and Amazon SQS) A list of current response type enums applied to the event source mapping.

- */ - FunctionResponseTypes?: FunctionResponseType[]; - /** - * @public - *

Specific configuration settings for an Amazon Managed Streaming for Apache Kafka (Amazon MSK) event source.

- */ - AmazonManagedKafkaEventSourceConfig?: AmazonManagedKafkaEventSourceConfig; - /** - * @public - *

Specific configuration settings for a self-managed Apache Kafka event source.

- */ - SelfManagedKafkaEventSourceConfig?: SelfManagedKafkaEventSourceConfig; - /** - * @public - *

(Amazon SQS only) The scaling configuration for the event source. For more information, see Configuring maximum concurrency for Amazon SQS event sources.

- */ - ScalingConfig?: ScalingConfig; - /** - * @public - *

Specific configuration settings for a DocumentDB event source.

- */ - DocumentDBEventSourceConfig?: DocumentDBEventSourceConfig; -} -/** - * @public - *

A mapping between an Amazon Web Services resource and a Lambda function. For details, see CreateEventSourceMapping.

- */ -export interface EventSourceMappingConfiguration { - /** - * @public - *

The identifier of the event source mapping.

- */ - UUID?: string; - /** - * @public - *

The position in a stream from which to start reading. Required for Amazon Kinesis and - * Amazon DynamoDB Stream event sources. AT_TIMESTAMP is supported only for - * Amazon Kinesis streams, Amazon DocumentDB, Amazon MSK, and self-managed Apache Kafka.

- */ - StartingPosition?: EventSourcePosition; - /** - * @public - *

With StartingPosition set to AT_TIMESTAMP, the time from which to start - * reading. StartingPositionTimestamp cannot be in the future.

- */ - StartingPositionTimestamp?: Date; - /** - * @public - *

The maximum number of records in each batch that Lambda pulls from your stream or queue and sends to your function. Lambda passes all of the records in the batch to the function in a single call, up to the payload limit for synchronous invocation (6 MB).

- *

Default value: Varies by service. For Amazon SQS, the default is 10. For all other services, the default is 100.

- *

Related setting: When you set BatchSize to a value greater than 10, you must set MaximumBatchingWindowInSeconds to at least 1.

- */ - BatchSize?: number; - /** - * @public - *

The maximum amount of time, in seconds, that Lambda spends gathering records before invoking the function. - * You can configure MaximumBatchingWindowInSeconds to any value from 0 seconds to 300 seconds in increments of seconds.

- *

For streams and Amazon SQS event sources, the default batching window is 0 seconds. For Amazon MSK, Self-managed Apache Kafka, Amazon MQ, and DocumentDB event sources, the default - * batching window is 500 ms. Note that because you can only change MaximumBatchingWindowInSeconds in increments of seconds, you cannot revert back to the 500 ms default batching window after you have changed it. - * To restore the default batching window, you must create a new event source mapping.

- *

Related setting: For streams and Amazon SQS event sources, when you set BatchSize to a value greater than 10, you must set MaximumBatchingWindowInSeconds to at least 1.

- */ - MaximumBatchingWindowInSeconds?: number; - /** - * @public - *

(Kinesis and DynamoDB Streams only) The number of batches to process concurrently from each shard. The default value is 1.

- */ - ParallelizationFactor?: number; - /** - * @public - *

The Amazon Resource Name (ARN) of the event source.

- */ - EventSourceArn?: string; - /** - * @public - *

An object that defines the filter criteria that - * determine whether Lambda should process an event. For more information, see Lambda event filtering.

- */ - FilterCriteria?: FilterCriteria; - /** - * @public - *

The ARN of the Lambda function.

- */ - FunctionArn?: string; - /** - * @public - *

The date that the event source mapping was last updated or that its state changed.

- */ - LastModified?: Date; - /** - * @public - *

The result of the last Lambda invocation of your function.

- */ - LastProcessingResult?: string; - /** - * @public - *

The state of the event source mapping. It can be one of the following: Creating, - * Enabling, Enabled, Disabling, Disabled, - * Updating, or Deleting.

- */ - State?: string; - /** - * @public - *

Indicates whether a user or Lambda made the last change to the event source mapping.

- */ - StateTransitionReason?: string; - /** - * @public - *

(Kinesis and DynamoDB Streams only) An Amazon SQS queue or Amazon SNS topic destination for discarded records.

- */ - DestinationConfig?: DestinationConfig; - /** - * @public - *

The name of the Kafka topic.

- */ - Topics?: string[]; - /** - * @public - *

(Amazon MQ) The name of the Amazon MQ broker destination queue to consume.

- */ - Queues?: string[]; - /** - * @public - *

An array of the authentication protocol, VPC components, or virtual host to secure and define your event source.

- */ - SourceAccessConfigurations?: SourceAccessConfiguration[]; - /** - * @public - *

The self-managed Apache Kafka cluster for your event source.

- */ - SelfManagedEventSource?: SelfManagedEventSource; - /** - * @public - *

(Kinesis and DynamoDB Streams only) Discard records older than the specified age. The default value is -1, - * which sets the maximum age to infinite. When the value is set to infinite, Lambda never discards old records.

- * - *

The minimum valid value for maximum record age is 60s. Although values less than 60 and greater than -1 fall within the parameter's absolute range, they are not allowed

- *
- */ - MaximumRecordAgeInSeconds?: number; - /** - * @public - *

(Kinesis and DynamoDB Streams only) If the function returns an error, split the batch in two and retry. The default value is false.

- */ - BisectBatchOnFunctionError?: boolean; - /** - * @public - *

(Kinesis and DynamoDB Streams only) Discard records after the specified number of retries. The default value is -1, - * which sets the maximum number of retries to infinite. When MaximumRetryAttempts is infinite, Lambda retries failed records until the record expires in the event source.

- */ - MaximumRetryAttempts?: number; - /** - * @public - *

(Kinesis and DynamoDB Streams only) The duration in seconds of a processing window for DynamoDB and Kinesis Streams event sources. A value of 0 seconds indicates no tumbling window.

- */ - TumblingWindowInSeconds?: number; - /** - * @public - *

(Kinesis, DynamoDB Streams, and Amazon SQS) A list of current response type enums applied to the event source mapping.

- */ - FunctionResponseTypes?: FunctionResponseType[]; - /** - * @public - *

Specific configuration settings for an Amazon Managed Streaming for Apache Kafka (Amazon MSK) event source.

- */ - AmazonManagedKafkaEventSourceConfig?: AmazonManagedKafkaEventSourceConfig; - /** - * @public - *

Specific configuration settings for a self-managed Apache Kafka event source.

- */ - SelfManagedKafkaEventSourceConfig?: SelfManagedKafkaEventSourceConfig; - /** - * @public - *

(Amazon SQS only) The scaling configuration for the event source. For more information, see Configuring maximum concurrency for Amazon SQS event sources.

- */ - ScalingConfig?: ScalingConfig; - /** - * @public - *

Specific configuration settings for a DocumentDB event source.

- */ - DocumentDBEventSourceConfig?: DocumentDBEventSourceConfig; -} -/** - * @public - *

The specified code signing configuration does not exist.

- */ -export declare class CodeSigningConfigNotFoundException extends __BaseException { - readonly name: "CodeSigningConfigNotFoundException"; - readonly $fault: "client"; - Type?: string; - Message?: string; - /** - * @internal - */ - constructor(opts: __ExceptionOptionType); -} -/** - * @public - *

Your Amazon Web Services account has exceeded its maximum total code size. For more information, see Lambda quotas.

- */ -export declare class CodeStorageExceededException extends __BaseException { - readonly name: "CodeStorageExceededException"; - readonly $fault: "client"; - /** - * @public - *

The exception type.

- */ - Type?: string; - /** - * @internal - */ - constructor(opts: __ExceptionOptionType); -} -/** - * @public - *

The code signature failed one or more of the validation checks for signature mismatch or expiry, and the code - * signing policy is set to ENFORCE. Lambda blocks the deployment.

- */ -export declare class CodeVerificationFailedException extends __BaseException { - readonly name: "CodeVerificationFailedException"; - readonly $fault: "client"; - Type?: string; - Message?: string; - /** - * @internal - */ - constructor(opts: __ExceptionOptionType); -} -/** - * @public - *

The code for the Lambda function. You can either specify an object in Amazon S3, upload a - * .zip file archive deployment package directly, or specify the URI of a container image.

- */ -export interface FunctionCode { - /** - * @public - *

The base64-encoded contents of the deployment package. Amazon Web Services SDK and CLI clients handle the encoding for - * you.

- */ - ZipFile?: Uint8Array; - /** - * @public - *

An Amazon S3 bucket in the same Amazon Web Services Region as your function. The bucket can be in a different Amazon Web Services account.

- */ - S3Bucket?: string; - /** - * @public - *

The Amazon S3 key of the deployment package.

- */ - S3Key?: string; - /** - * @public - *

For versioned objects, the version of the deployment package object to use.

- */ - S3ObjectVersion?: string; - /** - * @public - *

URI of a container image in the - * Amazon ECR registry.

- */ - ImageUri?: string; -} -/** - * @public - *

The dead-letter queue for - * failed asynchronous invocations.

- */ -export interface DeadLetterConfig { - /** - * @public - *

The Amazon Resource Name (ARN) of an Amazon SQS queue or Amazon SNS topic.

- */ - TargetArn?: string; -} -/** - * @public - *

A function's environment variable settings. You can use environment variables to adjust your function's - * behavior without updating code. An environment variable is a pair of strings that are stored in a function's - * version-specific configuration.

- */ -export interface Environment { - /** - * @public - *

Environment variable key-value pairs. For more information, see Using Lambda environment variables.

- */ - Variables?: Record; -} -/** - * @public - *

The size of the function's /tmp directory in MB. The default value is 512, but it can be any - * whole number between 512 and 10,240 MB.

- */ -export interface EphemeralStorage { - /** - * @public - *

The size of the function's /tmp directory.

- */ - Size: number | undefined; -} -/** - * @public - *

Details about the connection between a Lambda function and an Amazon EFS file system.

- */ -export interface FileSystemConfig { - /** - * @public - *

The Amazon Resource Name (ARN) of the Amazon EFS access point that provides access to the file - * system.

- */ - Arn: string | undefined; - /** - * @public - *

The path where the function can access the file system, starting with /mnt/.

- */ - LocalMountPath: string | undefined; -} -/** - * @public - *

Configuration values that override the container image Dockerfile settings. For more information, see Container image - * settings.

- */ -export interface ImageConfig { - /** - * @public - *

Specifies the entry point to their application, which is typically the location of the runtime - * executable.

- */ - EntryPoint?: string[]; - /** - * @public - *

Specifies parameters that you want to pass in with ENTRYPOINT.

- */ - Command?: string[]; - /** - * @public - *

Specifies the working directory.

- */ - WorkingDirectory?: string; -} -/** - * @public - * @enum - */ -export declare const LogFormat: { - readonly Json: "JSON"; - readonly Text: "Text"; -}; -/** - * @public - */ -export type LogFormat = (typeof LogFormat)[keyof typeof LogFormat]; -/** - * @public - * @enum - */ -export declare const SystemLogLevel: { - readonly Debug: "DEBUG"; - readonly Info: "INFO"; - readonly Warn: "WARN"; -}; -/** - * @public - */ -export type SystemLogLevel = (typeof SystemLogLevel)[keyof typeof SystemLogLevel]; -/** - * @public - *

The function's Amazon CloudWatch Logs configuration settings.

- */ -export interface LoggingConfig { - /** - * @public - *

The format in which Lambda sends your function's application and system logs to CloudWatch. Select between - * plain text and structured JSON.

- */ - LogFormat?: LogFormat; - /** - * @public - *

Set this property to filter the application logs for your function that Lambda sends to CloudWatch. Lambda only sends application logs at the - * selected level and lower.

- */ - ApplicationLogLevel?: ApplicationLogLevel; - /** - * @public - *

Set this property to filter the system logs for your function that Lambda sends to CloudWatch. Lambda only sends system logs at the - * selected level and lower.

- */ - SystemLogLevel?: SystemLogLevel; - /** - * @public - *

The name of the Amazon CloudWatch log group the function sends logs to. By default, Lambda functions send logs to a default - * log group named /aws/lambda/. To use a different log group, enter an existing log group or enter a new log group name.

- */ - LogGroup?: string; -} -/** - * @public - * @enum - */ -export declare const PackageType: { - readonly Image: "Image"; - readonly Zip: "Zip"; -}; -/** - * @public - */ -export type PackageType = (typeof PackageType)[keyof typeof PackageType]; -/** - * @public - * @enum - */ -export declare const Runtime: { - readonly dotnet6: "dotnet6"; - readonly dotnetcore10: "dotnetcore1.0"; - readonly dotnetcore20: "dotnetcore2.0"; - readonly dotnetcore21: "dotnetcore2.1"; - readonly dotnetcore31: "dotnetcore3.1"; - readonly go1x: "go1.x"; - readonly java11: "java11"; - readonly java17: "java17"; - readonly java21: "java21"; - readonly java8: "java8"; - readonly java8al2: "java8.al2"; - readonly nodejs: "nodejs"; - readonly nodejs10x: "nodejs10.x"; - readonly nodejs12x: "nodejs12.x"; - readonly nodejs14x: "nodejs14.x"; - readonly nodejs16x: "nodejs16.x"; - readonly nodejs18x: "nodejs18.x"; - readonly nodejs20x: "nodejs20.x"; - readonly nodejs43: "nodejs4.3"; - readonly nodejs43edge: "nodejs4.3-edge"; - readonly nodejs610: "nodejs6.10"; - readonly nodejs810: "nodejs8.10"; - readonly provided: "provided"; - readonly providedal2: "provided.al2"; - readonly providedal2023: "provided.al2023"; - readonly python27: "python2.7"; - readonly python310: "python3.10"; - readonly python311: "python3.11"; - readonly python312: "python3.12"; - readonly python36: "python3.6"; - readonly python37: "python3.7"; - readonly python38: "python3.8"; - readonly python39: "python3.9"; - readonly ruby25: "ruby2.5"; - readonly ruby27: "ruby2.7"; - readonly ruby32: "ruby3.2"; -}; -/** - * @public - */ -export type Runtime = (typeof Runtime)[keyof typeof Runtime]; -/** - * @public - * @enum - */ -export declare const SnapStartApplyOn: { - readonly None: "None"; - readonly PublishedVersions: "PublishedVersions"; -}; -/** - * @public - */ -export type SnapStartApplyOn = (typeof SnapStartApplyOn)[keyof typeof SnapStartApplyOn]; -/** - * @public - *

The function's Lambda SnapStart setting. Set ApplyOn to PublishedVersions to create a - * snapshot of the initialized execution environment when you publish a function version.

- */ -export interface SnapStart { - /** - * @public - *

Set to PublishedVersions to create a snapshot of the initialized execution environment when you publish a function version.

- */ - ApplyOn?: SnapStartApplyOn; -} -/** - * @public - * @enum - */ -export declare const TracingMode: { - readonly Active: "Active"; - readonly PassThrough: "PassThrough"; -}; -/** - * @public - */ -export type TracingMode = (typeof TracingMode)[keyof typeof TracingMode]; -/** - * @public - *

The function's X-Ray tracing configuration. - * To sample and record incoming requests, set Mode to Active.

- */ -export interface TracingConfig { - /** - * @public - *

The tracing mode.

- */ - Mode?: TracingMode; -} -/** - * @public - *

The VPC security groups and subnets that are attached to a Lambda function. For more information, - * see Configuring a Lambda - * function to access resources in a VPC.

- */ -export interface VpcConfig { - /** - * @public - *

A list of VPC subnet IDs.

- */ - SubnetIds?: string[]; - /** - * @public - *

A list of VPC security group IDs.

- */ - SecurityGroupIds?: string[]; - /** - * @public - *

Allows outbound IPv6 traffic on VPC functions that are connected to dual-stack subnets.

- */ - Ipv6AllowedForDualStack?: boolean; -} -/** - * @public - */ -export interface CreateFunctionRequest { - /** - * @public - *

The name of the Lambda function.

- *

- * Name formats - *

- *
    - *
  • - *

    - * Function name – my-function.

    - *
  • - *
  • - *

    - * Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function.

    - *
  • - *
  • - *

    - * Partial ARN – 123456789012:function:my-function.

    - *
  • - *
- *

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 - * characters in length.

- */ - FunctionName: string | undefined; - /** - * @public - *

The identifier of the function's runtime. Runtime is required if the deployment package is a .zip file archive.

- *

The following list includes deprecated runtimes. For more information, see Runtime deprecation policy.

- */ - Runtime?: Runtime; - /** - * @public - *

The Amazon Resource Name (ARN) of the function's execution role.

- */ - Role: string | undefined; - /** - * @public - *

The name of the method within your code that Lambda calls to run your function. - * Handler is required if the deployment package is a .zip file archive. The format includes the - * file name. It can also include namespaces and other qualifiers, depending on the runtime. For more information, - * see Lambda programming model.

- */ - Handler?: string; - /** - * @public - *

The code for the function.

- */ - Code: FunctionCode | undefined; - /** - * @public - *

A description of the function.

- */ - Description?: string; - /** - * @public - *

The amount of time (in seconds) that Lambda allows a function to run before stopping it. The default is 3 seconds. The - * maximum allowed value is 900 seconds. For more information, see Lambda execution environment.

- */ - Timeout?: number; - /** - * @public - *

The amount of memory available to the function at runtime. - * Increasing the function memory also increases its CPU allocation. The default value is 128 MB. The value can be any multiple of 1 MB.

- */ - MemorySize?: number; - /** - * @public - *

Set to true to publish the first version of the function during creation.

- */ - Publish?: boolean; - /** - * @public - *

For network connectivity to Amazon Web Services resources in a VPC, specify a list of security groups and subnets in the VPC. - * When you connect a function to a VPC, it can access resources and the internet only through that VPC. For more - * information, see Configuring a Lambda function to access resources in a VPC.

- */ - VpcConfig?: VpcConfig; - /** - * @public - *

The type of deployment package. Set to Image for container image and set to Zip for .zip file archive.

- */ - PackageType?: PackageType; - /** - * @public - *

A dead-letter queue configuration that specifies the queue or topic where Lambda sends asynchronous events - * when they fail processing. For more information, see Dead-letter queues.

- */ - DeadLetterConfig?: DeadLetterConfig; - /** - * @public - *

Environment variables that are accessible from function code during execution.

- */ - Environment?: Environment; - /** - * @public - *

The ARN of the Key Management Service (KMS) customer managed key that's used to encrypt your function's - * environment variables. When - * Lambda SnapStart is activated, Lambda also uses - * this key is to encrypt your function's snapshot. If you deploy your function using a container image, Lambda also uses this key to - * encrypt your function when it's deployed. Note that this is not the same key that's used to protect your container image in the Amazon Elastic Container Registry (Amazon ECR). - * If you don't provide a customer managed key, Lambda uses a default service key.

- */ - KMSKeyArn?: string; - /** - * @public - *

Set Mode to Active to sample and trace a subset of incoming requests with - * X-Ray.

- */ - TracingConfig?: TracingConfig; - /** - * @public - *

A list of tags to apply to the - * function.

- */ - Tags?: Record; - /** - * @public - *

A list of function layers - * to add to the function's execution environment. Specify each layer by its ARN, including the version.

- */ - Layers?: string[]; - /** - * @public - *

Connection settings for an Amazon EFS file system.

- */ - FileSystemConfigs?: FileSystemConfig[]; - /** - * @public - *

Container image configuration - * values that override the values in the container image Dockerfile.

- */ - ImageConfig?: ImageConfig; - /** - * @public - *

To enable code signing for this function, specify the ARN of a code-signing configuration. A code-signing configuration - * includes a set of signing profiles, which define the trusted publishers for this function.

- */ - CodeSigningConfigArn?: string; - /** - * @public - *

The instruction set architecture that the function supports. Enter a string array with one of the valid values (arm64 or x86_64). - * The default value is x86_64.

- */ - Architectures?: Architecture[]; - /** - * @public - *

The size of the function's /tmp directory in MB. The default value is 512, but can be any whole - * number between 512 and 10,240 MB.

- */ - EphemeralStorage?: EphemeralStorage; - /** - * @public - *

The function's SnapStart setting.

- */ - SnapStart?: SnapStart; - /** - * @public - *

The function's Amazon CloudWatch Logs configuration settings.

- */ - LoggingConfig?: LoggingConfig; -} -/** - * @public - *

Error messages for environment variables that couldn't be applied.

- */ -export interface EnvironmentError { - /** - * @public - *

The error code.

- */ - ErrorCode?: string; - /** - * @public - *

The error message.

- */ - Message?: string; -} -/** - * @public - *

The results of an operation to update or read environment variables. If the operation succeeds, the response - * contains the environment variables. If it fails, the response contains details about the error.

- */ -export interface EnvironmentResponse { - /** - * @public - *

Environment variable key-value pairs. Omitted from CloudTrail logs.

- */ - Variables?: Record; - /** - * @public - *

Error messages for environment variables that couldn't be applied.

- */ - Error?: EnvironmentError; -} -/** - * @public - *

Error response to GetFunctionConfiguration.

- */ -export interface ImageConfigError { - /** - * @public - *

Error code.

- */ - ErrorCode?: string; - /** - * @public - *

Error message.

- */ - Message?: string; -} -/** - * @public - *

Response to a GetFunctionConfiguration request.

- */ -export interface ImageConfigResponse { - /** - * @public - *

Configuration values that override the container image Dockerfile.

- */ - ImageConfig?: ImageConfig; - /** - * @public - *

Error response to GetFunctionConfiguration.

- */ - Error?: ImageConfigError; -} -/** - * @public - * @enum - */ -export declare const LastUpdateStatus: { - readonly Failed: "Failed"; - readonly InProgress: "InProgress"; - readonly Successful: "Successful"; -}; -/** - * @public - */ -export type LastUpdateStatus = (typeof LastUpdateStatus)[keyof typeof LastUpdateStatus]; -/** - * @public - * @enum - */ -export declare const LastUpdateStatusReasonCode: { - readonly DisabledKMSKey: "DisabledKMSKey"; - readonly EFSIOError: "EFSIOError"; - readonly EFSMountConnectivityError: "EFSMountConnectivityError"; - readonly EFSMountFailure: "EFSMountFailure"; - readonly EFSMountTimeout: "EFSMountTimeout"; - readonly EniLimitExceeded: "EniLimitExceeded"; - readonly FunctionError: "FunctionError"; - readonly ImageAccessDenied: "ImageAccessDenied"; - readonly ImageDeleted: "ImageDeleted"; - readonly InsufficientRolePermissions: "InsufficientRolePermissions"; - readonly InternalError: "InternalError"; - readonly InvalidConfiguration: "InvalidConfiguration"; - readonly InvalidImage: "InvalidImage"; - readonly InvalidRuntime: "InvalidRuntime"; - readonly InvalidSecurityGroup: "InvalidSecurityGroup"; - readonly InvalidStateKMSKey: "InvalidStateKMSKey"; - readonly InvalidSubnet: "InvalidSubnet"; - readonly InvalidZipFileException: "InvalidZipFileException"; - readonly KMSKeyAccessDenied: "KMSKeyAccessDenied"; - readonly KMSKeyNotFound: "KMSKeyNotFound"; - readonly SubnetOutOfIPAddresses: "SubnetOutOfIPAddresses"; -}; -/** - * @public - */ -export type LastUpdateStatusReasonCode = (typeof LastUpdateStatusReasonCode)[keyof typeof LastUpdateStatusReasonCode]; -/** - * @public - *

An Lambda - * layer.

- */ -export interface Layer { - /** - * @public - *

The Amazon Resource Name (ARN) of the function layer.

- */ - Arn?: string; - /** - * @public - *

The size of the layer archive in bytes.

- */ - CodeSize?: number; - /** - * @public - *

The Amazon Resource Name (ARN) for a signing profile version.

- */ - SigningProfileVersionArn?: string; - /** - * @public - *

The Amazon Resource Name (ARN) of a signing job.

- */ - SigningJobArn?: string; -} -/** - * @public - *

Any error returned when the runtime version information for the function could not be retrieved.

- */ -export interface RuntimeVersionError { - /** - * @public - *

The error code.

- */ - ErrorCode?: string; - /** - * @public - *

The error message.

- */ - Message?: string; -} -/** - * @public - *

The ARN of the runtime and any errors that occured.

- */ -export interface RuntimeVersionConfig { - /** - * @public - *

The ARN of the runtime version you want the function to use.

- */ - RuntimeVersionArn?: string; - /** - * @public - *

Error response when Lambda is unable to retrieve the runtime version for a function.

- */ - Error?: RuntimeVersionError; -} -/** - * @public - * @enum - */ -export declare const SnapStartOptimizationStatus: { - readonly Off: "Off"; - readonly On: "On"; -}; -/** - * @public - */ -export type SnapStartOptimizationStatus = (typeof SnapStartOptimizationStatus)[keyof typeof SnapStartOptimizationStatus]; -/** - * @public - *

The function's SnapStart setting.

- */ -export interface SnapStartResponse { - /** - * @public - *

When set to PublishedVersions, Lambda creates a snapshot of the execution environment when you publish a function version.

- */ - ApplyOn?: SnapStartApplyOn; - /** - * @public - *

When you provide a qualified Amazon Resource Name (ARN), this response element indicates whether SnapStart is activated for the specified function version.

- */ - OptimizationStatus?: SnapStartOptimizationStatus; -} -/** - * @public - * @enum - */ -export declare const State: { - readonly Active: "Active"; - readonly Failed: "Failed"; - readonly Inactive: "Inactive"; - readonly Pending: "Pending"; -}; -/** - * @public - */ -export type State = (typeof State)[keyof typeof State]; -/** - * @public - * @enum - */ -export declare const StateReasonCode: { - readonly Creating: "Creating"; - readonly DisabledKMSKey: "DisabledKMSKey"; - readonly EFSIOError: "EFSIOError"; - readonly EFSMountConnectivityError: "EFSMountConnectivityError"; - readonly EFSMountFailure: "EFSMountFailure"; - readonly EFSMountTimeout: "EFSMountTimeout"; - readonly EniLimitExceeded: "EniLimitExceeded"; - readonly FunctionError: "FunctionError"; - readonly Idle: "Idle"; - readonly ImageAccessDenied: "ImageAccessDenied"; - readonly ImageDeleted: "ImageDeleted"; - readonly InsufficientRolePermissions: "InsufficientRolePermissions"; - readonly InternalError: "InternalError"; - readonly InvalidConfiguration: "InvalidConfiguration"; - readonly InvalidImage: "InvalidImage"; - readonly InvalidRuntime: "InvalidRuntime"; - readonly InvalidSecurityGroup: "InvalidSecurityGroup"; - readonly InvalidStateKMSKey: "InvalidStateKMSKey"; - readonly InvalidSubnet: "InvalidSubnet"; - readonly InvalidZipFileException: "InvalidZipFileException"; - readonly KMSKeyAccessDenied: "KMSKeyAccessDenied"; - readonly KMSKeyNotFound: "KMSKeyNotFound"; - readonly Restoring: "Restoring"; - readonly SubnetOutOfIPAddresses: "SubnetOutOfIPAddresses"; -}; -/** - * @public - */ -export type StateReasonCode = (typeof StateReasonCode)[keyof typeof StateReasonCode]; -/** - * @public - *

The function's X-Ray tracing configuration.

- */ -export interface TracingConfigResponse { - /** - * @public - *

The tracing mode.

- */ - Mode?: TracingMode; -} -/** - * @public - *

The VPC security groups and subnets that are attached to a Lambda function.

- */ -export interface VpcConfigResponse { - /** - * @public - *

A list of VPC subnet IDs.

- */ - SubnetIds?: string[]; - /** - * @public - *

A list of VPC security group IDs.

- */ - SecurityGroupIds?: string[]; - /** - * @public - *

The ID of the VPC.

- */ - VpcId?: string; - /** - * @public - *

Allows outbound IPv6 traffic on VPC functions that are connected to dual-stack subnets.

- */ - Ipv6AllowedForDualStack?: boolean; -} -/** - * @public - *

Details about a function's configuration.

- */ -export interface FunctionConfiguration { - /** - * @public - *

The name of the function.

- */ - FunctionName?: string; - /** - * @public - *

The function's Amazon Resource Name (ARN).

- */ - FunctionArn?: string; - /** - * @public - *

The identifier of the function's runtime. Runtime is required if the deployment package is a .zip file archive.

- *

The following list includes deprecated runtimes. For more information, see Runtime deprecation policy.

- */ - Runtime?: Runtime; - /** - * @public - *

The function's execution role.

- */ - Role?: string; - /** - * @public - *

The function that Lambda calls to begin running your function.

- */ - Handler?: string; - /** - * @public - *

The size of the function's deployment package, in bytes.

- */ - CodeSize?: number; - /** - * @public - *

The function's description.

- */ - Description?: string; - /** - * @public - *

The amount of time in seconds that Lambda allows a function to run before stopping it.

- */ - Timeout?: number; - /** - * @public - *

The amount of memory available to the function at runtime.

- */ - MemorySize?: number; - /** - * @public - *

The date and time that the function was last updated, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).

- */ - LastModified?: string; - /** - * @public - *

The SHA256 hash of the function's deployment package.

- */ - CodeSha256?: string; - /** - * @public - *

The version of the Lambda function.

- */ - Version?: string; - /** - * @public - *

The function's networking configuration.

- */ - VpcConfig?: VpcConfigResponse; - /** - * @public - *

The function's dead letter queue.

- */ - DeadLetterConfig?: DeadLetterConfig; - /** - * @public - *

The function's environment variables. Omitted from CloudTrail logs.

- */ - Environment?: EnvironmentResponse; - /** - * @public - *

The KMS key that's used to encrypt the function's environment variables. When Lambda SnapStart is activated, this key is also used to encrypt the function's snapshot. This key is - * returned only if you've configured a customer managed key.

- */ - KMSKeyArn?: string; - /** - * @public - *

The function's X-Ray tracing configuration.

- */ - TracingConfig?: TracingConfigResponse; - /** - * @public - *

For Lambda@Edge functions, the ARN of the main function.

- */ - MasterArn?: string; - /** - * @public - *

The latest updated revision of the function or alias.

- */ - RevisionId?: string; - /** - * @public - *

The function's layers.

- */ - Layers?: Layer[]; - /** - * @public - *

The current state of the function. When the state is Inactive, you can reactivate the function by - * invoking it.

- */ - State?: State; - /** - * @public - *

The reason for the function's current state.

- */ - StateReason?: string; - /** - * @public - *

The reason code for the function's current state. When the code is Creating, you can't invoke or - * modify the function.

- */ - StateReasonCode?: StateReasonCode; - /** - * @public - *

The status of the last update that was performed on the function. This is first set to Successful - * after function creation completes.

- */ - LastUpdateStatus?: LastUpdateStatus; - /** - * @public - *

The reason for the last update that was performed on the function.

- */ - LastUpdateStatusReason?: string; - /** - * @public - *

The reason code for the last update that was performed on the function.

- */ - LastUpdateStatusReasonCode?: LastUpdateStatusReasonCode; - /** - * @public - *

Connection settings for an Amazon EFS file system.

- */ - FileSystemConfigs?: FileSystemConfig[]; - /** - * @public - *

The type of deployment package. Set to Image for container image and set Zip for .zip file archive.

- */ - PackageType?: PackageType; - /** - * @public - *

The function's image configuration values.

- */ - ImageConfigResponse?: ImageConfigResponse; - /** - * @public - *

The ARN of the signing profile version.

- */ - SigningProfileVersionArn?: string; - /** - * @public - *

The ARN of the signing job.

- */ - SigningJobArn?: string; - /** - * @public - *

The instruction set architecture that the function supports. Architecture is a string array with one of the - * valid values. The default architecture value is x86_64.

- */ - Architectures?: Architecture[]; - /** - * @public - *

The size of the function’s /tmp directory in MB. The default value is 512, but it can be any - * whole number between 512 and 10,240 MB.

- */ - EphemeralStorage?: EphemeralStorage; - /** - * @public - *

Set ApplyOn to PublishedVersions to create a snapshot of the initialized execution - * environment when you publish a function version. For more information, see Improving startup performance with Lambda SnapStart.

- */ - SnapStart?: SnapStartResponse; - /** - * @public - *

The ARN of the runtime and any errors that occured.

- */ - RuntimeVersionConfig?: RuntimeVersionConfig; - /** - * @public - *

The function's Amazon CloudWatch Logs configuration settings.

- */ - LoggingConfig?: LoggingConfig; -} -/** - * @public - *

The code signature failed the integrity check. If the integrity check fails, then Lambda blocks - * deployment, even if the code signing policy is set to WARN.

- */ -export declare class InvalidCodeSignatureException extends __BaseException { - readonly name: "InvalidCodeSignatureException"; - readonly $fault: "client"; - Type?: string; - Message?: string; - /** - * @internal - */ - constructor(opts: __ExceptionOptionType); -} -/** - * @public - *

The cross-origin resource sharing - * (CORS) settings for your Lambda function URL. Use CORS to grant access to your function URL - * from any origin. You can also use CORS to control access for specific HTTP headers and methods in requests to your - * function URL.

- */ -export interface Cors { - /** - * @public - *

Whether to allow cookies or other credentials in requests to your function URL. The default is - * false.

- */ - AllowCredentials?: boolean; - /** - * @public - *

The HTTP headers that origins can include in requests to your function URL. For example: Date, Keep-Alive, - * X-Custom-Header.

- */ - AllowHeaders?: string[]; - /** - * @public - *

The HTTP methods that are allowed when calling your function URL. For example: GET, POST, DELETE, - * or the wildcard character (*).

- */ - AllowMethods?: string[]; - /** - * @public - *

The origins that can access your function URL. You can list any number of specific origins, separated by a comma. For example: - * https://www.example.com, http://localhost:60905.

- *

Alternatively, you can grant access to all origins using the wildcard character (*).

- */ - AllowOrigins?: string[]; - /** - * @public - *

The HTTP headers in your function response that you want to expose to origins that call your function URL. For example: - * Date, Keep-Alive, X-Custom-Header.

- */ - ExposeHeaders?: string[]; - /** - * @public - *

The maximum amount of time, in seconds, that web browsers can cache results of a preflight request. By - * default, this is set to 0, which means that the browser doesn't cache results.

- */ - MaxAge?: number; -} -/** - * @public - * @enum - */ -export declare const InvokeMode: { - readonly BUFFERED: "BUFFERED"; - readonly RESPONSE_STREAM: "RESPONSE_STREAM"; -}; -/** - * @public - */ -export type InvokeMode = (typeof InvokeMode)[keyof typeof InvokeMode]; -/** - * @public - */ -export interface CreateFunctionUrlConfigRequest { - /** - * @public - *

The name of the Lambda function.

- *

- * Name formats - *

- *
    - *
  • - *

    - * Function name – my-function.

    - *
  • - *
  • - *

    - * Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function.

    - *
  • - *
  • - *

    - * Partial ARN – 123456789012:function:my-function.

    - *
  • - *
- *

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 - * characters in length.

- */ - FunctionName: string | undefined; - /** - * @public - *

The alias name.

- */ - Qualifier?: string; - /** - * @public - *

The type of authentication that your function URL uses. Set to AWS_IAM if you want to restrict access to authenticated - * users only. Set to NONE if you want to bypass IAM authentication to create a public endpoint. For more information, - * see Security and auth model for Lambda function URLs.

- */ - AuthType: FunctionUrlAuthType | undefined; - /** - * @public - *

The cross-origin resource sharing (CORS) settings - * for your function URL.

- */ - Cors?: Cors; - /** - * @public - *

Use one of the following options:

- *
    - *
  • - *

    - * BUFFERED – This is the default option. Lambda invokes your function using the Invoke API operation. Invocation results - * are available when the payload is complete. The maximum payload size is 6 MB.

    - *
  • - *
  • - *

    - * RESPONSE_STREAM – Your function streams payload results as they become available. Lambda invokes your function using - * the InvokeWithResponseStream API operation. The maximum response payload size is 20 MB, however, you can request a quota increase.

    - *
  • - *
- */ - InvokeMode?: InvokeMode; -} -/** - * @public - */ -export interface CreateFunctionUrlConfigResponse { - /** - * @public - *

The HTTP URL endpoint for your function.

- */ - FunctionUrl: string | undefined; - /** - * @public - *

The Amazon Resource Name (ARN) of your function.

- */ - FunctionArn: string | undefined; - /** - * @public - *

The type of authentication that your function URL uses. Set to AWS_IAM if you want to restrict access to authenticated - * users only. Set to NONE if you want to bypass IAM authentication to create a public endpoint. For more information, - * see Security and auth model for Lambda function URLs.

- */ - AuthType: FunctionUrlAuthType | undefined; - /** - * @public - *

The cross-origin resource sharing (CORS) settings - * for your function URL.

- */ - Cors?: Cors; - /** - * @public - *

When the function URL was created, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).

- */ - CreationTime: string | undefined; - /** - * @public - *

Use one of the following options:

- *
    - *
  • - *

    - * BUFFERED – This is the default option. Lambda invokes your function using the Invoke API operation. Invocation results - * are available when the payload is complete. The maximum payload size is 6 MB.

    - *
  • - *
  • - *

    - * RESPONSE_STREAM – Your function streams payload results as they become available. Lambda invokes your function using - * the InvokeWithResponseStream API operation. The maximum response payload size is 20 MB, however, you can request a quota increase.

    - *
  • - *
- */ - InvokeMode?: InvokeMode; -} -/** - * @public - */ -export interface DeleteAliasRequest { - /** - * @public - *

The name of the Lambda function.

- *

- * Name formats - *

- *
    - *
  • - *

    - * Function name - MyFunction.

    - *
  • - *
  • - *

    - * Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction.

    - *
  • - *
  • - *

    - * Partial ARN - 123456789012:function:MyFunction.

    - *
  • - *
- *

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 - * characters in length.

- */ - FunctionName: string | undefined; - /** - * @public - *

The name of the alias.

- */ - Name: string | undefined; -} -/** - * @public - */ -export interface DeleteCodeSigningConfigRequest { - /** - * @public - *

The The Amazon Resource Name (ARN) of the code signing configuration.

- */ - CodeSigningConfigArn: string | undefined; -} -/** - * @public - */ -export interface DeleteCodeSigningConfigResponse { -} -/** - * @public - */ -export interface DeleteEventSourceMappingRequest { - /** - * @public - *

The identifier of the event source mapping.

- */ - UUID: string | undefined; -} -/** - * @public - *

The operation conflicts with the resource's availability. For example, you tried to update an event source - * mapping in the CREATING state, or you tried to delete an event source mapping currently UPDATING.

- */ -export declare class ResourceInUseException extends __BaseException { - readonly name: "ResourceInUseException"; - readonly $fault: "client"; - Type?: string; - Message?: string; - /** - * @internal - */ - constructor(opts: __ExceptionOptionType); -} -/** - * @public - */ -export interface DeleteFunctionRequest { - /** - * @public - *

The name of the Lambda function or version.

- *

- * Name formats - *

- *
    - *
  • - *

    - * Function name – my-function (name-only), my-function:1 (with version).

    - *
  • - *
  • - *

    - * Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function.

    - *
  • - *
  • - *

    - * Partial ARN – 123456789012:function:my-function.

    - *
  • - *
- *

You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. - * If you specify only the function name, it is limited to 64 characters in length.

- */ - FunctionName: string | undefined; - /** - * @public - *

Specify a version to delete. You can't delete a version that an alias references.

- */ - Qualifier?: string; -} -/** - * @public - */ -export interface DeleteFunctionCodeSigningConfigRequest { - /** - * @public - *

The name of the Lambda function.

- *

- * Name formats - *

- *
    - *
  • - *

    - * Function name - MyFunction.

    - *
  • - *
  • - *

    - * Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction.

    - *
  • - *
  • - *

    - * Partial ARN - 123456789012:function:MyFunction.

    - *
  • - *
- *

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 - * characters in length.

- */ - FunctionName: string | undefined; -} -/** - * @public - */ -export interface DeleteFunctionConcurrencyRequest { - /** - * @public - *

The name of the Lambda function.

- *

- * Name formats - *

- *
    - *
  • - *

    - * Function name – my-function.

    - *
  • - *
  • - *

    - * Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function.

    - *
  • - *
  • - *

    - * Partial ARN – 123456789012:function:my-function.

    - *
  • - *
- *

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 - * characters in length.

- */ - FunctionName: string | undefined; -} -/** - * @public - */ -export interface DeleteFunctionEventInvokeConfigRequest { - /** - * @public - *

The name of the Lambda function, version, or alias.

- *

- * Name formats - *

- *
    - *
  • - *

    - * Function name - my-function (name-only), my-function:v1 (with alias).

    - *
  • - *
  • - *

    - * Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function.

    - *
  • - *
  • - *

    - * Partial ARN - 123456789012:function:my-function.

    - *
  • - *
- *

You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. - * If you specify only the function name, it is limited to 64 characters in length.

- */ - FunctionName: string | undefined; - /** - * @public - *

A version number or alias name.

- */ - Qualifier?: string; -} -/** - * @public - */ -export interface DeleteFunctionUrlConfigRequest { - /** - * @public - *

The name of the Lambda function.

- *

- * Name formats - *

- *
    - *
  • - *

    - * Function name – my-function.

    - *
  • - *
  • - *

    - * Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function.

    - *
  • - *
  • - *

    - * Partial ARN – 123456789012:function:my-function.

    - *
  • - *
- *

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 - * characters in length.

- */ - FunctionName: string | undefined; - /** - * @public - *

The alias name.

- */ - Qualifier?: string; -} -/** - * @public - */ -export interface DeleteLayerVersionRequest { - /** - * @public - *

The name or Amazon Resource Name (ARN) of the layer.

- */ - LayerName: string | undefined; - /** - * @public - *

The version number.

- */ - VersionNumber: number | undefined; -} -/** - * @public - */ -export interface DeleteProvisionedConcurrencyConfigRequest { - /** - * @public - *

The name of the Lambda function.

- *

- * Name formats - *

- *
    - *
  • - *

    - * Function name – my-function.

    - *
  • - *
  • - *

    - * Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function.

    - *
  • - *
  • - *

    - * Partial ARN – 123456789012:function:my-function.

    - *
  • - *
- *

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 - * characters in length.

- */ - FunctionName: string | undefined; - /** - * @public - *

The version number or alias name.

- */ - Qualifier: string | undefined; -} -/** - * @public - */ -export interface GetAccountSettingsRequest { -} -/** - * @public - */ -export interface GetAccountSettingsResponse { - /** - * @public - *

Limits that are related to concurrency and code storage.

- */ - AccountLimit?: AccountLimit; - /** - * @public - *

The number of functions and amount of storage in use.

- */ - AccountUsage?: AccountUsage; -} -/** - * @public - */ -export interface GetAliasRequest { - /** - * @public - *

The name of the Lambda function.

- *

- * Name formats - *

- *
    - *
  • - *

    - * Function name - MyFunction.

    - *
  • - *
  • - *

    - * Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction.

    - *
  • - *
  • - *

    - * Partial ARN - 123456789012:function:MyFunction.

    - *
  • - *
- *

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 - * characters in length.

- */ - FunctionName: string | undefined; - /** - * @public - *

The name of the alias.

- */ - Name: string | undefined; -} -/** - * @public - */ -export interface GetCodeSigningConfigRequest { - /** - * @public - *

The The Amazon Resource Name (ARN) of the code signing configuration.

- */ - CodeSigningConfigArn: string | undefined; -} -/** - * @public - */ -export interface GetCodeSigningConfigResponse { - /** - * @public - *

The code signing configuration

- */ - CodeSigningConfig: CodeSigningConfig | undefined; -} -/** - * @public - */ -export interface GetEventSourceMappingRequest { - /** - * @public - *

The identifier of the event source mapping.

- */ - UUID: string | undefined; -} -/** - * @public - */ -export interface GetFunctionRequest { - /** - * @public - *

The name of the Lambda function, version, or alias.

- *

- * Name formats - *

- *
    - *
  • - *

    - * Function name – my-function (name-only), my-function:v1 (with alias).

    - *
  • - *
  • - *

    - * Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function.

    - *
  • - *
  • - *

    - * Partial ARN – 123456789012:function:my-function.

    - *
  • - *
- *

You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. - * If you specify only the function name, it is limited to 64 characters in length.

- */ - FunctionName: string | undefined; - /** - * @public - *

Specify a version or alias to get details about a published version of the function.

- */ - Qualifier?: string; -} -/** - * @public - *

Details about a function's deployment package.

- */ -export interface FunctionCodeLocation { - /** - * @public - *

The service that's hosting the file.

- */ - RepositoryType?: string; - /** - * @public - *

A presigned URL that you can use to download the deployment package.

- */ - Location?: string; - /** - * @public - *

URI of a container image in the Amazon ECR registry.

- */ - ImageUri?: string; - /** - * @public - *

The resolved URI for the image.

- */ - ResolvedImageUri?: string; -} -/** - * @public - */ -export interface Concurrency { - /** - * @public - *

The number of concurrent executions that are reserved for this function. For more information, see Managing Lambda reserved - * concurrency.

- */ - ReservedConcurrentExecutions?: number; -} -/** - * @public - */ -export interface GetFunctionResponse { - /** - * @public - *

The configuration of the function or version.

- */ - Configuration?: FunctionConfiguration; - /** - * @public - *

The deployment package of the function or version.

- */ - Code?: FunctionCodeLocation; - /** - * @public - *

The function's tags.

- */ - Tags?: Record; - /** - * @public - *

The function's reserved - * concurrency.

- */ - Concurrency?: Concurrency; -} -/** - * @public - */ -export interface GetFunctionCodeSigningConfigRequest { - /** - * @public - *

The name of the Lambda function.

- *

- * Name formats - *

- *
    - *
  • - *

    - * Function name - MyFunction.

    - *
  • - *
  • - *

    - * Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction.

    - *
  • - *
  • - *

    - * Partial ARN - 123456789012:function:MyFunction.

    - *
  • - *
- *

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 - * characters in length.

- */ - FunctionName: string | undefined; -} -/** - * @public - */ -export interface GetFunctionCodeSigningConfigResponse { - /** - * @public - *

The The Amazon Resource Name (ARN) of the code signing configuration.

- */ - CodeSigningConfigArn: string | undefined; - /** - * @public - *

The name of the Lambda function.

- *

- * Name formats - *

- *
    - *
  • - *

    - * Function name - MyFunction.

    - *
  • - *
  • - *

    - * Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction.

    - *
  • - *
  • - *

    - * Partial ARN - 123456789012:function:MyFunction.

    - *
  • - *
- *

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 - * characters in length.

- */ - FunctionName: string | undefined; -} -/** - * @public - */ -export interface GetFunctionConcurrencyRequest { - /** - * @public - *

The name of the Lambda function.

- *

- * Name formats - *

- *
    - *
  • - *

    - * Function name – my-function.

    - *
  • - *
  • - *

    - * Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function.

    - *
  • - *
  • - *

    - * Partial ARN – 123456789012:function:my-function.

    - *
  • - *
- *

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 - * characters in length.

- */ - FunctionName: string | undefined; -} -/** - * @public - */ -export interface GetFunctionConcurrencyResponse { - /** - * @public - *

The number of simultaneous executions that are reserved for the function.

- */ - ReservedConcurrentExecutions?: number; -} -/** - * @public - */ -export interface GetFunctionConfigurationRequest { - /** - * @public - *

The name of the Lambda function, version, or alias.

- *

- * Name formats - *

- *
    - *
  • - *

    - * Function name – my-function (name-only), my-function:v1 (with alias).

    - *
  • - *
  • - *

    - * Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function.

    - *
  • - *
  • - *

    - * Partial ARN – 123456789012:function:my-function.

    - *
  • - *
- *

You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. - * If you specify only the function name, it is limited to 64 characters in length.

- */ - FunctionName: string | undefined; - /** - * @public - *

Specify a version or alias to get details about a published version of the function.

- */ - Qualifier?: string; -} -/** - * @public - */ -export interface FunctionEventInvokeConfig { - /** - * @public - *

The date and time that the configuration was last updated.

- */ - LastModified?: Date; - /** - * @public - *

The Amazon Resource Name (ARN) of the function.

- */ - FunctionArn?: string; - /** - * @public - *

The maximum number of times to retry when the function returns an error.

- */ - MaximumRetryAttempts?: number; - /** - * @public - *

The maximum age of a request that Lambda sends to a function for processing.

- */ - MaximumEventAgeInSeconds?: number; - /** - * @public - *

A destination for events after they have been sent to a function for processing.

- *

- * Destinations - *

- *
    - *
  • - *

    - * Function - The Amazon Resource Name (ARN) of a Lambda function.

    - *
  • - *
  • - *

    - * Queue - The ARN of a standard SQS queue.

    - *
  • - *
  • - *

    - * Topic - The ARN of a standard SNS topic.

    - *
  • - *
  • - *

    - * Event Bus - The ARN of an Amazon EventBridge event bus.

    - *
  • - *
- */ - DestinationConfig?: DestinationConfig; -} -/** - * @public - */ -export interface GetFunctionEventInvokeConfigRequest { - /** - * @public - *

The name of the Lambda function, version, or alias.

- *

- * Name formats - *

- *
    - *
  • - *

    - * Function name - my-function (name-only), my-function:v1 (with alias).

    - *
  • - *
  • - *

    - * Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function.

    - *
  • - *
  • - *

    - * Partial ARN - 123456789012:function:my-function.

    - *
  • - *
- *

You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. - * If you specify only the function name, it is limited to 64 characters in length.

- */ - FunctionName: string | undefined; - /** - * @public - *

A version number or alias name.

- */ - Qualifier?: string; -} -/** - * @public - */ -export interface GetFunctionUrlConfigRequest { - /** - * @public - *

The name of the Lambda function.

- *

- * Name formats - *

- *
    - *
  • - *

    - * Function name – my-function.

    - *
  • - *
  • - *

    - * Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function.

    - *
  • - *
  • - *

    - * Partial ARN – 123456789012:function:my-function.

    - *
  • - *
- *

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 - * characters in length.

- */ - FunctionName: string | undefined; - /** - * @public - *

The alias name.

- */ - Qualifier?: string; -} -/** - * @public - */ -export interface GetFunctionUrlConfigResponse { - /** - * @public - *

The HTTP URL endpoint for your function.

- */ - FunctionUrl: string | undefined; - /** - * @public - *

The Amazon Resource Name (ARN) of your function.

- */ - FunctionArn: string | undefined; - /** - * @public - *

The type of authentication that your function URL uses. Set to AWS_IAM if you want to restrict access to authenticated - * users only. Set to NONE if you want to bypass IAM authentication to create a public endpoint. For more information, - * see Security and auth model for Lambda function URLs.

- */ - AuthType: FunctionUrlAuthType | undefined; - /** - * @public - *

The cross-origin resource sharing (CORS) settings - * for your function URL.

- */ - Cors?: Cors; - /** - * @public - *

When the function URL was created, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).

- */ - CreationTime: string | undefined; - /** - * @public - *

When the function URL configuration was last updated, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).

- */ - LastModifiedTime: string | undefined; - /** - * @public - *

Use one of the following options:

- *
    - *
  • - *

    - * BUFFERED – This is the default option. Lambda invokes your function using the Invoke API operation. Invocation results - * are available when the payload is complete. The maximum payload size is 6 MB.

    - *
  • - *
  • - *

    - * RESPONSE_STREAM – Your function streams payload results as they become available. Lambda invokes your function using - * the InvokeWithResponseStream API operation. The maximum response payload size is 20 MB, however, you can request a quota increase.

    - *
  • - *
- */ - InvokeMode?: InvokeMode; -} -/** - * @public - */ -export interface GetLayerVersionRequest { - /** - * @public - *

The name or Amazon Resource Name (ARN) of the layer.

- */ - LayerName: string | undefined; - /** - * @public - *

The version number.

- */ - VersionNumber: number | undefined; -} -/** - * @public - *

Details about a version of an Lambda - * layer.

- */ -export interface LayerVersionContentOutput { - /** - * @public - *

A link to the layer archive in Amazon S3 that is valid for 10 minutes.

- */ - Location?: string; - /** - * @public - *

The SHA-256 hash of the layer archive.

- */ - CodeSha256?: string; - /** - * @public - *

The size of the layer archive in bytes.

- */ - CodeSize?: number; - /** - * @public - *

The Amazon Resource Name (ARN) for a signing profile version.

- */ - SigningProfileVersionArn?: string; - /** - * @public - *

The Amazon Resource Name (ARN) of a signing job.

- */ - SigningJobArn?: string; -} -/** - * @public - */ -export interface GetLayerVersionResponse { - /** - * @public - *

Details about the layer version.

- */ - Content?: LayerVersionContentOutput; - /** - * @public - *

The ARN of the layer.

- */ - LayerArn?: string; - /** - * @public - *

The ARN of the layer version.

- */ - LayerVersionArn?: string; - /** - * @public - *

The description of the version.

- */ - Description?: string; - /** - * @public - *

The date that the layer version was created, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).

- */ - CreatedDate?: string; - /** - * @public - *

The version number.

- */ - Version?: number; - /** - * @public - *

The layer's compatible runtimes.

- *

The following list includes deprecated runtimes. For more information, see Runtime deprecation policy.

- */ - CompatibleRuntimes?: Runtime[]; - /** - * @public - *

The layer's software license.

- */ - LicenseInfo?: string; - /** - * @public - *

A list of compatible - * instruction set architectures.

- */ - CompatibleArchitectures?: Architecture[]; -} -/** - * @public - */ -export interface GetLayerVersionByArnRequest { - /** - * @public - *

The ARN of the layer version.

- */ - Arn: string | undefined; -} -/** - * @public - */ -export interface GetLayerVersionPolicyRequest { - /** - * @public - *

The name or Amazon Resource Name (ARN) of the layer.

- */ - LayerName: string | undefined; - /** - * @public - *

The version number.

- */ - VersionNumber: number | undefined; -} -/** - * @public - */ -export interface GetLayerVersionPolicyResponse { - /** - * @public - *

The policy document.

- */ - Policy?: string; - /** - * @public - *

A unique identifier for the current revision of the policy.

- */ - RevisionId?: string; -} -/** - * @public - */ -export interface GetPolicyRequest { - /** - * @public - *

The name of the Lambda function, version, or alias.

- *

- * Name formats - *

- *
    - *
  • - *

    - * Function name – my-function (name-only), my-function:v1 (with alias).

    - *
  • - *
  • - *

    - * Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function.

    - *
  • - *
  • - *

    - * Partial ARN – 123456789012:function:my-function.

    - *
  • - *
- *

You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. - * If you specify only the function name, it is limited to 64 characters in length.

- */ - FunctionName: string | undefined; - /** - * @public - *

Specify a version or alias to get the policy for that resource.

- */ - Qualifier?: string; -} -/** - * @public - */ -export interface GetPolicyResponse { - /** - * @public - *

The resource-based policy.

- */ - Policy?: string; - /** - * @public - *

A unique identifier for the current revision of the policy.

- */ - RevisionId?: string; -} -/** - * @public - */ -export interface GetProvisionedConcurrencyConfigRequest { - /** - * @public - *

The name of the Lambda function.

- *

- * Name formats - *

- *
    - *
  • - *

    - * Function name – my-function.

    - *
  • - *
  • - *

    - * Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function.

    - *
  • - *
  • - *

    - * Partial ARN – 123456789012:function:my-function.

    - *
  • - *
- *

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 - * characters in length.

- */ - FunctionName: string | undefined; - /** - * @public - *

The version number or alias name.

- */ - Qualifier: string | undefined; -} -/** - * @public - * @enum - */ -export declare const ProvisionedConcurrencyStatusEnum: { - readonly FAILED: "FAILED"; - readonly IN_PROGRESS: "IN_PROGRESS"; - readonly READY: "READY"; -}; -/** - * @public - */ -export type ProvisionedConcurrencyStatusEnum = (typeof ProvisionedConcurrencyStatusEnum)[keyof typeof ProvisionedConcurrencyStatusEnum]; -/** - * @public - */ -export interface GetProvisionedConcurrencyConfigResponse { - /** - * @public - *

The amount of provisioned concurrency requested.

- */ - RequestedProvisionedConcurrentExecutions?: number; - /** - * @public - *

The amount of provisioned concurrency available.

- */ - AvailableProvisionedConcurrentExecutions?: number; - /** - * @public - *

The amount of provisioned concurrency allocated. When a weighted alias is used during linear and canary deployments, this value fluctuates depending on the amount of concurrency that is provisioned for the function versions.

- */ - AllocatedProvisionedConcurrentExecutions?: number; - /** - * @public - *

The status of the allocation process.

- */ - Status?: ProvisionedConcurrencyStatusEnum; - /** - * @public - *

For failed allocations, the reason that provisioned concurrency could not be allocated.

- */ - StatusReason?: string; - /** - * @public - *

The date and time that a user last updated the configuration, in ISO 8601 format.

- */ - LastModified?: string; -} -/** - * @public - *

The specified configuration does not exist.

- */ -export declare class ProvisionedConcurrencyConfigNotFoundException extends __BaseException { - readonly name: "ProvisionedConcurrencyConfigNotFoundException"; - readonly $fault: "client"; - Type?: string; - /** - * @internal - */ - constructor(opts: __ExceptionOptionType); -} -/** - * @public - */ -export interface GetRuntimeManagementConfigRequest { - /** - * @public - *

The name of the Lambda function.

- *

- * Name formats - *

- *
    - *
  • - *

    - * Function name – my-function.

    - *
  • - *
  • - *

    - * Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function.

    - *
  • - *
  • - *

    - * Partial ARN – 123456789012:function:my-function.

    - *
  • - *
- *

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 - * characters in length.

- */ - FunctionName: string | undefined; - /** - * @public - *

Specify a version of the function. This can be $LATEST or a published version number. If no value is specified, the configuration for the - * $LATEST version is returned.

- */ - Qualifier?: string; -} -/** - * @public - * @enum - */ -export declare const UpdateRuntimeOn: { - readonly Auto: "Auto"; - readonly FunctionUpdate: "FunctionUpdate"; - readonly Manual: "Manual"; -}; -/** - * @public - */ -export type UpdateRuntimeOn = (typeof UpdateRuntimeOn)[keyof typeof UpdateRuntimeOn]; -/** - * @public - */ -export interface GetRuntimeManagementConfigResponse { - /** - * @public - *

The current runtime update mode of the function.

- */ - UpdateRuntimeOn?: UpdateRuntimeOn; - /** - * @public - *

The ARN of the runtime the function is configured to use. If the runtime update mode is Manual, the ARN is returned, otherwise null - * is returned.

- */ - RuntimeVersionArn?: string; - /** - * @public - *

The Amazon Resource Name (ARN) of your function.

- */ - FunctionArn?: string; -} -/** - * @public - *

Need additional permissions to configure VPC settings.

- */ -export declare class EC2AccessDeniedException extends __BaseException { - readonly name: "EC2AccessDeniedException"; - readonly $fault: "server"; - Type?: string; - Message?: string; - /** - * @internal - */ - constructor(opts: __ExceptionOptionType); -} -/** - * @public - *

Amazon EC2 throttled Lambda during Lambda function initialization using - * the execution role provided for the function.

- */ -export declare class EC2ThrottledException extends __BaseException { - readonly name: "EC2ThrottledException"; - readonly $fault: "server"; - Type?: string; - Message?: string; - /** - * @internal - */ - constructor(opts: __ExceptionOptionType); -} -/** - * @public - *

Lambda received an unexpected Amazon EC2 client exception while setting up for the - * Lambda function.

- */ -export declare class EC2UnexpectedException extends __BaseException { - readonly name: "EC2UnexpectedException"; - readonly $fault: "server"; - Type?: string; - Message?: string; - EC2ErrorCode?: string; - /** - * @internal - */ - constructor(opts: __ExceptionOptionType); -} -/** - * @public - *

An error occurred when reading from or writing to a connected file system.

- */ -export declare class EFSIOException extends __BaseException { - readonly name: "EFSIOException"; - readonly $fault: "client"; - Type?: string; - Message?: string; - /** - * @internal - */ - constructor(opts: __ExceptionOptionType); -} -/** - * @public - *

The Lambda function couldn't make a network connection to the configured file system.

- */ -export declare class EFSMountConnectivityException extends __BaseException { - readonly name: "EFSMountConnectivityException"; - readonly $fault: "client"; - Type?: string; - Message?: string; - /** - * @internal - */ - constructor(opts: __ExceptionOptionType); -} -/** - * @public - *

The Lambda function couldn't mount the configured file system due to a permission or configuration - * issue.

- */ -export declare class EFSMountFailureException extends __BaseException { - readonly name: "EFSMountFailureException"; - readonly $fault: "client"; - Type?: string; - Message?: string; - /** - * @internal - */ - constructor(opts: __ExceptionOptionType); -} -/** - * @public - *

The Lambda function made a network connection to the configured file system, but the mount - * operation timed out.

- */ -export declare class EFSMountTimeoutException extends __BaseException { - readonly name: "EFSMountTimeoutException"; - readonly $fault: "client"; - Type?: string; - Message?: string; - /** - * @internal - */ - constructor(opts: __ExceptionOptionType); -} -/** - * @public - *

Lambda couldn't create an elastic network interface in the VPC, specified as part of Lambda function configuration, because the limit for network interfaces has been reached. For more - * information, see Lambda - * quotas.

- */ -export declare class ENILimitReachedException extends __BaseException { - readonly name: "ENILimitReachedException"; - readonly $fault: "server"; - Type?: string; - Message?: string; - /** - * @internal - */ - constructor(opts: __ExceptionOptionType); -} -/** - * @public - *

The request body could not be parsed as JSON.

- */ -export declare class InvalidRequestContentException extends __BaseException { - readonly name: "InvalidRequestContentException"; - readonly $fault: "client"; - /** - * @public - *

The exception type.

- */ - Type?: string; - /** - * @internal - */ - constructor(opts: __ExceptionOptionType); -} -/** - * @public - *

The runtime or runtime version specified is not supported.

- */ -export declare class InvalidRuntimeException extends __BaseException { - readonly name: "InvalidRuntimeException"; - readonly $fault: "server"; - Type?: string; - Message?: string; - /** - * @internal - */ - constructor(opts: __ExceptionOptionType); -} -/** - * @public - *

The security group ID provided in the Lambda function VPC configuration is not valid.

- */ -export declare class InvalidSecurityGroupIDException extends __BaseException { - readonly name: "InvalidSecurityGroupIDException"; - readonly $fault: "server"; - Type?: string; - Message?: string; - /** - * @internal - */ - constructor(opts: __ExceptionOptionType); -} -/** - * @public - *

The subnet ID provided in the Lambda function VPC configuration is not valid.

- */ -export declare class InvalidSubnetIDException extends __BaseException { - readonly name: "InvalidSubnetIDException"; - readonly $fault: "server"; - Type?: string; - Message?: string; - /** - * @internal - */ - constructor(opts: __ExceptionOptionType); -} -/** - * @public - *

Lambda could not unzip the deployment package.

- */ -export declare class InvalidZipFileException extends __BaseException { - readonly name: "InvalidZipFileException"; - readonly $fault: "server"; - Type?: string; - Message?: string; - /** - * @internal - */ - constructor(opts: __ExceptionOptionType); -} -/** - * @public - * @enum - */ -export declare const InvocationType: { - readonly DryRun: "DryRun"; - readonly Event: "Event"; - readonly RequestResponse: "RequestResponse"; -}; -/** - * @public - */ -export type InvocationType = (typeof InvocationType)[keyof typeof InvocationType]; -/** - * @public - * @enum - */ -export declare const LogType: { - readonly None: "None"; - readonly Tail: "Tail"; -}; -/** - * @public - */ -export type LogType = (typeof LogType)[keyof typeof LogType]; -/** - * @public - */ -export interface InvocationRequest { - /** - * @public - *

The name of the Lambda function, version, or alias.

- *

- * Name formats - *

- *
    - *
  • - *

    - * Function name – my-function (name-only), my-function:v1 (with alias).

    - *
  • - *
  • - *

    - * Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function.

    - *
  • - *
  • - *

    - * Partial ARN – 123456789012:function:my-function.

    - *
  • - *
- *

You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. - * If you specify only the function name, it is limited to 64 characters in length.

- */ - FunctionName: string | undefined; - /** - * @public - *

Choose from the following options.

- *
    - *
  • - *

    - * RequestResponse (default) – Invoke the function synchronously. Keep the connection open until - * the function returns a response or times out. The API response includes the function response and additional - * data.

    - *
  • - *
  • - *

    - * Event – Invoke the function asynchronously. Send events that fail multiple times to the - * function's dead-letter queue (if one is configured). The API response only includes a status code.

    - *
  • - *
  • - *

    - * DryRun – Validate parameter values and verify that the user or role has permission to invoke - * the function.

    - *
  • - *
- */ - InvocationType?: InvocationType; - /** - * @public - *

Set to Tail to include the execution log in the response. Applies to synchronously invoked functions only.

- */ - LogType?: LogType; - /** - * @public - *

Up to 3,583 bytes of base64-encoded data about the invoking client to pass to the function in the context - * object.

- */ - ClientContext?: string; - /** - * @public - *

The JSON that you want to provide to your Lambda function as input.

- *

You can enter the JSON directly. For example, --payload '\{ "key": "value" \}'. You can also - * specify a file path. For example, --payload file://payload.json.

- */ - Payload?: Uint8Array; - /** - * @public - *

Specify a version or alias to invoke a published version of the function.

- */ - Qualifier?: string; -} -/** - * @public - */ -export interface InvocationResponse { - /** - * @public - *

The HTTP status code is in the 200 range for a successful request. For the RequestResponse - * invocation type, this status code is 200. For the Event invocation type, this status code is 202. For - * the DryRun invocation type, the status code is 204.

- */ - StatusCode?: number; - /** - * @public - *

If present, indicates that an error occurred during function execution. Details about the error are included - * in the response payload.

- */ - FunctionError?: string; - /** - * @public - *

The last 4 KB of the execution log, which is base64-encoded.

- */ - LogResult?: string; - /** - * @public - *

The response from the function, or an error object.

- */ - Payload?: Uint8Array; - /** - * @public - *

The version of the function that executed. When you invoke a function with an alias, this indicates which - * version the alias resolved to.

- */ - ExecutedVersion?: string; -} -/** - * @public - *

Lambda couldn't decrypt the environment variables because KMS access was denied. - * Check the Lambda function's KMS permissions.

- */ -export declare class KMSAccessDeniedException extends __BaseException { - readonly name: "KMSAccessDeniedException"; - readonly $fault: "server"; - Type?: string; - Message?: string; - /** - * @internal - */ - constructor(opts: __ExceptionOptionType); -} -/** - * @public - *

Lambda couldn't decrypt the environment variables because the KMS key used is - * disabled. Check the Lambda function's KMS key settings.

- */ -export declare class KMSDisabledException extends __BaseException { - readonly name: "KMSDisabledException"; - readonly $fault: "server"; - Type?: string; - Message?: string; - /** - * @internal - */ - constructor(opts: __ExceptionOptionType); -} -/** - * @public - *

Lambda couldn't decrypt the environment variables because the state of the KMS key used is not valid for Decrypt. Check the function's KMS key settings.

- */ -export declare class KMSInvalidStateException extends __BaseException { - readonly name: "KMSInvalidStateException"; - readonly $fault: "server"; - Type?: string; - Message?: string; - /** - * @internal - */ - constructor(opts: __ExceptionOptionType); -} -/** - * @public - *

Lambda couldn't decrypt the environment variables because the KMS key was not - * found. Check the function's KMS key settings.

- */ -export declare class KMSNotFoundException extends __BaseException { - readonly name: "KMSNotFoundException"; - readonly $fault: "server"; - Type?: string; - Message?: string; - /** - * @internal - */ - constructor(opts: __ExceptionOptionType); -} -/** - * @public - *

Lambda has detected your function being invoked in a recursive loop with other Amazon Web Services resources and stopped your function's invocation.

- */ -export declare class RecursiveInvocationException extends __BaseException { - readonly name: "RecursiveInvocationException"; - readonly $fault: "client"; - /** - * @public - *

The exception type.

- */ - Type?: string; - /** - * @public - *

The exception message.

- */ - Message?: string; - /** - * @internal - */ - constructor(opts: __ExceptionOptionType); -} -/** - * @public - *

The request payload exceeded the Invoke request body JSON input quota. For more information, see Lambda - * quotas.

- */ -export declare class RequestTooLargeException extends __BaseException { - readonly name: "RequestTooLargeException"; - readonly $fault: "client"; - Type?: string; - /** - * @internal - */ - constructor(opts: __ExceptionOptionType); -} -/** - * @public - *

The function is inactive and its VPC connection is no longer available. Wait for the VPC connection to - * reestablish and try again.

- */ -export declare class ResourceNotReadyException extends __BaseException { - readonly name: "ResourceNotReadyException"; - readonly $fault: "server"; - /** - * @public - *

The exception type.

- */ - Type?: string; - /** - * @internal - */ - constructor(opts: __ExceptionOptionType); -} -/** - * @public - *

The afterRestore() - * runtime hook encountered an error. For more information, check the Amazon CloudWatch logs.

- */ -export declare class SnapStartException extends __BaseException { - readonly name: "SnapStartException"; - readonly $fault: "client"; - Type?: string; - Message?: string; - /** - * @internal - */ - constructor(opts: __ExceptionOptionType); -} -/** - * @public - *

Lambda is initializing your function. You can invoke the function when the function state becomes Active.

- */ -export declare class SnapStartNotReadyException extends __BaseException { - readonly name: "SnapStartNotReadyException"; - readonly $fault: "client"; - Type?: string; - Message?: string; - /** - * @internal - */ - constructor(opts: __ExceptionOptionType); -} -/** - * @public - *

Lambda couldn't restore the snapshot within the timeout limit.

- */ -export declare class SnapStartTimeoutException extends __BaseException { - readonly name: "SnapStartTimeoutException"; - readonly $fault: "client"; - Type?: string; - Message?: string; - /** - * @internal - */ - constructor(opts: __ExceptionOptionType); -} -/** - * @public - *

Lambda couldn't set up VPC access for the Lambda function because one or more - * configured subnets has no available IP addresses.

- */ -export declare class SubnetIPAddressLimitReachedException extends __BaseException { - readonly name: "SubnetIPAddressLimitReachedException"; - readonly $fault: "server"; - Type?: string; - Message?: string; - /** - * @internal - */ - constructor(opts: __ExceptionOptionType); -} -/** - * @public - *

The content type of the Invoke request body is not JSON.

- */ -export declare class UnsupportedMediaTypeException extends __BaseException { - readonly name: "UnsupportedMediaTypeException"; - readonly $fault: "client"; - Type?: string; - /** - * @internal - */ - constructor(opts: __ExceptionOptionType); -} -/** - * @public - */ -export interface InvokeAsyncRequest { - /** - * @public - *

The name of the Lambda function.

- *

- * Name formats - *

- *
    - *
  • - *

    - * Function name – my-function.

    - *
  • - *
  • - *

    - * Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function.

    - *
  • - *
  • - *

    - * Partial ARN – 123456789012:function:my-function.

    - *
  • - *
- *

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 - * characters in length.

- */ - FunctionName: string | undefined; - /** - * @public - *

The JSON that you want to provide to your Lambda function as input.

- */ - InvokeArgs: StreamingBlobTypes | undefined; -} -/** - * @public - * @deprecated - * - *

A success response (202 Accepted) indicates that the request is queued for invocation.

- */ -export interface InvokeAsyncResponse { - /** - * @public - *

The status code.

- */ - Status?: number; -} -/** - * @public - * @enum - */ -export declare const ResponseStreamingInvocationType: { - readonly DryRun: "DryRun"; - readonly RequestResponse: "RequestResponse"; -}; -/** - * @public - */ -export type ResponseStreamingInvocationType = (typeof ResponseStreamingInvocationType)[keyof typeof ResponseStreamingInvocationType]; -/** - * @public - */ -export interface InvokeWithResponseStreamRequest { - /** - * @public - *

The name of the Lambda function.

- *

- * Name formats - *

- *
    - *
  • - *

    - * Function name – my-function.

    - *
  • - *
  • - *

    - * Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function.

    - *
  • - *
  • - *

    - * Partial ARN – 123456789012:function:my-function.

    - *
  • - *
- *

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 - * characters in length.

- */ - FunctionName: string | undefined; - /** - * @public - *

Use one of the following options:

- *
    - *
  • - *

    - * RequestResponse (default) – Invoke the function synchronously. Keep the - * connection open until the function returns a response or times out. The API operation - * response includes the function response and additional data.

    - *
  • - *
  • - *

    - * DryRun – Validate parameter values and verify that the IAM user or role has permission to invoke - * the function.

    - *
  • - *
- */ - InvocationType?: ResponseStreamingInvocationType; - /** - * @public - *

Set to Tail to include the execution log in the response. Applies to synchronously invoked functions only.

- */ - LogType?: LogType; - /** - * @public - *

Up to 3,583 bytes of base64-encoded data about the invoking client to pass to the function in the context - * object.

- */ - ClientContext?: string; - /** - * @public - *

The alias name.

- */ - Qualifier?: string; - /** - * @public - *

The JSON that you want to provide to your Lambda function as input.

- *

You can enter the JSON directly. For example, --payload '\{ "key": "value" \}'. You can also - * specify a file path. For example, --payload file://payload.json.

- */ - Payload?: Uint8Array; -} -/** - * @public - *

A response confirming that the event stream is complete.

- */ -export interface InvokeWithResponseStreamCompleteEvent { - /** - * @public - *

An error code.

- */ - ErrorCode?: string; - /** - * @public - *

The details of any returned error.

- */ - ErrorDetails?: string; - /** - * @public - *

The last 4 KB of the execution log, which is base64-encoded.

- */ - LogResult?: string; -} -/** - * @public - *

A chunk of the streamed response payload.

- */ -export interface InvokeResponseStreamUpdate { - /** - * @public - *

Data returned by your Lambda function.

- */ - Payload?: Uint8Array; -} -/** - * @public - *

An object that includes a chunk of the response payload. When the stream has ended, Lambda includes a InvokeComplete object.

- */ -export type InvokeWithResponseStreamResponseEvent = InvokeWithResponseStreamResponseEvent.InvokeCompleteMember | InvokeWithResponseStreamResponseEvent.PayloadChunkMember | InvokeWithResponseStreamResponseEvent.$UnknownMember; -/** - * @public - */ -export declare namespace InvokeWithResponseStreamResponseEvent { - /** - * @public - *

A chunk of the streamed response payload.

- */ - interface PayloadChunkMember { - PayloadChunk: InvokeResponseStreamUpdate; - InvokeComplete?: never; - $unknown?: never; - } - /** - * @public - *

An object that's returned when the stream has ended and all the payload chunks have been - * returned.

- */ - interface InvokeCompleteMember { - PayloadChunk?: never; - InvokeComplete: InvokeWithResponseStreamCompleteEvent; - $unknown?: never; - } - /** - * @public - */ - interface $UnknownMember { - PayloadChunk?: never; - InvokeComplete?: never; - $unknown: [string, any]; - } - interface Visitor { - PayloadChunk: (value: InvokeResponseStreamUpdate) => T; - InvokeComplete: (value: InvokeWithResponseStreamCompleteEvent) => T; - _: (name: string, value: any) => T; - } - const visit: (value: InvokeWithResponseStreamResponseEvent, visitor: Visitor) => T; -} -/** - * @public - */ -export interface InvokeWithResponseStreamResponse { - /** - * @public - *

For a successful request, the HTTP status code is in the 200 range. For the - * RequestResponse invocation type, this status code is 200. For the DryRun - * invocation type, this status code is 204.

- */ - StatusCode?: number; - /** - * @public - *

The version of the function that executed. When you invoke a function with an alias, this - * indicates which version the alias resolved to.

- */ - ExecutedVersion?: string; - /** - * @public - *

The stream of response payloads.

- */ - EventStream?: AsyncIterable; - /** - * @public - *

The type of data the stream is returning.

- */ - ResponseStreamContentType?: string; -} -/** - * @public - */ -export interface ListAliasesRequest { - /** - * @public - *

The name of the Lambda function.

- *

- * Name formats - *

- *
    - *
  • - *

    - * Function name - MyFunction.

    - *
  • - *
  • - *

    - * Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction.

    - *
  • - *
  • - *

    - * Partial ARN - 123456789012:function:MyFunction.

    - *
  • - *
- *

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 - * characters in length.

- */ - FunctionName: string | undefined; - /** - * @public - *

Specify a function version to only list aliases that invoke that version.

- */ - FunctionVersion?: string; - /** - * @public - *

Specify the pagination token that's returned by a previous request to retrieve the next page of results.

- */ - Marker?: string; - /** - * @public - *

Limit the number of aliases returned.

- */ - MaxItems?: number; -} -/** - * @public - */ -export interface ListAliasesResponse { - /** - * @public - *

The pagination token that's included if more results are available.

- */ - NextMarker?: string; - /** - * @public - *

A list of aliases.

- */ - Aliases?: AliasConfiguration[]; -} -/** - * @public - */ -export interface ListCodeSigningConfigsRequest { - /** - * @public - *

Specify the pagination token that's returned by a previous request to retrieve the next page of results.

- */ - Marker?: string; - /** - * @public - *

Maximum number of items to return.

- */ - MaxItems?: number; -} -/** - * @public - */ -export interface ListCodeSigningConfigsResponse { - /** - * @public - *

The pagination token that's included if more results are available.

- */ - NextMarker?: string; - /** - * @public - *

The code signing configurations

- */ - CodeSigningConfigs?: CodeSigningConfig[]; -} -/** - * @public - */ -export interface ListEventSourceMappingsRequest { - /** - * @public - *

The Amazon Resource Name (ARN) of the event source.

- *
    - *
  • - *

    - * Amazon Kinesis – The ARN of the data stream or a stream consumer.

    - *
  • - *
  • - *

    - * Amazon DynamoDB Streams – The ARN of the stream.

    - *
  • - *
  • - *

    - * Amazon Simple Queue Service – The ARN of the queue.

    - *
  • - *
  • - *

    - * Amazon Managed Streaming for Apache Kafka – The ARN of the cluster.

    - *
  • - *
  • - *

    - * Amazon MQ – The ARN of the broker.

    - *
  • - *
  • - *

    - * Amazon DocumentDB – The ARN of the DocumentDB change stream.

    - *
  • - *
- */ - EventSourceArn?: string; - /** - * @public - *

The name of the Lambda function.

- *

- * Name formats - *

- *
    - *
  • - *

    - * Function name – MyFunction.

    - *
  • - *
  • - *

    - * Function ARN – arn:aws:lambda:us-west-2:123456789012:function:MyFunction.

    - *
  • - *
  • - *

    - * Version or Alias ARN – arn:aws:lambda:us-west-2:123456789012:function:MyFunction:PROD.

    - *
  • - *
  • - *

    - * Partial ARN – 123456789012:function:MyFunction.

    - *
  • - *
- *

The length constraint applies only to the full ARN. If you specify only the function name, it's limited to 64 - * characters in length.

- */ - FunctionName?: string; - /** - * @public - *

A pagination token returned by a previous call.

- */ - Marker?: string; - /** - * @public - *

The maximum number of event source mappings to return. Note that ListEventSourceMappings returns a maximum of - * 100 items in each response, even if you set the number higher.

- */ - MaxItems?: number; -} -/** - * @public - */ -export interface ListEventSourceMappingsResponse { - /** - * @public - *

A pagination token that's returned when the response doesn't contain all event source mappings.

- */ - NextMarker?: string; - /** - * @public - *

A list of event source mappings.

- */ - EventSourceMappings?: EventSourceMappingConfiguration[]; -} -/** - * @public - */ -export interface ListFunctionEventInvokeConfigsRequest { - /** - * @public - *

The name of the Lambda function.

- *

- * Name formats - *

- *
    - *
  • - *

    - * Function name - my-function.

    - *
  • - *
  • - *

    - * Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function.

    - *
  • - *
  • - *

    - * Partial ARN - 123456789012:function:my-function.

    - *
  • - *
- *

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 - * characters in length.

- */ - FunctionName: string | undefined; - /** - * @public - *

Specify the pagination token that's returned by a previous request to retrieve the next page of results.

- */ - Marker?: string; - /** - * @public - *

The maximum number of configurations to return.

- */ - MaxItems?: number; -} -/** - * @public - */ -export interface ListFunctionEventInvokeConfigsResponse { - /** - * @public - *

A list of configurations.

- */ - FunctionEventInvokeConfigs?: FunctionEventInvokeConfig[]; - /** - * @public - *

The pagination token that's included if more results are available.

- */ - NextMarker?: string; -} -/** - * @public - * @enum - */ -export declare const FunctionVersion: { - readonly ALL: "ALL"; -}; -/** - * @public - */ -export type FunctionVersion = (typeof FunctionVersion)[keyof typeof FunctionVersion]; -/** - * @public - */ -export interface ListFunctionsRequest { - /** - * @public - *

For Lambda@Edge functions, the Amazon Web Services Region of the master function. For example, - * us-east-1 filters the list of functions to include only Lambda@Edge functions replicated from a - * master function in US East (N. Virginia). If specified, you must set FunctionVersion to - * ALL.

- */ - MasterRegion?: string; - /** - * @public - *

Set to ALL to include entries for all published versions of each function.

- */ - FunctionVersion?: FunctionVersion; - /** - * @public - *

Specify the pagination token that's returned by a previous request to retrieve the next page of results.

- */ - Marker?: string; - /** - * @public - *

The maximum number of functions to return in the response. Note that ListFunctions returns a maximum of 50 items in each response, - * even if you set the number higher.

- */ - MaxItems?: number; -} -/** - * @public - *

A list of Lambda functions.

- */ -export interface ListFunctionsResponse { - /** - * @public - *

The pagination token that's included if more results are available.

- */ - NextMarker?: string; - /** - * @public - *

A list of Lambda functions.

- */ - Functions?: FunctionConfiguration[]; -} -/** - * @public - */ -export interface ListFunctionsByCodeSigningConfigRequest { - /** - * @public - *

The The Amazon Resource Name (ARN) of the code signing configuration.

- */ - CodeSigningConfigArn: string | undefined; - /** - * @public - *

Specify the pagination token that's returned by a previous request to retrieve the next page of results.

- */ - Marker?: string; - /** - * @public - *

Maximum number of items to return.

- */ - MaxItems?: number; -} -/** - * @public - */ -export interface ListFunctionsByCodeSigningConfigResponse { - /** - * @public - *

The pagination token that's included if more results are available.

- */ - NextMarker?: string; - /** - * @public - *

The function ARNs.

- */ - FunctionArns?: string[]; -} -/** - * @public - */ -export interface ListFunctionUrlConfigsRequest { - /** - * @public - *

The name of the Lambda function.

- *

- * Name formats - *

- *
    - *
  • - *

    - * Function name – my-function.

    - *
  • - *
  • - *

    - * Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function.

    - *
  • - *
  • - *

    - * Partial ARN – 123456789012:function:my-function.

    - *
  • - *
- *

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 - * characters in length.

- */ - FunctionName: string | undefined; - /** - * @public - *

Specify the pagination token that's returned by a previous request to retrieve the next page of results.

- */ - Marker?: string; - /** - * @public - *

The maximum number of function URLs to return in the response. Note that ListFunctionUrlConfigs - * returns a maximum of 50 items in each response, even if you set the number higher.

- */ - MaxItems?: number; -} -/** - * @public - *

Details about a Lambda function URL.

- */ -export interface FunctionUrlConfig { - /** - * @public - *

The HTTP URL endpoint for your function.

- */ - FunctionUrl: string | undefined; - /** - * @public - *

The Amazon Resource Name (ARN) of your function.

- */ - FunctionArn: string | undefined; - /** - * @public - *

When the function URL was created, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).

- */ - CreationTime: string | undefined; - /** - * @public - *

When the function URL configuration was last updated, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).

- */ - LastModifiedTime: string | undefined; - /** - * @public - *

The cross-origin resource sharing (CORS) settings - * for your function URL.

- */ - Cors?: Cors; - /** - * @public - *

The type of authentication that your function URL uses. Set to AWS_IAM if you want to restrict access to authenticated - * users only. Set to NONE if you want to bypass IAM authentication to create a public endpoint. For more information, - * see Security and auth model for Lambda function URLs.

- */ - AuthType: FunctionUrlAuthType | undefined; - /** - * @public - *

Use one of the following options:

- *
    - *
  • - *

    - * BUFFERED – This is the default option. Lambda invokes your function - * using the Invoke API operation. Invocation results are available when the - * payload is complete. The maximum payload size is 6 MB.

    - *
  • - *
  • - *

    - * RESPONSE_STREAM – Your function streams payload results as they become available. - * Lambda invokes your function using the InvokeWithResponseStream - * API operation. The maximum response payload size is 20 MB, however, you can request a quota increase.

    - *
  • - *
- */ - InvokeMode?: InvokeMode; -} -/** - * @public - */ -export interface ListFunctionUrlConfigsResponse { - /** - * @public - *

A list of function URL configurations.

- */ - FunctionUrlConfigs: FunctionUrlConfig[] | undefined; - /** - * @public - *

The pagination token that's included if more results are available.

- */ - NextMarker?: string; -} -/** - * @public - */ -export interface ListLayersRequest { - /** - * @public - *

A runtime identifier. For example, go1.x.

- *

The following list includes deprecated runtimes. For more information, see Runtime deprecation policy.

- */ - CompatibleRuntime?: Runtime; - /** - * @public - *

A pagination token returned by a previous call.

- */ - Marker?: string; - /** - * @public - *

The maximum number of layers to return.

- */ - MaxItems?: number; - /** - * @public - *

The compatible - * instruction set architecture.

- */ - CompatibleArchitecture?: Architecture; -} -/** - * @public - *

Details about a version of an Lambda - * layer.

- */ -export interface LayerVersionsListItem { - /** - * @public - *

The ARN of the layer version.

- */ - LayerVersionArn?: string; - /** - * @public - *

The version number.

- */ - Version?: number; - /** - * @public - *

The description of the version.

- */ - Description?: string; - /** - * @public - *

The date that the version was created, in ISO 8601 format. For example, 2018-11-27T15:10:45.123+0000.

- */ - CreatedDate?: string; - /** - * @public - *

The layer's compatible runtimes.

- *

The following list includes deprecated runtimes. For more information, see Runtime deprecation policy.

- */ - CompatibleRuntimes?: Runtime[]; - /** - * @public - *

The layer's open-source license.

- */ - LicenseInfo?: string; - /** - * @public - *

A list of compatible - * instruction set architectures.

- */ - CompatibleArchitectures?: Architecture[]; -} -/** - * @public - *

Details about an Lambda - * layer.

- */ -export interface LayersListItem { - /** - * @public - *

The name of the layer.

- */ - LayerName?: string; - /** - * @public - *

The Amazon Resource Name (ARN) of the function layer.

- */ - LayerArn?: string; - /** - * @public - *

The newest version of the layer.

- */ - LatestMatchingVersion?: LayerVersionsListItem; -} -/** - * @public - */ -export interface ListLayersResponse { - /** - * @public - *

A pagination token returned when the response doesn't contain all layers.

- */ - NextMarker?: string; - /** - * @public - *

A list of function layers.

- */ - Layers?: LayersListItem[]; -} -/** - * @public - */ -export interface ListLayerVersionsRequest { - /** - * @public - *

A runtime identifier. For example, go1.x.

- *

The following list includes deprecated runtimes. For more information, see Runtime deprecation policy.

- */ - CompatibleRuntime?: Runtime; - /** - * @public - *

The name or Amazon Resource Name (ARN) of the layer.

- */ - LayerName: string | undefined; - /** - * @public - *

A pagination token returned by a previous call.

- */ - Marker?: string; - /** - * @public - *

The maximum number of versions to return.

- */ - MaxItems?: number; - /** - * @public - *

The compatible - * instruction set architecture.

- */ - CompatibleArchitecture?: Architecture; -} -/** - * @public - */ -export interface ListLayerVersionsResponse { - /** - * @public - *

A pagination token returned when the response doesn't contain all versions.

- */ - NextMarker?: string; - /** - * @public - *

A list of versions.

- */ - LayerVersions?: LayerVersionsListItem[]; -} -/** - * @public - */ -export interface ListProvisionedConcurrencyConfigsRequest { - /** - * @public - *

The name of the Lambda function.

- *

- * Name formats - *

- *
    - *
  • - *

    - * Function name – my-function.

    - *
  • - *
  • - *

    - * Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function.

    - *
  • - *
  • - *

    - * Partial ARN – 123456789012:function:my-function.

    - *
  • - *
- *

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 - * characters in length.

- */ - FunctionName: string | undefined; - /** - * @public - *

Specify the pagination token that's returned by a previous request to retrieve the next page of results.

- */ - Marker?: string; - /** - * @public - *

Specify a number to limit the number of configurations returned.

- */ - MaxItems?: number; -} -/** - * @public - *

Details about the provisioned concurrency configuration for a function alias or version.

- */ -export interface ProvisionedConcurrencyConfigListItem { - /** - * @public - *

The Amazon Resource Name (ARN) of the alias or version.

- */ - FunctionArn?: string; - /** - * @public - *

The amount of provisioned concurrency requested.

- */ - RequestedProvisionedConcurrentExecutions?: number; - /** - * @public - *

The amount of provisioned concurrency available.

- */ - AvailableProvisionedConcurrentExecutions?: number; - /** - * @public - *

The amount of provisioned concurrency allocated. When a weighted alias is used during linear and canary deployments, this value fluctuates depending on the amount of concurrency that is provisioned for the function versions.

- */ - AllocatedProvisionedConcurrentExecutions?: number; - /** - * @public - *

The status of the allocation process.

- */ - Status?: ProvisionedConcurrencyStatusEnum; - /** - * @public - *

For failed allocations, the reason that provisioned concurrency could not be allocated.

- */ - StatusReason?: string; - /** - * @public - *

The date and time that a user last updated the configuration, in ISO 8601 format.

- */ - LastModified?: string; -} -/** - * @public - */ -export interface ListProvisionedConcurrencyConfigsResponse { - /** - * @public - *

A list of provisioned concurrency configurations.

- */ - ProvisionedConcurrencyConfigs?: ProvisionedConcurrencyConfigListItem[]; - /** - * @public - *

The pagination token that's included if more results are available.

- */ - NextMarker?: string; -} -/** - * @public - */ -export interface ListTagsRequest { - /** - * @public - *

The function's Amazon Resource Name (ARN). - * Note: Lambda does not support adding tags to aliases or versions.

- */ - Resource: string | undefined; -} -/** - * @public - */ -export interface ListTagsResponse { - /** - * @public - *

The function's tags.

- */ - Tags?: Record; -} -/** - * @public - */ -export interface ListVersionsByFunctionRequest { - /** - * @public - *

The name of the Lambda function.

- *

- * Name formats - *

- *
    - *
  • - *

    - * Function name - MyFunction.

    - *
  • - *
  • - *

    - * Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction.

    - *
  • - *
  • - *

    - * Partial ARN - 123456789012:function:MyFunction.

    - *
  • - *
- *

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 - * characters in length.

- */ - FunctionName: string | undefined; - /** - * @public - *

Specify the pagination token that's returned by a previous request to retrieve the next page of results.

- */ - Marker?: string; - /** - * @public - *

The maximum number of versions to return. Note that ListVersionsByFunction returns a maximum of 50 items in each response, - * even if you set the number higher.

- */ - MaxItems?: number; -} -/** - * @public - */ -export interface ListVersionsByFunctionResponse { - /** - * @public - *

The pagination token that's included if more results are available.

- */ - NextMarker?: string; - /** - * @public - *

A list of Lambda function versions.

- */ - Versions?: FunctionConfiguration[]; -} -/** - * @public - *

A ZIP archive that contains the contents of an Lambda - * layer. You can specify either an Amazon S3 location, - * or upload a layer archive directly.

- */ -export interface LayerVersionContentInput { - /** - * @public - *

The Amazon S3 bucket of the layer archive.

- */ - S3Bucket?: string; - /** - * @public - *

The Amazon S3 key of the layer archive.

- */ - S3Key?: string; - /** - * @public - *

For versioned objects, the version of the layer archive object to use.

- */ - S3ObjectVersion?: string; - /** - * @public - *

The base64-encoded contents of the layer archive. Amazon Web Services SDK and Amazon Web Services CLI clients handle the encoding for - * you.

- */ - ZipFile?: Uint8Array; -} -/** - * @public - */ -export interface PublishLayerVersionRequest { - /** - * @public - *

The name or Amazon Resource Name (ARN) of the layer.

- */ - LayerName: string | undefined; - /** - * @public - *

The description of the version.

- */ - Description?: string; - /** - * @public - *

The function layer archive.

- */ - Content: LayerVersionContentInput | undefined; - /** - * @public - *

A list of compatible function - * runtimes. Used for filtering with ListLayers and ListLayerVersions.

- *

The following list includes deprecated runtimes. For more information, see Runtime deprecation policy.

- */ - CompatibleRuntimes?: Runtime[]; - /** - * @public - *

The layer's software license. It can be any of the following:

- *
    - *
  • - *

    An SPDX license identifier. For example, - * MIT.

    - *
  • - *
  • - *

    The URL of a license hosted on the internet. For example, - * https://opensource.org/licenses/MIT.

    - *
  • - *
  • - *

    The full text of the license.

    - *
  • - *
- */ - LicenseInfo?: string; - /** - * @public - *

A list of compatible - * instruction set architectures.

- */ - CompatibleArchitectures?: Architecture[]; -} -/** - * @public - */ -export interface PublishLayerVersionResponse { - /** - * @public - *

Details about the layer version.

- */ - Content?: LayerVersionContentOutput; - /** - * @public - *

The ARN of the layer.

- */ - LayerArn?: string; - /** - * @public - *

The ARN of the layer version.

- */ - LayerVersionArn?: string; - /** - * @public - *

The description of the version.

- */ - Description?: string; - /** - * @public - *

The date that the layer version was created, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).

- */ - CreatedDate?: string; - /** - * @public - *

The version number.

- */ - Version?: number; - /** - * @public - *

The layer's compatible runtimes.

- *

The following list includes deprecated runtimes. For more information, see Runtime deprecation policy.

- */ - CompatibleRuntimes?: Runtime[]; - /** - * @public - *

The layer's software license.

- */ - LicenseInfo?: string; - /** - * @public - *

A list of compatible - * instruction set architectures.

- */ - CompatibleArchitectures?: Architecture[]; -} -/** - * @public - */ -export interface PublishVersionRequest { - /** - * @public - *

The name of the Lambda function.

- *

- * Name formats - *

- *
    - *
  • - *

    - * Function name - MyFunction.

    - *
  • - *
  • - *

    - * Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction.

    - *
  • - *
  • - *

    - * Partial ARN - 123456789012:function:MyFunction.

    - *
  • - *
- *

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 - * characters in length.

- */ - FunctionName: string | undefined; - /** - * @public - *

Only publish a version if the hash value matches the value that's specified. Use this option to avoid - * publishing a version if the function code has changed since you last updated it. You can get the hash for the - * version that you uploaded from the output of UpdateFunctionCode.

- */ - CodeSha256?: string; - /** - * @public - *

A description for the version to override the description in the function configuration.

- */ - Description?: string; - /** - * @public - *

Only update the function if the revision ID matches the ID that's specified. Use this option to avoid - * publishing a version if the function configuration has changed since you last updated it.

- */ - RevisionId?: string; -} -/** - * @public - */ -export interface PutFunctionCodeSigningConfigRequest { - /** - * @public - *

The The Amazon Resource Name (ARN) of the code signing configuration.

- */ - CodeSigningConfigArn: string | undefined; - /** - * @public - *

The name of the Lambda function.

- *

- * Name formats - *

- *
    - *
  • - *

    - * Function name - MyFunction.

    - *
  • - *
  • - *

    - * Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction.

    - *
  • - *
  • - *

    - * Partial ARN - 123456789012:function:MyFunction.

    - *
  • - *
- *

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 - * characters in length.

- */ - FunctionName: string | undefined; -} -/** - * @public - */ -export interface PutFunctionCodeSigningConfigResponse { - /** - * @public - *

The The Amazon Resource Name (ARN) of the code signing configuration.

- */ - CodeSigningConfigArn: string | undefined; - /** - * @public - *

The name of the Lambda function.

- *

- * Name formats - *

- *
    - *
  • - *

    - * Function name - MyFunction.

    - *
  • - *
  • - *

    - * Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction.

    - *
  • - *
  • - *

    - * Partial ARN - 123456789012:function:MyFunction.

    - *
  • - *
- *

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 - * characters in length.

- */ - FunctionName: string | undefined; -} -/** - * @public - */ -export interface PutFunctionConcurrencyRequest { - /** - * @public - *

The name of the Lambda function.

- *

- * Name formats - *

- *
    - *
  • - *

    - * Function name – my-function.

    - *
  • - *
  • - *

    - * Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function.

    - *
  • - *
  • - *

    - * Partial ARN – 123456789012:function:my-function.

    - *
  • - *
- *

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 - * characters in length.

- */ - FunctionName: string | undefined; - /** - * @public - *

The number of simultaneous executions to reserve for the function.

- */ - ReservedConcurrentExecutions: number | undefined; -} -/** - * @public - */ -export interface PutFunctionEventInvokeConfigRequest { - /** - * @public - *

The name of the Lambda function, version, or alias.

- *

- * Name formats - *

- *
    - *
  • - *

    - * Function name - my-function (name-only), my-function:v1 (with alias).

    - *
  • - *
  • - *

    - * Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function.

    - *
  • - *
  • - *

    - * Partial ARN - 123456789012:function:my-function.

    - *
  • - *
- *

You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. - * If you specify only the function name, it is limited to 64 characters in length.

- */ - FunctionName: string | undefined; - /** - * @public - *

A version number or alias name.

- */ - Qualifier?: string; - /** - * @public - *

The maximum number of times to retry when the function returns an error.

- */ - MaximumRetryAttempts?: number; - /** - * @public - *

The maximum age of a request that Lambda sends to a function for processing.

- */ - MaximumEventAgeInSeconds?: number; - /** - * @public - *

A destination for events after they have been sent to a function for processing.

- *

- * Destinations - *

- *
    - *
  • - *

    - * Function - The Amazon Resource Name (ARN) of a Lambda function.

    - *
  • - *
  • - *

    - * Queue - The ARN of a standard SQS queue.

    - *
  • - *
  • - *

    - * Topic - The ARN of a standard SNS topic.

    - *
  • - *
  • - *

    - * Event Bus - The ARN of an Amazon EventBridge event bus.

    - *
  • - *
- */ - DestinationConfig?: DestinationConfig; -} -/** - * @public - */ -export interface PutProvisionedConcurrencyConfigRequest { - /** - * @public - *

The name of the Lambda function.

- *

- * Name formats - *

- *
    - *
  • - *

    - * Function name – my-function.

    - *
  • - *
  • - *

    - * Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function.

    - *
  • - *
  • - *

    - * Partial ARN – 123456789012:function:my-function.

    - *
  • - *
- *

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 - * characters in length.

- */ - FunctionName: string | undefined; - /** - * @public - *

The version number or alias name.

- */ - Qualifier: string | undefined; - /** - * @public - *

The amount of provisioned concurrency to allocate for the version or alias.

- */ - ProvisionedConcurrentExecutions: number | undefined; -} -/** - * @public - */ -export interface PutProvisionedConcurrencyConfigResponse { - /** - * @public - *

The amount of provisioned concurrency requested.

- */ - RequestedProvisionedConcurrentExecutions?: number; - /** - * @public - *

The amount of provisioned concurrency available.

- */ - AvailableProvisionedConcurrentExecutions?: number; - /** - * @public - *

The amount of provisioned concurrency allocated. When a weighted alias is used during linear and canary deployments, this value fluctuates depending on the amount of concurrency that is provisioned for the function versions.

- */ - AllocatedProvisionedConcurrentExecutions?: number; - /** - * @public - *

The status of the allocation process.

- */ - Status?: ProvisionedConcurrencyStatusEnum; - /** - * @public - *

For failed allocations, the reason that provisioned concurrency could not be allocated.

- */ - StatusReason?: string; - /** - * @public - *

The date and time that a user last updated the configuration, in ISO 8601 format.

- */ - LastModified?: string; -} -/** - * @public - */ -export interface PutRuntimeManagementConfigRequest { - /** - * @public - *

The name of the Lambda function.

- *

- * Name formats - *

- *
    - *
  • - *

    - * Function name – my-function.

    - *
  • - *
  • - *

    - * Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function.

    - *
  • - *
  • - *

    - * Partial ARN – 123456789012:function:my-function.

    - *
  • - *
- *

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 - * characters in length.

- */ - FunctionName: string | undefined; - /** - * @public - *

Specify a version of the function. This can be $LATEST or a published version number. If no value is specified, the configuration for the - * $LATEST version is returned.

- */ - Qualifier?: string; - /** - * @public - *

Specify the runtime update mode.

- *
    - *
  • - *

    - * Auto (default) - Automatically update to the most recent and secure runtime version using a Two-phase runtime version rollout. This is the best - * choice for most customers to ensure they always benefit from runtime updates.

    - *
  • - *
  • - *

    - * Function update - Lambda updates the runtime of your function to the most recent and secure runtime version when you update your - * function. This approach synchronizes runtime updates with function deployments, giving you control over when runtime updates are applied and allowing you to detect and - * mitigate rare runtime update incompatibilities early. When using this setting, you need to regularly update your functions to keep their runtime up-to-date.

    - *
  • - *
  • - *

    - * Manual - You specify a runtime version in your function configuration. The function will use this runtime version indefinitely. - * In the rare case where a new runtime version is incompatible with an existing function, this allows you to roll back your function to an earlier runtime version. For more information, - * see Roll back a runtime version.

    - *
  • - *
- */ - UpdateRuntimeOn: UpdateRuntimeOn | undefined; - /** - * @public - *

The ARN of the runtime version you want the function to use.

- * - *

This is only required if you're using the Manual runtime update mode.

- *
- */ - RuntimeVersionArn?: string; -} -/** - * @public - */ -export interface PutRuntimeManagementConfigResponse { - /** - * @public - *

The runtime update mode.

- */ - UpdateRuntimeOn: UpdateRuntimeOn | undefined; - /** - * @public - *

The ARN of the function

- */ - FunctionArn: string | undefined; - /** - * @public - *

The ARN of the runtime the function is configured to use. If the runtime update mode is manual, the ARN is returned, otherwise null - * is returned.

- */ - RuntimeVersionArn?: string; -} -/** - * @public - */ -export interface RemoveLayerVersionPermissionRequest { - /** - * @public - *

The name or Amazon Resource Name (ARN) of the layer.

- */ - LayerName: string | undefined; - /** - * @public - *

The version number.

- */ - VersionNumber: number | undefined; - /** - * @public - *

The identifier that was specified when the statement was added.

- */ - StatementId: string | undefined; - /** - * @public - *

Only update the policy if the revision ID matches the ID specified. Use this option to avoid modifying a - * policy that has changed since you last read it.

- */ - RevisionId?: string; -} -/** - * @public - */ -export interface RemovePermissionRequest { - /** - * @public - *

The name of the Lambda function, version, or alias.

- *

- * Name formats - *

- *
    - *
  • - *

    - * Function name – my-function (name-only), my-function:v1 (with alias).

    - *
  • - *
  • - *

    - * Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function.

    - *
  • - *
  • - *

    - * Partial ARN – 123456789012:function:my-function.

    - *
  • - *
- *

You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. - * If you specify only the function name, it is limited to 64 characters in length.

- */ - FunctionName: string | undefined; - /** - * @public - *

Statement ID of the permission to remove.

- */ - StatementId: string | undefined; - /** - * @public - *

Specify a version or alias to remove permissions from a published version of the function.

- */ - Qualifier?: string; - /** - * @public - *

Update the policy only if the revision ID matches the ID that's specified. Use this option to avoid modifying a - * policy that has changed since you last read it.

- */ - RevisionId?: string; -} -/** - * @public - */ -export interface TagResourceRequest { - /** - * @public - *

The function's Amazon Resource Name (ARN).

- */ - Resource: string | undefined; - /** - * @public - *

A list of tags to apply to the function.

- */ - Tags: Record | undefined; -} -/** - * @public - */ -export interface UntagResourceRequest { - /** - * @public - *

The function's Amazon Resource Name (ARN).

- */ - Resource: string | undefined; - /** - * @public - *

A list of tag keys to remove from the function.

- */ - TagKeys: string[] | undefined; -} -/** - * @public - */ -export interface UpdateAliasRequest { - /** - * @public - *

The name of the Lambda function.

- *

- * Name formats - *

- *
    - *
  • - *

    - * Function name - MyFunction.

    - *
  • - *
  • - *

    - * Function ARN - arn:aws:lambda:us-west-2:123456789012:function:MyFunction.

    - *
  • - *
  • - *

    - * Partial ARN - 123456789012:function:MyFunction.

    - *
  • - *
- *

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 - * characters in length.

- */ - FunctionName: string | undefined; - /** - * @public - *

The name of the alias.

- */ - Name: string | undefined; - /** - * @public - *

The function version that the alias invokes.

- */ - FunctionVersion?: string; - /** - * @public - *

A description of the alias.

- */ - Description?: string; - /** - * @public - *

The routing - * configuration of the alias.

- */ - RoutingConfig?: AliasRoutingConfiguration; - /** - * @public - *

Only update the alias if the revision ID matches the ID that's specified. Use this option to avoid modifying - * an alias that has changed since you last read it.

- */ - RevisionId?: string; -} -/** - * @public - */ -export interface UpdateCodeSigningConfigRequest { - /** - * @public - *

The The Amazon Resource Name (ARN) of the code signing configuration.

- */ - CodeSigningConfigArn: string | undefined; - /** - * @public - *

Descriptive name for this code signing configuration.

- */ - Description?: string; - /** - * @public - *

Signing profiles for this code signing configuration.

- */ - AllowedPublishers?: AllowedPublishers; - /** - * @public - *

The code signing policy.

- */ - CodeSigningPolicies?: CodeSigningPolicies; -} -/** - * @public - */ -export interface UpdateCodeSigningConfigResponse { - /** - * @public - *

The code signing configuration

- */ - CodeSigningConfig: CodeSigningConfig | undefined; -} -/** - * @public - */ -export interface UpdateEventSourceMappingRequest { - /** - * @public - *

The identifier of the event source mapping.

- */ - UUID: string | undefined; - /** - * @public - *

The name of the Lambda function.

- *

- * Name formats - *

- *
    - *
  • - *

    - * Function name – MyFunction.

    - *
  • - *
  • - *

    - * Function ARN – arn:aws:lambda:us-west-2:123456789012:function:MyFunction.

    - *
  • - *
  • - *

    - * Version or Alias ARN – arn:aws:lambda:us-west-2:123456789012:function:MyFunction:PROD.

    - *
  • - *
  • - *

    - * Partial ARN – 123456789012:function:MyFunction.

    - *
  • - *
- *

The length constraint applies only to the full ARN. If you specify only the function name, it's limited to 64 - * characters in length.

- */ - FunctionName?: string; - /** - * @public - *

When true, the event source mapping is active. When false, Lambda pauses polling and invocation.

- *

Default: True

- */ - Enabled?: boolean; - /** - * @public - *

The maximum number of records in each batch that Lambda pulls from your stream or queue and sends to your function. Lambda passes all of the records in the batch to the function in a single call, up to the payload limit for synchronous invocation - * (6 MB).

- *
    - *
  • - *

    - * Amazon Kinesis – Default 100. Max 10,000.

    - *
  • - *
  • - *

    - * Amazon DynamoDB Streams – Default 100. Max 10,000.

    - *
  • - *
  • - *

    - * Amazon Simple Queue Service – Default 10. For standard queues the max is 10,000. For FIFO queues the max is 10.

    - *
  • - *
  • - *

    - * Amazon Managed Streaming for Apache Kafka – Default 100. Max 10,000.

    - *
  • - *
  • - *

    - * Self-managed Apache Kafka – Default 100. Max 10,000.

    - *
  • - *
  • - *

    - * Amazon MQ (ActiveMQ and RabbitMQ) – Default 100. Max 10,000.

    - *
  • - *
  • - *

    - * DocumentDB – Default 100. Max 10,000.

    - *
  • - *
- */ - BatchSize?: number; - /** - * @public - *

An object that defines the filter criteria that - * determine whether Lambda should process an event. For more information, see Lambda event filtering.

- */ - FilterCriteria?: FilterCriteria; - /** - * @public - *

The maximum amount of time, in seconds, that Lambda spends gathering records before invoking the function. - * You can configure MaximumBatchingWindowInSeconds to any value from 0 seconds to 300 seconds in increments of seconds.

- *

For streams and Amazon SQS event sources, the default batching window is 0 seconds. For Amazon MSK, Self-managed Apache Kafka, Amazon MQ, and DocumentDB event sources, the default - * batching window is 500 ms. Note that because you can only change MaximumBatchingWindowInSeconds in increments of seconds, you cannot revert back to the 500 ms default batching window after you have changed it. - * To restore the default batching window, you must create a new event source mapping.

- *

Related setting: For streams and Amazon SQS event sources, when you set BatchSize to a value greater than 10, you must set MaximumBatchingWindowInSeconds to at least 1.

- */ - MaximumBatchingWindowInSeconds?: number; - /** - * @public - *

(Kinesis and DynamoDB Streams only) A standard Amazon SQS queue or standard Amazon SNS topic destination for discarded records.

- */ - DestinationConfig?: DestinationConfig; - /** - * @public - *

(Kinesis and DynamoDB Streams only) Discard records older than the specified age. The default value is infinite (-1).

- */ - MaximumRecordAgeInSeconds?: number; - /** - * @public - *

(Kinesis and DynamoDB Streams only) If the function returns an error, split the batch in two and retry.

- */ - BisectBatchOnFunctionError?: boolean; - /** - * @public - *

(Kinesis and DynamoDB Streams only) Discard records after the specified number of retries. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires.

- */ - MaximumRetryAttempts?: number; - /** - * @public - *

(Kinesis and DynamoDB Streams only) The number of batches to process from each shard concurrently.

- */ - ParallelizationFactor?: number; - /** - * @public - *

An array of authentication protocols or VPC components required to secure your event source.

- */ - SourceAccessConfigurations?: SourceAccessConfiguration[]; - /** - * @public - *

(Kinesis and DynamoDB Streams only) The duration in seconds of a processing window for DynamoDB and Kinesis Streams event sources. A value of 0 seconds indicates no tumbling window.

- */ - TumblingWindowInSeconds?: number; - /** - * @public - *

(Kinesis, DynamoDB Streams, and Amazon SQS) A list of current response type enums applied to the event source mapping.

- */ - FunctionResponseTypes?: FunctionResponseType[]; - /** - * @public - *

(Amazon SQS only) The scaling configuration for the event source. For more information, see Configuring maximum concurrency for Amazon SQS event sources.

- */ - ScalingConfig?: ScalingConfig; - /** - * @public - *

Specific configuration settings for a DocumentDB event source.

- */ - DocumentDBEventSourceConfig?: DocumentDBEventSourceConfig; -} -/** - * @public - */ -export interface UpdateFunctionCodeRequest { - /** - * @public - *

The name of the Lambda function.

- *

- * Name formats - *

- *
    - *
  • - *

    - * Function name – my-function.

    - *
  • - *
  • - *

    - * Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function.

    - *
  • - *
  • - *

    - * Partial ARN – 123456789012:function:my-function.

    - *
  • - *
- *

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 - * characters in length.

- */ - FunctionName: string | undefined; - /** - * @public - *

The base64-encoded contents of the deployment package. Amazon Web Services SDK and CLI clients - * handle the encoding for you. Use only with a function defined with a .zip file archive deployment package.

- */ - ZipFile?: Uint8Array; - /** - * @public - *

An Amazon S3 bucket in the same Amazon Web Services Region as your function. The bucket can be in a different - * Amazon Web Services account. Use only with a function defined with a .zip file archive deployment package.

- */ - S3Bucket?: string; - /** - * @public - *

The Amazon S3 key of the deployment package. Use only with a function defined with a .zip file archive deployment package.

- */ - S3Key?: string; - /** - * @public - *

For versioned objects, the version of the deployment package object to use.

- */ - S3ObjectVersion?: string; - /** - * @public - *

URI of a container image in the Amazon ECR registry. Do not use for a function defined with a .zip - * file archive.

- */ - ImageUri?: string; - /** - * @public - *

Set to true to publish a new version of the function after updating the code. This has the same effect as - * calling PublishVersion separately.

- */ - Publish?: boolean; - /** - * @public - *

Set to true to validate the request parameters and access permissions without modifying the function - * code.

- */ - DryRun?: boolean; - /** - * @public - *

Update the function only if the revision ID matches the ID that's specified. Use this option to avoid modifying a - * function that has changed since you last read it.

- */ - RevisionId?: string; - /** - * @public - *

The instruction set architecture that the function supports. Enter a string array with one of the valid values (arm64 or x86_64). - * The default value is x86_64.

- */ - Architectures?: Architecture[]; -} -/** - * @public - */ -export interface UpdateFunctionConfigurationRequest { - /** - * @public - *

The name of the Lambda function.

- *

- * Name formats - *

- *
    - *
  • - *

    - * Function name – my-function.

    - *
  • - *
  • - *

    - * Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function.

    - *
  • - *
  • - *

    - * Partial ARN – 123456789012:function:my-function.

    - *
  • - *
- *

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 - * characters in length.

- */ - FunctionName: string | undefined; - /** - * @public - *

The Amazon Resource Name (ARN) of the function's execution role.

- */ - Role?: string; - /** - * @public - *

The name of the method within your code that Lambda calls to run your function. - * Handler is required if the deployment package is a .zip file archive. The format includes the - * file name. It can also include namespaces and other qualifiers, depending on the runtime. For more information, - * see Lambda programming model.

- */ - Handler?: string; - /** - * @public - *

A description of the function.

- */ - Description?: string; - /** - * @public - *

The amount of time (in seconds) that Lambda allows a function to run before stopping it. The default is 3 seconds. The - * maximum allowed value is 900 seconds. For more information, see Lambda execution environment.

- */ - Timeout?: number; - /** - * @public - *

The amount of memory available to the function at runtime. - * Increasing the function memory also increases its CPU allocation. The default value is 128 MB. The value can be any multiple of 1 MB.

- */ - MemorySize?: number; - /** - * @public - *

For network connectivity to Amazon Web Services resources in a VPC, specify a list of security groups and subnets in the VPC. - * When you connect a function to a VPC, it can access resources and the internet only through that VPC. For more - * information, see Configuring a Lambda function to access resources in a VPC.

- */ - VpcConfig?: VpcConfig; - /** - * @public - *

Environment variables that are accessible from function code during execution.

- */ - Environment?: Environment; - /** - * @public - *

The identifier of the function's runtime. Runtime is required if the deployment package is a .zip file archive.

- *

The following list includes deprecated runtimes. For more information, see Runtime deprecation policy.

- */ - Runtime?: Runtime; - /** - * @public - *

A dead-letter queue configuration that specifies the queue or topic where Lambda sends asynchronous events - * when they fail processing. For more information, see Dead-letter queues.

- */ - DeadLetterConfig?: DeadLetterConfig; - /** - * @public - *

The ARN of the Key Management Service (KMS) customer managed key that's used to encrypt your function's - * environment variables. When - * Lambda SnapStart is activated, Lambda also uses - * this key is to encrypt your function's snapshot. If you deploy your function using a container image, Lambda also uses this key to - * encrypt your function when it's deployed. Note that this is not the same key that's used to protect your container image in the Amazon Elastic Container Registry (Amazon ECR). - * If you don't provide a customer managed key, Lambda uses a default service key.

- */ - KMSKeyArn?: string; - /** - * @public - *

Set Mode to Active to sample and trace a subset of incoming requests with - * X-Ray.

- */ - TracingConfig?: TracingConfig; - /** - * @public - *

Update the function only if the revision ID matches the ID that's specified. Use this option to avoid modifying a - * function that has changed since you last read it.

- */ - RevisionId?: string; - /** - * @public - *

A list of function layers - * to add to the function's execution environment. Specify each layer by its ARN, including the version.

- */ - Layers?: string[]; - /** - * @public - *

Connection settings for an Amazon EFS file system.

- */ - FileSystemConfigs?: FileSystemConfig[]; - /** - * @public - *

- * Container image configuration - * values that override the values in the container image Docker file.

- */ - ImageConfig?: ImageConfig; - /** - * @public - *

The size of the function's /tmp directory in MB. The default value is 512, but can be any whole - * number between 512 and 10,240 MB.

- */ - EphemeralStorage?: EphemeralStorage; - /** - * @public - *

The function's SnapStart setting.

- */ - SnapStart?: SnapStart; - /** - * @public - *

The function's Amazon CloudWatch Logs configuration settings.

- */ - LoggingConfig?: LoggingConfig; -} -/** - * @public - */ -export interface UpdateFunctionEventInvokeConfigRequest { - /** - * @public - *

The name of the Lambda function, version, or alias.

- *

- * Name formats - *

- *
    - *
  • - *

    - * Function name - my-function (name-only), my-function:v1 (with alias).

    - *
  • - *
  • - *

    - * Function ARN - arn:aws:lambda:us-west-2:123456789012:function:my-function.

    - *
  • - *
  • - *

    - * Partial ARN - 123456789012:function:my-function.

    - *
  • - *
- *

You can append a version number or alias to any of the formats. The length constraint applies only to the full ARN. - * If you specify only the function name, it is limited to 64 characters in length.

- */ - FunctionName: string | undefined; - /** - * @public - *

A version number or alias name.

- */ - Qualifier?: string; - /** - * @public - *

The maximum number of times to retry when the function returns an error.

- */ - MaximumRetryAttempts?: number; - /** - * @public - *

The maximum age of a request that Lambda sends to a function for processing.

- */ - MaximumEventAgeInSeconds?: number; - /** - * @public - *

A destination for events after they have been sent to a function for processing.

- *

- * Destinations - *

- *
    - *
  • - *

    - * Function - The Amazon Resource Name (ARN) of a Lambda function.

    - *
  • - *
  • - *

    - * Queue - The ARN of a standard SQS queue.

    - *
  • - *
  • - *

    - * Topic - The ARN of a standard SNS topic.

    - *
  • - *
  • - *

    - * Event Bus - The ARN of an Amazon EventBridge event bus.

    - *
  • - *
- */ - DestinationConfig?: DestinationConfig; -} -/** - * @public - */ -export interface UpdateFunctionUrlConfigRequest { - /** - * @public - *

The name of the Lambda function.

- *

- * Name formats - *

- *
    - *
  • - *

    - * Function name – my-function.

    - *
  • - *
  • - *

    - * Function ARN – arn:aws:lambda:us-west-2:123456789012:function:my-function.

    - *
  • - *
  • - *

    - * Partial ARN – 123456789012:function:my-function.

    - *
  • - *
- *

The length constraint applies only to the full ARN. If you specify only the function name, it is limited to 64 - * characters in length.

- */ - FunctionName: string | undefined; - /** - * @public - *

The alias name.

- */ - Qualifier?: string; - /** - * @public - *

The type of authentication that your function URL uses. Set to AWS_IAM if you want to restrict access to authenticated - * users only. Set to NONE if you want to bypass IAM authentication to create a public endpoint. For more information, - * see Security and auth model for Lambda function URLs.

- */ - AuthType?: FunctionUrlAuthType; - /** - * @public - *

The cross-origin resource sharing (CORS) settings - * for your function URL.

- */ - Cors?: Cors; - /** - * @public - *

Use one of the following options:

- *
    - *
  • - *

    - * BUFFERED – This is the default option. Lambda invokes your function using the Invoke API operation. Invocation results - * are available when the payload is complete. The maximum payload size is 6 MB.

    - *
  • - *
  • - *

    - * RESPONSE_STREAM – Your function streams payload results as they become available. Lambda invokes your function using - * the InvokeWithResponseStream API operation. The maximum response payload size is 20 MB, however, you can request a quota increase.

    - *
  • - *
- */ - InvokeMode?: InvokeMode; -} -/** - * @public - */ -export interface UpdateFunctionUrlConfigResponse { - /** - * @public - *

The HTTP URL endpoint for your function.

- */ - FunctionUrl: string | undefined; - /** - * @public - *

The Amazon Resource Name (ARN) of your function.

- */ - FunctionArn: string | undefined; - /** - * @public - *

The type of authentication that your function URL uses. Set to AWS_IAM if you want to restrict access to authenticated - * users only. Set to NONE if you want to bypass IAM authentication to create a public endpoint. For more information, - * see Security and auth model for Lambda function URLs.

- */ - AuthType: FunctionUrlAuthType | undefined; - /** - * @public - *

The cross-origin resource sharing (CORS) settings - * for your function URL.

- */ - Cors?: Cors; - /** - * @public - *

When the function URL was created, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).

- */ - CreationTime: string | undefined; - /** - * @public - *

When the function URL configuration was last updated, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).

- */ - LastModifiedTime: string | undefined; - /** - * @public - *

Use one of the following options:

- *
    - *
  • - *

    - * BUFFERED – This is the default option. Lambda invokes your function using the Invoke API operation. Invocation results - * are available when the payload is complete. The maximum payload size is 6 MB.

    - *
  • - *
  • - *

    - * RESPONSE_STREAM – Your function streams payload results as they become available. Lambda invokes your function using - * the InvokeWithResponseStream API operation. The maximum response payload size is 20 MB, however, you can request a quota increase.

    - *
  • - *
- */ - InvokeMode?: InvokeMode; -} -/** - * @internal - */ -export declare const FunctionCodeFilterSensitiveLog: (obj: FunctionCode) => any; -/** - * @internal - */ -export declare const EnvironmentFilterSensitiveLog: (obj: Environment) => any; -/** - * @internal - */ -export declare const CreateFunctionRequestFilterSensitiveLog: (obj: CreateFunctionRequest) => any; -/** - * @internal - */ -export declare const EnvironmentErrorFilterSensitiveLog: (obj: EnvironmentError) => any; -/** - * @internal - */ -export declare const EnvironmentResponseFilterSensitiveLog: (obj: EnvironmentResponse) => any; -/** - * @internal - */ -export declare const ImageConfigErrorFilterSensitiveLog: (obj: ImageConfigError) => any; -/** - * @internal - */ -export declare const ImageConfigResponseFilterSensitiveLog: (obj: ImageConfigResponse) => any; -/** - * @internal - */ -export declare const RuntimeVersionErrorFilterSensitiveLog: (obj: RuntimeVersionError) => any; -/** - * @internal - */ -export declare const RuntimeVersionConfigFilterSensitiveLog: (obj: RuntimeVersionConfig) => any; -/** - * @internal - */ -export declare const FunctionConfigurationFilterSensitiveLog: (obj: FunctionConfiguration) => any; -/** - * @internal - */ -export declare const GetFunctionResponseFilterSensitiveLog: (obj: GetFunctionResponse) => any; -/** - * @internal - */ -export declare const InvocationRequestFilterSensitiveLog: (obj: InvocationRequest) => any; -/** - * @internal - */ -export declare const InvocationResponseFilterSensitiveLog: (obj: InvocationResponse) => any; -/** - * @internal - */ -export declare const InvokeAsyncRequestFilterSensitiveLog: (obj: InvokeAsyncRequest) => any; -/** - * @internal - */ -export declare const InvokeWithResponseStreamRequestFilterSensitiveLog: (obj: InvokeWithResponseStreamRequest) => any; -/** - * @internal - */ -export declare const InvokeResponseStreamUpdateFilterSensitiveLog: (obj: InvokeResponseStreamUpdate) => any; -/** - * @internal - */ -export declare const InvokeWithResponseStreamResponseEventFilterSensitiveLog: (obj: InvokeWithResponseStreamResponseEvent) => any; -/** - * @internal - */ -export declare const InvokeWithResponseStreamResponseFilterSensitiveLog: (obj: InvokeWithResponseStreamResponse) => any; -/** - * @internal - */ -export declare const ListFunctionsResponseFilterSensitiveLog: (obj: ListFunctionsResponse) => any; -/** - * @internal - */ -export declare const ListVersionsByFunctionResponseFilterSensitiveLog: (obj: ListVersionsByFunctionResponse) => any; -/** - * @internal - */ -export declare const LayerVersionContentInputFilterSensitiveLog: (obj: LayerVersionContentInput) => any; -/** - * @internal - */ -export declare const PublishLayerVersionRequestFilterSensitiveLog: (obj: PublishLayerVersionRequest) => any; -/** - * @internal - */ -export declare const UpdateFunctionCodeRequestFilterSensitiveLog: (obj: UpdateFunctionCodeRequest) => any; -/** - * @internal - */ -export declare const UpdateFunctionConfigurationRequestFilterSensitiveLog: (obj: UpdateFunctionConfigurationRequest) => any; diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/pagination/Interfaces.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/pagination/Interfaces.d.ts deleted file mode 100644 index f6a4fc49..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/pagination/Interfaces.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { PaginationConfiguration } from "@smithy/types"; -import { LambdaClient } from "../LambdaClient"; -/** - * @public - */ -export interface LambdaPaginationConfiguration extends PaginationConfiguration { - client: LambdaClient; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/pagination/ListAliasesPaginator.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/pagination/ListAliasesPaginator.d.ts deleted file mode 100644 index 44f507e1..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/pagination/ListAliasesPaginator.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { Paginator } from "@smithy/types"; -import { ListAliasesCommandInput, ListAliasesCommandOutput } from "../commands/ListAliasesCommand"; -import { LambdaPaginationConfiguration } from "./Interfaces"; -/** - * @public - */ -export declare function paginateListAliases(config: LambdaPaginationConfiguration, input: ListAliasesCommandInput, ...additionalArguments: any): Paginator; diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/pagination/ListCodeSigningConfigsPaginator.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/pagination/ListCodeSigningConfigsPaginator.d.ts deleted file mode 100644 index 48c222e0..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/pagination/ListCodeSigningConfigsPaginator.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { Paginator } from "@smithy/types"; -import { ListCodeSigningConfigsCommandInput, ListCodeSigningConfigsCommandOutput } from "../commands/ListCodeSigningConfigsCommand"; -import { LambdaPaginationConfiguration } from "./Interfaces"; -/** - * @public - */ -export declare function paginateListCodeSigningConfigs(config: LambdaPaginationConfiguration, input: ListCodeSigningConfigsCommandInput, ...additionalArguments: any): Paginator; diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/pagination/ListEventSourceMappingsPaginator.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/pagination/ListEventSourceMappingsPaginator.d.ts deleted file mode 100644 index ce09af87..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/pagination/ListEventSourceMappingsPaginator.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { Paginator } from "@smithy/types"; -import { ListEventSourceMappingsCommandInput, ListEventSourceMappingsCommandOutput } from "../commands/ListEventSourceMappingsCommand"; -import { LambdaPaginationConfiguration } from "./Interfaces"; -/** - * @public - */ -export declare function paginateListEventSourceMappings(config: LambdaPaginationConfiguration, input: ListEventSourceMappingsCommandInput, ...additionalArguments: any): Paginator; diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/pagination/ListFunctionEventInvokeConfigsPaginator.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/pagination/ListFunctionEventInvokeConfigsPaginator.d.ts deleted file mode 100644 index b72a1b63..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/pagination/ListFunctionEventInvokeConfigsPaginator.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { Paginator } from "@smithy/types"; -import { ListFunctionEventInvokeConfigsCommandInput, ListFunctionEventInvokeConfigsCommandOutput } from "../commands/ListFunctionEventInvokeConfigsCommand"; -import { LambdaPaginationConfiguration } from "./Interfaces"; -/** - * @public - */ -export declare function paginateListFunctionEventInvokeConfigs(config: LambdaPaginationConfiguration, input: ListFunctionEventInvokeConfigsCommandInput, ...additionalArguments: any): Paginator; diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/pagination/ListFunctionUrlConfigsPaginator.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/pagination/ListFunctionUrlConfigsPaginator.d.ts deleted file mode 100644 index 5cbf678d..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/pagination/ListFunctionUrlConfigsPaginator.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { Paginator } from "@smithy/types"; -import { ListFunctionUrlConfigsCommandInput, ListFunctionUrlConfigsCommandOutput } from "../commands/ListFunctionUrlConfigsCommand"; -import { LambdaPaginationConfiguration } from "./Interfaces"; -/** - * @public - */ -export declare function paginateListFunctionUrlConfigs(config: LambdaPaginationConfiguration, input: ListFunctionUrlConfigsCommandInput, ...additionalArguments: any): Paginator; diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/pagination/ListFunctionsByCodeSigningConfigPaginator.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/pagination/ListFunctionsByCodeSigningConfigPaginator.d.ts deleted file mode 100644 index 8173f1e5..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/pagination/ListFunctionsByCodeSigningConfigPaginator.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { Paginator } from "@smithy/types"; -import { ListFunctionsByCodeSigningConfigCommandInput, ListFunctionsByCodeSigningConfigCommandOutput } from "../commands/ListFunctionsByCodeSigningConfigCommand"; -import { LambdaPaginationConfiguration } from "./Interfaces"; -/** - * @public - */ -export declare function paginateListFunctionsByCodeSigningConfig(config: LambdaPaginationConfiguration, input: ListFunctionsByCodeSigningConfigCommandInput, ...additionalArguments: any): Paginator; diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/pagination/ListFunctionsPaginator.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/pagination/ListFunctionsPaginator.d.ts deleted file mode 100644 index 08c3f769..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/pagination/ListFunctionsPaginator.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { Paginator } from "@smithy/types"; -import { ListFunctionsCommandInput, ListFunctionsCommandOutput } from "../commands/ListFunctionsCommand"; -import { LambdaPaginationConfiguration } from "./Interfaces"; -/** - * @public - */ -export declare function paginateListFunctions(config: LambdaPaginationConfiguration, input: ListFunctionsCommandInput, ...additionalArguments: any): Paginator; diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/pagination/ListLayerVersionsPaginator.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/pagination/ListLayerVersionsPaginator.d.ts deleted file mode 100644 index b5de371e..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/pagination/ListLayerVersionsPaginator.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { Paginator } from "@smithy/types"; -import { ListLayerVersionsCommandInput, ListLayerVersionsCommandOutput } from "../commands/ListLayerVersionsCommand"; -import { LambdaPaginationConfiguration } from "./Interfaces"; -/** - * @public - */ -export declare function paginateListLayerVersions(config: LambdaPaginationConfiguration, input: ListLayerVersionsCommandInput, ...additionalArguments: any): Paginator; diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/pagination/ListLayersPaginator.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/pagination/ListLayersPaginator.d.ts deleted file mode 100644 index 7e1bc99f..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/pagination/ListLayersPaginator.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { Paginator } from "@smithy/types"; -import { ListLayersCommandInput, ListLayersCommandOutput } from "../commands/ListLayersCommand"; -import { LambdaPaginationConfiguration } from "./Interfaces"; -/** - * @public - */ -export declare function paginateListLayers(config: LambdaPaginationConfiguration, input: ListLayersCommandInput, ...additionalArguments: any): Paginator; diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/pagination/ListProvisionedConcurrencyConfigsPaginator.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/pagination/ListProvisionedConcurrencyConfigsPaginator.d.ts deleted file mode 100644 index 274217cc..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/pagination/ListProvisionedConcurrencyConfigsPaginator.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { Paginator } from "@smithy/types"; -import { ListProvisionedConcurrencyConfigsCommandInput, ListProvisionedConcurrencyConfigsCommandOutput } from "../commands/ListProvisionedConcurrencyConfigsCommand"; -import { LambdaPaginationConfiguration } from "./Interfaces"; -/** - * @public - */ -export declare function paginateListProvisionedConcurrencyConfigs(config: LambdaPaginationConfiguration, input: ListProvisionedConcurrencyConfigsCommandInput, ...additionalArguments: any): Paginator; diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/pagination/ListVersionsByFunctionPaginator.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/pagination/ListVersionsByFunctionPaginator.d.ts deleted file mode 100644 index 92ff9a52..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/pagination/ListVersionsByFunctionPaginator.d.ts +++ /dev/null @@ -1,7 +0,0 @@ -import { Paginator } from "@smithy/types"; -import { ListVersionsByFunctionCommandInput, ListVersionsByFunctionCommandOutput } from "../commands/ListVersionsByFunctionCommand"; -import { LambdaPaginationConfiguration } from "./Interfaces"; -/** - * @public - */ -export declare function paginateListVersionsByFunction(config: LambdaPaginationConfiguration, input: ListVersionsByFunctionCommandInput, ...additionalArguments: any): Paginator; diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/pagination/index.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/pagination/index.d.ts deleted file mode 100644 index 8c05cc24..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/pagination/index.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -export * from "./Interfaces"; -export * from "./ListAliasesPaginator"; -export * from "./ListCodeSigningConfigsPaginator"; -export * from "./ListEventSourceMappingsPaginator"; -export * from "./ListFunctionEventInvokeConfigsPaginator"; -export * from "./ListFunctionUrlConfigsPaginator"; -export * from "./ListFunctionsByCodeSigningConfigPaginator"; -export * from "./ListFunctionsPaginator"; -export * from "./ListLayerVersionsPaginator"; -export * from "./ListLayersPaginator"; -export * from "./ListProvisionedConcurrencyConfigsPaginator"; -export * from "./ListVersionsByFunctionPaginator"; diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/protocols/Aws_restJson1.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/protocols/Aws_restJson1.d.ts deleted file mode 100644 index ba1940a8..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/protocols/Aws_restJson1.d.ts +++ /dev/null @@ -1,596 +0,0 @@ -import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http"; -import { EventStreamSerdeContext as __EventStreamSerdeContext, SerdeContext as __SerdeContext } from "@smithy/types"; -import { AddLayerVersionPermissionCommandInput, AddLayerVersionPermissionCommandOutput } from "../commands/AddLayerVersionPermissionCommand"; -import { AddPermissionCommandInput, AddPermissionCommandOutput } from "../commands/AddPermissionCommand"; -import { CreateAliasCommandInput, CreateAliasCommandOutput } from "../commands/CreateAliasCommand"; -import { CreateCodeSigningConfigCommandInput, CreateCodeSigningConfigCommandOutput } from "../commands/CreateCodeSigningConfigCommand"; -import { CreateEventSourceMappingCommandInput, CreateEventSourceMappingCommandOutput } from "../commands/CreateEventSourceMappingCommand"; -import { CreateFunctionCommandInput, CreateFunctionCommandOutput } from "../commands/CreateFunctionCommand"; -import { CreateFunctionUrlConfigCommandInput, CreateFunctionUrlConfigCommandOutput } from "../commands/CreateFunctionUrlConfigCommand"; -import { DeleteAliasCommandInput, DeleteAliasCommandOutput } from "../commands/DeleteAliasCommand"; -import { DeleteCodeSigningConfigCommandInput, DeleteCodeSigningConfigCommandOutput } from "../commands/DeleteCodeSigningConfigCommand"; -import { DeleteEventSourceMappingCommandInput, DeleteEventSourceMappingCommandOutput } from "../commands/DeleteEventSourceMappingCommand"; -import { DeleteFunctionCodeSigningConfigCommandInput, DeleteFunctionCodeSigningConfigCommandOutput } from "../commands/DeleteFunctionCodeSigningConfigCommand"; -import { DeleteFunctionCommandInput, DeleteFunctionCommandOutput } from "../commands/DeleteFunctionCommand"; -import { DeleteFunctionConcurrencyCommandInput, DeleteFunctionConcurrencyCommandOutput } from "../commands/DeleteFunctionConcurrencyCommand"; -import { DeleteFunctionEventInvokeConfigCommandInput, DeleteFunctionEventInvokeConfigCommandOutput } from "../commands/DeleteFunctionEventInvokeConfigCommand"; -import { DeleteFunctionUrlConfigCommandInput, DeleteFunctionUrlConfigCommandOutput } from "../commands/DeleteFunctionUrlConfigCommand"; -import { DeleteLayerVersionCommandInput, DeleteLayerVersionCommandOutput } from "../commands/DeleteLayerVersionCommand"; -import { DeleteProvisionedConcurrencyConfigCommandInput, DeleteProvisionedConcurrencyConfigCommandOutput } from "../commands/DeleteProvisionedConcurrencyConfigCommand"; -import { GetAccountSettingsCommandInput, GetAccountSettingsCommandOutput } from "../commands/GetAccountSettingsCommand"; -import { GetAliasCommandInput, GetAliasCommandOutput } from "../commands/GetAliasCommand"; -import { GetCodeSigningConfigCommandInput, GetCodeSigningConfigCommandOutput } from "../commands/GetCodeSigningConfigCommand"; -import { GetEventSourceMappingCommandInput, GetEventSourceMappingCommandOutput } from "../commands/GetEventSourceMappingCommand"; -import { GetFunctionCodeSigningConfigCommandInput, GetFunctionCodeSigningConfigCommandOutput } from "../commands/GetFunctionCodeSigningConfigCommand"; -import { GetFunctionCommandInput, GetFunctionCommandOutput } from "../commands/GetFunctionCommand"; -import { GetFunctionConcurrencyCommandInput, GetFunctionConcurrencyCommandOutput } from "../commands/GetFunctionConcurrencyCommand"; -import { GetFunctionConfigurationCommandInput, GetFunctionConfigurationCommandOutput } from "../commands/GetFunctionConfigurationCommand"; -import { GetFunctionEventInvokeConfigCommandInput, GetFunctionEventInvokeConfigCommandOutput } from "../commands/GetFunctionEventInvokeConfigCommand"; -import { GetFunctionUrlConfigCommandInput, GetFunctionUrlConfigCommandOutput } from "../commands/GetFunctionUrlConfigCommand"; -import { GetLayerVersionByArnCommandInput, GetLayerVersionByArnCommandOutput } from "../commands/GetLayerVersionByArnCommand"; -import { GetLayerVersionCommandInput, GetLayerVersionCommandOutput } from "../commands/GetLayerVersionCommand"; -import { GetLayerVersionPolicyCommandInput, GetLayerVersionPolicyCommandOutput } from "../commands/GetLayerVersionPolicyCommand"; -import { GetPolicyCommandInput, GetPolicyCommandOutput } from "../commands/GetPolicyCommand"; -import { GetProvisionedConcurrencyConfigCommandInput, GetProvisionedConcurrencyConfigCommandOutput } from "../commands/GetProvisionedConcurrencyConfigCommand"; -import { GetRuntimeManagementConfigCommandInput, GetRuntimeManagementConfigCommandOutput } from "../commands/GetRuntimeManagementConfigCommand"; -import { InvokeAsyncCommandInput, InvokeAsyncCommandOutput } from "../commands/InvokeAsyncCommand"; -import { InvokeCommandInput, InvokeCommandOutput } from "../commands/InvokeCommand"; -import { InvokeWithResponseStreamCommandInput, InvokeWithResponseStreamCommandOutput } from "../commands/InvokeWithResponseStreamCommand"; -import { ListAliasesCommandInput, ListAliasesCommandOutput } from "../commands/ListAliasesCommand"; -import { ListCodeSigningConfigsCommandInput, ListCodeSigningConfigsCommandOutput } from "../commands/ListCodeSigningConfigsCommand"; -import { ListEventSourceMappingsCommandInput, ListEventSourceMappingsCommandOutput } from "../commands/ListEventSourceMappingsCommand"; -import { ListFunctionEventInvokeConfigsCommandInput, ListFunctionEventInvokeConfigsCommandOutput } from "../commands/ListFunctionEventInvokeConfigsCommand"; -import { ListFunctionsByCodeSigningConfigCommandInput, ListFunctionsByCodeSigningConfigCommandOutput } from "../commands/ListFunctionsByCodeSigningConfigCommand"; -import { ListFunctionsCommandInput, ListFunctionsCommandOutput } from "../commands/ListFunctionsCommand"; -import { ListFunctionUrlConfigsCommandInput, ListFunctionUrlConfigsCommandOutput } from "../commands/ListFunctionUrlConfigsCommand"; -import { ListLayersCommandInput, ListLayersCommandOutput } from "../commands/ListLayersCommand"; -import { ListLayerVersionsCommandInput, ListLayerVersionsCommandOutput } from "../commands/ListLayerVersionsCommand"; -import { ListProvisionedConcurrencyConfigsCommandInput, ListProvisionedConcurrencyConfigsCommandOutput } from "../commands/ListProvisionedConcurrencyConfigsCommand"; -import { ListTagsCommandInput, ListTagsCommandOutput } from "../commands/ListTagsCommand"; -import { ListVersionsByFunctionCommandInput, ListVersionsByFunctionCommandOutput } from "../commands/ListVersionsByFunctionCommand"; -import { PublishLayerVersionCommandInput, PublishLayerVersionCommandOutput } from "../commands/PublishLayerVersionCommand"; -import { PublishVersionCommandInput, PublishVersionCommandOutput } from "../commands/PublishVersionCommand"; -import { PutFunctionCodeSigningConfigCommandInput, PutFunctionCodeSigningConfigCommandOutput } from "../commands/PutFunctionCodeSigningConfigCommand"; -import { PutFunctionConcurrencyCommandInput, PutFunctionConcurrencyCommandOutput } from "../commands/PutFunctionConcurrencyCommand"; -import { PutFunctionEventInvokeConfigCommandInput, PutFunctionEventInvokeConfigCommandOutput } from "../commands/PutFunctionEventInvokeConfigCommand"; -import { PutProvisionedConcurrencyConfigCommandInput, PutProvisionedConcurrencyConfigCommandOutput } from "../commands/PutProvisionedConcurrencyConfigCommand"; -import { PutRuntimeManagementConfigCommandInput, PutRuntimeManagementConfigCommandOutput } from "../commands/PutRuntimeManagementConfigCommand"; -import { RemoveLayerVersionPermissionCommandInput, RemoveLayerVersionPermissionCommandOutput } from "../commands/RemoveLayerVersionPermissionCommand"; -import { RemovePermissionCommandInput, RemovePermissionCommandOutput } from "../commands/RemovePermissionCommand"; -import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand"; -import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand"; -import { UpdateAliasCommandInput, UpdateAliasCommandOutput } from "../commands/UpdateAliasCommand"; -import { UpdateCodeSigningConfigCommandInput, UpdateCodeSigningConfigCommandOutput } from "../commands/UpdateCodeSigningConfigCommand"; -import { UpdateEventSourceMappingCommandInput, UpdateEventSourceMappingCommandOutput } from "../commands/UpdateEventSourceMappingCommand"; -import { UpdateFunctionCodeCommandInput, UpdateFunctionCodeCommandOutput } from "../commands/UpdateFunctionCodeCommand"; -import { UpdateFunctionConfigurationCommandInput, UpdateFunctionConfigurationCommandOutput } from "../commands/UpdateFunctionConfigurationCommand"; -import { UpdateFunctionEventInvokeConfigCommandInput, UpdateFunctionEventInvokeConfigCommandOutput } from "../commands/UpdateFunctionEventInvokeConfigCommand"; -import { UpdateFunctionUrlConfigCommandInput, UpdateFunctionUrlConfigCommandOutput } from "../commands/UpdateFunctionUrlConfigCommand"; -/** - * serializeAws_restJson1AddLayerVersionPermissionCommand - */ -export declare const se_AddLayerVersionPermissionCommand: (input: AddLayerVersionPermissionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; -/** - * serializeAws_restJson1AddPermissionCommand - */ -export declare const se_AddPermissionCommand: (input: AddPermissionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; -/** - * serializeAws_restJson1CreateAliasCommand - */ -export declare const se_CreateAliasCommand: (input: CreateAliasCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; -/** - * serializeAws_restJson1CreateCodeSigningConfigCommand - */ -export declare const se_CreateCodeSigningConfigCommand: (input: CreateCodeSigningConfigCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; -/** - * serializeAws_restJson1CreateEventSourceMappingCommand - */ -export declare const se_CreateEventSourceMappingCommand: (input: CreateEventSourceMappingCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; -/** - * serializeAws_restJson1CreateFunctionCommand - */ -export declare const se_CreateFunctionCommand: (input: CreateFunctionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; -/** - * serializeAws_restJson1CreateFunctionUrlConfigCommand - */ -export declare const se_CreateFunctionUrlConfigCommand: (input: CreateFunctionUrlConfigCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; -/** - * serializeAws_restJson1DeleteAliasCommand - */ -export declare const se_DeleteAliasCommand: (input: DeleteAliasCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; -/** - * serializeAws_restJson1DeleteCodeSigningConfigCommand - */ -export declare const se_DeleteCodeSigningConfigCommand: (input: DeleteCodeSigningConfigCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; -/** - * serializeAws_restJson1DeleteEventSourceMappingCommand - */ -export declare const se_DeleteEventSourceMappingCommand: (input: DeleteEventSourceMappingCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; -/** - * serializeAws_restJson1DeleteFunctionCommand - */ -export declare const se_DeleteFunctionCommand: (input: DeleteFunctionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; -/** - * serializeAws_restJson1DeleteFunctionCodeSigningConfigCommand - */ -export declare const se_DeleteFunctionCodeSigningConfigCommand: (input: DeleteFunctionCodeSigningConfigCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; -/** - * serializeAws_restJson1DeleteFunctionConcurrencyCommand - */ -export declare const se_DeleteFunctionConcurrencyCommand: (input: DeleteFunctionConcurrencyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; -/** - * serializeAws_restJson1DeleteFunctionEventInvokeConfigCommand - */ -export declare const se_DeleteFunctionEventInvokeConfigCommand: (input: DeleteFunctionEventInvokeConfigCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; -/** - * serializeAws_restJson1DeleteFunctionUrlConfigCommand - */ -export declare const se_DeleteFunctionUrlConfigCommand: (input: DeleteFunctionUrlConfigCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; -/** - * serializeAws_restJson1DeleteLayerVersionCommand - */ -export declare const se_DeleteLayerVersionCommand: (input: DeleteLayerVersionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; -/** - * serializeAws_restJson1DeleteProvisionedConcurrencyConfigCommand - */ -export declare const se_DeleteProvisionedConcurrencyConfigCommand: (input: DeleteProvisionedConcurrencyConfigCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; -/** - * serializeAws_restJson1GetAccountSettingsCommand - */ -export declare const se_GetAccountSettingsCommand: (input: GetAccountSettingsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; -/** - * serializeAws_restJson1GetAliasCommand - */ -export declare const se_GetAliasCommand: (input: GetAliasCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; -/** - * serializeAws_restJson1GetCodeSigningConfigCommand - */ -export declare const se_GetCodeSigningConfigCommand: (input: GetCodeSigningConfigCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; -/** - * serializeAws_restJson1GetEventSourceMappingCommand - */ -export declare const se_GetEventSourceMappingCommand: (input: GetEventSourceMappingCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; -/** - * serializeAws_restJson1GetFunctionCommand - */ -export declare const se_GetFunctionCommand: (input: GetFunctionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; -/** - * serializeAws_restJson1GetFunctionCodeSigningConfigCommand - */ -export declare const se_GetFunctionCodeSigningConfigCommand: (input: GetFunctionCodeSigningConfigCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; -/** - * serializeAws_restJson1GetFunctionConcurrencyCommand - */ -export declare const se_GetFunctionConcurrencyCommand: (input: GetFunctionConcurrencyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; -/** - * serializeAws_restJson1GetFunctionConfigurationCommand - */ -export declare const se_GetFunctionConfigurationCommand: (input: GetFunctionConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; -/** - * serializeAws_restJson1GetFunctionEventInvokeConfigCommand - */ -export declare const se_GetFunctionEventInvokeConfigCommand: (input: GetFunctionEventInvokeConfigCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; -/** - * serializeAws_restJson1GetFunctionUrlConfigCommand - */ -export declare const se_GetFunctionUrlConfigCommand: (input: GetFunctionUrlConfigCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; -/** - * serializeAws_restJson1GetLayerVersionCommand - */ -export declare const se_GetLayerVersionCommand: (input: GetLayerVersionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; -/** - * serializeAws_restJson1GetLayerVersionByArnCommand - */ -export declare const se_GetLayerVersionByArnCommand: (input: GetLayerVersionByArnCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; -/** - * serializeAws_restJson1GetLayerVersionPolicyCommand - */ -export declare const se_GetLayerVersionPolicyCommand: (input: GetLayerVersionPolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; -/** - * serializeAws_restJson1GetPolicyCommand - */ -export declare const se_GetPolicyCommand: (input: GetPolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; -/** - * serializeAws_restJson1GetProvisionedConcurrencyConfigCommand - */ -export declare const se_GetProvisionedConcurrencyConfigCommand: (input: GetProvisionedConcurrencyConfigCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; -/** - * serializeAws_restJson1GetRuntimeManagementConfigCommand - */ -export declare const se_GetRuntimeManagementConfigCommand: (input: GetRuntimeManagementConfigCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; -/** - * serializeAws_restJson1InvokeCommand - */ -export declare const se_InvokeCommand: (input: InvokeCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; -/** - * serializeAws_restJson1InvokeAsyncCommand - */ -export declare const se_InvokeAsyncCommand: (input: InvokeAsyncCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; -/** - * serializeAws_restJson1InvokeWithResponseStreamCommand - */ -export declare const se_InvokeWithResponseStreamCommand: (input: InvokeWithResponseStreamCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; -/** - * serializeAws_restJson1ListAliasesCommand - */ -export declare const se_ListAliasesCommand: (input: ListAliasesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; -/** - * serializeAws_restJson1ListCodeSigningConfigsCommand - */ -export declare const se_ListCodeSigningConfigsCommand: (input: ListCodeSigningConfigsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; -/** - * serializeAws_restJson1ListEventSourceMappingsCommand - */ -export declare const se_ListEventSourceMappingsCommand: (input: ListEventSourceMappingsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; -/** - * serializeAws_restJson1ListFunctionEventInvokeConfigsCommand - */ -export declare const se_ListFunctionEventInvokeConfigsCommand: (input: ListFunctionEventInvokeConfigsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; -/** - * serializeAws_restJson1ListFunctionsCommand - */ -export declare const se_ListFunctionsCommand: (input: ListFunctionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; -/** - * serializeAws_restJson1ListFunctionsByCodeSigningConfigCommand - */ -export declare const se_ListFunctionsByCodeSigningConfigCommand: (input: ListFunctionsByCodeSigningConfigCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; -/** - * serializeAws_restJson1ListFunctionUrlConfigsCommand - */ -export declare const se_ListFunctionUrlConfigsCommand: (input: ListFunctionUrlConfigsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; -/** - * serializeAws_restJson1ListLayersCommand - */ -export declare const se_ListLayersCommand: (input: ListLayersCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; -/** - * serializeAws_restJson1ListLayerVersionsCommand - */ -export declare const se_ListLayerVersionsCommand: (input: ListLayerVersionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; -/** - * serializeAws_restJson1ListProvisionedConcurrencyConfigsCommand - */ -export declare const se_ListProvisionedConcurrencyConfigsCommand: (input: ListProvisionedConcurrencyConfigsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; -/** - * serializeAws_restJson1ListTagsCommand - */ -export declare const se_ListTagsCommand: (input: ListTagsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; -/** - * serializeAws_restJson1ListVersionsByFunctionCommand - */ -export declare const se_ListVersionsByFunctionCommand: (input: ListVersionsByFunctionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; -/** - * serializeAws_restJson1PublishLayerVersionCommand - */ -export declare const se_PublishLayerVersionCommand: (input: PublishLayerVersionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; -/** - * serializeAws_restJson1PublishVersionCommand - */ -export declare const se_PublishVersionCommand: (input: PublishVersionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; -/** - * serializeAws_restJson1PutFunctionCodeSigningConfigCommand - */ -export declare const se_PutFunctionCodeSigningConfigCommand: (input: PutFunctionCodeSigningConfigCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; -/** - * serializeAws_restJson1PutFunctionConcurrencyCommand - */ -export declare const se_PutFunctionConcurrencyCommand: (input: PutFunctionConcurrencyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; -/** - * serializeAws_restJson1PutFunctionEventInvokeConfigCommand - */ -export declare const se_PutFunctionEventInvokeConfigCommand: (input: PutFunctionEventInvokeConfigCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; -/** - * serializeAws_restJson1PutProvisionedConcurrencyConfigCommand - */ -export declare const se_PutProvisionedConcurrencyConfigCommand: (input: PutProvisionedConcurrencyConfigCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; -/** - * serializeAws_restJson1PutRuntimeManagementConfigCommand - */ -export declare const se_PutRuntimeManagementConfigCommand: (input: PutRuntimeManagementConfigCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; -/** - * serializeAws_restJson1RemoveLayerVersionPermissionCommand - */ -export declare const se_RemoveLayerVersionPermissionCommand: (input: RemoveLayerVersionPermissionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; -/** - * serializeAws_restJson1RemovePermissionCommand - */ -export declare const se_RemovePermissionCommand: (input: RemovePermissionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; -/** - * serializeAws_restJson1TagResourceCommand - */ -export declare const se_TagResourceCommand: (input: TagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; -/** - * serializeAws_restJson1UntagResourceCommand - */ -export declare const se_UntagResourceCommand: (input: UntagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; -/** - * serializeAws_restJson1UpdateAliasCommand - */ -export declare const se_UpdateAliasCommand: (input: UpdateAliasCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; -/** - * serializeAws_restJson1UpdateCodeSigningConfigCommand - */ -export declare const se_UpdateCodeSigningConfigCommand: (input: UpdateCodeSigningConfigCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; -/** - * serializeAws_restJson1UpdateEventSourceMappingCommand - */ -export declare const se_UpdateEventSourceMappingCommand: (input: UpdateEventSourceMappingCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; -/** - * serializeAws_restJson1UpdateFunctionCodeCommand - */ -export declare const se_UpdateFunctionCodeCommand: (input: UpdateFunctionCodeCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; -/** - * serializeAws_restJson1UpdateFunctionConfigurationCommand - */ -export declare const se_UpdateFunctionConfigurationCommand: (input: UpdateFunctionConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; -/** - * serializeAws_restJson1UpdateFunctionEventInvokeConfigCommand - */ -export declare const se_UpdateFunctionEventInvokeConfigCommand: (input: UpdateFunctionEventInvokeConfigCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; -/** - * serializeAws_restJson1UpdateFunctionUrlConfigCommand - */ -export declare const se_UpdateFunctionUrlConfigCommand: (input: UpdateFunctionUrlConfigCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; -/** - * deserializeAws_restJson1AddLayerVersionPermissionCommand - */ -export declare const de_AddLayerVersionPermissionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; -/** - * deserializeAws_restJson1AddPermissionCommand - */ -export declare const de_AddPermissionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; -/** - * deserializeAws_restJson1CreateAliasCommand - */ -export declare const de_CreateAliasCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; -/** - * deserializeAws_restJson1CreateCodeSigningConfigCommand - */ -export declare const de_CreateCodeSigningConfigCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; -/** - * deserializeAws_restJson1CreateEventSourceMappingCommand - */ -export declare const de_CreateEventSourceMappingCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; -/** - * deserializeAws_restJson1CreateFunctionCommand - */ -export declare const de_CreateFunctionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; -/** - * deserializeAws_restJson1CreateFunctionUrlConfigCommand - */ -export declare const de_CreateFunctionUrlConfigCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; -/** - * deserializeAws_restJson1DeleteAliasCommand - */ -export declare const de_DeleteAliasCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; -/** - * deserializeAws_restJson1DeleteCodeSigningConfigCommand - */ -export declare const de_DeleteCodeSigningConfigCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; -/** - * deserializeAws_restJson1DeleteEventSourceMappingCommand - */ -export declare const de_DeleteEventSourceMappingCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; -/** - * deserializeAws_restJson1DeleteFunctionCommand - */ -export declare const de_DeleteFunctionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; -/** - * deserializeAws_restJson1DeleteFunctionCodeSigningConfigCommand - */ -export declare const de_DeleteFunctionCodeSigningConfigCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; -/** - * deserializeAws_restJson1DeleteFunctionConcurrencyCommand - */ -export declare const de_DeleteFunctionConcurrencyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; -/** - * deserializeAws_restJson1DeleteFunctionEventInvokeConfigCommand - */ -export declare const de_DeleteFunctionEventInvokeConfigCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; -/** - * deserializeAws_restJson1DeleteFunctionUrlConfigCommand - */ -export declare const de_DeleteFunctionUrlConfigCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; -/** - * deserializeAws_restJson1DeleteLayerVersionCommand - */ -export declare const de_DeleteLayerVersionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; -/** - * deserializeAws_restJson1DeleteProvisionedConcurrencyConfigCommand - */ -export declare const de_DeleteProvisionedConcurrencyConfigCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; -/** - * deserializeAws_restJson1GetAccountSettingsCommand - */ -export declare const de_GetAccountSettingsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; -/** - * deserializeAws_restJson1GetAliasCommand - */ -export declare const de_GetAliasCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; -/** - * deserializeAws_restJson1GetCodeSigningConfigCommand - */ -export declare const de_GetCodeSigningConfigCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; -/** - * deserializeAws_restJson1GetEventSourceMappingCommand - */ -export declare const de_GetEventSourceMappingCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; -/** - * deserializeAws_restJson1GetFunctionCommand - */ -export declare const de_GetFunctionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; -/** - * deserializeAws_restJson1GetFunctionCodeSigningConfigCommand - */ -export declare const de_GetFunctionCodeSigningConfigCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; -/** - * deserializeAws_restJson1GetFunctionConcurrencyCommand - */ -export declare const de_GetFunctionConcurrencyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; -/** - * deserializeAws_restJson1GetFunctionConfigurationCommand - */ -export declare const de_GetFunctionConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; -/** - * deserializeAws_restJson1GetFunctionEventInvokeConfigCommand - */ -export declare const de_GetFunctionEventInvokeConfigCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; -/** - * deserializeAws_restJson1GetFunctionUrlConfigCommand - */ -export declare const de_GetFunctionUrlConfigCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; -/** - * deserializeAws_restJson1GetLayerVersionCommand - */ -export declare const de_GetLayerVersionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; -/** - * deserializeAws_restJson1GetLayerVersionByArnCommand - */ -export declare const de_GetLayerVersionByArnCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; -/** - * deserializeAws_restJson1GetLayerVersionPolicyCommand - */ -export declare const de_GetLayerVersionPolicyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; -/** - * deserializeAws_restJson1GetPolicyCommand - */ -export declare const de_GetPolicyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; -/** - * deserializeAws_restJson1GetProvisionedConcurrencyConfigCommand - */ -export declare const de_GetProvisionedConcurrencyConfigCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; -/** - * deserializeAws_restJson1GetRuntimeManagementConfigCommand - */ -export declare const de_GetRuntimeManagementConfigCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; -/** - * deserializeAws_restJson1InvokeCommand - */ -export declare const de_InvokeCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; -/** - * deserializeAws_restJson1InvokeAsyncCommand - */ -export declare const de_InvokeAsyncCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; -/** - * deserializeAws_restJson1InvokeWithResponseStreamCommand - */ -export declare const de_InvokeWithResponseStreamCommand: (output: __HttpResponse, context: __SerdeContext & __EventStreamSerdeContext) => Promise; -/** - * deserializeAws_restJson1ListAliasesCommand - */ -export declare const de_ListAliasesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; -/** - * deserializeAws_restJson1ListCodeSigningConfigsCommand - */ -export declare const de_ListCodeSigningConfigsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; -/** - * deserializeAws_restJson1ListEventSourceMappingsCommand - */ -export declare const de_ListEventSourceMappingsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; -/** - * deserializeAws_restJson1ListFunctionEventInvokeConfigsCommand - */ -export declare const de_ListFunctionEventInvokeConfigsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; -/** - * deserializeAws_restJson1ListFunctionsCommand - */ -export declare const de_ListFunctionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; -/** - * deserializeAws_restJson1ListFunctionsByCodeSigningConfigCommand - */ -export declare const de_ListFunctionsByCodeSigningConfigCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; -/** - * deserializeAws_restJson1ListFunctionUrlConfigsCommand - */ -export declare const de_ListFunctionUrlConfigsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; -/** - * deserializeAws_restJson1ListLayersCommand - */ -export declare const de_ListLayersCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; -/** - * deserializeAws_restJson1ListLayerVersionsCommand - */ -export declare const de_ListLayerVersionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; -/** - * deserializeAws_restJson1ListProvisionedConcurrencyConfigsCommand - */ -export declare const de_ListProvisionedConcurrencyConfigsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; -/** - * deserializeAws_restJson1ListTagsCommand - */ -export declare const de_ListTagsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; -/** - * deserializeAws_restJson1ListVersionsByFunctionCommand - */ -export declare const de_ListVersionsByFunctionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; -/** - * deserializeAws_restJson1PublishLayerVersionCommand - */ -export declare const de_PublishLayerVersionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; -/** - * deserializeAws_restJson1PublishVersionCommand - */ -export declare const de_PublishVersionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; -/** - * deserializeAws_restJson1PutFunctionCodeSigningConfigCommand - */ -export declare const de_PutFunctionCodeSigningConfigCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; -/** - * deserializeAws_restJson1PutFunctionConcurrencyCommand - */ -export declare const de_PutFunctionConcurrencyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; -/** - * deserializeAws_restJson1PutFunctionEventInvokeConfigCommand - */ -export declare const de_PutFunctionEventInvokeConfigCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; -/** - * deserializeAws_restJson1PutProvisionedConcurrencyConfigCommand - */ -export declare const de_PutProvisionedConcurrencyConfigCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; -/** - * deserializeAws_restJson1PutRuntimeManagementConfigCommand - */ -export declare const de_PutRuntimeManagementConfigCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; -/** - * deserializeAws_restJson1RemoveLayerVersionPermissionCommand - */ -export declare const de_RemoveLayerVersionPermissionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; -/** - * deserializeAws_restJson1RemovePermissionCommand - */ -export declare const de_RemovePermissionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; -/** - * deserializeAws_restJson1TagResourceCommand - */ -export declare const de_TagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; -/** - * deserializeAws_restJson1UntagResourceCommand - */ -export declare const de_UntagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; -/** - * deserializeAws_restJson1UpdateAliasCommand - */ -export declare const de_UpdateAliasCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; -/** - * deserializeAws_restJson1UpdateCodeSigningConfigCommand - */ -export declare const de_UpdateCodeSigningConfigCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; -/** - * deserializeAws_restJson1UpdateEventSourceMappingCommand - */ -export declare const de_UpdateEventSourceMappingCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; -/** - * deserializeAws_restJson1UpdateFunctionCodeCommand - */ -export declare const de_UpdateFunctionCodeCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; -/** - * deserializeAws_restJson1UpdateFunctionConfigurationCommand - */ -export declare const de_UpdateFunctionConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; -/** - * deserializeAws_restJson1UpdateFunctionEventInvokeConfigCommand - */ -export declare const de_UpdateFunctionEventInvokeConfigCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; -/** - * deserializeAws_restJson1UpdateFunctionUrlConfigCommand - */ -export declare const de_UpdateFunctionUrlConfigCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/Lambda.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/Lambda.d.ts deleted file mode 100644 index d7da07f5..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/Lambda.d.ts +++ /dev/null @@ -1,1139 +0,0 @@ -import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types"; -import { - AddLayerVersionPermissionCommandInput, - AddLayerVersionPermissionCommandOutput, -} from "./commands/AddLayerVersionPermissionCommand"; -import { - AddPermissionCommandInput, - AddPermissionCommandOutput, -} from "./commands/AddPermissionCommand"; -import { - CreateAliasCommandInput, - CreateAliasCommandOutput, -} from "./commands/CreateAliasCommand"; -import { - CreateCodeSigningConfigCommandInput, - CreateCodeSigningConfigCommandOutput, -} from "./commands/CreateCodeSigningConfigCommand"; -import { - CreateEventSourceMappingCommandInput, - CreateEventSourceMappingCommandOutput, -} from "./commands/CreateEventSourceMappingCommand"; -import { - CreateFunctionCommandInput, - CreateFunctionCommandOutput, -} from "./commands/CreateFunctionCommand"; -import { - CreateFunctionUrlConfigCommandInput, - CreateFunctionUrlConfigCommandOutput, -} from "./commands/CreateFunctionUrlConfigCommand"; -import { - DeleteAliasCommandInput, - DeleteAliasCommandOutput, -} from "./commands/DeleteAliasCommand"; -import { - DeleteCodeSigningConfigCommandInput, - DeleteCodeSigningConfigCommandOutput, -} from "./commands/DeleteCodeSigningConfigCommand"; -import { - DeleteEventSourceMappingCommandInput, - DeleteEventSourceMappingCommandOutput, -} from "./commands/DeleteEventSourceMappingCommand"; -import { - DeleteFunctionCodeSigningConfigCommandInput, - DeleteFunctionCodeSigningConfigCommandOutput, -} from "./commands/DeleteFunctionCodeSigningConfigCommand"; -import { - DeleteFunctionCommandInput, - DeleteFunctionCommandOutput, -} from "./commands/DeleteFunctionCommand"; -import { - DeleteFunctionConcurrencyCommandInput, - DeleteFunctionConcurrencyCommandOutput, -} from "./commands/DeleteFunctionConcurrencyCommand"; -import { - DeleteFunctionEventInvokeConfigCommandInput, - DeleteFunctionEventInvokeConfigCommandOutput, -} from "./commands/DeleteFunctionEventInvokeConfigCommand"; -import { - DeleteFunctionUrlConfigCommandInput, - DeleteFunctionUrlConfigCommandOutput, -} from "./commands/DeleteFunctionUrlConfigCommand"; -import { - DeleteLayerVersionCommandInput, - DeleteLayerVersionCommandOutput, -} from "./commands/DeleteLayerVersionCommand"; -import { - DeleteProvisionedConcurrencyConfigCommandInput, - DeleteProvisionedConcurrencyConfigCommandOutput, -} from "./commands/DeleteProvisionedConcurrencyConfigCommand"; -import { - GetAccountSettingsCommandInput, - GetAccountSettingsCommandOutput, -} from "./commands/GetAccountSettingsCommand"; -import { - GetAliasCommandInput, - GetAliasCommandOutput, -} from "./commands/GetAliasCommand"; -import { - GetCodeSigningConfigCommandInput, - GetCodeSigningConfigCommandOutput, -} from "./commands/GetCodeSigningConfigCommand"; -import { - GetEventSourceMappingCommandInput, - GetEventSourceMappingCommandOutput, -} from "./commands/GetEventSourceMappingCommand"; -import { - GetFunctionCodeSigningConfigCommandInput, - GetFunctionCodeSigningConfigCommandOutput, -} from "./commands/GetFunctionCodeSigningConfigCommand"; -import { - GetFunctionCommandInput, - GetFunctionCommandOutput, -} from "./commands/GetFunctionCommand"; -import { - GetFunctionConcurrencyCommandInput, - GetFunctionConcurrencyCommandOutput, -} from "./commands/GetFunctionConcurrencyCommand"; -import { - GetFunctionConfigurationCommandInput, - GetFunctionConfigurationCommandOutput, -} from "./commands/GetFunctionConfigurationCommand"; -import { - GetFunctionEventInvokeConfigCommandInput, - GetFunctionEventInvokeConfigCommandOutput, -} from "./commands/GetFunctionEventInvokeConfigCommand"; -import { - GetFunctionUrlConfigCommandInput, - GetFunctionUrlConfigCommandOutput, -} from "./commands/GetFunctionUrlConfigCommand"; -import { - GetLayerVersionByArnCommandInput, - GetLayerVersionByArnCommandOutput, -} from "./commands/GetLayerVersionByArnCommand"; -import { - GetLayerVersionCommandInput, - GetLayerVersionCommandOutput, -} from "./commands/GetLayerVersionCommand"; -import { - GetLayerVersionPolicyCommandInput, - GetLayerVersionPolicyCommandOutput, -} from "./commands/GetLayerVersionPolicyCommand"; -import { - GetPolicyCommandInput, - GetPolicyCommandOutput, -} from "./commands/GetPolicyCommand"; -import { - GetProvisionedConcurrencyConfigCommandInput, - GetProvisionedConcurrencyConfigCommandOutput, -} from "./commands/GetProvisionedConcurrencyConfigCommand"; -import { - GetRuntimeManagementConfigCommandInput, - GetRuntimeManagementConfigCommandOutput, -} from "./commands/GetRuntimeManagementConfigCommand"; -import { - InvokeAsyncCommandInput, - InvokeAsyncCommandOutput, -} from "./commands/InvokeAsyncCommand"; -import { - InvokeCommandInput, - InvokeCommandOutput, -} from "./commands/InvokeCommand"; -import { - InvokeWithResponseStreamCommandInput, - InvokeWithResponseStreamCommandOutput, -} from "./commands/InvokeWithResponseStreamCommand"; -import { - ListAliasesCommandInput, - ListAliasesCommandOutput, -} from "./commands/ListAliasesCommand"; -import { - ListCodeSigningConfigsCommandInput, - ListCodeSigningConfigsCommandOutput, -} from "./commands/ListCodeSigningConfigsCommand"; -import { - ListEventSourceMappingsCommandInput, - ListEventSourceMappingsCommandOutput, -} from "./commands/ListEventSourceMappingsCommand"; -import { - ListFunctionEventInvokeConfigsCommandInput, - ListFunctionEventInvokeConfigsCommandOutput, -} from "./commands/ListFunctionEventInvokeConfigsCommand"; -import { - ListFunctionsByCodeSigningConfigCommandInput, - ListFunctionsByCodeSigningConfigCommandOutput, -} from "./commands/ListFunctionsByCodeSigningConfigCommand"; -import { - ListFunctionsCommandInput, - ListFunctionsCommandOutput, -} from "./commands/ListFunctionsCommand"; -import { - ListFunctionUrlConfigsCommandInput, - ListFunctionUrlConfigsCommandOutput, -} from "./commands/ListFunctionUrlConfigsCommand"; -import { - ListLayersCommandInput, - ListLayersCommandOutput, -} from "./commands/ListLayersCommand"; -import { - ListLayerVersionsCommandInput, - ListLayerVersionsCommandOutput, -} from "./commands/ListLayerVersionsCommand"; -import { - ListProvisionedConcurrencyConfigsCommandInput, - ListProvisionedConcurrencyConfigsCommandOutput, -} from "./commands/ListProvisionedConcurrencyConfigsCommand"; -import { - ListTagsCommandInput, - ListTagsCommandOutput, -} from "./commands/ListTagsCommand"; -import { - ListVersionsByFunctionCommandInput, - ListVersionsByFunctionCommandOutput, -} from "./commands/ListVersionsByFunctionCommand"; -import { - PublishLayerVersionCommandInput, - PublishLayerVersionCommandOutput, -} from "./commands/PublishLayerVersionCommand"; -import { - PublishVersionCommandInput, - PublishVersionCommandOutput, -} from "./commands/PublishVersionCommand"; -import { - PutFunctionCodeSigningConfigCommandInput, - PutFunctionCodeSigningConfigCommandOutput, -} from "./commands/PutFunctionCodeSigningConfigCommand"; -import { - PutFunctionConcurrencyCommandInput, - PutFunctionConcurrencyCommandOutput, -} from "./commands/PutFunctionConcurrencyCommand"; -import { - PutFunctionEventInvokeConfigCommandInput, - PutFunctionEventInvokeConfigCommandOutput, -} from "./commands/PutFunctionEventInvokeConfigCommand"; -import { - PutProvisionedConcurrencyConfigCommandInput, - PutProvisionedConcurrencyConfigCommandOutput, -} from "./commands/PutProvisionedConcurrencyConfigCommand"; -import { - PutRuntimeManagementConfigCommandInput, - PutRuntimeManagementConfigCommandOutput, -} from "./commands/PutRuntimeManagementConfigCommand"; -import { - RemoveLayerVersionPermissionCommandInput, - RemoveLayerVersionPermissionCommandOutput, -} from "./commands/RemoveLayerVersionPermissionCommand"; -import { - RemovePermissionCommandInput, - RemovePermissionCommandOutput, -} from "./commands/RemovePermissionCommand"; -import { - TagResourceCommandInput, - TagResourceCommandOutput, -} from "./commands/TagResourceCommand"; -import { - UntagResourceCommandInput, - UntagResourceCommandOutput, -} from "./commands/UntagResourceCommand"; -import { - UpdateAliasCommandInput, - UpdateAliasCommandOutput, -} from "./commands/UpdateAliasCommand"; -import { - UpdateCodeSigningConfigCommandInput, - UpdateCodeSigningConfigCommandOutput, -} from "./commands/UpdateCodeSigningConfigCommand"; -import { - UpdateEventSourceMappingCommandInput, - UpdateEventSourceMappingCommandOutput, -} from "./commands/UpdateEventSourceMappingCommand"; -import { - UpdateFunctionCodeCommandInput, - UpdateFunctionCodeCommandOutput, -} from "./commands/UpdateFunctionCodeCommand"; -import { - UpdateFunctionConfigurationCommandInput, - UpdateFunctionConfigurationCommandOutput, -} from "./commands/UpdateFunctionConfigurationCommand"; -import { - UpdateFunctionEventInvokeConfigCommandInput, - UpdateFunctionEventInvokeConfigCommandOutput, -} from "./commands/UpdateFunctionEventInvokeConfigCommand"; -import { - UpdateFunctionUrlConfigCommandInput, - UpdateFunctionUrlConfigCommandOutput, -} from "./commands/UpdateFunctionUrlConfigCommand"; -import { LambdaClient } from "./LambdaClient"; -export interface Lambda { - addLayerVersionPermission( - args: AddLayerVersionPermissionCommandInput, - options?: __HttpHandlerOptions - ): Promise; - addLayerVersionPermission( - args: AddLayerVersionPermissionCommandInput, - cb: (err: any, data?: AddLayerVersionPermissionCommandOutput) => void - ): void; - addLayerVersionPermission( - args: AddLayerVersionPermissionCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: AddLayerVersionPermissionCommandOutput) => void - ): void; - addPermission( - args: AddPermissionCommandInput, - options?: __HttpHandlerOptions - ): Promise; - addPermission( - args: AddPermissionCommandInput, - cb: (err: any, data?: AddPermissionCommandOutput) => void - ): void; - addPermission( - args: AddPermissionCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: AddPermissionCommandOutput) => void - ): void; - createAlias( - args: CreateAliasCommandInput, - options?: __HttpHandlerOptions - ): Promise; - createAlias( - args: CreateAliasCommandInput, - cb: (err: any, data?: CreateAliasCommandOutput) => void - ): void; - createAlias( - args: CreateAliasCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: CreateAliasCommandOutput) => void - ): void; - createCodeSigningConfig( - args: CreateCodeSigningConfigCommandInput, - options?: __HttpHandlerOptions - ): Promise; - createCodeSigningConfig( - args: CreateCodeSigningConfigCommandInput, - cb: (err: any, data?: CreateCodeSigningConfigCommandOutput) => void - ): void; - createCodeSigningConfig( - args: CreateCodeSigningConfigCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: CreateCodeSigningConfigCommandOutput) => void - ): void; - createEventSourceMapping( - args: CreateEventSourceMappingCommandInput, - options?: __HttpHandlerOptions - ): Promise; - createEventSourceMapping( - args: CreateEventSourceMappingCommandInput, - cb: (err: any, data?: CreateEventSourceMappingCommandOutput) => void - ): void; - createEventSourceMapping( - args: CreateEventSourceMappingCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: CreateEventSourceMappingCommandOutput) => void - ): void; - createFunction( - args: CreateFunctionCommandInput, - options?: __HttpHandlerOptions - ): Promise; - createFunction( - args: CreateFunctionCommandInput, - cb: (err: any, data?: CreateFunctionCommandOutput) => void - ): void; - createFunction( - args: CreateFunctionCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: CreateFunctionCommandOutput) => void - ): void; - createFunctionUrlConfig( - args: CreateFunctionUrlConfigCommandInput, - options?: __HttpHandlerOptions - ): Promise; - createFunctionUrlConfig( - args: CreateFunctionUrlConfigCommandInput, - cb: (err: any, data?: CreateFunctionUrlConfigCommandOutput) => void - ): void; - createFunctionUrlConfig( - args: CreateFunctionUrlConfigCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: CreateFunctionUrlConfigCommandOutput) => void - ): void; - deleteAlias( - args: DeleteAliasCommandInput, - options?: __HttpHandlerOptions - ): Promise; - deleteAlias( - args: DeleteAliasCommandInput, - cb: (err: any, data?: DeleteAliasCommandOutput) => void - ): void; - deleteAlias( - args: DeleteAliasCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: DeleteAliasCommandOutput) => void - ): void; - deleteCodeSigningConfig( - args: DeleteCodeSigningConfigCommandInput, - options?: __HttpHandlerOptions - ): Promise; - deleteCodeSigningConfig( - args: DeleteCodeSigningConfigCommandInput, - cb: (err: any, data?: DeleteCodeSigningConfigCommandOutput) => void - ): void; - deleteCodeSigningConfig( - args: DeleteCodeSigningConfigCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: DeleteCodeSigningConfigCommandOutput) => void - ): void; - deleteEventSourceMapping( - args: DeleteEventSourceMappingCommandInput, - options?: __HttpHandlerOptions - ): Promise; - deleteEventSourceMapping( - args: DeleteEventSourceMappingCommandInput, - cb: (err: any, data?: DeleteEventSourceMappingCommandOutput) => void - ): void; - deleteEventSourceMapping( - args: DeleteEventSourceMappingCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: DeleteEventSourceMappingCommandOutput) => void - ): void; - deleteFunction( - args: DeleteFunctionCommandInput, - options?: __HttpHandlerOptions - ): Promise; - deleteFunction( - args: DeleteFunctionCommandInput, - cb: (err: any, data?: DeleteFunctionCommandOutput) => void - ): void; - deleteFunction( - args: DeleteFunctionCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: DeleteFunctionCommandOutput) => void - ): void; - deleteFunctionCodeSigningConfig( - args: DeleteFunctionCodeSigningConfigCommandInput, - options?: __HttpHandlerOptions - ): Promise; - deleteFunctionCodeSigningConfig( - args: DeleteFunctionCodeSigningConfigCommandInput, - cb: (err: any, data?: DeleteFunctionCodeSigningConfigCommandOutput) => void - ): void; - deleteFunctionCodeSigningConfig( - args: DeleteFunctionCodeSigningConfigCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: DeleteFunctionCodeSigningConfigCommandOutput) => void - ): void; - deleteFunctionConcurrency( - args: DeleteFunctionConcurrencyCommandInput, - options?: __HttpHandlerOptions - ): Promise; - deleteFunctionConcurrency( - args: DeleteFunctionConcurrencyCommandInput, - cb: (err: any, data?: DeleteFunctionConcurrencyCommandOutput) => void - ): void; - deleteFunctionConcurrency( - args: DeleteFunctionConcurrencyCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: DeleteFunctionConcurrencyCommandOutput) => void - ): void; - deleteFunctionEventInvokeConfig( - args: DeleteFunctionEventInvokeConfigCommandInput, - options?: __HttpHandlerOptions - ): Promise; - deleteFunctionEventInvokeConfig( - args: DeleteFunctionEventInvokeConfigCommandInput, - cb: (err: any, data?: DeleteFunctionEventInvokeConfigCommandOutput) => void - ): void; - deleteFunctionEventInvokeConfig( - args: DeleteFunctionEventInvokeConfigCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: DeleteFunctionEventInvokeConfigCommandOutput) => void - ): void; - deleteFunctionUrlConfig( - args: DeleteFunctionUrlConfigCommandInput, - options?: __HttpHandlerOptions - ): Promise; - deleteFunctionUrlConfig( - args: DeleteFunctionUrlConfigCommandInput, - cb: (err: any, data?: DeleteFunctionUrlConfigCommandOutput) => void - ): void; - deleteFunctionUrlConfig( - args: DeleteFunctionUrlConfigCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: DeleteFunctionUrlConfigCommandOutput) => void - ): void; - deleteLayerVersion( - args: DeleteLayerVersionCommandInput, - options?: __HttpHandlerOptions - ): Promise; - deleteLayerVersion( - args: DeleteLayerVersionCommandInput, - cb: (err: any, data?: DeleteLayerVersionCommandOutput) => void - ): void; - deleteLayerVersion( - args: DeleteLayerVersionCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: DeleteLayerVersionCommandOutput) => void - ): void; - deleteProvisionedConcurrencyConfig( - args: DeleteProvisionedConcurrencyConfigCommandInput, - options?: __HttpHandlerOptions - ): Promise; - deleteProvisionedConcurrencyConfig( - args: DeleteProvisionedConcurrencyConfigCommandInput, - cb: ( - err: any, - data?: DeleteProvisionedConcurrencyConfigCommandOutput - ) => void - ): void; - deleteProvisionedConcurrencyConfig( - args: DeleteProvisionedConcurrencyConfigCommandInput, - options: __HttpHandlerOptions, - cb: ( - err: any, - data?: DeleteProvisionedConcurrencyConfigCommandOutput - ) => void - ): void; - getAccountSettings( - args: GetAccountSettingsCommandInput, - options?: __HttpHandlerOptions - ): Promise; - getAccountSettings( - args: GetAccountSettingsCommandInput, - cb: (err: any, data?: GetAccountSettingsCommandOutput) => void - ): void; - getAccountSettings( - args: GetAccountSettingsCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: GetAccountSettingsCommandOutput) => void - ): void; - getAlias( - args: GetAliasCommandInput, - options?: __HttpHandlerOptions - ): Promise; - getAlias( - args: GetAliasCommandInput, - cb: (err: any, data?: GetAliasCommandOutput) => void - ): void; - getAlias( - args: GetAliasCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: GetAliasCommandOutput) => void - ): void; - getCodeSigningConfig( - args: GetCodeSigningConfigCommandInput, - options?: __HttpHandlerOptions - ): Promise; - getCodeSigningConfig( - args: GetCodeSigningConfigCommandInput, - cb: (err: any, data?: GetCodeSigningConfigCommandOutput) => void - ): void; - getCodeSigningConfig( - args: GetCodeSigningConfigCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: GetCodeSigningConfigCommandOutput) => void - ): void; - getEventSourceMapping( - args: GetEventSourceMappingCommandInput, - options?: __HttpHandlerOptions - ): Promise; - getEventSourceMapping( - args: GetEventSourceMappingCommandInput, - cb: (err: any, data?: GetEventSourceMappingCommandOutput) => void - ): void; - getEventSourceMapping( - args: GetEventSourceMappingCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: GetEventSourceMappingCommandOutput) => void - ): void; - getFunction( - args: GetFunctionCommandInput, - options?: __HttpHandlerOptions - ): Promise; - getFunction( - args: GetFunctionCommandInput, - cb: (err: any, data?: GetFunctionCommandOutput) => void - ): void; - getFunction( - args: GetFunctionCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: GetFunctionCommandOutput) => void - ): void; - getFunctionCodeSigningConfig( - args: GetFunctionCodeSigningConfigCommandInput, - options?: __HttpHandlerOptions - ): Promise; - getFunctionCodeSigningConfig( - args: GetFunctionCodeSigningConfigCommandInput, - cb: (err: any, data?: GetFunctionCodeSigningConfigCommandOutput) => void - ): void; - getFunctionCodeSigningConfig( - args: GetFunctionCodeSigningConfigCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: GetFunctionCodeSigningConfigCommandOutput) => void - ): void; - getFunctionConcurrency( - args: GetFunctionConcurrencyCommandInput, - options?: __HttpHandlerOptions - ): Promise; - getFunctionConcurrency( - args: GetFunctionConcurrencyCommandInput, - cb: (err: any, data?: GetFunctionConcurrencyCommandOutput) => void - ): void; - getFunctionConcurrency( - args: GetFunctionConcurrencyCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: GetFunctionConcurrencyCommandOutput) => void - ): void; - getFunctionConfiguration( - args: GetFunctionConfigurationCommandInput, - options?: __HttpHandlerOptions - ): Promise; - getFunctionConfiguration( - args: GetFunctionConfigurationCommandInput, - cb: (err: any, data?: GetFunctionConfigurationCommandOutput) => void - ): void; - getFunctionConfiguration( - args: GetFunctionConfigurationCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: GetFunctionConfigurationCommandOutput) => void - ): void; - getFunctionEventInvokeConfig( - args: GetFunctionEventInvokeConfigCommandInput, - options?: __HttpHandlerOptions - ): Promise; - getFunctionEventInvokeConfig( - args: GetFunctionEventInvokeConfigCommandInput, - cb: (err: any, data?: GetFunctionEventInvokeConfigCommandOutput) => void - ): void; - getFunctionEventInvokeConfig( - args: GetFunctionEventInvokeConfigCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: GetFunctionEventInvokeConfigCommandOutput) => void - ): void; - getFunctionUrlConfig( - args: GetFunctionUrlConfigCommandInput, - options?: __HttpHandlerOptions - ): Promise; - getFunctionUrlConfig( - args: GetFunctionUrlConfigCommandInput, - cb: (err: any, data?: GetFunctionUrlConfigCommandOutput) => void - ): void; - getFunctionUrlConfig( - args: GetFunctionUrlConfigCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: GetFunctionUrlConfigCommandOutput) => void - ): void; - getLayerVersion( - args: GetLayerVersionCommandInput, - options?: __HttpHandlerOptions - ): Promise; - getLayerVersion( - args: GetLayerVersionCommandInput, - cb: (err: any, data?: GetLayerVersionCommandOutput) => void - ): void; - getLayerVersion( - args: GetLayerVersionCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: GetLayerVersionCommandOutput) => void - ): void; - getLayerVersionByArn( - args: GetLayerVersionByArnCommandInput, - options?: __HttpHandlerOptions - ): Promise; - getLayerVersionByArn( - args: GetLayerVersionByArnCommandInput, - cb: (err: any, data?: GetLayerVersionByArnCommandOutput) => void - ): void; - getLayerVersionByArn( - args: GetLayerVersionByArnCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: GetLayerVersionByArnCommandOutput) => void - ): void; - getLayerVersionPolicy( - args: GetLayerVersionPolicyCommandInput, - options?: __HttpHandlerOptions - ): Promise; - getLayerVersionPolicy( - args: GetLayerVersionPolicyCommandInput, - cb: (err: any, data?: GetLayerVersionPolicyCommandOutput) => void - ): void; - getLayerVersionPolicy( - args: GetLayerVersionPolicyCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: GetLayerVersionPolicyCommandOutput) => void - ): void; - getPolicy( - args: GetPolicyCommandInput, - options?: __HttpHandlerOptions - ): Promise; - getPolicy( - args: GetPolicyCommandInput, - cb: (err: any, data?: GetPolicyCommandOutput) => void - ): void; - getPolicy( - args: GetPolicyCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: GetPolicyCommandOutput) => void - ): void; - getProvisionedConcurrencyConfig( - args: GetProvisionedConcurrencyConfigCommandInput, - options?: __HttpHandlerOptions - ): Promise; - getProvisionedConcurrencyConfig( - args: GetProvisionedConcurrencyConfigCommandInput, - cb: (err: any, data?: GetProvisionedConcurrencyConfigCommandOutput) => void - ): void; - getProvisionedConcurrencyConfig( - args: GetProvisionedConcurrencyConfigCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: GetProvisionedConcurrencyConfigCommandOutput) => void - ): void; - getRuntimeManagementConfig( - args: GetRuntimeManagementConfigCommandInput, - options?: __HttpHandlerOptions - ): Promise; - getRuntimeManagementConfig( - args: GetRuntimeManagementConfigCommandInput, - cb: (err: any, data?: GetRuntimeManagementConfigCommandOutput) => void - ): void; - getRuntimeManagementConfig( - args: GetRuntimeManagementConfigCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: GetRuntimeManagementConfigCommandOutput) => void - ): void; - invoke( - args: InvokeCommandInput, - options?: __HttpHandlerOptions - ): Promise; - invoke( - args: InvokeCommandInput, - cb: (err: any, data?: InvokeCommandOutput) => void - ): void; - invoke( - args: InvokeCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: InvokeCommandOutput) => void - ): void; - invokeAsync( - args: InvokeAsyncCommandInput, - options?: __HttpHandlerOptions - ): Promise; - invokeAsync( - args: InvokeAsyncCommandInput, - cb: (err: any, data?: InvokeAsyncCommandOutput) => void - ): void; - invokeAsync( - args: InvokeAsyncCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: InvokeAsyncCommandOutput) => void - ): void; - invokeWithResponseStream( - args: InvokeWithResponseStreamCommandInput, - options?: __HttpHandlerOptions - ): Promise; - invokeWithResponseStream( - args: InvokeWithResponseStreamCommandInput, - cb: (err: any, data?: InvokeWithResponseStreamCommandOutput) => void - ): void; - invokeWithResponseStream( - args: InvokeWithResponseStreamCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: InvokeWithResponseStreamCommandOutput) => void - ): void; - listAliases( - args: ListAliasesCommandInput, - options?: __HttpHandlerOptions - ): Promise; - listAliases( - args: ListAliasesCommandInput, - cb: (err: any, data?: ListAliasesCommandOutput) => void - ): void; - listAliases( - args: ListAliasesCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: ListAliasesCommandOutput) => void - ): void; - listCodeSigningConfigs( - args: ListCodeSigningConfigsCommandInput, - options?: __HttpHandlerOptions - ): Promise; - listCodeSigningConfigs( - args: ListCodeSigningConfigsCommandInput, - cb: (err: any, data?: ListCodeSigningConfigsCommandOutput) => void - ): void; - listCodeSigningConfigs( - args: ListCodeSigningConfigsCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: ListCodeSigningConfigsCommandOutput) => void - ): void; - listEventSourceMappings( - args: ListEventSourceMappingsCommandInput, - options?: __HttpHandlerOptions - ): Promise; - listEventSourceMappings( - args: ListEventSourceMappingsCommandInput, - cb: (err: any, data?: ListEventSourceMappingsCommandOutput) => void - ): void; - listEventSourceMappings( - args: ListEventSourceMappingsCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: ListEventSourceMappingsCommandOutput) => void - ): void; - listFunctionEventInvokeConfigs( - args: ListFunctionEventInvokeConfigsCommandInput, - options?: __HttpHandlerOptions - ): Promise; - listFunctionEventInvokeConfigs( - args: ListFunctionEventInvokeConfigsCommandInput, - cb: (err: any, data?: ListFunctionEventInvokeConfigsCommandOutput) => void - ): void; - listFunctionEventInvokeConfigs( - args: ListFunctionEventInvokeConfigsCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: ListFunctionEventInvokeConfigsCommandOutput) => void - ): void; - listFunctions( - args: ListFunctionsCommandInput, - options?: __HttpHandlerOptions - ): Promise; - listFunctions( - args: ListFunctionsCommandInput, - cb: (err: any, data?: ListFunctionsCommandOutput) => void - ): void; - listFunctions( - args: ListFunctionsCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: ListFunctionsCommandOutput) => void - ): void; - listFunctionsByCodeSigningConfig( - args: ListFunctionsByCodeSigningConfigCommandInput, - options?: __HttpHandlerOptions - ): Promise; - listFunctionsByCodeSigningConfig( - args: ListFunctionsByCodeSigningConfigCommandInput, - cb: (err: any, data?: ListFunctionsByCodeSigningConfigCommandOutput) => void - ): void; - listFunctionsByCodeSigningConfig( - args: ListFunctionsByCodeSigningConfigCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: ListFunctionsByCodeSigningConfigCommandOutput) => void - ): void; - listFunctionUrlConfigs( - args: ListFunctionUrlConfigsCommandInput, - options?: __HttpHandlerOptions - ): Promise; - listFunctionUrlConfigs( - args: ListFunctionUrlConfigsCommandInput, - cb: (err: any, data?: ListFunctionUrlConfigsCommandOutput) => void - ): void; - listFunctionUrlConfigs( - args: ListFunctionUrlConfigsCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: ListFunctionUrlConfigsCommandOutput) => void - ): void; - listLayers( - args: ListLayersCommandInput, - options?: __HttpHandlerOptions - ): Promise; - listLayers( - args: ListLayersCommandInput, - cb: (err: any, data?: ListLayersCommandOutput) => void - ): void; - listLayers( - args: ListLayersCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: ListLayersCommandOutput) => void - ): void; - listLayerVersions( - args: ListLayerVersionsCommandInput, - options?: __HttpHandlerOptions - ): Promise; - listLayerVersions( - args: ListLayerVersionsCommandInput, - cb: (err: any, data?: ListLayerVersionsCommandOutput) => void - ): void; - listLayerVersions( - args: ListLayerVersionsCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: ListLayerVersionsCommandOutput) => void - ): void; - listProvisionedConcurrencyConfigs( - args: ListProvisionedConcurrencyConfigsCommandInput, - options?: __HttpHandlerOptions - ): Promise; - listProvisionedConcurrencyConfigs( - args: ListProvisionedConcurrencyConfigsCommandInput, - cb: ( - err: any, - data?: ListProvisionedConcurrencyConfigsCommandOutput - ) => void - ): void; - listProvisionedConcurrencyConfigs( - args: ListProvisionedConcurrencyConfigsCommandInput, - options: __HttpHandlerOptions, - cb: ( - err: any, - data?: ListProvisionedConcurrencyConfigsCommandOutput - ) => void - ): void; - listTags( - args: ListTagsCommandInput, - options?: __HttpHandlerOptions - ): Promise; - listTags( - args: ListTagsCommandInput, - cb: (err: any, data?: ListTagsCommandOutput) => void - ): void; - listTags( - args: ListTagsCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: ListTagsCommandOutput) => void - ): void; - listVersionsByFunction( - args: ListVersionsByFunctionCommandInput, - options?: __HttpHandlerOptions - ): Promise; - listVersionsByFunction( - args: ListVersionsByFunctionCommandInput, - cb: (err: any, data?: ListVersionsByFunctionCommandOutput) => void - ): void; - listVersionsByFunction( - args: ListVersionsByFunctionCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: ListVersionsByFunctionCommandOutput) => void - ): void; - publishLayerVersion( - args: PublishLayerVersionCommandInput, - options?: __HttpHandlerOptions - ): Promise; - publishLayerVersion( - args: PublishLayerVersionCommandInput, - cb: (err: any, data?: PublishLayerVersionCommandOutput) => void - ): void; - publishLayerVersion( - args: PublishLayerVersionCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: PublishLayerVersionCommandOutput) => void - ): void; - publishVersion( - args: PublishVersionCommandInput, - options?: __HttpHandlerOptions - ): Promise; - publishVersion( - args: PublishVersionCommandInput, - cb: (err: any, data?: PublishVersionCommandOutput) => void - ): void; - publishVersion( - args: PublishVersionCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: PublishVersionCommandOutput) => void - ): void; - putFunctionCodeSigningConfig( - args: PutFunctionCodeSigningConfigCommandInput, - options?: __HttpHandlerOptions - ): Promise; - putFunctionCodeSigningConfig( - args: PutFunctionCodeSigningConfigCommandInput, - cb: (err: any, data?: PutFunctionCodeSigningConfigCommandOutput) => void - ): void; - putFunctionCodeSigningConfig( - args: PutFunctionCodeSigningConfigCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: PutFunctionCodeSigningConfigCommandOutput) => void - ): void; - putFunctionConcurrency( - args: PutFunctionConcurrencyCommandInput, - options?: __HttpHandlerOptions - ): Promise; - putFunctionConcurrency( - args: PutFunctionConcurrencyCommandInput, - cb: (err: any, data?: PutFunctionConcurrencyCommandOutput) => void - ): void; - putFunctionConcurrency( - args: PutFunctionConcurrencyCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: PutFunctionConcurrencyCommandOutput) => void - ): void; - putFunctionEventInvokeConfig( - args: PutFunctionEventInvokeConfigCommandInput, - options?: __HttpHandlerOptions - ): Promise; - putFunctionEventInvokeConfig( - args: PutFunctionEventInvokeConfigCommandInput, - cb: (err: any, data?: PutFunctionEventInvokeConfigCommandOutput) => void - ): void; - putFunctionEventInvokeConfig( - args: PutFunctionEventInvokeConfigCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: PutFunctionEventInvokeConfigCommandOutput) => void - ): void; - putProvisionedConcurrencyConfig( - args: PutProvisionedConcurrencyConfigCommandInput, - options?: __HttpHandlerOptions - ): Promise; - putProvisionedConcurrencyConfig( - args: PutProvisionedConcurrencyConfigCommandInput, - cb: (err: any, data?: PutProvisionedConcurrencyConfigCommandOutput) => void - ): void; - putProvisionedConcurrencyConfig( - args: PutProvisionedConcurrencyConfigCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: PutProvisionedConcurrencyConfigCommandOutput) => void - ): void; - putRuntimeManagementConfig( - args: PutRuntimeManagementConfigCommandInput, - options?: __HttpHandlerOptions - ): Promise; - putRuntimeManagementConfig( - args: PutRuntimeManagementConfigCommandInput, - cb: (err: any, data?: PutRuntimeManagementConfigCommandOutput) => void - ): void; - putRuntimeManagementConfig( - args: PutRuntimeManagementConfigCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: PutRuntimeManagementConfigCommandOutput) => void - ): void; - removeLayerVersionPermission( - args: RemoveLayerVersionPermissionCommandInput, - options?: __HttpHandlerOptions - ): Promise; - removeLayerVersionPermission( - args: RemoveLayerVersionPermissionCommandInput, - cb: (err: any, data?: RemoveLayerVersionPermissionCommandOutput) => void - ): void; - removeLayerVersionPermission( - args: RemoveLayerVersionPermissionCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: RemoveLayerVersionPermissionCommandOutput) => void - ): void; - removePermission( - args: RemovePermissionCommandInput, - options?: __HttpHandlerOptions - ): Promise; - removePermission( - args: RemovePermissionCommandInput, - cb: (err: any, data?: RemovePermissionCommandOutput) => void - ): void; - removePermission( - args: RemovePermissionCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: RemovePermissionCommandOutput) => void - ): void; - tagResource( - args: TagResourceCommandInput, - options?: __HttpHandlerOptions - ): Promise; - tagResource( - args: TagResourceCommandInput, - cb: (err: any, data?: TagResourceCommandOutput) => void - ): void; - tagResource( - args: TagResourceCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: TagResourceCommandOutput) => void - ): void; - untagResource( - args: UntagResourceCommandInput, - options?: __HttpHandlerOptions - ): Promise; - untagResource( - args: UntagResourceCommandInput, - cb: (err: any, data?: UntagResourceCommandOutput) => void - ): void; - untagResource( - args: UntagResourceCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: UntagResourceCommandOutput) => void - ): void; - updateAlias( - args: UpdateAliasCommandInput, - options?: __HttpHandlerOptions - ): Promise; - updateAlias( - args: UpdateAliasCommandInput, - cb: (err: any, data?: UpdateAliasCommandOutput) => void - ): void; - updateAlias( - args: UpdateAliasCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: UpdateAliasCommandOutput) => void - ): void; - updateCodeSigningConfig( - args: UpdateCodeSigningConfigCommandInput, - options?: __HttpHandlerOptions - ): Promise; - updateCodeSigningConfig( - args: UpdateCodeSigningConfigCommandInput, - cb: (err: any, data?: UpdateCodeSigningConfigCommandOutput) => void - ): void; - updateCodeSigningConfig( - args: UpdateCodeSigningConfigCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: UpdateCodeSigningConfigCommandOutput) => void - ): void; - updateEventSourceMapping( - args: UpdateEventSourceMappingCommandInput, - options?: __HttpHandlerOptions - ): Promise; - updateEventSourceMapping( - args: UpdateEventSourceMappingCommandInput, - cb: (err: any, data?: UpdateEventSourceMappingCommandOutput) => void - ): void; - updateEventSourceMapping( - args: UpdateEventSourceMappingCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: UpdateEventSourceMappingCommandOutput) => void - ): void; - updateFunctionCode( - args: UpdateFunctionCodeCommandInput, - options?: __HttpHandlerOptions - ): Promise; - updateFunctionCode( - args: UpdateFunctionCodeCommandInput, - cb: (err: any, data?: UpdateFunctionCodeCommandOutput) => void - ): void; - updateFunctionCode( - args: UpdateFunctionCodeCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: UpdateFunctionCodeCommandOutput) => void - ): void; - updateFunctionConfiguration( - args: UpdateFunctionConfigurationCommandInput, - options?: __HttpHandlerOptions - ): Promise; - updateFunctionConfiguration( - args: UpdateFunctionConfigurationCommandInput, - cb: (err: any, data?: UpdateFunctionConfigurationCommandOutput) => void - ): void; - updateFunctionConfiguration( - args: UpdateFunctionConfigurationCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: UpdateFunctionConfigurationCommandOutput) => void - ): void; - updateFunctionEventInvokeConfig( - args: UpdateFunctionEventInvokeConfigCommandInput, - options?: __HttpHandlerOptions - ): Promise; - updateFunctionEventInvokeConfig( - args: UpdateFunctionEventInvokeConfigCommandInput, - cb: (err: any, data?: UpdateFunctionEventInvokeConfigCommandOutput) => void - ): void; - updateFunctionEventInvokeConfig( - args: UpdateFunctionEventInvokeConfigCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: UpdateFunctionEventInvokeConfigCommandOutput) => void - ): void; - updateFunctionUrlConfig( - args: UpdateFunctionUrlConfigCommandInput, - options?: __HttpHandlerOptions - ): Promise; - updateFunctionUrlConfig( - args: UpdateFunctionUrlConfigCommandInput, - cb: (err: any, data?: UpdateFunctionUrlConfigCommandOutput) => void - ): void; - updateFunctionUrlConfig( - args: UpdateFunctionUrlConfigCommandInput, - options: __HttpHandlerOptions, - cb: (err: any, data?: UpdateFunctionUrlConfigCommandOutput) => void - ): void; -} -export declare class Lambda extends LambdaClient implements Lambda {} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/LambdaClient.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/LambdaClient.d.ts deleted file mode 100644 index c9a18e9b..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/LambdaClient.d.ts +++ /dev/null @@ -1,522 +0,0 @@ -import { - HostHeaderInputConfig, - HostHeaderResolvedConfig, -} from "@aws-sdk/middleware-host-header"; -import { - AwsAuthInputConfig, - AwsAuthResolvedConfig, -} from "@aws-sdk/middleware-signing"; -import { - UserAgentInputConfig, - UserAgentResolvedConfig, -} from "@aws-sdk/middleware-user-agent"; -import { Credentials as __Credentials } from "@aws-sdk/types"; -import { - RegionInputConfig, - RegionResolvedConfig, -} from "@smithy/config-resolver"; -import { - EventStreamSerdeInputConfig, - EventStreamSerdeResolvedConfig, -} from "@smithy/eventstream-serde-config-resolver"; -import { - EndpointInputConfig, - EndpointResolvedConfig, -} from "@smithy/middleware-endpoint"; -import { - RetryInputConfig, - RetryResolvedConfig, -} from "@smithy/middleware-retry"; -import { HttpHandler as __HttpHandler } from "@smithy/protocol-http"; -import { - Client as __Client, - DefaultsMode as __DefaultsMode, - SmithyConfiguration as __SmithyConfiguration, - SmithyResolvedConfiguration as __SmithyResolvedConfiguration, -} from "@smithy/smithy-client"; -import { - BodyLengthCalculator as __BodyLengthCalculator, - CheckOptionalClientConfig as __CheckOptionalClientConfig, - ChecksumConstructor as __ChecksumConstructor, - Decoder as __Decoder, - Encoder as __Encoder, - EventStreamSerdeProvider as __EventStreamSerdeProvider, - HashConstructor as __HashConstructor, - HttpHandlerOptions as __HttpHandlerOptions, - Logger as __Logger, - Provider as __Provider, - Provider, - StreamCollector as __StreamCollector, - UrlParser as __UrlParser, - UserAgent as __UserAgent, -} from "@smithy/types"; -import { - AddLayerVersionPermissionCommandInput, - AddLayerVersionPermissionCommandOutput, -} from "./commands/AddLayerVersionPermissionCommand"; -import { - AddPermissionCommandInput, - AddPermissionCommandOutput, -} from "./commands/AddPermissionCommand"; -import { - CreateAliasCommandInput, - CreateAliasCommandOutput, -} from "./commands/CreateAliasCommand"; -import { - CreateCodeSigningConfigCommandInput, - CreateCodeSigningConfigCommandOutput, -} from "./commands/CreateCodeSigningConfigCommand"; -import { - CreateEventSourceMappingCommandInput, - CreateEventSourceMappingCommandOutput, -} from "./commands/CreateEventSourceMappingCommand"; -import { - CreateFunctionCommandInput, - CreateFunctionCommandOutput, -} from "./commands/CreateFunctionCommand"; -import { - CreateFunctionUrlConfigCommandInput, - CreateFunctionUrlConfigCommandOutput, -} from "./commands/CreateFunctionUrlConfigCommand"; -import { - DeleteAliasCommandInput, - DeleteAliasCommandOutput, -} from "./commands/DeleteAliasCommand"; -import { - DeleteCodeSigningConfigCommandInput, - DeleteCodeSigningConfigCommandOutput, -} from "./commands/DeleteCodeSigningConfigCommand"; -import { - DeleteEventSourceMappingCommandInput, - DeleteEventSourceMappingCommandOutput, -} from "./commands/DeleteEventSourceMappingCommand"; -import { - DeleteFunctionCodeSigningConfigCommandInput, - DeleteFunctionCodeSigningConfigCommandOutput, -} from "./commands/DeleteFunctionCodeSigningConfigCommand"; -import { - DeleteFunctionCommandInput, - DeleteFunctionCommandOutput, -} from "./commands/DeleteFunctionCommand"; -import { - DeleteFunctionConcurrencyCommandInput, - DeleteFunctionConcurrencyCommandOutput, -} from "./commands/DeleteFunctionConcurrencyCommand"; -import { - DeleteFunctionEventInvokeConfigCommandInput, - DeleteFunctionEventInvokeConfigCommandOutput, -} from "./commands/DeleteFunctionEventInvokeConfigCommand"; -import { - DeleteFunctionUrlConfigCommandInput, - DeleteFunctionUrlConfigCommandOutput, -} from "./commands/DeleteFunctionUrlConfigCommand"; -import { - DeleteLayerVersionCommandInput, - DeleteLayerVersionCommandOutput, -} from "./commands/DeleteLayerVersionCommand"; -import { - DeleteProvisionedConcurrencyConfigCommandInput, - DeleteProvisionedConcurrencyConfigCommandOutput, -} from "./commands/DeleteProvisionedConcurrencyConfigCommand"; -import { - GetAccountSettingsCommandInput, - GetAccountSettingsCommandOutput, -} from "./commands/GetAccountSettingsCommand"; -import { - GetAliasCommandInput, - GetAliasCommandOutput, -} from "./commands/GetAliasCommand"; -import { - GetCodeSigningConfigCommandInput, - GetCodeSigningConfigCommandOutput, -} from "./commands/GetCodeSigningConfigCommand"; -import { - GetEventSourceMappingCommandInput, - GetEventSourceMappingCommandOutput, -} from "./commands/GetEventSourceMappingCommand"; -import { - GetFunctionCodeSigningConfigCommandInput, - GetFunctionCodeSigningConfigCommandOutput, -} from "./commands/GetFunctionCodeSigningConfigCommand"; -import { - GetFunctionCommandInput, - GetFunctionCommandOutput, -} from "./commands/GetFunctionCommand"; -import { - GetFunctionConcurrencyCommandInput, - GetFunctionConcurrencyCommandOutput, -} from "./commands/GetFunctionConcurrencyCommand"; -import { - GetFunctionConfigurationCommandInput, - GetFunctionConfigurationCommandOutput, -} from "./commands/GetFunctionConfigurationCommand"; -import { - GetFunctionEventInvokeConfigCommandInput, - GetFunctionEventInvokeConfigCommandOutput, -} from "./commands/GetFunctionEventInvokeConfigCommand"; -import { - GetFunctionUrlConfigCommandInput, - GetFunctionUrlConfigCommandOutput, -} from "./commands/GetFunctionUrlConfigCommand"; -import { - GetLayerVersionByArnCommandInput, - GetLayerVersionByArnCommandOutput, -} from "./commands/GetLayerVersionByArnCommand"; -import { - GetLayerVersionCommandInput, - GetLayerVersionCommandOutput, -} from "./commands/GetLayerVersionCommand"; -import { - GetLayerVersionPolicyCommandInput, - GetLayerVersionPolicyCommandOutput, -} from "./commands/GetLayerVersionPolicyCommand"; -import { - GetPolicyCommandInput, - GetPolicyCommandOutput, -} from "./commands/GetPolicyCommand"; -import { - GetProvisionedConcurrencyConfigCommandInput, - GetProvisionedConcurrencyConfigCommandOutput, -} from "./commands/GetProvisionedConcurrencyConfigCommand"; -import { - GetRuntimeManagementConfigCommandInput, - GetRuntimeManagementConfigCommandOutput, -} from "./commands/GetRuntimeManagementConfigCommand"; -import { - InvokeAsyncCommandInput, - InvokeAsyncCommandOutput, -} from "./commands/InvokeAsyncCommand"; -import { - InvokeCommandInput, - InvokeCommandOutput, -} from "./commands/InvokeCommand"; -import { - InvokeWithResponseStreamCommandInput, - InvokeWithResponseStreamCommandOutput, -} from "./commands/InvokeWithResponseStreamCommand"; -import { - ListAliasesCommandInput, - ListAliasesCommandOutput, -} from "./commands/ListAliasesCommand"; -import { - ListCodeSigningConfigsCommandInput, - ListCodeSigningConfigsCommandOutput, -} from "./commands/ListCodeSigningConfigsCommand"; -import { - ListEventSourceMappingsCommandInput, - ListEventSourceMappingsCommandOutput, -} from "./commands/ListEventSourceMappingsCommand"; -import { - ListFunctionEventInvokeConfigsCommandInput, - ListFunctionEventInvokeConfigsCommandOutput, -} from "./commands/ListFunctionEventInvokeConfigsCommand"; -import { - ListFunctionsByCodeSigningConfigCommandInput, - ListFunctionsByCodeSigningConfigCommandOutput, -} from "./commands/ListFunctionsByCodeSigningConfigCommand"; -import { - ListFunctionsCommandInput, - ListFunctionsCommandOutput, -} from "./commands/ListFunctionsCommand"; -import { - ListFunctionUrlConfigsCommandInput, - ListFunctionUrlConfigsCommandOutput, -} from "./commands/ListFunctionUrlConfigsCommand"; -import { - ListLayersCommandInput, - ListLayersCommandOutput, -} from "./commands/ListLayersCommand"; -import { - ListLayerVersionsCommandInput, - ListLayerVersionsCommandOutput, -} from "./commands/ListLayerVersionsCommand"; -import { - ListProvisionedConcurrencyConfigsCommandInput, - ListProvisionedConcurrencyConfigsCommandOutput, -} from "./commands/ListProvisionedConcurrencyConfigsCommand"; -import { - ListTagsCommandInput, - ListTagsCommandOutput, -} from "./commands/ListTagsCommand"; -import { - ListVersionsByFunctionCommandInput, - ListVersionsByFunctionCommandOutput, -} from "./commands/ListVersionsByFunctionCommand"; -import { - PublishLayerVersionCommandInput, - PublishLayerVersionCommandOutput, -} from "./commands/PublishLayerVersionCommand"; -import { - PublishVersionCommandInput, - PublishVersionCommandOutput, -} from "./commands/PublishVersionCommand"; -import { - PutFunctionCodeSigningConfigCommandInput, - PutFunctionCodeSigningConfigCommandOutput, -} from "./commands/PutFunctionCodeSigningConfigCommand"; -import { - PutFunctionConcurrencyCommandInput, - PutFunctionConcurrencyCommandOutput, -} from "./commands/PutFunctionConcurrencyCommand"; -import { - PutFunctionEventInvokeConfigCommandInput, - PutFunctionEventInvokeConfigCommandOutput, -} from "./commands/PutFunctionEventInvokeConfigCommand"; -import { - PutProvisionedConcurrencyConfigCommandInput, - PutProvisionedConcurrencyConfigCommandOutput, -} from "./commands/PutProvisionedConcurrencyConfigCommand"; -import { - PutRuntimeManagementConfigCommandInput, - PutRuntimeManagementConfigCommandOutput, -} from "./commands/PutRuntimeManagementConfigCommand"; -import { - RemoveLayerVersionPermissionCommandInput, - RemoveLayerVersionPermissionCommandOutput, -} from "./commands/RemoveLayerVersionPermissionCommand"; -import { - RemovePermissionCommandInput, - RemovePermissionCommandOutput, -} from "./commands/RemovePermissionCommand"; -import { - TagResourceCommandInput, - TagResourceCommandOutput, -} from "./commands/TagResourceCommand"; -import { - UntagResourceCommandInput, - UntagResourceCommandOutput, -} from "./commands/UntagResourceCommand"; -import { - UpdateAliasCommandInput, - UpdateAliasCommandOutput, -} from "./commands/UpdateAliasCommand"; -import { - UpdateCodeSigningConfigCommandInput, - UpdateCodeSigningConfigCommandOutput, -} from "./commands/UpdateCodeSigningConfigCommand"; -import { - UpdateEventSourceMappingCommandInput, - UpdateEventSourceMappingCommandOutput, -} from "./commands/UpdateEventSourceMappingCommand"; -import { - UpdateFunctionCodeCommandInput, - UpdateFunctionCodeCommandOutput, -} from "./commands/UpdateFunctionCodeCommand"; -import { - UpdateFunctionConfigurationCommandInput, - UpdateFunctionConfigurationCommandOutput, -} from "./commands/UpdateFunctionConfigurationCommand"; -import { - UpdateFunctionEventInvokeConfigCommandInput, - UpdateFunctionEventInvokeConfigCommandOutput, -} from "./commands/UpdateFunctionEventInvokeConfigCommand"; -import { - UpdateFunctionUrlConfigCommandInput, - UpdateFunctionUrlConfigCommandOutput, -} from "./commands/UpdateFunctionUrlConfigCommand"; -import { - ClientInputEndpointParameters, - ClientResolvedEndpointParameters, - EndpointParameters, -} from "./endpoint/EndpointParameters"; -import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions"; -export { __Client }; -export type ServiceInputTypes = - | AddLayerVersionPermissionCommandInput - | AddPermissionCommandInput - | CreateAliasCommandInput - | CreateCodeSigningConfigCommandInput - | CreateEventSourceMappingCommandInput - | CreateFunctionCommandInput - | CreateFunctionUrlConfigCommandInput - | DeleteAliasCommandInput - | DeleteCodeSigningConfigCommandInput - | DeleteEventSourceMappingCommandInput - | DeleteFunctionCodeSigningConfigCommandInput - | DeleteFunctionCommandInput - | DeleteFunctionConcurrencyCommandInput - | DeleteFunctionEventInvokeConfigCommandInput - | DeleteFunctionUrlConfigCommandInput - | DeleteLayerVersionCommandInput - | DeleteProvisionedConcurrencyConfigCommandInput - | GetAccountSettingsCommandInput - | GetAliasCommandInput - | GetCodeSigningConfigCommandInput - | GetEventSourceMappingCommandInput - | GetFunctionCodeSigningConfigCommandInput - | GetFunctionCommandInput - | GetFunctionConcurrencyCommandInput - | GetFunctionConfigurationCommandInput - | GetFunctionEventInvokeConfigCommandInput - | GetFunctionUrlConfigCommandInput - | GetLayerVersionByArnCommandInput - | GetLayerVersionCommandInput - | GetLayerVersionPolicyCommandInput - | GetPolicyCommandInput - | GetProvisionedConcurrencyConfigCommandInput - | GetRuntimeManagementConfigCommandInput - | InvokeAsyncCommandInput - | InvokeCommandInput - | InvokeWithResponseStreamCommandInput - | ListAliasesCommandInput - | ListCodeSigningConfigsCommandInput - | ListEventSourceMappingsCommandInput - | ListFunctionEventInvokeConfigsCommandInput - | ListFunctionUrlConfigsCommandInput - | ListFunctionsByCodeSigningConfigCommandInput - | ListFunctionsCommandInput - | ListLayerVersionsCommandInput - | ListLayersCommandInput - | ListProvisionedConcurrencyConfigsCommandInput - | ListTagsCommandInput - | ListVersionsByFunctionCommandInput - | PublishLayerVersionCommandInput - | PublishVersionCommandInput - | PutFunctionCodeSigningConfigCommandInput - | PutFunctionConcurrencyCommandInput - | PutFunctionEventInvokeConfigCommandInput - | PutProvisionedConcurrencyConfigCommandInput - | PutRuntimeManagementConfigCommandInput - | RemoveLayerVersionPermissionCommandInput - | RemovePermissionCommandInput - | TagResourceCommandInput - | UntagResourceCommandInput - | UpdateAliasCommandInput - | UpdateCodeSigningConfigCommandInput - | UpdateEventSourceMappingCommandInput - | UpdateFunctionCodeCommandInput - | UpdateFunctionConfigurationCommandInput - | UpdateFunctionEventInvokeConfigCommandInput - | UpdateFunctionUrlConfigCommandInput; -export type ServiceOutputTypes = - | AddLayerVersionPermissionCommandOutput - | AddPermissionCommandOutput - | CreateAliasCommandOutput - | CreateCodeSigningConfigCommandOutput - | CreateEventSourceMappingCommandOutput - | CreateFunctionCommandOutput - | CreateFunctionUrlConfigCommandOutput - | DeleteAliasCommandOutput - | DeleteCodeSigningConfigCommandOutput - | DeleteEventSourceMappingCommandOutput - | DeleteFunctionCodeSigningConfigCommandOutput - | DeleteFunctionCommandOutput - | DeleteFunctionConcurrencyCommandOutput - | DeleteFunctionEventInvokeConfigCommandOutput - | DeleteFunctionUrlConfigCommandOutput - | DeleteLayerVersionCommandOutput - | DeleteProvisionedConcurrencyConfigCommandOutput - | GetAccountSettingsCommandOutput - | GetAliasCommandOutput - | GetCodeSigningConfigCommandOutput - | GetEventSourceMappingCommandOutput - | GetFunctionCodeSigningConfigCommandOutput - | GetFunctionCommandOutput - | GetFunctionConcurrencyCommandOutput - | GetFunctionConfigurationCommandOutput - | GetFunctionEventInvokeConfigCommandOutput - | GetFunctionUrlConfigCommandOutput - | GetLayerVersionByArnCommandOutput - | GetLayerVersionCommandOutput - | GetLayerVersionPolicyCommandOutput - | GetPolicyCommandOutput - | GetProvisionedConcurrencyConfigCommandOutput - | GetRuntimeManagementConfigCommandOutput - | InvokeAsyncCommandOutput - | InvokeCommandOutput - | InvokeWithResponseStreamCommandOutput - | ListAliasesCommandOutput - | ListCodeSigningConfigsCommandOutput - | ListEventSourceMappingsCommandOutput - | ListFunctionEventInvokeConfigsCommandOutput - | ListFunctionUrlConfigsCommandOutput - | ListFunctionsByCodeSigningConfigCommandOutput - | ListFunctionsCommandOutput - | ListLayerVersionsCommandOutput - | ListLayersCommandOutput - | ListProvisionedConcurrencyConfigsCommandOutput - | ListTagsCommandOutput - | ListVersionsByFunctionCommandOutput - | PublishLayerVersionCommandOutput - | PublishVersionCommandOutput - | PutFunctionCodeSigningConfigCommandOutput - | PutFunctionConcurrencyCommandOutput - | PutFunctionEventInvokeConfigCommandOutput - | PutProvisionedConcurrencyConfigCommandOutput - | PutRuntimeManagementConfigCommandOutput - | RemoveLayerVersionPermissionCommandOutput - | RemovePermissionCommandOutput - | TagResourceCommandOutput - | UntagResourceCommandOutput - | UpdateAliasCommandOutput - | UpdateCodeSigningConfigCommandOutput - | UpdateEventSourceMappingCommandOutput - | UpdateFunctionCodeCommandOutput - | UpdateFunctionConfigurationCommandOutput - | UpdateFunctionEventInvokeConfigCommandOutput - | UpdateFunctionUrlConfigCommandOutput; -export interface ClientDefaults - extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> { - requestHandler?: __HttpHandler; - sha256?: __ChecksumConstructor | __HashConstructor; - urlParser?: __UrlParser; - bodyLengthChecker?: __BodyLengthCalculator; - streamCollector?: __StreamCollector; - base64Decoder?: __Decoder; - base64Encoder?: __Encoder; - utf8Decoder?: __Decoder; - utf8Encoder?: __Encoder; - runtime?: string; - disableHostPrefix?: boolean; - serviceId?: string; - useDualstackEndpoint?: boolean | __Provider; - useFipsEndpoint?: boolean | __Provider; - region?: string | __Provider; - credentialDefaultProvider?: (input: any) => __Provider<__Credentials>; - defaultUserAgentProvider?: Provider<__UserAgent>; - maxAttempts?: number | __Provider; - retryMode?: string | __Provider; - logger?: __Logger; - extensions?: RuntimeExtension[]; - eventStreamSerdeProvider?: __EventStreamSerdeProvider; - defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>; -} -export type LambdaClientConfigType = Partial< - __SmithyConfiguration<__HttpHandlerOptions> -> & - ClientDefaults & - RegionInputConfig & - EndpointInputConfig & - RetryInputConfig & - HostHeaderInputConfig & - AwsAuthInputConfig & - UserAgentInputConfig & - EventStreamSerdeInputConfig & - ClientInputEndpointParameters; -export interface LambdaClientConfig extends LambdaClientConfigType {} -export type LambdaClientResolvedConfigType = - __SmithyResolvedConfiguration<__HttpHandlerOptions> & - Required & - RuntimeExtensionsConfig & - RegionResolvedConfig & - EndpointResolvedConfig & - RetryResolvedConfig & - HostHeaderResolvedConfig & - AwsAuthResolvedConfig & - UserAgentResolvedConfig & - EventStreamSerdeResolvedConfig & - ClientResolvedEndpointParameters; -export interface LambdaClientResolvedConfig - extends LambdaClientResolvedConfigType {} -export declare class LambdaClient extends __Client< - __HttpHandlerOptions, - ServiceInputTypes, - ServiceOutputTypes, - LambdaClientResolvedConfig -> { - readonly config: LambdaClientResolvedConfig; - constructor( - ...[configuration]: __CheckOptionalClientConfig - ); - destroy(): void; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/AddLayerVersionPermissionCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/AddLayerVersionPermissionCommand.d.ts deleted file mode 100644 index b100a017..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/AddLayerVersionPermissionCommand.d.ts +++ /dev/null @@ -1,42 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { - Handler, - HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer, - MiddlewareStack, -} from "@smithy/types"; -import { - LambdaClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../LambdaClient"; -import { - AddLayerVersionPermissionRequest, - AddLayerVersionPermissionResponse, -} from "../models/models_0"; -export { __MetadataBearer, $Command }; -export interface AddLayerVersionPermissionCommandInput - extends AddLayerVersionPermissionRequest {} -export interface AddLayerVersionPermissionCommandOutput - extends AddLayerVersionPermissionResponse, - __MetadataBearer {} -export declare class AddLayerVersionPermissionCommand extends $Command< - AddLayerVersionPermissionCommandInput, - AddLayerVersionPermissionCommandOutput, - LambdaClientResolvedConfig -> { - readonly input: AddLayerVersionPermissionCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - constructor(input: AddLayerVersionPermissionCommandInput); - resolveMiddleware( - clientStack: MiddlewareStack, - configuration: LambdaClientResolvedConfig, - options?: __HttpHandlerOptions - ): Handler< - AddLayerVersionPermissionCommandInput, - AddLayerVersionPermissionCommandOutput - >; - private serialize; - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/CreateCodeSigningConfigCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/CreateCodeSigningConfigCommand.d.ts deleted file mode 100644 index 51ba40e1..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/CreateCodeSigningConfigCommand.d.ts +++ /dev/null @@ -1,42 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { - Handler, - HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer, - MiddlewareStack, -} from "@smithy/types"; -import { - LambdaClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../LambdaClient"; -import { - CreateCodeSigningConfigRequest, - CreateCodeSigningConfigResponse, -} from "../models/models_0"; -export { __MetadataBearer, $Command }; -export interface CreateCodeSigningConfigCommandInput - extends CreateCodeSigningConfigRequest {} -export interface CreateCodeSigningConfigCommandOutput - extends CreateCodeSigningConfigResponse, - __MetadataBearer {} -export declare class CreateCodeSigningConfigCommand extends $Command< - CreateCodeSigningConfigCommandInput, - CreateCodeSigningConfigCommandOutput, - LambdaClientResolvedConfig -> { - readonly input: CreateCodeSigningConfigCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - constructor(input: CreateCodeSigningConfigCommandInput); - resolveMiddleware( - clientStack: MiddlewareStack, - configuration: LambdaClientResolvedConfig, - options?: __HttpHandlerOptions - ): Handler< - CreateCodeSigningConfigCommandInput, - CreateCodeSigningConfigCommandOutput - >; - private serialize; - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/CreateEventSourceMappingCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/CreateEventSourceMappingCommand.d.ts deleted file mode 100644 index 172059eb..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/CreateEventSourceMappingCommand.d.ts +++ /dev/null @@ -1,42 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { - Handler, - HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer, - MiddlewareStack, -} from "@smithy/types"; -import { - LambdaClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../LambdaClient"; -import { - CreateEventSourceMappingRequest, - EventSourceMappingConfiguration, -} from "../models/models_0"; -export { __MetadataBearer, $Command }; -export interface CreateEventSourceMappingCommandInput - extends CreateEventSourceMappingRequest {} -export interface CreateEventSourceMappingCommandOutput - extends EventSourceMappingConfiguration, - __MetadataBearer {} -export declare class CreateEventSourceMappingCommand extends $Command< - CreateEventSourceMappingCommandInput, - CreateEventSourceMappingCommandOutput, - LambdaClientResolvedConfig -> { - readonly input: CreateEventSourceMappingCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - constructor(input: CreateEventSourceMappingCommandInput); - resolveMiddleware( - clientStack: MiddlewareStack, - configuration: LambdaClientResolvedConfig, - options?: __HttpHandlerOptions - ): Handler< - CreateEventSourceMappingCommandInput, - CreateEventSourceMappingCommandOutput - >; - private serialize; - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/CreateFunctionUrlConfigCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/CreateFunctionUrlConfigCommand.d.ts deleted file mode 100644 index 8f7764de..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/CreateFunctionUrlConfigCommand.d.ts +++ /dev/null @@ -1,42 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { - Handler, - HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer, - MiddlewareStack, -} from "@smithy/types"; -import { - LambdaClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../LambdaClient"; -import { - CreateFunctionUrlConfigRequest, - CreateFunctionUrlConfigResponse, -} from "../models/models_0"; -export { __MetadataBearer, $Command }; -export interface CreateFunctionUrlConfigCommandInput - extends CreateFunctionUrlConfigRequest {} -export interface CreateFunctionUrlConfigCommandOutput - extends CreateFunctionUrlConfigResponse, - __MetadataBearer {} -export declare class CreateFunctionUrlConfigCommand extends $Command< - CreateFunctionUrlConfigCommandInput, - CreateFunctionUrlConfigCommandOutput, - LambdaClientResolvedConfig -> { - readonly input: CreateFunctionUrlConfigCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - constructor(input: CreateFunctionUrlConfigCommandInput); - resolveMiddleware( - clientStack: MiddlewareStack, - configuration: LambdaClientResolvedConfig, - options?: __HttpHandlerOptions - ): Handler< - CreateFunctionUrlConfigCommandInput, - CreateFunctionUrlConfigCommandOutput - >; - private serialize; - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/DeleteAliasCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/DeleteAliasCommand.d.ts deleted file mode 100644 index a68f3f10..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/DeleteAliasCommand.d.ts +++ /dev/null @@ -1,33 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { - Handler, - HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer, - MiddlewareStack, -} from "@smithy/types"; -import { - LambdaClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../LambdaClient"; -import { DeleteAliasRequest } from "../models/models_0"; -export { __MetadataBearer, $Command }; -export interface DeleteAliasCommandInput extends DeleteAliasRequest {} -export interface DeleteAliasCommandOutput extends __MetadataBearer {} -export declare class DeleteAliasCommand extends $Command< - DeleteAliasCommandInput, - DeleteAliasCommandOutput, - LambdaClientResolvedConfig -> { - readonly input: DeleteAliasCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - constructor(input: DeleteAliasCommandInput); - resolveMiddleware( - clientStack: MiddlewareStack, - configuration: LambdaClientResolvedConfig, - options?: __HttpHandlerOptions - ): Handler; - private serialize; - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/DeleteCodeSigningConfigCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/DeleteCodeSigningConfigCommand.d.ts deleted file mode 100644 index 0889b649..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/DeleteCodeSigningConfigCommand.d.ts +++ /dev/null @@ -1,42 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { - Handler, - HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer, - MiddlewareStack, -} from "@smithy/types"; -import { - LambdaClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../LambdaClient"; -import { - DeleteCodeSigningConfigRequest, - DeleteCodeSigningConfigResponse, -} from "../models/models_0"; -export { __MetadataBearer, $Command }; -export interface DeleteCodeSigningConfigCommandInput - extends DeleteCodeSigningConfigRequest {} -export interface DeleteCodeSigningConfigCommandOutput - extends DeleteCodeSigningConfigResponse, - __MetadataBearer {} -export declare class DeleteCodeSigningConfigCommand extends $Command< - DeleteCodeSigningConfigCommandInput, - DeleteCodeSigningConfigCommandOutput, - LambdaClientResolvedConfig -> { - readonly input: DeleteCodeSigningConfigCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - constructor(input: DeleteCodeSigningConfigCommandInput); - resolveMiddleware( - clientStack: MiddlewareStack, - configuration: LambdaClientResolvedConfig, - options?: __HttpHandlerOptions - ): Handler< - DeleteCodeSigningConfigCommandInput, - DeleteCodeSigningConfigCommandOutput - >; - private serialize; - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/DeleteEventSourceMappingCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/DeleteEventSourceMappingCommand.d.ts deleted file mode 100644 index 6eb36a44..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/DeleteEventSourceMappingCommand.d.ts +++ /dev/null @@ -1,42 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { - Handler, - HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer, - MiddlewareStack, -} from "@smithy/types"; -import { - LambdaClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../LambdaClient"; -import { - DeleteEventSourceMappingRequest, - EventSourceMappingConfiguration, -} from "../models/models_0"; -export { __MetadataBearer, $Command }; -export interface DeleteEventSourceMappingCommandInput - extends DeleteEventSourceMappingRequest {} -export interface DeleteEventSourceMappingCommandOutput - extends EventSourceMappingConfiguration, - __MetadataBearer {} -export declare class DeleteEventSourceMappingCommand extends $Command< - DeleteEventSourceMappingCommandInput, - DeleteEventSourceMappingCommandOutput, - LambdaClientResolvedConfig -> { - readonly input: DeleteEventSourceMappingCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - constructor(input: DeleteEventSourceMappingCommandInput); - resolveMiddleware( - clientStack: MiddlewareStack, - configuration: LambdaClientResolvedConfig, - options?: __HttpHandlerOptions - ): Handler< - DeleteEventSourceMappingCommandInput, - DeleteEventSourceMappingCommandOutput - >; - private serialize; - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/DeleteFunctionCodeSigningConfigCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/DeleteFunctionCodeSigningConfigCommand.d.ts deleted file mode 100644 index f8739e53..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/DeleteFunctionCodeSigningConfigCommand.d.ts +++ /dev/null @@ -1,38 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { - Handler, - HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer, - MiddlewareStack, -} from "@smithy/types"; -import { - LambdaClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../LambdaClient"; -import { DeleteFunctionCodeSigningConfigRequest } from "../models/models_0"; -export { __MetadataBearer, $Command }; -export interface DeleteFunctionCodeSigningConfigCommandInput - extends DeleteFunctionCodeSigningConfigRequest {} -export interface DeleteFunctionCodeSigningConfigCommandOutput - extends __MetadataBearer {} -export declare class DeleteFunctionCodeSigningConfigCommand extends $Command< - DeleteFunctionCodeSigningConfigCommandInput, - DeleteFunctionCodeSigningConfigCommandOutput, - LambdaClientResolvedConfig -> { - readonly input: DeleteFunctionCodeSigningConfigCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - constructor(input: DeleteFunctionCodeSigningConfigCommandInput); - resolveMiddleware( - clientStack: MiddlewareStack, - configuration: LambdaClientResolvedConfig, - options?: __HttpHandlerOptions - ): Handler< - DeleteFunctionCodeSigningConfigCommandInput, - DeleteFunctionCodeSigningConfigCommandOutput - >; - private serialize; - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/DeleteFunctionCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/DeleteFunctionCommand.d.ts deleted file mode 100644 index 7fb3089d..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/DeleteFunctionCommand.d.ts +++ /dev/null @@ -1,33 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { - Handler, - HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer, - MiddlewareStack, -} from "@smithy/types"; -import { - LambdaClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../LambdaClient"; -import { DeleteFunctionRequest } from "../models/models_0"; -export { __MetadataBearer, $Command }; -export interface DeleteFunctionCommandInput extends DeleteFunctionRequest {} -export interface DeleteFunctionCommandOutput extends __MetadataBearer {} -export declare class DeleteFunctionCommand extends $Command< - DeleteFunctionCommandInput, - DeleteFunctionCommandOutput, - LambdaClientResolvedConfig -> { - readonly input: DeleteFunctionCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - constructor(input: DeleteFunctionCommandInput); - resolveMiddleware( - clientStack: MiddlewareStack, - configuration: LambdaClientResolvedConfig, - options?: __HttpHandlerOptions - ): Handler; - private serialize; - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/DeleteFunctionConcurrencyCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/DeleteFunctionConcurrencyCommand.d.ts deleted file mode 100644 index 0249a0a3..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/DeleteFunctionConcurrencyCommand.d.ts +++ /dev/null @@ -1,38 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { - Handler, - HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer, - MiddlewareStack, -} from "@smithy/types"; -import { - LambdaClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../LambdaClient"; -import { DeleteFunctionConcurrencyRequest } from "../models/models_0"; -export { __MetadataBearer, $Command }; -export interface DeleteFunctionConcurrencyCommandInput - extends DeleteFunctionConcurrencyRequest {} -export interface DeleteFunctionConcurrencyCommandOutput - extends __MetadataBearer {} -export declare class DeleteFunctionConcurrencyCommand extends $Command< - DeleteFunctionConcurrencyCommandInput, - DeleteFunctionConcurrencyCommandOutput, - LambdaClientResolvedConfig -> { - readonly input: DeleteFunctionConcurrencyCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - constructor(input: DeleteFunctionConcurrencyCommandInput); - resolveMiddleware( - clientStack: MiddlewareStack, - configuration: LambdaClientResolvedConfig, - options?: __HttpHandlerOptions - ): Handler< - DeleteFunctionConcurrencyCommandInput, - DeleteFunctionConcurrencyCommandOutput - >; - private serialize; - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/DeleteFunctionEventInvokeConfigCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/DeleteFunctionEventInvokeConfigCommand.d.ts deleted file mode 100644 index d87f4eec..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/DeleteFunctionEventInvokeConfigCommand.d.ts +++ /dev/null @@ -1,38 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { - Handler, - HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer, - MiddlewareStack, -} from "@smithy/types"; -import { - LambdaClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../LambdaClient"; -import { DeleteFunctionEventInvokeConfigRequest } from "../models/models_0"; -export { __MetadataBearer, $Command }; -export interface DeleteFunctionEventInvokeConfigCommandInput - extends DeleteFunctionEventInvokeConfigRequest {} -export interface DeleteFunctionEventInvokeConfigCommandOutput - extends __MetadataBearer {} -export declare class DeleteFunctionEventInvokeConfigCommand extends $Command< - DeleteFunctionEventInvokeConfigCommandInput, - DeleteFunctionEventInvokeConfigCommandOutput, - LambdaClientResolvedConfig -> { - readonly input: DeleteFunctionEventInvokeConfigCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - constructor(input: DeleteFunctionEventInvokeConfigCommandInput); - resolveMiddleware( - clientStack: MiddlewareStack, - configuration: LambdaClientResolvedConfig, - options?: __HttpHandlerOptions - ): Handler< - DeleteFunctionEventInvokeConfigCommandInput, - DeleteFunctionEventInvokeConfigCommandOutput - >; - private serialize; - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/DeleteFunctionUrlConfigCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/DeleteFunctionUrlConfigCommand.d.ts deleted file mode 100644 index f1881423..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/DeleteFunctionUrlConfigCommand.d.ts +++ /dev/null @@ -1,38 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { - Handler, - HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer, - MiddlewareStack, -} from "@smithy/types"; -import { - LambdaClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../LambdaClient"; -import { DeleteFunctionUrlConfigRequest } from "../models/models_0"; -export { __MetadataBearer, $Command }; -export interface DeleteFunctionUrlConfigCommandInput - extends DeleteFunctionUrlConfigRequest {} -export interface DeleteFunctionUrlConfigCommandOutput - extends __MetadataBearer {} -export declare class DeleteFunctionUrlConfigCommand extends $Command< - DeleteFunctionUrlConfigCommandInput, - DeleteFunctionUrlConfigCommandOutput, - LambdaClientResolvedConfig -> { - readonly input: DeleteFunctionUrlConfigCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - constructor(input: DeleteFunctionUrlConfigCommandInput); - resolveMiddleware( - clientStack: MiddlewareStack, - configuration: LambdaClientResolvedConfig, - options?: __HttpHandlerOptions - ): Handler< - DeleteFunctionUrlConfigCommandInput, - DeleteFunctionUrlConfigCommandOutput - >; - private serialize; - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/DeleteLayerVersionCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/DeleteLayerVersionCommand.d.ts deleted file mode 100644 index 42f4076b..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/DeleteLayerVersionCommand.d.ts +++ /dev/null @@ -1,34 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { - Handler, - HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer, - MiddlewareStack, -} from "@smithy/types"; -import { - LambdaClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../LambdaClient"; -import { DeleteLayerVersionRequest } from "../models/models_0"; -export { __MetadataBearer, $Command }; -export interface DeleteLayerVersionCommandInput - extends DeleteLayerVersionRequest {} -export interface DeleteLayerVersionCommandOutput extends __MetadataBearer {} -export declare class DeleteLayerVersionCommand extends $Command< - DeleteLayerVersionCommandInput, - DeleteLayerVersionCommandOutput, - LambdaClientResolvedConfig -> { - readonly input: DeleteLayerVersionCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - constructor(input: DeleteLayerVersionCommandInput); - resolveMiddleware( - clientStack: MiddlewareStack, - configuration: LambdaClientResolvedConfig, - options?: __HttpHandlerOptions - ): Handler; - private serialize; - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/DeleteProvisionedConcurrencyConfigCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/DeleteProvisionedConcurrencyConfigCommand.d.ts deleted file mode 100644 index 170a75b0..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/DeleteProvisionedConcurrencyConfigCommand.d.ts +++ /dev/null @@ -1,38 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { - Handler, - HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer, - MiddlewareStack, -} from "@smithy/types"; -import { - LambdaClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../LambdaClient"; -import { DeleteProvisionedConcurrencyConfigRequest } from "../models/models_0"; -export { __MetadataBearer, $Command }; -export interface DeleteProvisionedConcurrencyConfigCommandInput - extends DeleteProvisionedConcurrencyConfigRequest {} -export interface DeleteProvisionedConcurrencyConfigCommandOutput - extends __MetadataBearer {} -export declare class DeleteProvisionedConcurrencyConfigCommand extends $Command< - DeleteProvisionedConcurrencyConfigCommandInput, - DeleteProvisionedConcurrencyConfigCommandOutput, - LambdaClientResolvedConfig -> { - readonly input: DeleteProvisionedConcurrencyConfigCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - constructor(input: DeleteProvisionedConcurrencyConfigCommandInput); - resolveMiddleware( - clientStack: MiddlewareStack, - configuration: LambdaClientResolvedConfig, - options?: __HttpHandlerOptions - ): Handler< - DeleteProvisionedConcurrencyConfigCommandInput, - DeleteProvisionedConcurrencyConfigCommandOutput - >; - private serialize; - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetAccountSettingsCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetAccountSettingsCommand.d.ts deleted file mode 100644 index 213ff032..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetAccountSettingsCommand.d.ts +++ /dev/null @@ -1,39 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { - Handler, - HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer, - MiddlewareStack, -} from "@smithy/types"; -import { - LambdaClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../LambdaClient"; -import { - GetAccountSettingsRequest, - GetAccountSettingsResponse, -} from "../models/models_0"; -export { __MetadataBearer, $Command }; -export interface GetAccountSettingsCommandInput - extends GetAccountSettingsRequest {} -export interface GetAccountSettingsCommandOutput - extends GetAccountSettingsResponse, - __MetadataBearer {} -export declare class GetAccountSettingsCommand extends $Command< - GetAccountSettingsCommandInput, - GetAccountSettingsCommandOutput, - LambdaClientResolvedConfig -> { - readonly input: GetAccountSettingsCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - constructor(input: GetAccountSettingsCommandInput); - resolveMiddleware( - clientStack: MiddlewareStack, - configuration: LambdaClientResolvedConfig, - options?: __HttpHandlerOptions - ): Handler; - private serialize; - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetEventSourceMappingCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetEventSourceMappingCommand.d.ts deleted file mode 100644 index b03b3686..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetEventSourceMappingCommand.d.ts +++ /dev/null @@ -1,42 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { - Handler, - HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer, - MiddlewareStack, -} from "@smithy/types"; -import { - LambdaClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../LambdaClient"; -import { - EventSourceMappingConfiguration, - GetEventSourceMappingRequest, -} from "../models/models_0"; -export { __MetadataBearer, $Command }; -export interface GetEventSourceMappingCommandInput - extends GetEventSourceMappingRequest {} -export interface GetEventSourceMappingCommandOutput - extends EventSourceMappingConfiguration, - __MetadataBearer {} -export declare class GetEventSourceMappingCommand extends $Command< - GetEventSourceMappingCommandInput, - GetEventSourceMappingCommandOutput, - LambdaClientResolvedConfig -> { - readonly input: GetEventSourceMappingCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - constructor(input: GetEventSourceMappingCommandInput); - resolveMiddleware( - clientStack: MiddlewareStack, - configuration: LambdaClientResolvedConfig, - options?: __HttpHandlerOptions - ): Handler< - GetEventSourceMappingCommandInput, - GetEventSourceMappingCommandOutput - >; - private serialize; - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetFunctionCodeSigningConfigCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetFunctionCodeSigningConfigCommand.d.ts deleted file mode 100644 index 6777d2df..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetFunctionCodeSigningConfigCommand.d.ts +++ /dev/null @@ -1,42 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { - Handler, - HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer, - MiddlewareStack, -} from "@smithy/types"; -import { - LambdaClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../LambdaClient"; -import { - GetFunctionCodeSigningConfigRequest, - GetFunctionCodeSigningConfigResponse, -} from "../models/models_0"; -export { __MetadataBearer, $Command }; -export interface GetFunctionCodeSigningConfigCommandInput - extends GetFunctionCodeSigningConfigRequest {} -export interface GetFunctionCodeSigningConfigCommandOutput - extends GetFunctionCodeSigningConfigResponse, - __MetadataBearer {} -export declare class GetFunctionCodeSigningConfigCommand extends $Command< - GetFunctionCodeSigningConfigCommandInput, - GetFunctionCodeSigningConfigCommandOutput, - LambdaClientResolvedConfig -> { - readonly input: GetFunctionCodeSigningConfigCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - constructor(input: GetFunctionCodeSigningConfigCommandInput); - resolveMiddleware( - clientStack: MiddlewareStack, - configuration: LambdaClientResolvedConfig, - options?: __HttpHandlerOptions - ): Handler< - GetFunctionCodeSigningConfigCommandInput, - GetFunctionCodeSigningConfigCommandOutput - >; - private serialize; - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetFunctionConcurrencyCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetFunctionConcurrencyCommand.d.ts deleted file mode 100644 index cfcf29bb..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetFunctionConcurrencyCommand.d.ts +++ /dev/null @@ -1,42 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { - Handler, - HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer, - MiddlewareStack, -} from "@smithy/types"; -import { - LambdaClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../LambdaClient"; -import { - GetFunctionConcurrencyRequest, - GetFunctionConcurrencyResponse, -} from "../models/models_0"; -export { __MetadataBearer, $Command }; -export interface GetFunctionConcurrencyCommandInput - extends GetFunctionConcurrencyRequest {} -export interface GetFunctionConcurrencyCommandOutput - extends GetFunctionConcurrencyResponse, - __MetadataBearer {} -export declare class GetFunctionConcurrencyCommand extends $Command< - GetFunctionConcurrencyCommandInput, - GetFunctionConcurrencyCommandOutput, - LambdaClientResolvedConfig -> { - readonly input: GetFunctionConcurrencyCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - constructor(input: GetFunctionConcurrencyCommandInput); - resolveMiddleware( - clientStack: MiddlewareStack, - configuration: LambdaClientResolvedConfig, - options?: __HttpHandlerOptions - ): Handler< - GetFunctionConcurrencyCommandInput, - GetFunctionConcurrencyCommandOutput - >; - private serialize; - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetFunctionConfigurationCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetFunctionConfigurationCommand.d.ts deleted file mode 100644 index 029cbd4b..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetFunctionConfigurationCommand.d.ts +++ /dev/null @@ -1,42 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { - Handler, - HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer, - MiddlewareStack, -} from "@smithy/types"; -import { - LambdaClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../LambdaClient"; -import { - FunctionConfiguration, - GetFunctionConfigurationRequest, -} from "../models/models_0"; -export { __MetadataBearer, $Command }; -export interface GetFunctionConfigurationCommandInput - extends GetFunctionConfigurationRequest {} -export interface GetFunctionConfigurationCommandOutput - extends FunctionConfiguration, - __MetadataBearer {} -export declare class GetFunctionConfigurationCommand extends $Command< - GetFunctionConfigurationCommandInput, - GetFunctionConfigurationCommandOutput, - LambdaClientResolvedConfig -> { - readonly input: GetFunctionConfigurationCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - constructor(input: GetFunctionConfigurationCommandInput); - resolveMiddleware( - clientStack: MiddlewareStack, - configuration: LambdaClientResolvedConfig, - options?: __HttpHandlerOptions - ): Handler< - GetFunctionConfigurationCommandInput, - GetFunctionConfigurationCommandOutput - >; - private serialize; - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetFunctionEventInvokeConfigCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetFunctionEventInvokeConfigCommand.d.ts deleted file mode 100644 index 497229e2..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetFunctionEventInvokeConfigCommand.d.ts +++ /dev/null @@ -1,42 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { - Handler, - HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer, - MiddlewareStack, -} from "@smithy/types"; -import { - LambdaClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../LambdaClient"; -import { - FunctionEventInvokeConfig, - GetFunctionEventInvokeConfigRequest, -} from "../models/models_0"; -export { __MetadataBearer, $Command }; -export interface GetFunctionEventInvokeConfigCommandInput - extends GetFunctionEventInvokeConfigRequest {} -export interface GetFunctionEventInvokeConfigCommandOutput - extends FunctionEventInvokeConfig, - __MetadataBearer {} -export declare class GetFunctionEventInvokeConfigCommand extends $Command< - GetFunctionEventInvokeConfigCommandInput, - GetFunctionEventInvokeConfigCommandOutput, - LambdaClientResolvedConfig -> { - readonly input: GetFunctionEventInvokeConfigCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - constructor(input: GetFunctionEventInvokeConfigCommandInput); - resolveMiddleware( - clientStack: MiddlewareStack, - configuration: LambdaClientResolvedConfig, - options?: __HttpHandlerOptions - ): Handler< - GetFunctionEventInvokeConfigCommandInput, - GetFunctionEventInvokeConfigCommandOutput - >; - private serialize; - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetLayerVersionPolicyCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetLayerVersionPolicyCommand.d.ts deleted file mode 100644 index 803c9bd1..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetLayerVersionPolicyCommand.d.ts +++ /dev/null @@ -1,42 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { - Handler, - HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer, - MiddlewareStack, -} from "@smithy/types"; -import { - LambdaClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../LambdaClient"; -import { - GetLayerVersionPolicyRequest, - GetLayerVersionPolicyResponse, -} from "../models/models_0"; -export { __MetadataBearer, $Command }; -export interface GetLayerVersionPolicyCommandInput - extends GetLayerVersionPolicyRequest {} -export interface GetLayerVersionPolicyCommandOutput - extends GetLayerVersionPolicyResponse, - __MetadataBearer {} -export declare class GetLayerVersionPolicyCommand extends $Command< - GetLayerVersionPolicyCommandInput, - GetLayerVersionPolicyCommandOutput, - LambdaClientResolvedConfig -> { - readonly input: GetLayerVersionPolicyCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - constructor(input: GetLayerVersionPolicyCommandInput); - resolveMiddleware( - clientStack: MiddlewareStack, - configuration: LambdaClientResolvedConfig, - options?: __HttpHandlerOptions - ): Handler< - GetLayerVersionPolicyCommandInput, - GetLayerVersionPolicyCommandOutput - >; - private serialize; - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetProvisionedConcurrencyConfigCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetProvisionedConcurrencyConfigCommand.d.ts deleted file mode 100644 index c7572ff6..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetProvisionedConcurrencyConfigCommand.d.ts +++ /dev/null @@ -1,42 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { - Handler, - HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer, - MiddlewareStack, -} from "@smithy/types"; -import { - LambdaClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../LambdaClient"; -import { - GetProvisionedConcurrencyConfigRequest, - GetProvisionedConcurrencyConfigResponse, -} from "../models/models_0"; -export { __MetadataBearer, $Command }; -export interface GetProvisionedConcurrencyConfigCommandInput - extends GetProvisionedConcurrencyConfigRequest {} -export interface GetProvisionedConcurrencyConfigCommandOutput - extends GetProvisionedConcurrencyConfigResponse, - __MetadataBearer {} -export declare class GetProvisionedConcurrencyConfigCommand extends $Command< - GetProvisionedConcurrencyConfigCommandInput, - GetProvisionedConcurrencyConfigCommandOutput, - LambdaClientResolvedConfig -> { - readonly input: GetProvisionedConcurrencyConfigCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - constructor(input: GetProvisionedConcurrencyConfigCommandInput); - resolveMiddleware( - clientStack: MiddlewareStack, - configuration: LambdaClientResolvedConfig, - options?: __HttpHandlerOptions - ): Handler< - GetProvisionedConcurrencyConfigCommandInput, - GetProvisionedConcurrencyConfigCommandOutput - >; - private serialize; - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetRuntimeManagementConfigCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetRuntimeManagementConfigCommand.d.ts deleted file mode 100644 index 8f7d36ce..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetRuntimeManagementConfigCommand.d.ts +++ /dev/null @@ -1,42 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { - Handler, - HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer, - MiddlewareStack, -} from "@smithy/types"; -import { - LambdaClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../LambdaClient"; -import { - GetRuntimeManagementConfigRequest, - GetRuntimeManagementConfigResponse, -} from "../models/models_0"; -export { __MetadataBearer, $Command }; -export interface GetRuntimeManagementConfigCommandInput - extends GetRuntimeManagementConfigRequest {} -export interface GetRuntimeManagementConfigCommandOutput - extends GetRuntimeManagementConfigResponse, - __MetadataBearer {} -export declare class GetRuntimeManagementConfigCommand extends $Command< - GetRuntimeManagementConfigCommandInput, - GetRuntimeManagementConfigCommandOutput, - LambdaClientResolvedConfig -> { - readonly input: GetRuntimeManagementConfigCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - constructor(input: GetRuntimeManagementConfigCommandInput); - resolveMiddleware( - clientStack: MiddlewareStack, - configuration: LambdaClientResolvedConfig, - options?: __HttpHandlerOptions - ): Handler< - GetRuntimeManagementConfigCommandInput, - GetRuntimeManagementConfigCommandOutput - >; - private serialize; - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/InvokeAsyncCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/InvokeAsyncCommand.d.ts deleted file mode 100644 index 2a92e0aa..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/InvokeAsyncCommand.d.ts +++ /dev/null @@ -1,42 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { - Handler, - HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer, - MiddlewareStack, - StreamingBlobPayloadInputTypes, -} from "@smithy/types"; -import { - LambdaClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../LambdaClient"; -import { InvokeAsyncRequest, InvokeAsyncResponse } from "../models/models_0"; -export { __MetadataBearer, $Command }; -export interface InvokeAsyncCommandInput - extends Pick< - InvokeAsyncRequest, - Exclude - > { - InvokeArgs: StreamingBlobPayloadInputTypes; -} -export interface InvokeAsyncCommandOutput - extends InvokeAsyncResponse, - __MetadataBearer {} -export declare class InvokeAsyncCommand extends $Command< - InvokeAsyncCommandInput, - InvokeAsyncCommandOutput, - LambdaClientResolvedConfig -> { - readonly input: InvokeAsyncCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - constructor(input: InvokeAsyncCommandInput); - resolveMiddleware( - clientStack: MiddlewareStack, - configuration: LambdaClientResolvedConfig, - options?: __HttpHandlerOptions - ): Handler; - private serialize; - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/InvokeCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/InvokeCommand.d.ts deleted file mode 100644 index 1f60bbc6..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/InvokeCommand.d.ts +++ /dev/null @@ -1,49 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { - BlobPayloadInputTypes, - Handler, - HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer, - MiddlewareStack, -} from "@smithy/types"; -import { Uint8ArrayBlobAdapter } from "@smithy/util-stream"; -import { - LambdaClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../LambdaClient"; -import { InvocationRequest, InvocationResponse } from "../models/models_0"; -export { __MetadataBearer, $Command }; -export type InvokeCommandInputType = Pick< - InvocationRequest, - Exclude -> & { - Payload?: BlobPayloadInputTypes; -}; -export interface InvokeCommandInput extends InvokeCommandInputType {} -export type InvokeCommandOutputType = Pick< - InvocationResponse, - Exclude -> & { - Payload?: Uint8ArrayBlobAdapter; -}; -export interface InvokeCommandOutput - extends InvokeCommandOutputType, - __MetadataBearer {} -export declare class InvokeCommand extends $Command< - InvokeCommandInput, - InvokeCommandOutput, - LambdaClientResolvedConfig -> { - readonly input: InvokeCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - constructor(input: InvokeCommandInput); - resolveMiddleware( - clientStack: MiddlewareStack, - configuration: LambdaClientResolvedConfig, - options?: __HttpHandlerOptions - ): Handler; - private serialize; - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/InvokeWithResponseStreamCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/InvokeWithResponseStreamCommand.d.ts deleted file mode 100644 index e6ba7c16..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/InvokeWithResponseStreamCommand.d.ts +++ /dev/null @@ -1,49 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { - BlobPayloadInputTypes, - Handler, - HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer, - MiddlewareStack, -} from "@smithy/types"; -import { - LambdaClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../LambdaClient"; -import { - InvokeWithResponseStreamRequest, - InvokeWithResponseStreamResponse, -} from "../models/models_0"; -export { __MetadataBearer, $Command }; -export type InvokeWithResponseStreamCommandInputType = Pick< - InvokeWithResponseStreamRequest, - Exclude -> & { - Payload?: BlobPayloadInputTypes; -}; -export interface InvokeWithResponseStreamCommandInput - extends InvokeWithResponseStreamCommandInputType {} -export interface InvokeWithResponseStreamCommandOutput - extends InvokeWithResponseStreamResponse, - __MetadataBearer {} -export declare class InvokeWithResponseStreamCommand extends $Command< - InvokeWithResponseStreamCommandInput, - InvokeWithResponseStreamCommandOutput, - LambdaClientResolvedConfig -> { - readonly input: InvokeWithResponseStreamCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - constructor(input: InvokeWithResponseStreamCommandInput); - resolveMiddleware( - clientStack: MiddlewareStack, - configuration: LambdaClientResolvedConfig, - options?: __HttpHandlerOptions - ): Handler< - InvokeWithResponseStreamCommandInput, - InvokeWithResponseStreamCommandOutput - >; - private serialize; - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/ListAliasesCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/ListAliasesCommand.d.ts deleted file mode 100644 index 42417558..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/ListAliasesCommand.d.ts +++ /dev/null @@ -1,35 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { - Handler, - HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer, - MiddlewareStack, -} from "@smithy/types"; -import { - LambdaClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../LambdaClient"; -import { ListAliasesRequest, ListAliasesResponse } from "../models/models_0"; -export { __MetadataBearer, $Command }; -export interface ListAliasesCommandInput extends ListAliasesRequest {} -export interface ListAliasesCommandOutput - extends ListAliasesResponse, - __MetadataBearer {} -export declare class ListAliasesCommand extends $Command< - ListAliasesCommandInput, - ListAliasesCommandOutput, - LambdaClientResolvedConfig -> { - readonly input: ListAliasesCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - constructor(input: ListAliasesCommandInput); - resolveMiddleware( - clientStack: MiddlewareStack, - configuration: LambdaClientResolvedConfig, - options?: __HttpHandlerOptions - ): Handler; - private serialize; - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/ListEventSourceMappingsCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/ListEventSourceMappingsCommand.d.ts deleted file mode 100644 index 49041c68..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/ListEventSourceMappingsCommand.d.ts +++ /dev/null @@ -1,42 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { - Handler, - HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer, - MiddlewareStack, -} from "@smithy/types"; -import { - LambdaClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../LambdaClient"; -import { - ListEventSourceMappingsRequest, - ListEventSourceMappingsResponse, -} from "../models/models_0"; -export { __MetadataBearer, $Command }; -export interface ListEventSourceMappingsCommandInput - extends ListEventSourceMappingsRequest {} -export interface ListEventSourceMappingsCommandOutput - extends ListEventSourceMappingsResponse, - __MetadataBearer {} -export declare class ListEventSourceMappingsCommand extends $Command< - ListEventSourceMappingsCommandInput, - ListEventSourceMappingsCommandOutput, - LambdaClientResolvedConfig -> { - readonly input: ListEventSourceMappingsCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - constructor(input: ListEventSourceMappingsCommandInput); - resolveMiddleware( - clientStack: MiddlewareStack, - configuration: LambdaClientResolvedConfig, - options?: __HttpHandlerOptions - ): Handler< - ListEventSourceMappingsCommandInput, - ListEventSourceMappingsCommandOutput - >; - private serialize; - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/ListFunctionEventInvokeConfigsCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/ListFunctionEventInvokeConfigsCommand.d.ts deleted file mode 100644 index 8aa0c801..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/ListFunctionEventInvokeConfigsCommand.d.ts +++ /dev/null @@ -1,42 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { - Handler, - HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer, - MiddlewareStack, -} from "@smithy/types"; -import { - LambdaClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../LambdaClient"; -import { - ListFunctionEventInvokeConfigsRequest, - ListFunctionEventInvokeConfigsResponse, -} from "../models/models_0"; -export { __MetadataBearer, $Command }; -export interface ListFunctionEventInvokeConfigsCommandInput - extends ListFunctionEventInvokeConfigsRequest {} -export interface ListFunctionEventInvokeConfigsCommandOutput - extends ListFunctionEventInvokeConfigsResponse, - __MetadataBearer {} -export declare class ListFunctionEventInvokeConfigsCommand extends $Command< - ListFunctionEventInvokeConfigsCommandInput, - ListFunctionEventInvokeConfigsCommandOutput, - LambdaClientResolvedConfig -> { - readonly input: ListFunctionEventInvokeConfigsCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - constructor(input: ListFunctionEventInvokeConfigsCommandInput); - resolveMiddleware( - clientStack: MiddlewareStack, - configuration: LambdaClientResolvedConfig, - options?: __HttpHandlerOptions - ): Handler< - ListFunctionEventInvokeConfigsCommandInput, - ListFunctionEventInvokeConfigsCommandOutput - >; - private serialize; - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/ListFunctionUrlConfigsCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/ListFunctionUrlConfigsCommand.d.ts deleted file mode 100644 index e68530e3..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/ListFunctionUrlConfigsCommand.d.ts +++ /dev/null @@ -1,42 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { - Handler, - HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer, - MiddlewareStack, -} from "@smithy/types"; -import { - LambdaClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../LambdaClient"; -import { - ListFunctionUrlConfigsRequest, - ListFunctionUrlConfigsResponse, -} from "../models/models_0"; -export { __MetadataBearer, $Command }; -export interface ListFunctionUrlConfigsCommandInput - extends ListFunctionUrlConfigsRequest {} -export interface ListFunctionUrlConfigsCommandOutput - extends ListFunctionUrlConfigsResponse, - __MetadataBearer {} -export declare class ListFunctionUrlConfigsCommand extends $Command< - ListFunctionUrlConfigsCommandInput, - ListFunctionUrlConfigsCommandOutput, - LambdaClientResolvedConfig -> { - readonly input: ListFunctionUrlConfigsCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - constructor(input: ListFunctionUrlConfigsCommandInput); - resolveMiddleware( - clientStack: MiddlewareStack, - configuration: LambdaClientResolvedConfig, - options?: __HttpHandlerOptions - ): Handler< - ListFunctionUrlConfigsCommandInput, - ListFunctionUrlConfigsCommandOutput - >; - private serialize; - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/ListFunctionsByCodeSigningConfigCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/ListFunctionsByCodeSigningConfigCommand.d.ts deleted file mode 100644 index 1a73f9c7..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/ListFunctionsByCodeSigningConfigCommand.d.ts +++ /dev/null @@ -1,42 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { - Handler, - HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer, - MiddlewareStack, -} from "@smithy/types"; -import { - LambdaClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../LambdaClient"; -import { - ListFunctionsByCodeSigningConfigRequest, - ListFunctionsByCodeSigningConfigResponse, -} from "../models/models_0"; -export { __MetadataBearer, $Command }; -export interface ListFunctionsByCodeSigningConfigCommandInput - extends ListFunctionsByCodeSigningConfigRequest {} -export interface ListFunctionsByCodeSigningConfigCommandOutput - extends ListFunctionsByCodeSigningConfigResponse, - __MetadataBearer {} -export declare class ListFunctionsByCodeSigningConfigCommand extends $Command< - ListFunctionsByCodeSigningConfigCommandInput, - ListFunctionsByCodeSigningConfigCommandOutput, - LambdaClientResolvedConfig -> { - readonly input: ListFunctionsByCodeSigningConfigCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - constructor(input: ListFunctionsByCodeSigningConfigCommandInput); - resolveMiddleware( - clientStack: MiddlewareStack, - configuration: LambdaClientResolvedConfig, - options?: __HttpHandlerOptions - ): Handler< - ListFunctionsByCodeSigningConfigCommandInput, - ListFunctionsByCodeSigningConfigCommandOutput - >; - private serialize; - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/ListProvisionedConcurrencyConfigsCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/ListProvisionedConcurrencyConfigsCommand.d.ts deleted file mode 100644 index 7884f61d..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/ListProvisionedConcurrencyConfigsCommand.d.ts +++ /dev/null @@ -1,42 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { - Handler, - HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer, - MiddlewareStack, -} from "@smithy/types"; -import { - LambdaClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../LambdaClient"; -import { - ListProvisionedConcurrencyConfigsRequest, - ListProvisionedConcurrencyConfigsResponse, -} from "../models/models_0"; -export { __MetadataBearer, $Command }; -export interface ListProvisionedConcurrencyConfigsCommandInput - extends ListProvisionedConcurrencyConfigsRequest {} -export interface ListProvisionedConcurrencyConfigsCommandOutput - extends ListProvisionedConcurrencyConfigsResponse, - __MetadataBearer {} -export declare class ListProvisionedConcurrencyConfigsCommand extends $Command< - ListProvisionedConcurrencyConfigsCommandInput, - ListProvisionedConcurrencyConfigsCommandOutput, - LambdaClientResolvedConfig -> { - readonly input: ListProvisionedConcurrencyConfigsCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - constructor(input: ListProvisionedConcurrencyConfigsCommandInput); - resolveMiddleware( - clientStack: MiddlewareStack, - configuration: LambdaClientResolvedConfig, - options?: __HttpHandlerOptions - ): Handler< - ListProvisionedConcurrencyConfigsCommandInput, - ListProvisionedConcurrencyConfigsCommandOutput - >; - private serialize; - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/ListVersionsByFunctionCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/ListVersionsByFunctionCommand.d.ts deleted file mode 100644 index dae66ac9..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/ListVersionsByFunctionCommand.d.ts +++ /dev/null @@ -1,42 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { - Handler, - HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer, - MiddlewareStack, -} from "@smithy/types"; -import { - LambdaClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../LambdaClient"; -import { - ListVersionsByFunctionRequest, - ListVersionsByFunctionResponse, -} from "../models/models_0"; -export { __MetadataBearer, $Command }; -export interface ListVersionsByFunctionCommandInput - extends ListVersionsByFunctionRequest {} -export interface ListVersionsByFunctionCommandOutput - extends ListVersionsByFunctionResponse, - __MetadataBearer {} -export declare class ListVersionsByFunctionCommand extends $Command< - ListVersionsByFunctionCommandInput, - ListVersionsByFunctionCommandOutput, - LambdaClientResolvedConfig -> { - readonly input: ListVersionsByFunctionCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - constructor(input: ListVersionsByFunctionCommandInput); - resolveMiddleware( - clientStack: MiddlewareStack, - configuration: LambdaClientResolvedConfig, - options?: __HttpHandlerOptions - ): Handler< - ListVersionsByFunctionCommandInput, - ListVersionsByFunctionCommandOutput - >; - private serialize; - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/PutFunctionCodeSigningConfigCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/PutFunctionCodeSigningConfigCommand.d.ts deleted file mode 100644 index 536bad99..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/PutFunctionCodeSigningConfigCommand.d.ts +++ /dev/null @@ -1,42 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { - Handler, - HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer, - MiddlewareStack, -} from "@smithy/types"; -import { - LambdaClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../LambdaClient"; -import { - PutFunctionCodeSigningConfigRequest, - PutFunctionCodeSigningConfigResponse, -} from "../models/models_0"; -export { __MetadataBearer, $Command }; -export interface PutFunctionCodeSigningConfigCommandInput - extends PutFunctionCodeSigningConfigRequest {} -export interface PutFunctionCodeSigningConfigCommandOutput - extends PutFunctionCodeSigningConfigResponse, - __MetadataBearer {} -export declare class PutFunctionCodeSigningConfigCommand extends $Command< - PutFunctionCodeSigningConfigCommandInput, - PutFunctionCodeSigningConfigCommandOutput, - LambdaClientResolvedConfig -> { - readonly input: PutFunctionCodeSigningConfigCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - constructor(input: PutFunctionCodeSigningConfigCommandInput); - resolveMiddleware( - clientStack: MiddlewareStack, - configuration: LambdaClientResolvedConfig, - options?: __HttpHandlerOptions - ): Handler< - PutFunctionCodeSigningConfigCommandInput, - PutFunctionCodeSigningConfigCommandOutput - >; - private serialize; - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/PutFunctionConcurrencyCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/PutFunctionConcurrencyCommand.d.ts deleted file mode 100644 index 6c47aa88..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/PutFunctionConcurrencyCommand.d.ts +++ /dev/null @@ -1,39 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { - Handler, - HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer, - MiddlewareStack, -} from "@smithy/types"; -import { - LambdaClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../LambdaClient"; -import { Concurrency, PutFunctionConcurrencyRequest } from "../models/models_0"; -export { __MetadataBearer, $Command }; -export interface PutFunctionConcurrencyCommandInput - extends PutFunctionConcurrencyRequest {} -export interface PutFunctionConcurrencyCommandOutput - extends Concurrency, - __MetadataBearer {} -export declare class PutFunctionConcurrencyCommand extends $Command< - PutFunctionConcurrencyCommandInput, - PutFunctionConcurrencyCommandOutput, - LambdaClientResolvedConfig -> { - readonly input: PutFunctionConcurrencyCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - constructor(input: PutFunctionConcurrencyCommandInput); - resolveMiddleware( - clientStack: MiddlewareStack, - configuration: LambdaClientResolvedConfig, - options?: __HttpHandlerOptions - ): Handler< - PutFunctionConcurrencyCommandInput, - PutFunctionConcurrencyCommandOutput - >; - private serialize; - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/PutFunctionEventInvokeConfigCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/PutFunctionEventInvokeConfigCommand.d.ts deleted file mode 100644 index b2aa890b..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/PutFunctionEventInvokeConfigCommand.d.ts +++ /dev/null @@ -1,42 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { - Handler, - HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer, - MiddlewareStack, -} from "@smithy/types"; -import { - LambdaClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../LambdaClient"; -import { - FunctionEventInvokeConfig, - PutFunctionEventInvokeConfigRequest, -} from "../models/models_0"; -export { __MetadataBearer, $Command }; -export interface PutFunctionEventInvokeConfigCommandInput - extends PutFunctionEventInvokeConfigRequest {} -export interface PutFunctionEventInvokeConfigCommandOutput - extends FunctionEventInvokeConfig, - __MetadataBearer {} -export declare class PutFunctionEventInvokeConfigCommand extends $Command< - PutFunctionEventInvokeConfigCommandInput, - PutFunctionEventInvokeConfigCommandOutput, - LambdaClientResolvedConfig -> { - readonly input: PutFunctionEventInvokeConfigCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - constructor(input: PutFunctionEventInvokeConfigCommandInput); - resolveMiddleware( - clientStack: MiddlewareStack, - configuration: LambdaClientResolvedConfig, - options?: __HttpHandlerOptions - ): Handler< - PutFunctionEventInvokeConfigCommandInput, - PutFunctionEventInvokeConfigCommandOutput - >; - private serialize; - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/PutProvisionedConcurrencyConfigCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/PutProvisionedConcurrencyConfigCommand.d.ts deleted file mode 100644 index 576440d0..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/PutProvisionedConcurrencyConfigCommand.d.ts +++ /dev/null @@ -1,42 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { - Handler, - HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer, - MiddlewareStack, -} from "@smithy/types"; -import { - LambdaClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../LambdaClient"; -import { - PutProvisionedConcurrencyConfigRequest, - PutProvisionedConcurrencyConfigResponse, -} from "../models/models_0"; -export { __MetadataBearer, $Command }; -export interface PutProvisionedConcurrencyConfigCommandInput - extends PutProvisionedConcurrencyConfigRequest {} -export interface PutProvisionedConcurrencyConfigCommandOutput - extends PutProvisionedConcurrencyConfigResponse, - __MetadataBearer {} -export declare class PutProvisionedConcurrencyConfigCommand extends $Command< - PutProvisionedConcurrencyConfigCommandInput, - PutProvisionedConcurrencyConfigCommandOutput, - LambdaClientResolvedConfig -> { - readonly input: PutProvisionedConcurrencyConfigCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - constructor(input: PutProvisionedConcurrencyConfigCommandInput); - resolveMiddleware( - clientStack: MiddlewareStack, - configuration: LambdaClientResolvedConfig, - options?: __HttpHandlerOptions - ): Handler< - PutProvisionedConcurrencyConfigCommandInput, - PutProvisionedConcurrencyConfigCommandOutput - >; - private serialize; - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/PutRuntimeManagementConfigCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/PutRuntimeManagementConfigCommand.d.ts deleted file mode 100644 index 15095260..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/PutRuntimeManagementConfigCommand.d.ts +++ /dev/null @@ -1,42 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { - Handler, - HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer, - MiddlewareStack, -} from "@smithy/types"; -import { - LambdaClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../LambdaClient"; -import { - PutRuntimeManagementConfigRequest, - PutRuntimeManagementConfigResponse, -} from "../models/models_0"; -export { __MetadataBearer, $Command }; -export interface PutRuntimeManagementConfigCommandInput - extends PutRuntimeManagementConfigRequest {} -export interface PutRuntimeManagementConfigCommandOutput - extends PutRuntimeManagementConfigResponse, - __MetadataBearer {} -export declare class PutRuntimeManagementConfigCommand extends $Command< - PutRuntimeManagementConfigCommandInput, - PutRuntimeManagementConfigCommandOutput, - LambdaClientResolvedConfig -> { - readonly input: PutRuntimeManagementConfigCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - constructor(input: PutRuntimeManagementConfigCommandInput); - resolveMiddleware( - clientStack: MiddlewareStack, - configuration: LambdaClientResolvedConfig, - options?: __HttpHandlerOptions - ): Handler< - PutRuntimeManagementConfigCommandInput, - PutRuntimeManagementConfigCommandOutput - >; - private serialize; - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/RemoveLayerVersionPermissionCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/RemoveLayerVersionPermissionCommand.d.ts deleted file mode 100644 index 9ec1665e..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/RemoveLayerVersionPermissionCommand.d.ts +++ /dev/null @@ -1,38 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { - Handler, - HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer, - MiddlewareStack, -} from "@smithy/types"; -import { - LambdaClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../LambdaClient"; -import { RemoveLayerVersionPermissionRequest } from "../models/models_0"; -export { __MetadataBearer, $Command }; -export interface RemoveLayerVersionPermissionCommandInput - extends RemoveLayerVersionPermissionRequest {} -export interface RemoveLayerVersionPermissionCommandOutput - extends __MetadataBearer {} -export declare class RemoveLayerVersionPermissionCommand extends $Command< - RemoveLayerVersionPermissionCommandInput, - RemoveLayerVersionPermissionCommandOutput, - LambdaClientResolvedConfig -> { - readonly input: RemoveLayerVersionPermissionCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - constructor(input: RemoveLayerVersionPermissionCommandInput); - resolveMiddleware( - clientStack: MiddlewareStack, - configuration: LambdaClientResolvedConfig, - options?: __HttpHandlerOptions - ): Handler< - RemoveLayerVersionPermissionCommandInput, - RemoveLayerVersionPermissionCommandOutput - >; - private serialize; - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/RemovePermissionCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/RemovePermissionCommand.d.ts deleted file mode 100644 index 47ca5949..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/RemovePermissionCommand.d.ts +++ /dev/null @@ -1,33 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { - Handler, - HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer, - MiddlewareStack, -} from "@smithy/types"; -import { - LambdaClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../LambdaClient"; -import { RemovePermissionRequest } from "../models/models_0"; -export { __MetadataBearer, $Command }; -export interface RemovePermissionCommandInput extends RemovePermissionRequest {} -export interface RemovePermissionCommandOutput extends __MetadataBearer {} -export declare class RemovePermissionCommand extends $Command< - RemovePermissionCommandInput, - RemovePermissionCommandOutput, - LambdaClientResolvedConfig -> { - readonly input: RemovePermissionCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - constructor(input: RemovePermissionCommandInput); - resolveMiddleware( - clientStack: MiddlewareStack, - configuration: LambdaClientResolvedConfig, - options?: __HttpHandlerOptions - ): Handler; - private serialize; - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/TagResourceCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/TagResourceCommand.d.ts deleted file mode 100644 index 75c3f888..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/TagResourceCommand.d.ts +++ /dev/null @@ -1,33 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { - Handler, - HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer, - MiddlewareStack, -} from "@smithy/types"; -import { - LambdaClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../LambdaClient"; -import { TagResourceRequest } from "../models/models_0"; -export { __MetadataBearer, $Command }; -export interface TagResourceCommandInput extends TagResourceRequest {} -export interface TagResourceCommandOutput extends __MetadataBearer {} -export declare class TagResourceCommand extends $Command< - TagResourceCommandInput, - TagResourceCommandOutput, - LambdaClientResolvedConfig -> { - readonly input: TagResourceCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - constructor(input: TagResourceCommandInput); - resolveMiddleware( - clientStack: MiddlewareStack, - configuration: LambdaClientResolvedConfig, - options?: __HttpHandlerOptions - ): Handler; - private serialize; - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/UntagResourceCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/UntagResourceCommand.d.ts deleted file mode 100644 index 582972bb..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +++ /dev/null @@ -1,33 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { - Handler, - HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer, - MiddlewareStack, -} from "@smithy/types"; -import { - LambdaClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../LambdaClient"; -import { UntagResourceRequest } from "../models/models_0"; -export { __MetadataBearer, $Command }; -export interface UntagResourceCommandInput extends UntagResourceRequest {} -export interface UntagResourceCommandOutput extends __MetadataBearer {} -export declare class UntagResourceCommand extends $Command< - UntagResourceCommandInput, - UntagResourceCommandOutput, - LambdaClientResolvedConfig -> { - readonly input: UntagResourceCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - constructor(input: UntagResourceCommandInput); - resolveMiddleware( - clientStack: MiddlewareStack, - configuration: LambdaClientResolvedConfig, - options?: __HttpHandlerOptions - ): Handler; - private serialize; - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/UpdateCodeSigningConfigCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/UpdateCodeSigningConfigCommand.d.ts deleted file mode 100644 index 7afb37b7..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/UpdateCodeSigningConfigCommand.d.ts +++ /dev/null @@ -1,42 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { - Handler, - HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer, - MiddlewareStack, -} from "@smithy/types"; -import { - LambdaClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../LambdaClient"; -import { - UpdateCodeSigningConfigRequest, - UpdateCodeSigningConfigResponse, -} from "../models/models_0"; -export { __MetadataBearer, $Command }; -export interface UpdateCodeSigningConfigCommandInput - extends UpdateCodeSigningConfigRequest {} -export interface UpdateCodeSigningConfigCommandOutput - extends UpdateCodeSigningConfigResponse, - __MetadataBearer {} -export declare class UpdateCodeSigningConfigCommand extends $Command< - UpdateCodeSigningConfigCommandInput, - UpdateCodeSigningConfigCommandOutput, - LambdaClientResolvedConfig -> { - readonly input: UpdateCodeSigningConfigCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - constructor(input: UpdateCodeSigningConfigCommandInput); - resolveMiddleware( - clientStack: MiddlewareStack, - configuration: LambdaClientResolvedConfig, - options?: __HttpHandlerOptions - ): Handler< - UpdateCodeSigningConfigCommandInput, - UpdateCodeSigningConfigCommandOutput - >; - private serialize; - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/UpdateEventSourceMappingCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/UpdateEventSourceMappingCommand.d.ts deleted file mode 100644 index 89898b61..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/UpdateEventSourceMappingCommand.d.ts +++ /dev/null @@ -1,42 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { - Handler, - HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer, - MiddlewareStack, -} from "@smithy/types"; -import { - LambdaClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../LambdaClient"; -import { - EventSourceMappingConfiguration, - UpdateEventSourceMappingRequest, -} from "../models/models_0"; -export { __MetadataBearer, $Command }; -export interface UpdateEventSourceMappingCommandInput - extends UpdateEventSourceMappingRequest {} -export interface UpdateEventSourceMappingCommandOutput - extends EventSourceMappingConfiguration, - __MetadataBearer {} -export declare class UpdateEventSourceMappingCommand extends $Command< - UpdateEventSourceMappingCommandInput, - UpdateEventSourceMappingCommandOutput, - LambdaClientResolvedConfig -> { - readonly input: UpdateEventSourceMappingCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - constructor(input: UpdateEventSourceMappingCommandInput); - resolveMiddleware( - clientStack: MiddlewareStack, - configuration: LambdaClientResolvedConfig, - options?: __HttpHandlerOptions - ): Handler< - UpdateEventSourceMappingCommandInput, - UpdateEventSourceMappingCommandOutput - >; - private serialize; - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/UpdateFunctionCodeCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/UpdateFunctionCodeCommand.d.ts deleted file mode 100644 index cf731762..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/UpdateFunctionCodeCommand.d.ts +++ /dev/null @@ -1,39 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { - Handler, - HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer, - MiddlewareStack, -} from "@smithy/types"; -import { - LambdaClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../LambdaClient"; -import { - FunctionConfiguration, - UpdateFunctionCodeRequest, -} from "../models/models_0"; -export { __MetadataBearer, $Command }; -export interface UpdateFunctionCodeCommandInput - extends UpdateFunctionCodeRequest {} -export interface UpdateFunctionCodeCommandOutput - extends FunctionConfiguration, - __MetadataBearer {} -export declare class UpdateFunctionCodeCommand extends $Command< - UpdateFunctionCodeCommandInput, - UpdateFunctionCodeCommandOutput, - LambdaClientResolvedConfig -> { - readonly input: UpdateFunctionCodeCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - constructor(input: UpdateFunctionCodeCommandInput); - resolveMiddleware( - clientStack: MiddlewareStack, - configuration: LambdaClientResolvedConfig, - options?: __HttpHandlerOptions - ): Handler; - private serialize; - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/UpdateFunctionConfigurationCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/UpdateFunctionConfigurationCommand.d.ts deleted file mode 100644 index 10b875cf..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/UpdateFunctionConfigurationCommand.d.ts +++ /dev/null @@ -1,42 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { - Handler, - HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer, - MiddlewareStack, -} from "@smithy/types"; -import { - LambdaClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../LambdaClient"; -import { - FunctionConfiguration, - UpdateFunctionConfigurationRequest, -} from "../models/models_0"; -export { __MetadataBearer, $Command }; -export interface UpdateFunctionConfigurationCommandInput - extends UpdateFunctionConfigurationRequest {} -export interface UpdateFunctionConfigurationCommandOutput - extends FunctionConfiguration, - __MetadataBearer {} -export declare class UpdateFunctionConfigurationCommand extends $Command< - UpdateFunctionConfigurationCommandInput, - UpdateFunctionConfigurationCommandOutput, - LambdaClientResolvedConfig -> { - readonly input: UpdateFunctionConfigurationCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - constructor(input: UpdateFunctionConfigurationCommandInput); - resolveMiddleware( - clientStack: MiddlewareStack, - configuration: LambdaClientResolvedConfig, - options?: __HttpHandlerOptions - ): Handler< - UpdateFunctionConfigurationCommandInput, - UpdateFunctionConfigurationCommandOutput - >; - private serialize; - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/UpdateFunctionEventInvokeConfigCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/UpdateFunctionEventInvokeConfigCommand.d.ts deleted file mode 100644 index 2c5cac19..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/UpdateFunctionEventInvokeConfigCommand.d.ts +++ /dev/null @@ -1,42 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { - Handler, - HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer, - MiddlewareStack, -} from "@smithy/types"; -import { - LambdaClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../LambdaClient"; -import { - FunctionEventInvokeConfig, - UpdateFunctionEventInvokeConfigRequest, -} from "../models/models_0"; -export { __MetadataBearer, $Command }; -export interface UpdateFunctionEventInvokeConfigCommandInput - extends UpdateFunctionEventInvokeConfigRequest {} -export interface UpdateFunctionEventInvokeConfigCommandOutput - extends FunctionEventInvokeConfig, - __MetadataBearer {} -export declare class UpdateFunctionEventInvokeConfigCommand extends $Command< - UpdateFunctionEventInvokeConfigCommandInput, - UpdateFunctionEventInvokeConfigCommandOutput, - LambdaClientResolvedConfig -> { - readonly input: UpdateFunctionEventInvokeConfigCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - constructor(input: UpdateFunctionEventInvokeConfigCommandInput); - resolveMiddleware( - clientStack: MiddlewareStack, - configuration: LambdaClientResolvedConfig, - options?: __HttpHandlerOptions - ): Handler< - UpdateFunctionEventInvokeConfigCommandInput, - UpdateFunctionEventInvokeConfigCommandOutput - >; - private serialize; - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/UpdateFunctionUrlConfigCommand.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/UpdateFunctionUrlConfigCommand.d.ts deleted file mode 100644 index fb5bf750..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/UpdateFunctionUrlConfigCommand.d.ts +++ /dev/null @@ -1,42 +0,0 @@ -import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; -import { Command as $Command } from "@smithy/smithy-client"; -import { - Handler, - HttpHandlerOptions as __HttpHandlerOptions, - MetadataBearer as __MetadataBearer, - MiddlewareStack, -} from "@smithy/types"; -import { - LambdaClientResolvedConfig, - ServiceInputTypes, - ServiceOutputTypes, -} from "../LambdaClient"; -import { - UpdateFunctionUrlConfigRequest, - UpdateFunctionUrlConfigResponse, -} from "../models/models_0"; -export { __MetadataBearer, $Command }; -export interface UpdateFunctionUrlConfigCommandInput - extends UpdateFunctionUrlConfigRequest {} -export interface UpdateFunctionUrlConfigCommandOutput - extends UpdateFunctionUrlConfigResponse, - __MetadataBearer {} -export declare class UpdateFunctionUrlConfigCommand extends $Command< - UpdateFunctionUrlConfigCommandInput, - UpdateFunctionUrlConfigCommandOutput, - LambdaClientResolvedConfig -> { - readonly input: UpdateFunctionUrlConfigCommandInput; - static getEndpointParameterInstructions(): EndpointParameterInstructions; - constructor(input: UpdateFunctionUrlConfigCommandInput); - resolveMiddleware( - clientStack: MiddlewareStack, - configuration: LambdaClientResolvedConfig, - options?: __HttpHandlerOptions - ): Handler< - UpdateFunctionUrlConfigCommandInput, - UpdateFunctionUrlConfigCommandOutput - >; - private serialize; - private deserialize; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/index.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/index.d.ts deleted file mode 100644 index 636eaaf6..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/index.d.ts +++ /dev/null @@ -1,66 +0,0 @@ -export * from "./AddLayerVersionPermissionCommand"; -export * from "./AddPermissionCommand"; -export * from "./CreateAliasCommand"; -export * from "./CreateCodeSigningConfigCommand"; -export * from "./CreateEventSourceMappingCommand"; -export * from "./CreateFunctionCommand"; -export * from "./CreateFunctionUrlConfigCommand"; -export * from "./DeleteAliasCommand"; -export * from "./DeleteCodeSigningConfigCommand"; -export * from "./DeleteEventSourceMappingCommand"; -export * from "./DeleteFunctionCodeSigningConfigCommand"; -export * from "./DeleteFunctionCommand"; -export * from "./DeleteFunctionConcurrencyCommand"; -export * from "./DeleteFunctionEventInvokeConfigCommand"; -export * from "./DeleteFunctionUrlConfigCommand"; -export * from "./DeleteLayerVersionCommand"; -export * from "./DeleteProvisionedConcurrencyConfigCommand"; -export * from "./GetAccountSettingsCommand"; -export * from "./GetAliasCommand"; -export * from "./GetCodeSigningConfigCommand"; -export * from "./GetEventSourceMappingCommand"; -export * from "./GetFunctionCodeSigningConfigCommand"; -export * from "./GetFunctionCommand"; -export * from "./GetFunctionConcurrencyCommand"; -export * from "./GetFunctionConfigurationCommand"; -export * from "./GetFunctionEventInvokeConfigCommand"; -export * from "./GetFunctionUrlConfigCommand"; -export * from "./GetLayerVersionByArnCommand"; -export * from "./GetLayerVersionCommand"; -export * from "./GetLayerVersionPolicyCommand"; -export * from "./GetPolicyCommand"; -export * from "./GetProvisionedConcurrencyConfigCommand"; -export * from "./GetRuntimeManagementConfigCommand"; -export * from "./InvokeAsyncCommand"; -export * from "./InvokeCommand"; -export * from "./InvokeWithResponseStreamCommand"; -export * from "./ListAliasesCommand"; -export * from "./ListCodeSigningConfigsCommand"; -export * from "./ListEventSourceMappingsCommand"; -export * from "./ListFunctionEventInvokeConfigsCommand"; -export * from "./ListFunctionUrlConfigsCommand"; -export * from "./ListFunctionsByCodeSigningConfigCommand"; -export * from "./ListFunctionsCommand"; -export * from "./ListLayerVersionsCommand"; -export * from "./ListLayersCommand"; -export * from "./ListProvisionedConcurrencyConfigsCommand"; -export * from "./ListTagsCommand"; -export * from "./ListVersionsByFunctionCommand"; -export * from "./PublishLayerVersionCommand"; -export * from "./PublishVersionCommand"; -export * from "./PutFunctionCodeSigningConfigCommand"; -export * from "./PutFunctionConcurrencyCommand"; -export * from "./PutFunctionEventInvokeConfigCommand"; -export * from "./PutProvisionedConcurrencyConfigCommand"; -export * from "./PutRuntimeManagementConfigCommand"; -export * from "./RemoveLayerVersionPermissionCommand"; -export * from "./RemovePermissionCommand"; -export * from "./TagResourceCommand"; -export * from "./UntagResourceCommand"; -export * from "./UpdateAliasCommand"; -export * from "./UpdateCodeSigningConfigCommand"; -export * from "./UpdateEventSourceMappingCommand"; -export * from "./UpdateFunctionCodeCommand"; -export * from "./UpdateFunctionConfigurationCommand"; -export * from "./UpdateFunctionEventInvokeConfigCommand"; -export * from "./UpdateFunctionUrlConfigCommand"; diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/models/index.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/models/index.d.ts deleted file mode 100644 index 09c5d6e0..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/models/index.d.ts +++ /dev/null @@ -1 +0,0 @@ -export * from "./models_0"; diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/models/models_0.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/models/models_0.d.ts deleted file mode 100644 index a86b5cfe..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/models/models_0.d.ts +++ /dev/null @@ -1,1587 +0,0 @@ -import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client"; -import { StreamingBlobTypes } from "@smithy/types"; -import { LambdaServiceException as __BaseException } from "./LambdaServiceException"; -export interface AccountLimit { - TotalCodeSize?: number; - CodeSizeUnzipped?: number; - CodeSizeZipped?: number; - ConcurrentExecutions?: number; - UnreservedConcurrentExecutions?: number; -} -export interface AccountUsage { - TotalCodeSize?: number; - FunctionCount?: number; -} -export interface AddLayerVersionPermissionRequest { - LayerName: string | undefined; - VersionNumber: number | undefined; - StatementId: string | undefined; - Action: string | undefined; - Principal: string | undefined; - OrganizationId?: string; - RevisionId?: string; -} -export interface AddLayerVersionPermissionResponse { - Statement?: string; - RevisionId?: string; -} -export declare class InvalidParameterValueException extends __BaseException { - readonly name: "InvalidParameterValueException"; - readonly $fault: "client"; - Type?: string; - constructor( - opts: __ExceptionOptionType - ); -} -export declare class PolicyLengthExceededException extends __BaseException { - readonly name: "PolicyLengthExceededException"; - readonly $fault: "client"; - Type?: string; - constructor( - opts: __ExceptionOptionType - ); -} -export declare class PreconditionFailedException extends __BaseException { - readonly name: "PreconditionFailedException"; - readonly $fault: "client"; - Type?: string; - constructor( - opts: __ExceptionOptionType - ); -} -export declare class ResourceConflictException extends __BaseException { - readonly name: "ResourceConflictException"; - readonly $fault: "client"; - Type?: string; - constructor( - opts: __ExceptionOptionType - ); -} -export declare class ResourceNotFoundException extends __BaseException { - readonly name: "ResourceNotFoundException"; - readonly $fault: "client"; - Type?: string; - Message?: string; - constructor( - opts: __ExceptionOptionType - ); -} -export declare class ServiceException extends __BaseException { - readonly name: "ServiceException"; - readonly $fault: "server"; - Type?: string; - Message?: string; - constructor(opts: __ExceptionOptionType); -} -export declare const ThrottleReason: { - readonly CallerRateLimitExceeded: "CallerRateLimitExceeded"; - readonly ConcurrentInvocationLimitExceeded: "ConcurrentInvocationLimitExceeded"; - readonly ConcurrentSnapshotCreateLimitExceeded: "ConcurrentSnapshotCreateLimitExceeded"; - readonly FunctionInvocationRateLimitExceeded: "FunctionInvocationRateLimitExceeded"; - readonly ReservedFunctionConcurrentInvocationLimitExceeded: "ReservedFunctionConcurrentInvocationLimitExceeded"; - readonly ReservedFunctionInvocationRateLimitExceeded: "ReservedFunctionInvocationRateLimitExceeded"; -}; -export type ThrottleReason = - (typeof ThrottleReason)[keyof typeof ThrottleReason]; -export declare class TooManyRequestsException extends __BaseException { - readonly name: "TooManyRequestsException"; - readonly $fault: "client"; - retryAfterSeconds?: string; - Type?: string; - Reason?: ThrottleReason; - constructor( - opts: __ExceptionOptionType - ); -} -export declare const FunctionUrlAuthType: { - readonly AWS_IAM: "AWS_IAM"; - readonly NONE: "NONE"; -}; -export type FunctionUrlAuthType = - (typeof FunctionUrlAuthType)[keyof typeof FunctionUrlAuthType]; -export interface AddPermissionRequest { - FunctionName: string | undefined; - StatementId: string | undefined; - Action: string | undefined; - Principal: string | undefined; - SourceArn?: string; - SourceAccount?: string; - EventSourceToken?: string; - Qualifier?: string; - RevisionId?: string; - PrincipalOrgID?: string; - FunctionUrlAuthType?: FunctionUrlAuthType; -} -export interface AddPermissionResponse { - Statement?: string; -} -export interface AliasRoutingConfiguration { - AdditionalVersionWeights?: Record; -} -export interface AliasConfiguration { - AliasArn?: string; - Name?: string; - FunctionVersion?: string; - Description?: string; - RoutingConfig?: AliasRoutingConfiguration; - RevisionId?: string; -} -export interface AllowedPublishers { - SigningProfileVersionArns: string[] | undefined; -} -export interface AmazonManagedKafkaEventSourceConfig { - ConsumerGroupId?: string; -} -export declare const ApplicationLogLevel: { - readonly Debug: "DEBUG"; - readonly Error: "ERROR"; - readonly Fatal: "FATAL"; - readonly Info: "INFO"; - readonly Trace: "TRACE"; - readonly Warn: "WARN"; -}; -export type ApplicationLogLevel = - (typeof ApplicationLogLevel)[keyof typeof ApplicationLogLevel]; -export declare const Architecture: { - readonly arm64: "arm64"; - readonly x86_64: "x86_64"; -}; -export type Architecture = (typeof Architecture)[keyof typeof Architecture]; -export interface CreateAliasRequest { - FunctionName: string | undefined; - Name: string | undefined; - FunctionVersion: string | undefined; - Description?: string; - RoutingConfig?: AliasRoutingConfiguration; -} -export declare const CodeSigningPolicy: { - readonly Enforce: "Enforce"; - readonly Warn: "Warn"; -}; -export type CodeSigningPolicy = - (typeof CodeSigningPolicy)[keyof typeof CodeSigningPolicy]; -export interface CodeSigningPolicies { - UntrustedArtifactOnDeployment?: CodeSigningPolicy; -} -export interface CreateCodeSigningConfigRequest { - Description?: string; - AllowedPublishers: AllowedPublishers | undefined; - CodeSigningPolicies?: CodeSigningPolicies; -} -export interface CodeSigningConfig { - CodeSigningConfigId: string | undefined; - CodeSigningConfigArn: string | undefined; - Description?: string; - AllowedPublishers: AllowedPublishers | undefined; - CodeSigningPolicies: CodeSigningPolicies | undefined; - LastModified: string | undefined; -} -export interface CreateCodeSigningConfigResponse { - CodeSigningConfig: CodeSigningConfig | undefined; -} -export interface OnFailure { - Destination?: string; -} -export interface OnSuccess { - Destination?: string; -} -export interface DestinationConfig { - OnSuccess?: OnSuccess; - OnFailure?: OnFailure; -} -export declare const FullDocument: { - readonly Default: "Default"; - readonly UpdateLookup: "UpdateLookup"; -}; -export type FullDocument = (typeof FullDocument)[keyof typeof FullDocument]; -export interface DocumentDBEventSourceConfig { - DatabaseName?: string; - CollectionName?: string; - FullDocument?: FullDocument; -} -export interface Filter { - Pattern?: string; -} -export interface FilterCriteria { - Filters?: Filter[]; -} -export declare const FunctionResponseType: { - readonly ReportBatchItemFailures: "ReportBatchItemFailures"; -}; -export type FunctionResponseType = - (typeof FunctionResponseType)[keyof typeof FunctionResponseType]; -export interface ScalingConfig { - MaximumConcurrency?: number; -} -export declare const EndPointType: { - readonly KAFKA_BOOTSTRAP_SERVERS: "KAFKA_BOOTSTRAP_SERVERS"; -}; -export type EndPointType = (typeof EndPointType)[keyof typeof EndPointType]; -export interface SelfManagedEventSource { - Endpoints?: Partial>; -} -export interface SelfManagedKafkaEventSourceConfig { - ConsumerGroupId?: string; -} -export declare const SourceAccessType: { - readonly BASIC_AUTH: "BASIC_AUTH"; - readonly CLIENT_CERTIFICATE_TLS_AUTH: "CLIENT_CERTIFICATE_TLS_AUTH"; - readonly SASL_SCRAM_256_AUTH: "SASL_SCRAM_256_AUTH"; - readonly SASL_SCRAM_512_AUTH: "SASL_SCRAM_512_AUTH"; - readonly SERVER_ROOT_CA_CERTIFICATE: "SERVER_ROOT_CA_CERTIFICATE"; - readonly VIRTUAL_HOST: "VIRTUAL_HOST"; - readonly VPC_SECURITY_GROUP: "VPC_SECURITY_GROUP"; - readonly VPC_SUBNET: "VPC_SUBNET"; -}; -export type SourceAccessType = - (typeof SourceAccessType)[keyof typeof SourceAccessType]; -export interface SourceAccessConfiguration { - Type?: SourceAccessType; - URI?: string; -} -export declare const EventSourcePosition: { - readonly AT_TIMESTAMP: "AT_TIMESTAMP"; - readonly LATEST: "LATEST"; - readonly TRIM_HORIZON: "TRIM_HORIZON"; -}; -export type EventSourcePosition = - (typeof EventSourcePosition)[keyof typeof EventSourcePosition]; -export interface CreateEventSourceMappingRequest { - EventSourceArn?: string; - FunctionName: string | undefined; - Enabled?: boolean; - BatchSize?: number; - FilterCriteria?: FilterCriteria; - MaximumBatchingWindowInSeconds?: number; - ParallelizationFactor?: number; - StartingPosition?: EventSourcePosition; - StartingPositionTimestamp?: Date; - DestinationConfig?: DestinationConfig; - MaximumRecordAgeInSeconds?: number; - BisectBatchOnFunctionError?: boolean; - MaximumRetryAttempts?: number; - TumblingWindowInSeconds?: number; - Topics?: string[]; - Queues?: string[]; - SourceAccessConfigurations?: SourceAccessConfiguration[]; - SelfManagedEventSource?: SelfManagedEventSource; - FunctionResponseTypes?: FunctionResponseType[]; - AmazonManagedKafkaEventSourceConfig?: AmazonManagedKafkaEventSourceConfig; - SelfManagedKafkaEventSourceConfig?: SelfManagedKafkaEventSourceConfig; - ScalingConfig?: ScalingConfig; - DocumentDBEventSourceConfig?: DocumentDBEventSourceConfig; -} -export interface EventSourceMappingConfiguration { - UUID?: string; - StartingPosition?: EventSourcePosition; - StartingPositionTimestamp?: Date; - BatchSize?: number; - MaximumBatchingWindowInSeconds?: number; - ParallelizationFactor?: number; - EventSourceArn?: string; - FilterCriteria?: FilterCriteria; - FunctionArn?: string; - LastModified?: Date; - LastProcessingResult?: string; - State?: string; - StateTransitionReason?: string; - DestinationConfig?: DestinationConfig; - Topics?: string[]; - Queues?: string[]; - SourceAccessConfigurations?: SourceAccessConfiguration[]; - SelfManagedEventSource?: SelfManagedEventSource; - MaximumRecordAgeInSeconds?: number; - BisectBatchOnFunctionError?: boolean; - MaximumRetryAttempts?: number; - TumblingWindowInSeconds?: number; - FunctionResponseTypes?: FunctionResponseType[]; - AmazonManagedKafkaEventSourceConfig?: AmazonManagedKafkaEventSourceConfig; - SelfManagedKafkaEventSourceConfig?: SelfManagedKafkaEventSourceConfig; - ScalingConfig?: ScalingConfig; - DocumentDBEventSourceConfig?: DocumentDBEventSourceConfig; -} -export declare class CodeSigningConfigNotFoundException extends __BaseException { - readonly name: "CodeSigningConfigNotFoundException"; - readonly $fault: "client"; - Type?: string; - Message?: string; - constructor( - opts: __ExceptionOptionType< - CodeSigningConfigNotFoundException, - __BaseException - > - ); -} -export declare class CodeStorageExceededException extends __BaseException { - readonly name: "CodeStorageExceededException"; - readonly $fault: "client"; - Type?: string; - constructor( - opts: __ExceptionOptionType - ); -} -export declare class CodeVerificationFailedException extends __BaseException { - readonly name: "CodeVerificationFailedException"; - readonly $fault: "client"; - Type?: string; - Message?: string; - constructor( - opts: __ExceptionOptionType< - CodeVerificationFailedException, - __BaseException - > - ); -} -export interface FunctionCode { - ZipFile?: Uint8Array; - S3Bucket?: string; - S3Key?: string; - S3ObjectVersion?: string; - ImageUri?: string; -} -export interface DeadLetterConfig { - TargetArn?: string; -} -export interface Environment { - Variables?: Record; -} -export interface EphemeralStorage { - Size: number | undefined; -} -export interface FileSystemConfig { - Arn: string | undefined; - LocalMountPath: string | undefined; -} -export interface ImageConfig { - EntryPoint?: string[]; - Command?: string[]; - WorkingDirectory?: string; -} -export declare const LogFormat: { - readonly Json: "JSON"; - readonly Text: "Text"; -}; -export type LogFormat = (typeof LogFormat)[keyof typeof LogFormat]; -export declare const SystemLogLevel: { - readonly Debug: "DEBUG"; - readonly Info: "INFO"; - readonly Warn: "WARN"; -}; -export type SystemLogLevel = - (typeof SystemLogLevel)[keyof typeof SystemLogLevel]; -export interface LoggingConfig { - LogFormat?: LogFormat; - ApplicationLogLevel?: ApplicationLogLevel; - SystemLogLevel?: SystemLogLevel; - LogGroup?: string; -} -export declare const PackageType: { - readonly Image: "Image"; - readonly Zip: "Zip"; -}; -export type PackageType = (typeof PackageType)[keyof typeof PackageType]; -export declare const Runtime: { - readonly dotnet6: "dotnet6"; - readonly dotnetcore10: "dotnetcore1.0"; - readonly dotnetcore20: "dotnetcore2.0"; - readonly dotnetcore21: "dotnetcore2.1"; - readonly dotnetcore31: "dotnetcore3.1"; - readonly go1x: "go1.x"; - readonly java11: "java11"; - readonly java17: "java17"; - readonly java21: "java21"; - readonly java8: "java8"; - readonly java8al2: "java8.al2"; - readonly nodejs: "nodejs"; - readonly nodejs10x: "nodejs10.x"; - readonly nodejs12x: "nodejs12.x"; - readonly nodejs14x: "nodejs14.x"; - readonly nodejs16x: "nodejs16.x"; - readonly nodejs18x: "nodejs18.x"; - readonly nodejs20x: "nodejs20.x"; - readonly nodejs43: "nodejs4.3"; - readonly nodejs43edge: "nodejs4.3-edge"; - readonly nodejs610: "nodejs6.10"; - readonly nodejs810: "nodejs8.10"; - readonly provided: "provided"; - readonly providedal2: "provided.al2"; - readonly providedal2023: "provided.al2023"; - readonly python27: "python2.7"; - readonly python310: "python3.10"; - readonly python311: "python3.11"; - readonly python312: "python3.12"; - readonly python36: "python3.6"; - readonly python37: "python3.7"; - readonly python38: "python3.8"; - readonly python39: "python3.9"; - readonly ruby25: "ruby2.5"; - readonly ruby27: "ruby2.7"; - readonly ruby32: "ruby3.2"; -}; -export type Runtime = (typeof Runtime)[keyof typeof Runtime]; -export declare const SnapStartApplyOn: { - readonly None: "None"; - readonly PublishedVersions: "PublishedVersions"; -}; -export type SnapStartApplyOn = - (typeof SnapStartApplyOn)[keyof typeof SnapStartApplyOn]; -export interface SnapStart { - ApplyOn?: SnapStartApplyOn; -} -export declare const TracingMode: { - readonly Active: "Active"; - readonly PassThrough: "PassThrough"; -}; -export type TracingMode = (typeof TracingMode)[keyof typeof TracingMode]; -export interface TracingConfig { - Mode?: TracingMode; -} -export interface VpcConfig { - SubnetIds?: string[]; - SecurityGroupIds?: string[]; - Ipv6AllowedForDualStack?: boolean; -} -export interface CreateFunctionRequest { - FunctionName: string | undefined; - Runtime?: Runtime; - Role: string | undefined; - Handler?: string; - Code: FunctionCode | undefined; - Description?: string; - Timeout?: number; - MemorySize?: number; - Publish?: boolean; - VpcConfig?: VpcConfig; - PackageType?: PackageType; - DeadLetterConfig?: DeadLetterConfig; - Environment?: Environment; - KMSKeyArn?: string; - TracingConfig?: TracingConfig; - Tags?: Record; - Layers?: string[]; - FileSystemConfigs?: FileSystemConfig[]; - ImageConfig?: ImageConfig; - CodeSigningConfigArn?: string; - Architectures?: Architecture[]; - EphemeralStorage?: EphemeralStorage; - SnapStart?: SnapStart; - LoggingConfig?: LoggingConfig; -} -export interface EnvironmentError { - ErrorCode?: string; - Message?: string; -} -export interface EnvironmentResponse { - Variables?: Record; - Error?: EnvironmentError; -} -export interface ImageConfigError { - ErrorCode?: string; - Message?: string; -} -export interface ImageConfigResponse { - ImageConfig?: ImageConfig; - Error?: ImageConfigError; -} -export declare const LastUpdateStatus: { - readonly Failed: "Failed"; - readonly InProgress: "InProgress"; - readonly Successful: "Successful"; -}; -export type LastUpdateStatus = - (typeof LastUpdateStatus)[keyof typeof LastUpdateStatus]; -export declare const LastUpdateStatusReasonCode: { - readonly DisabledKMSKey: "DisabledKMSKey"; - readonly EFSIOError: "EFSIOError"; - readonly EFSMountConnectivityError: "EFSMountConnectivityError"; - readonly EFSMountFailure: "EFSMountFailure"; - readonly EFSMountTimeout: "EFSMountTimeout"; - readonly EniLimitExceeded: "EniLimitExceeded"; - readonly FunctionError: "FunctionError"; - readonly ImageAccessDenied: "ImageAccessDenied"; - readonly ImageDeleted: "ImageDeleted"; - readonly InsufficientRolePermissions: "InsufficientRolePermissions"; - readonly InternalError: "InternalError"; - readonly InvalidConfiguration: "InvalidConfiguration"; - readonly InvalidImage: "InvalidImage"; - readonly InvalidRuntime: "InvalidRuntime"; - readonly InvalidSecurityGroup: "InvalidSecurityGroup"; - readonly InvalidStateKMSKey: "InvalidStateKMSKey"; - readonly InvalidSubnet: "InvalidSubnet"; - readonly InvalidZipFileException: "InvalidZipFileException"; - readonly KMSKeyAccessDenied: "KMSKeyAccessDenied"; - readonly KMSKeyNotFound: "KMSKeyNotFound"; - readonly SubnetOutOfIPAddresses: "SubnetOutOfIPAddresses"; -}; -export type LastUpdateStatusReasonCode = - (typeof LastUpdateStatusReasonCode)[keyof typeof LastUpdateStatusReasonCode]; -export interface Layer { - Arn?: string; - CodeSize?: number; - SigningProfileVersionArn?: string; - SigningJobArn?: string; -} -export interface RuntimeVersionError { - ErrorCode?: string; - Message?: string; -} -export interface RuntimeVersionConfig { - RuntimeVersionArn?: string; - Error?: RuntimeVersionError; -} -export declare const SnapStartOptimizationStatus: { - readonly Off: "Off"; - readonly On: "On"; -}; -export type SnapStartOptimizationStatus = - (typeof SnapStartOptimizationStatus)[keyof typeof SnapStartOptimizationStatus]; -export interface SnapStartResponse { - ApplyOn?: SnapStartApplyOn; - OptimizationStatus?: SnapStartOptimizationStatus; -} -export declare const State: { - readonly Active: "Active"; - readonly Failed: "Failed"; - readonly Inactive: "Inactive"; - readonly Pending: "Pending"; -}; -export type State = (typeof State)[keyof typeof State]; -export declare const StateReasonCode: { - readonly Creating: "Creating"; - readonly DisabledKMSKey: "DisabledKMSKey"; - readonly EFSIOError: "EFSIOError"; - readonly EFSMountConnectivityError: "EFSMountConnectivityError"; - readonly EFSMountFailure: "EFSMountFailure"; - readonly EFSMountTimeout: "EFSMountTimeout"; - readonly EniLimitExceeded: "EniLimitExceeded"; - readonly FunctionError: "FunctionError"; - readonly Idle: "Idle"; - readonly ImageAccessDenied: "ImageAccessDenied"; - readonly ImageDeleted: "ImageDeleted"; - readonly InsufficientRolePermissions: "InsufficientRolePermissions"; - readonly InternalError: "InternalError"; - readonly InvalidConfiguration: "InvalidConfiguration"; - readonly InvalidImage: "InvalidImage"; - readonly InvalidRuntime: "InvalidRuntime"; - readonly InvalidSecurityGroup: "InvalidSecurityGroup"; - readonly InvalidStateKMSKey: "InvalidStateKMSKey"; - readonly InvalidSubnet: "InvalidSubnet"; - readonly InvalidZipFileException: "InvalidZipFileException"; - readonly KMSKeyAccessDenied: "KMSKeyAccessDenied"; - readonly KMSKeyNotFound: "KMSKeyNotFound"; - readonly Restoring: "Restoring"; - readonly SubnetOutOfIPAddresses: "SubnetOutOfIPAddresses"; -}; -export type StateReasonCode = - (typeof StateReasonCode)[keyof typeof StateReasonCode]; -export interface TracingConfigResponse { - Mode?: TracingMode; -} -export interface VpcConfigResponse { - SubnetIds?: string[]; - SecurityGroupIds?: string[]; - VpcId?: string; - Ipv6AllowedForDualStack?: boolean; -} -export interface FunctionConfiguration { - FunctionName?: string; - FunctionArn?: string; - Runtime?: Runtime; - Role?: string; - Handler?: string; - CodeSize?: number; - Description?: string; - Timeout?: number; - MemorySize?: number; - LastModified?: string; - CodeSha256?: string; - Version?: string; - VpcConfig?: VpcConfigResponse; - DeadLetterConfig?: DeadLetterConfig; - Environment?: EnvironmentResponse; - KMSKeyArn?: string; - TracingConfig?: TracingConfigResponse; - MasterArn?: string; - RevisionId?: string; - Layers?: Layer[]; - State?: State; - StateReason?: string; - StateReasonCode?: StateReasonCode; - LastUpdateStatus?: LastUpdateStatus; - LastUpdateStatusReason?: string; - LastUpdateStatusReasonCode?: LastUpdateStatusReasonCode; - FileSystemConfigs?: FileSystemConfig[]; - PackageType?: PackageType; - ImageConfigResponse?: ImageConfigResponse; - SigningProfileVersionArn?: string; - SigningJobArn?: string; - Architectures?: Architecture[]; - EphemeralStorage?: EphemeralStorage; - SnapStart?: SnapStartResponse; - RuntimeVersionConfig?: RuntimeVersionConfig; - LoggingConfig?: LoggingConfig; -} -export declare class InvalidCodeSignatureException extends __BaseException { - readonly name: "InvalidCodeSignatureException"; - readonly $fault: "client"; - Type?: string; - Message?: string; - constructor( - opts: __ExceptionOptionType - ); -} -export interface Cors { - AllowCredentials?: boolean; - AllowHeaders?: string[]; - AllowMethods?: string[]; - AllowOrigins?: string[]; - ExposeHeaders?: string[]; - MaxAge?: number; -} -export declare const InvokeMode: { - readonly BUFFERED: "BUFFERED"; - readonly RESPONSE_STREAM: "RESPONSE_STREAM"; -}; -export type InvokeMode = (typeof InvokeMode)[keyof typeof InvokeMode]; -export interface CreateFunctionUrlConfigRequest { - FunctionName: string | undefined; - Qualifier?: string; - AuthType: FunctionUrlAuthType | undefined; - Cors?: Cors; - InvokeMode?: InvokeMode; -} -export interface CreateFunctionUrlConfigResponse { - FunctionUrl: string | undefined; - FunctionArn: string | undefined; - AuthType: FunctionUrlAuthType | undefined; - Cors?: Cors; - CreationTime: string | undefined; - InvokeMode?: InvokeMode; -} -export interface DeleteAliasRequest { - FunctionName: string | undefined; - Name: string | undefined; -} -export interface DeleteCodeSigningConfigRequest { - CodeSigningConfigArn: string | undefined; -} -export interface DeleteCodeSigningConfigResponse {} -export interface DeleteEventSourceMappingRequest { - UUID: string | undefined; -} -export declare class ResourceInUseException extends __BaseException { - readonly name: "ResourceInUseException"; - readonly $fault: "client"; - Type?: string; - Message?: string; - constructor( - opts: __ExceptionOptionType - ); -} -export interface DeleteFunctionRequest { - FunctionName: string | undefined; - Qualifier?: string; -} -export interface DeleteFunctionCodeSigningConfigRequest { - FunctionName: string | undefined; -} -export interface DeleteFunctionConcurrencyRequest { - FunctionName: string | undefined; -} -export interface DeleteFunctionEventInvokeConfigRequest { - FunctionName: string | undefined; - Qualifier?: string; -} -export interface DeleteFunctionUrlConfigRequest { - FunctionName: string | undefined; - Qualifier?: string; -} -export interface DeleteLayerVersionRequest { - LayerName: string | undefined; - VersionNumber: number | undefined; -} -export interface DeleteProvisionedConcurrencyConfigRequest { - FunctionName: string | undefined; - Qualifier: string | undefined; -} -export interface GetAccountSettingsRequest {} -export interface GetAccountSettingsResponse { - AccountLimit?: AccountLimit; - AccountUsage?: AccountUsage; -} -export interface GetAliasRequest { - FunctionName: string | undefined; - Name: string | undefined; -} -export interface GetCodeSigningConfigRequest { - CodeSigningConfigArn: string | undefined; -} -export interface GetCodeSigningConfigResponse { - CodeSigningConfig: CodeSigningConfig | undefined; -} -export interface GetEventSourceMappingRequest { - UUID: string | undefined; -} -export interface GetFunctionRequest { - FunctionName: string | undefined; - Qualifier?: string; -} -export interface FunctionCodeLocation { - RepositoryType?: string; - Location?: string; - ImageUri?: string; - ResolvedImageUri?: string; -} -export interface Concurrency { - ReservedConcurrentExecutions?: number; -} -export interface GetFunctionResponse { - Configuration?: FunctionConfiguration; - Code?: FunctionCodeLocation; - Tags?: Record; - Concurrency?: Concurrency; -} -export interface GetFunctionCodeSigningConfigRequest { - FunctionName: string | undefined; -} -export interface GetFunctionCodeSigningConfigResponse { - CodeSigningConfigArn: string | undefined; - FunctionName: string | undefined; -} -export interface GetFunctionConcurrencyRequest { - FunctionName: string | undefined; -} -export interface GetFunctionConcurrencyResponse { - ReservedConcurrentExecutions?: number; -} -export interface GetFunctionConfigurationRequest { - FunctionName: string | undefined; - Qualifier?: string; -} -export interface FunctionEventInvokeConfig { - LastModified?: Date; - FunctionArn?: string; - MaximumRetryAttempts?: number; - MaximumEventAgeInSeconds?: number; - DestinationConfig?: DestinationConfig; -} -export interface GetFunctionEventInvokeConfigRequest { - FunctionName: string | undefined; - Qualifier?: string; -} -export interface GetFunctionUrlConfigRequest { - FunctionName: string | undefined; - Qualifier?: string; -} -export interface GetFunctionUrlConfigResponse { - FunctionUrl: string | undefined; - FunctionArn: string | undefined; - AuthType: FunctionUrlAuthType | undefined; - Cors?: Cors; - CreationTime: string | undefined; - LastModifiedTime: string | undefined; - InvokeMode?: InvokeMode; -} -export interface GetLayerVersionRequest { - LayerName: string | undefined; - VersionNumber: number | undefined; -} -export interface LayerVersionContentOutput { - Location?: string; - CodeSha256?: string; - CodeSize?: number; - SigningProfileVersionArn?: string; - SigningJobArn?: string; -} -export interface GetLayerVersionResponse { - Content?: LayerVersionContentOutput; - LayerArn?: string; - LayerVersionArn?: string; - Description?: string; - CreatedDate?: string; - Version?: number; - CompatibleRuntimes?: Runtime[]; - LicenseInfo?: string; - CompatibleArchitectures?: Architecture[]; -} -export interface GetLayerVersionByArnRequest { - Arn: string | undefined; -} -export interface GetLayerVersionPolicyRequest { - LayerName: string | undefined; - VersionNumber: number | undefined; -} -export interface GetLayerVersionPolicyResponse { - Policy?: string; - RevisionId?: string; -} -export interface GetPolicyRequest { - FunctionName: string | undefined; - Qualifier?: string; -} -export interface GetPolicyResponse { - Policy?: string; - RevisionId?: string; -} -export interface GetProvisionedConcurrencyConfigRequest { - FunctionName: string | undefined; - Qualifier: string | undefined; -} -export declare const ProvisionedConcurrencyStatusEnum: { - readonly FAILED: "FAILED"; - readonly IN_PROGRESS: "IN_PROGRESS"; - readonly READY: "READY"; -}; -export type ProvisionedConcurrencyStatusEnum = - (typeof ProvisionedConcurrencyStatusEnum)[keyof typeof ProvisionedConcurrencyStatusEnum]; -export interface GetProvisionedConcurrencyConfigResponse { - RequestedProvisionedConcurrentExecutions?: number; - AvailableProvisionedConcurrentExecutions?: number; - AllocatedProvisionedConcurrentExecutions?: number; - Status?: ProvisionedConcurrencyStatusEnum; - StatusReason?: string; - LastModified?: string; -} -export declare class ProvisionedConcurrencyConfigNotFoundException extends __BaseException { - readonly name: "ProvisionedConcurrencyConfigNotFoundException"; - readonly $fault: "client"; - Type?: string; - constructor( - opts: __ExceptionOptionType< - ProvisionedConcurrencyConfigNotFoundException, - __BaseException - > - ); -} -export interface GetRuntimeManagementConfigRequest { - FunctionName: string | undefined; - Qualifier?: string; -} -export declare const UpdateRuntimeOn: { - readonly Auto: "Auto"; - readonly FunctionUpdate: "FunctionUpdate"; - readonly Manual: "Manual"; -}; -export type UpdateRuntimeOn = - (typeof UpdateRuntimeOn)[keyof typeof UpdateRuntimeOn]; -export interface GetRuntimeManagementConfigResponse { - UpdateRuntimeOn?: UpdateRuntimeOn; - RuntimeVersionArn?: string; - FunctionArn?: string; -} -export declare class EC2AccessDeniedException extends __BaseException { - readonly name: "EC2AccessDeniedException"; - readonly $fault: "server"; - Type?: string; - Message?: string; - constructor( - opts: __ExceptionOptionType - ); -} -export declare class EC2ThrottledException extends __BaseException { - readonly name: "EC2ThrottledException"; - readonly $fault: "server"; - Type?: string; - Message?: string; - constructor( - opts: __ExceptionOptionType - ); -} -export declare class EC2UnexpectedException extends __BaseException { - readonly name: "EC2UnexpectedException"; - readonly $fault: "server"; - Type?: string; - Message?: string; - EC2ErrorCode?: string; - constructor( - opts: __ExceptionOptionType - ); -} -export declare class EFSIOException extends __BaseException { - readonly name: "EFSIOException"; - readonly $fault: "client"; - Type?: string; - Message?: string; - constructor(opts: __ExceptionOptionType); -} -export declare class EFSMountConnectivityException extends __BaseException { - readonly name: "EFSMountConnectivityException"; - readonly $fault: "client"; - Type?: string; - Message?: string; - constructor( - opts: __ExceptionOptionType - ); -} -export declare class EFSMountFailureException extends __BaseException { - readonly name: "EFSMountFailureException"; - readonly $fault: "client"; - Type?: string; - Message?: string; - constructor( - opts: __ExceptionOptionType - ); -} -export declare class EFSMountTimeoutException extends __BaseException { - readonly name: "EFSMountTimeoutException"; - readonly $fault: "client"; - Type?: string; - Message?: string; - constructor( - opts: __ExceptionOptionType - ); -} -export declare class ENILimitReachedException extends __BaseException { - readonly name: "ENILimitReachedException"; - readonly $fault: "server"; - Type?: string; - Message?: string; - constructor( - opts: __ExceptionOptionType - ); -} -export declare class InvalidRequestContentException extends __BaseException { - readonly name: "InvalidRequestContentException"; - readonly $fault: "client"; - Type?: string; - constructor( - opts: __ExceptionOptionType - ); -} -export declare class InvalidRuntimeException extends __BaseException { - readonly name: "InvalidRuntimeException"; - readonly $fault: "server"; - Type?: string; - Message?: string; - constructor( - opts: __ExceptionOptionType - ); -} -export declare class InvalidSecurityGroupIDException extends __BaseException { - readonly name: "InvalidSecurityGroupIDException"; - readonly $fault: "server"; - Type?: string; - Message?: string; - constructor( - opts: __ExceptionOptionType< - InvalidSecurityGroupIDException, - __BaseException - > - ); -} -export declare class InvalidSubnetIDException extends __BaseException { - readonly name: "InvalidSubnetIDException"; - readonly $fault: "server"; - Type?: string; - Message?: string; - constructor( - opts: __ExceptionOptionType - ); -} -export declare class InvalidZipFileException extends __BaseException { - readonly name: "InvalidZipFileException"; - readonly $fault: "server"; - Type?: string; - Message?: string; - constructor( - opts: __ExceptionOptionType - ); -} -export declare const InvocationType: { - readonly DryRun: "DryRun"; - readonly Event: "Event"; - readonly RequestResponse: "RequestResponse"; -}; -export type InvocationType = - (typeof InvocationType)[keyof typeof InvocationType]; -export declare const LogType: { - readonly None: "None"; - readonly Tail: "Tail"; -}; -export type LogType = (typeof LogType)[keyof typeof LogType]; -export interface InvocationRequest { - FunctionName: string | undefined; - InvocationType?: InvocationType; - LogType?: LogType; - ClientContext?: string; - Payload?: Uint8Array; - Qualifier?: string; -} -export interface InvocationResponse { - StatusCode?: number; - FunctionError?: string; - LogResult?: string; - Payload?: Uint8Array; - ExecutedVersion?: string; -} -export declare class KMSAccessDeniedException extends __BaseException { - readonly name: "KMSAccessDeniedException"; - readonly $fault: "server"; - Type?: string; - Message?: string; - constructor( - opts: __ExceptionOptionType - ); -} -export declare class KMSDisabledException extends __BaseException { - readonly name: "KMSDisabledException"; - readonly $fault: "server"; - Type?: string; - Message?: string; - constructor( - opts: __ExceptionOptionType - ); -} -export declare class KMSInvalidStateException extends __BaseException { - readonly name: "KMSInvalidStateException"; - readonly $fault: "server"; - Type?: string; - Message?: string; - constructor( - opts: __ExceptionOptionType - ); -} -export declare class KMSNotFoundException extends __BaseException { - readonly name: "KMSNotFoundException"; - readonly $fault: "server"; - Type?: string; - Message?: string; - constructor( - opts: __ExceptionOptionType - ); -} -export declare class RecursiveInvocationException extends __BaseException { - readonly name: "RecursiveInvocationException"; - readonly $fault: "client"; - Type?: string; - Message?: string; - constructor( - opts: __ExceptionOptionType - ); -} -export declare class RequestTooLargeException extends __BaseException { - readonly name: "RequestTooLargeException"; - readonly $fault: "client"; - Type?: string; - constructor( - opts: __ExceptionOptionType - ); -} -export declare class ResourceNotReadyException extends __BaseException { - readonly name: "ResourceNotReadyException"; - readonly $fault: "server"; - Type?: string; - constructor( - opts: __ExceptionOptionType - ); -} -export declare class SnapStartException extends __BaseException { - readonly name: "SnapStartException"; - readonly $fault: "client"; - Type?: string; - Message?: string; - constructor(opts: __ExceptionOptionType); -} -export declare class SnapStartNotReadyException extends __BaseException { - readonly name: "SnapStartNotReadyException"; - readonly $fault: "client"; - Type?: string; - Message?: string; - constructor( - opts: __ExceptionOptionType - ); -} -export declare class SnapStartTimeoutException extends __BaseException { - readonly name: "SnapStartTimeoutException"; - readonly $fault: "client"; - Type?: string; - Message?: string; - constructor( - opts: __ExceptionOptionType - ); -} -export declare class SubnetIPAddressLimitReachedException extends __BaseException { - readonly name: "SubnetIPAddressLimitReachedException"; - readonly $fault: "server"; - Type?: string; - Message?: string; - constructor( - opts: __ExceptionOptionType< - SubnetIPAddressLimitReachedException, - __BaseException - > - ); -} -export declare class UnsupportedMediaTypeException extends __BaseException { - readonly name: "UnsupportedMediaTypeException"; - readonly $fault: "client"; - Type?: string; - constructor( - opts: __ExceptionOptionType - ); -} -export interface InvokeAsyncRequest { - FunctionName: string | undefined; - InvokeArgs: StreamingBlobTypes | undefined; -} -export interface InvokeAsyncResponse { - Status?: number; -} -export declare const ResponseStreamingInvocationType: { - readonly DryRun: "DryRun"; - readonly RequestResponse: "RequestResponse"; -}; -export type ResponseStreamingInvocationType = - (typeof ResponseStreamingInvocationType)[keyof typeof ResponseStreamingInvocationType]; -export interface InvokeWithResponseStreamRequest { - FunctionName: string | undefined; - InvocationType?: ResponseStreamingInvocationType; - LogType?: LogType; - ClientContext?: string; - Qualifier?: string; - Payload?: Uint8Array; -} -export interface InvokeWithResponseStreamCompleteEvent { - ErrorCode?: string; - ErrorDetails?: string; - LogResult?: string; -} -export interface InvokeResponseStreamUpdate { - Payload?: Uint8Array; -} -export type InvokeWithResponseStreamResponseEvent = - | InvokeWithResponseStreamResponseEvent.InvokeCompleteMember - | InvokeWithResponseStreamResponseEvent.PayloadChunkMember - | InvokeWithResponseStreamResponseEvent.$UnknownMember; -export declare namespace InvokeWithResponseStreamResponseEvent { - interface PayloadChunkMember { - PayloadChunk: InvokeResponseStreamUpdate; - InvokeComplete?: never; - $unknown?: never; - } - interface InvokeCompleteMember { - PayloadChunk?: never; - InvokeComplete: InvokeWithResponseStreamCompleteEvent; - $unknown?: never; - } - interface $UnknownMember { - PayloadChunk?: never; - InvokeComplete?: never; - $unknown: [string, any]; - } - interface Visitor { - PayloadChunk: (value: InvokeResponseStreamUpdate) => T; - InvokeComplete: (value: InvokeWithResponseStreamCompleteEvent) => T; - _: (name: string, value: any) => T; - } - const visit: ( - value: InvokeWithResponseStreamResponseEvent, - visitor: Visitor - ) => T; -} -export interface InvokeWithResponseStreamResponse { - StatusCode?: number; - ExecutedVersion?: string; - EventStream?: AsyncIterable; - ResponseStreamContentType?: string; -} -export interface ListAliasesRequest { - FunctionName: string | undefined; - FunctionVersion?: string; - Marker?: string; - MaxItems?: number; -} -export interface ListAliasesResponse { - NextMarker?: string; - Aliases?: AliasConfiguration[]; -} -export interface ListCodeSigningConfigsRequest { - Marker?: string; - MaxItems?: number; -} -export interface ListCodeSigningConfigsResponse { - NextMarker?: string; - CodeSigningConfigs?: CodeSigningConfig[]; -} -export interface ListEventSourceMappingsRequest { - EventSourceArn?: string; - FunctionName?: string; - Marker?: string; - MaxItems?: number; -} -export interface ListEventSourceMappingsResponse { - NextMarker?: string; - EventSourceMappings?: EventSourceMappingConfiguration[]; -} -export interface ListFunctionEventInvokeConfigsRequest { - FunctionName: string | undefined; - Marker?: string; - MaxItems?: number; -} -export interface ListFunctionEventInvokeConfigsResponse { - FunctionEventInvokeConfigs?: FunctionEventInvokeConfig[]; - NextMarker?: string; -} -export declare const FunctionVersion: { - readonly ALL: "ALL"; -}; -export type FunctionVersion = - (typeof FunctionVersion)[keyof typeof FunctionVersion]; -export interface ListFunctionsRequest { - MasterRegion?: string; - FunctionVersion?: FunctionVersion; - Marker?: string; - MaxItems?: number; -} -export interface ListFunctionsResponse { - NextMarker?: string; - Functions?: FunctionConfiguration[]; -} -export interface ListFunctionsByCodeSigningConfigRequest { - CodeSigningConfigArn: string | undefined; - Marker?: string; - MaxItems?: number; -} -export interface ListFunctionsByCodeSigningConfigResponse { - NextMarker?: string; - FunctionArns?: string[]; -} -export interface ListFunctionUrlConfigsRequest { - FunctionName: string | undefined; - Marker?: string; - MaxItems?: number; -} -export interface FunctionUrlConfig { - FunctionUrl: string | undefined; - FunctionArn: string | undefined; - CreationTime: string | undefined; - LastModifiedTime: string | undefined; - Cors?: Cors; - AuthType: FunctionUrlAuthType | undefined; - InvokeMode?: InvokeMode; -} -export interface ListFunctionUrlConfigsResponse { - FunctionUrlConfigs: FunctionUrlConfig[] | undefined; - NextMarker?: string; -} -export interface ListLayersRequest { - CompatibleRuntime?: Runtime; - Marker?: string; - MaxItems?: number; - CompatibleArchitecture?: Architecture; -} -export interface LayerVersionsListItem { - LayerVersionArn?: string; - Version?: number; - Description?: string; - CreatedDate?: string; - CompatibleRuntimes?: Runtime[]; - LicenseInfo?: string; - CompatibleArchitectures?: Architecture[]; -} -export interface LayersListItem { - LayerName?: string; - LayerArn?: string; - LatestMatchingVersion?: LayerVersionsListItem; -} -export interface ListLayersResponse { - NextMarker?: string; - Layers?: LayersListItem[]; -} -export interface ListLayerVersionsRequest { - CompatibleRuntime?: Runtime; - LayerName: string | undefined; - Marker?: string; - MaxItems?: number; - CompatibleArchitecture?: Architecture; -} -export interface ListLayerVersionsResponse { - NextMarker?: string; - LayerVersions?: LayerVersionsListItem[]; -} -export interface ListProvisionedConcurrencyConfigsRequest { - FunctionName: string | undefined; - Marker?: string; - MaxItems?: number; -} -export interface ProvisionedConcurrencyConfigListItem { - FunctionArn?: string; - RequestedProvisionedConcurrentExecutions?: number; - AvailableProvisionedConcurrentExecutions?: number; - AllocatedProvisionedConcurrentExecutions?: number; - Status?: ProvisionedConcurrencyStatusEnum; - StatusReason?: string; - LastModified?: string; -} -export interface ListProvisionedConcurrencyConfigsResponse { - ProvisionedConcurrencyConfigs?: ProvisionedConcurrencyConfigListItem[]; - NextMarker?: string; -} -export interface ListTagsRequest { - Resource: string | undefined; -} -export interface ListTagsResponse { - Tags?: Record; -} -export interface ListVersionsByFunctionRequest { - FunctionName: string | undefined; - Marker?: string; - MaxItems?: number; -} -export interface ListVersionsByFunctionResponse { - NextMarker?: string; - Versions?: FunctionConfiguration[]; -} -export interface LayerVersionContentInput { - S3Bucket?: string; - S3Key?: string; - S3ObjectVersion?: string; - ZipFile?: Uint8Array; -} -export interface PublishLayerVersionRequest { - LayerName: string | undefined; - Description?: string; - Content: LayerVersionContentInput | undefined; - CompatibleRuntimes?: Runtime[]; - LicenseInfo?: string; - CompatibleArchitectures?: Architecture[]; -} -export interface PublishLayerVersionResponse { - Content?: LayerVersionContentOutput; - LayerArn?: string; - LayerVersionArn?: string; - Description?: string; - CreatedDate?: string; - Version?: number; - CompatibleRuntimes?: Runtime[]; - LicenseInfo?: string; - CompatibleArchitectures?: Architecture[]; -} -export interface PublishVersionRequest { - FunctionName: string | undefined; - CodeSha256?: string; - Description?: string; - RevisionId?: string; -} -export interface PutFunctionCodeSigningConfigRequest { - CodeSigningConfigArn: string | undefined; - FunctionName: string | undefined; -} -export interface PutFunctionCodeSigningConfigResponse { - CodeSigningConfigArn: string | undefined; - FunctionName: string | undefined; -} -export interface PutFunctionConcurrencyRequest { - FunctionName: string | undefined; - ReservedConcurrentExecutions: number | undefined; -} -export interface PutFunctionEventInvokeConfigRequest { - FunctionName: string | undefined; - Qualifier?: string; - MaximumRetryAttempts?: number; - MaximumEventAgeInSeconds?: number; - DestinationConfig?: DestinationConfig; -} -export interface PutProvisionedConcurrencyConfigRequest { - FunctionName: string | undefined; - Qualifier: string | undefined; - ProvisionedConcurrentExecutions: number | undefined; -} -export interface PutProvisionedConcurrencyConfigResponse { - RequestedProvisionedConcurrentExecutions?: number; - AvailableProvisionedConcurrentExecutions?: number; - AllocatedProvisionedConcurrentExecutions?: number; - Status?: ProvisionedConcurrencyStatusEnum; - StatusReason?: string; - LastModified?: string; -} -export interface PutRuntimeManagementConfigRequest { - FunctionName: string | undefined; - Qualifier?: string; - UpdateRuntimeOn: UpdateRuntimeOn | undefined; - RuntimeVersionArn?: string; -} -export interface PutRuntimeManagementConfigResponse { - UpdateRuntimeOn: UpdateRuntimeOn | undefined; - FunctionArn: string | undefined; - RuntimeVersionArn?: string; -} -export interface RemoveLayerVersionPermissionRequest { - LayerName: string | undefined; - VersionNumber: number | undefined; - StatementId: string | undefined; - RevisionId?: string; -} -export interface RemovePermissionRequest { - FunctionName: string | undefined; - StatementId: string | undefined; - Qualifier?: string; - RevisionId?: string; -} -export interface TagResourceRequest { - Resource: string | undefined; - Tags: Record | undefined; -} -export interface UntagResourceRequest { - Resource: string | undefined; - TagKeys: string[] | undefined; -} -export interface UpdateAliasRequest { - FunctionName: string | undefined; - Name: string | undefined; - FunctionVersion?: string; - Description?: string; - RoutingConfig?: AliasRoutingConfiguration; - RevisionId?: string; -} -export interface UpdateCodeSigningConfigRequest { - CodeSigningConfigArn: string | undefined; - Description?: string; - AllowedPublishers?: AllowedPublishers; - CodeSigningPolicies?: CodeSigningPolicies; -} -export interface UpdateCodeSigningConfigResponse { - CodeSigningConfig: CodeSigningConfig | undefined; -} -export interface UpdateEventSourceMappingRequest { - UUID: string | undefined; - FunctionName?: string; - Enabled?: boolean; - BatchSize?: number; - FilterCriteria?: FilterCriteria; - MaximumBatchingWindowInSeconds?: number; - DestinationConfig?: DestinationConfig; - MaximumRecordAgeInSeconds?: number; - BisectBatchOnFunctionError?: boolean; - MaximumRetryAttempts?: number; - ParallelizationFactor?: number; - SourceAccessConfigurations?: SourceAccessConfiguration[]; - TumblingWindowInSeconds?: number; - FunctionResponseTypes?: FunctionResponseType[]; - ScalingConfig?: ScalingConfig; - DocumentDBEventSourceConfig?: DocumentDBEventSourceConfig; -} -export interface UpdateFunctionCodeRequest { - FunctionName: string | undefined; - ZipFile?: Uint8Array; - S3Bucket?: string; - S3Key?: string; - S3ObjectVersion?: string; - ImageUri?: string; - Publish?: boolean; - DryRun?: boolean; - RevisionId?: string; - Architectures?: Architecture[]; -} -export interface UpdateFunctionConfigurationRequest { - FunctionName: string | undefined; - Role?: string; - Handler?: string; - Description?: string; - Timeout?: number; - MemorySize?: number; - VpcConfig?: VpcConfig; - Environment?: Environment; - Runtime?: Runtime; - DeadLetterConfig?: DeadLetterConfig; - KMSKeyArn?: string; - TracingConfig?: TracingConfig; - RevisionId?: string; - Layers?: string[]; - FileSystemConfigs?: FileSystemConfig[]; - ImageConfig?: ImageConfig; - EphemeralStorage?: EphemeralStorage; - SnapStart?: SnapStart; - LoggingConfig?: LoggingConfig; -} -export interface UpdateFunctionEventInvokeConfigRequest { - FunctionName: string | undefined; - Qualifier?: string; - MaximumRetryAttempts?: number; - MaximumEventAgeInSeconds?: number; - DestinationConfig?: DestinationConfig; -} -export interface UpdateFunctionUrlConfigRequest { - FunctionName: string | undefined; - Qualifier?: string; - AuthType?: FunctionUrlAuthType; - Cors?: Cors; - InvokeMode?: InvokeMode; -} -export interface UpdateFunctionUrlConfigResponse { - FunctionUrl: string | undefined; - FunctionArn: string | undefined; - AuthType: FunctionUrlAuthType | undefined; - Cors?: Cors; - CreationTime: string | undefined; - LastModifiedTime: string | undefined; - InvokeMode?: InvokeMode; -} -export declare const FunctionCodeFilterSensitiveLog: (obj: FunctionCode) => any; -export declare const EnvironmentFilterSensitiveLog: (obj: Environment) => any; -export declare const CreateFunctionRequestFilterSensitiveLog: ( - obj: CreateFunctionRequest -) => any; -export declare const EnvironmentErrorFilterSensitiveLog: ( - obj: EnvironmentError -) => any; -export declare const EnvironmentResponseFilterSensitiveLog: ( - obj: EnvironmentResponse -) => any; -export declare const ImageConfigErrorFilterSensitiveLog: ( - obj: ImageConfigError -) => any; -export declare const ImageConfigResponseFilterSensitiveLog: ( - obj: ImageConfigResponse -) => any; -export declare const RuntimeVersionErrorFilterSensitiveLog: ( - obj: RuntimeVersionError -) => any; -export declare const RuntimeVersionConfigFilterSensitiveLog: ( - obj: RuntimeVersionConfig -) => any; -export declare const FunctionConfigurationFilterSensitiveLog: ( - obj: FunctionConfiguration -) => any; -export declare const GetFunctionResponseFilterSensitiveLog: ( - obj: GetFunctionResponse -) => any; -export declare const InvocationRequestFilterSensitiveLog: ( - obj: InvocationRequest -) => any; -export declare const InvocationResponseFilterSensitiveLog: ( - obj: InvocationResponse -) => any; -export declare const InvokeAsyncRequestFilterSensitiveLog: ( - obj: InvokeAsyncRequest -) => any; -export declare const InvokeWithResponseStreamRequestFilterSensitiveLog: ( - obj: InvokeWithResponseStreamRequest -) => any; -export declare const InvokeResponseStreamUpdateFilterSensitiveLog: ( - obj: InvokeResponseStreamUpdate -) => any; -export declare const InvokeWithResponseStreamResponseEventFilterSensitiveLog: ( - obj: InvokeWithResponseStreamResponseEvent -) => any; -export declare const InvokeWithResponseStreamResponseFilterSensitiveLog: ( - obj: InvokeWithResponseStreamResponse -) => any; -export declare const ListFunctionsResponseFilterSensitiveLog: ( - obj: ListFunctionsResponse -) => any; -export declare const ListVersionsByFunctionResponseFilterSensitiveLog: ( - obj: ListVersionsByFunctionResponse -) => any; -export declare const LayerVersionContentInputFilterSensitiveLog: ( - obj: LayerVersionContentInput -) => any; -export declare const PublishLayerVersionRequestFilterSensitiveLog: ( - obj: PublishLayerVersionRequest -) => any; -export declare const UpdateFunctionCodeRequestFilterSensitiveLog: ( - obj: UpdateFunctionCodeRequest -) => any; -export declare const UpdateFunctionConfigurationRequestFilterSensitiveLog: ( - obj: UpdateFunctionConfigurationRequest -) => any; diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/pagination/Interfaces.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/pagination/Interfaces.d.ts deleted file mode 100644 index 578f2f33..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/pagination/Interfaces.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { PaginationConfiguration } from "@smithy/types"; -import { LambdaClient } from "../LambdaClient"; -export interface LambdaPaginationConfiguration extends PaginationConfiguration { - client: LambdaClient; -} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/pagination/ListAliasesPaginator.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/pagination/ListAliasesPaginator.d.ts deleted file mode 100644 index c11c6dc9..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/pagination/ListAliasesPaginator.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { Paginator } from "@smithy/types"; -import { - ListAliasesCommandInput, - ListAliasesCommandOutput, -} from "../commands/ListAliasesCommand"; -import { LambdaPaginationConfiguration } from "./Interfaces"; -export declare function paginateListAliases( - config: LambdaPaginationConfiguration, - input: ListAliasesCommandInput, - ...additionalArguments: any -): Paginator; diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/pagination/ListCodeSigningConfigsPaginator.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/pagination/ListCodeSigningConfigsPaginator.d.ts deleted file mode 100644 index 741bd61a..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/pagination/ListCodeSigningConfigsPaginator.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { Paginator } from "@smithy/types"; -import { - ListCodeSigningConfigsCommandInput, - ListCodeSigningConfigsCommandOutput, -} from "../commands/ListCodeSigningConfigsCommand"; -import { LambdaPaginationConfiguration } from "./Interfaces"; -export declare function paginateListCodeSigningConfigs( - config: LambdaPaginationConfiguration, - input: ListCodeSigningConfigsCommandInput, - ...additionalArguments: any -): Paginator; diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/pagination/ListEventSourceMappingsPaginator.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/pagination/ListEventSourceMappingsPaginator.d.ts deleted file mode 100644 index 8cf85937..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/pagination/ListEventSourceMappingsPaginator.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { Paginator } from "@smithy/types"; -import { - ListEventSourceMappingsCommandInput, - ListEventSourceMappingsCommandOutput, -} from "../commands/ListEventSourceMappingsCommand"; -import { LambdaPaginationConfiguration } from "./Interfaces"; -export declare function paginateListEventSourceMappings( - config: LambdaPaginationConfiguration, - input: ListEventSourceMappingsCommandInput, - ...additionalArguments: any -): Paginator; diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/pagination/ListFunctionEventInvokeConfigsPaginator.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/pagination/ListFunctionEventInvokeConfigsPaginator.d.ts deleted file mode 100644 index 6c8802cb..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/pagination/ListFunctionEventInvokeConfigsPaginator.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { Paginator } from "@smithy/types"; -import { - ListFunctionEventInvokeConfigsCommandInput, - ListFunctionEventInvokeConfigsCommandOutput, -} from "../commands/ListFunctionEventInvokeConfigsCommand"; -import { LambdaPaginationConfiguration } from "./Interfaces"; -export declare function paginateListFunctionEventInvokeConfigs( - config: LambdaPaginationConfiguration, - input: ListFunctionEventInvokeConfigsCommandInput, - ...additionalArguments: any -): Paginator; diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/pagination/ListFunctionUrlConfigsPaginator.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/pagination/ListFunctionUrlConfigsPaginator.d.ts deleted file mode 100644 index 25218e41..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/pagination/ListFunctionUrlConfigsPaginator.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { Paginator } from "@smithy/types"; -import { - ListFunctionUrlConfigsCommandInput, - ListFunctionUrlConfigsCommandOutput, -} from "../commands/ListFunctionUrlConfigsCommand"; -import { LambdaPaginationConfiguration } from "./Interfaces"; -export declare function paginateListFunctionUrlConfigs( - config: LambdaPaginationConfiguration, - input: ListFunctionUrlConfigsCommandInput, - ...additionalArguments: any -): Paginator; diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/pagination/ListFunctionsByCodeSigningConfigPaginator.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/pagination/ListFunctionsByCodeSigningConfigPaginator.d.ts deleted file mode 100644 index f2db91b0..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/pagination/ListFunctionsByCodeSigningConfigPaginator.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { Paginator } from "@smithy/types"; -import { - ListFunctionsByCodeSigningConfigCommandInput, - ListFunctionsByCodeSigningConfigCommandOutput, -} from "../commands/ListFunctionsByCodeSigningConfigCommand"; -import { LambdaPaginationConfiguration } from "./Interfaces"; -export declare function paginateListFunctionsByCodeSigningConfig( - config: LambdaPaginationConfiguration, - input: ListFunctionsByCodeSigningConfigCommandInput, - ...additionalArguments: any -): Paginator; diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/pagination/ListFunctionsPaginator.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/pagination/ListFunctionsPaginator.d.ts deleted file mode 100644 index 0eb84fd4..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/pagination/ListFunctionsPaginator.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { Paginator } from "@smithy/types"; -import { - ListFunctionsCommandInput, - ListFunctionsCommandOutput, -} from "../commands/ListFunctionsCommand"; -import { LambdaPaginationConfiguration } from "./Interfaces"; -export declare function paginateListFunctions( - config: LambdaPaginationConfiguration, - input: ListFunctionsCommandInput, - ...additionalArguments: any -): Paginator; diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/pagination/ListLayerVersionsPaginator.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/pagination/ListLayerVersionsPaginator.d.ts deleted file mode 100644 index 36ce44ab..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/pagination/ListLayerVersionsPaginator.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { Paginator } from "@smithy/types"; -import { - ListLayerVersionsCommandInput, - ListLayerVersionsCommandOutput, -} from "../commands/ListLayerVersionsCommand"; -import { LambdaPaginationConfiguration } from "./Interfaces"; -export declare function paginateListLayerVersions( - config: LambdaPaginationConfiguration, - input: ListLayerVersionsCommandInput, - ...additionalArguments: any -): Paginator; diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/pagination/ListLayersPaginator.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/pagination/ListLayersPaginator.d.ts deleted file mode 100644 index 67cf1941..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/pagination/ListLayersPaginator.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { Paginator } from "@smithy/types"; -import { - ListLayersCommandInput, - ListLayersCommandOutput, -} from "../commands/ListLayersCommand"; -import { LambdaPaginationConfiguration } from "./Interfaces"; -export declare function paginateListLayers( - config: LambdaPaginationConfiguration, - input: ListLayersCommandInput, - ...additionalArguments: any -): Paginator; diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/pagination/ListProvisionedConcurrencyConfigsPaginator.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/pagination/ListProvisionedConcurrencyConfigsPaginator.d.ts deleted file mode 100644 index d14bd8cf..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/pagination/ListProvisionedConcurrencyConfigsPaginator.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { Paginator } from "@smithy/types"; -import { - ListProvisionedConcurrencyConfigsCommandInput, - ListProvisionedConcurrencyConfigsCommandOutput, -} from "../commands/ListProvisionedConcurrencyConfigsCommand"; -import { LambdaPaginationConfiguration } from "./Interfaces"; -export declare function paginateListProvisionedConcurrencyConfigs( - config: LambdaPaginationConfiguration, - input: ListProvisionedConcurrencyConfigsCommandInput, - ...additionalArguments: any -): Paginator; diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/pagination/ListVersionsByFunctionPaginator.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/pagination/ListVersionsByFunctionPaginator.d.ts deleted file mode 100644 index 4df9298a..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/pagination/ListVersionsByFunctionPaginator.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { Paginator } from "@smithy/types"; -import { - ListVersionsByFunctionCommandInput, - ListVersionsByFunctionCommandOutput, -} from "../commands/ListVersionsByFunctionCommand"; -import { LambdaPaginationConfiguration } from "./Interfaces"; -export declare function paginateListVersionsByFunction( - config: LambdaPaginationConfiguration, - input: ListVersionsByFunctionCommandInput, - ...additionalArguments: any -): Paginator; diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/pagination/index.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/pagination/index.d.ts deleted file mode 100644 index 8c05cc24..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/pagination/index.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -export * from "./Interfaces"; -export * from "./ListAliasesPaginator"; -export * from "./ListCodeSigningConfigsPaginator"; -export * from "./ListEventSourceMappingsPaginator"; -export * from "./ListFunctionEventInvokeConfigsPaginator"; -export * from "./ListFunctionUrlConfigsPaginator"; -export * from "./ListFunctionsByCodeSigningConfigPaginator"; -export * from "./ListFunctionsPaginator"; -export * from "./ListLayerVersionsPaginator"; -export * from "./ListLayersPaginator"; -export * from "./ListProvisionedConcurrencyConfigsPaginator"; -export * from "./ListVersionsByFunctionPaginator"; diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/protocols/Aws_restJson1.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/protocols/Aws_restJson1.d.ts deleted file mode 100644 index 750a77c1..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +++ /dev/null @@ -1,800 +0,0 @@ -import { - HttpRequest as __HttpRequest, - HttpResponse as __HttpResponse, -} from "@smithy/protocol-http"; -import { - EventStreamSerdeContext as __EventStreamSerdeContext, - SerdeContext as __SerdeContext, -} from "@smithy/types"; -import { - AddLayerVersionPermissionCommandInput, - AddLayerVersionPermissionCommandOutput, -} from "../commands/AddLayerVersionPermissionCommand"; -import { - AddPermissionCommandInput, - AddPermissionCommandOutput, -} from "../commands/AddPermissionCommand"; -import { - CreateAliasCommandInput, - CreateAliasCommandOutput, -} from "../commands/CreateAliasCommand"; -import { - CreateCodeSigningConfigCommandInput, - CreateCodeSigningConfigCommandOutput, -} from "../commands/CreateCodeSigningConfigCommand"; -import { - CreateEventSourceMappingCommandInput, - CreateEventSourceMappingCommandOutput, -} from "../commands/CreateEventSourceMappingCommand"; -import { - CreateFunctionCommandInput, - CreateFunctionCommandOutput, -} from "../commands/CreateFunctionCommand"; -import { - CreateFunctionUrlConfigCommandInput, - CreateFunctionUrlConfigCommandOutput, -} from "../commands/CreateFunctionUrlConfigCommand"; -import { - DeleteAliasCommandInput, - DeleteAliasCommandOutput, -} from "../commands/DeleteAliasCommand"; -import { - DeleteCodeSigningConfigCommandInput, - DeleteCodeSigningConfigCommandOutput, -} from "../commands/DeleteCodeSigningConfigCommand"; -import { - DeleteEventSourceMappingCommandInput, - DeleteEventSourceMappingCommandOutput, -} from "../commands/DeleteEventSourceMappingCommand"; -import { - DeleteFunctionCodeSigningConfigCommandInput, - DeleteFunctionCodeSigningConfigCommandOutput, -} from "../commands/DeleteFunctionCodeSigningConfigCommand"; -import { - DeleteFunctionCommandInput, - DeleteFunctionCommandOutput, -} from "../commands/DeleteFunctionCommand"; -import { - DeleteFunctionConcurrencyCommandInput, - DeleteFunctionConcurrencyCommandOutput, -} from "../commands/DeleteFunctionConcurrencyCommand"; -import { - DeleteFunctionEventInvokeConfigCommandInput, - DeleteFunctionEventInvokeConfigCommandOutput, -} from "../commands/DeleteFunctionEventInvokeConfigCommand"; -import { - DeleteFunctionUrlConfigCommandInput, - DeleteFunctionUrlConfigCommandOutput, -} from "../commands/DeleteFunctionUrlConfigCommand"; -import { - DeleteLayerVersionCommandInput, - DeleteLayerVersionCommandOutput, -} from "../commands/DeleteLayerVersionCommand"; -import { - DeleteProvisionedConcurrencyConfigCommandInput, - DeleteProvisionedConcurrencyConfigCommandOutput, -} from "../commands/DeleteProvisionedConcurrencyConfigCommand"; -import { - GetAccountSettingsCommandInput, - GetAccountSettingsCommandOutput, -} from "../commands/GetAccountSettingsCommand"; -import { - GetAliasCommandInput, - GetAliasCommandOutput, -} from "../commands/GetAliasCommand"; -import { - GetCodeSigningConfigCommandInput, - GetCodeSigningConfigCommandOutput, -} from "../commands/GetCodeSigningConfigCommand"; -import { - GetEventSourceMappingCommandInput, - GetEventSourceMappingCommandOutput, -} from "../commands/GetEventSourceMappingCommand"; -import { - GetFunctionCodeSigningConfigCommandInput, - GetFunctionCodeSigningConfigCommandOutput, -} from "../commands/GetFunctionCodeSigningConfigCommand"; -import { - GetFunctionCommandInput, - GetFunctionCommandOutput, -} from "../commands/GetFunctionCommand"; -import { - GetFunctionConcurrencyCommandInput, - GetFunctionConcurrencyCommandOutput, -} from "../commands/GetFunctionConcurrencyCommand"; -import { - GetFunctionConfigurationCommandInput, - GetFunctionConfigurationCommandOutput, -} from "../commands/GetFunctionConfigurationCommand"; -import { - GetFunctionEventInvokeConfigCommandInput, - GetFunctionEventInvokeConfigCommandOutput, -} from "../commands/GetFunctionEventInvokeConfigCommand"; -import { - GetFunctionUrlConfigCommandInput, - GetFunctionUrlConfigCommandOutput, -} from "../commands/GetFunctionUrlConfigCommand"; -import { - GetLayerVersionByArnCommandInput, - GetLayerVersionByArnCommandOutput, -} from "../commands/GetLayerVersionByArnCommand"; -import { - GetLayerVersionCommandInput, - GetLayerVersionCommandOutput, -} from "../commands/GetLayerVersionCommand"; -import { - GetLayerVersionPolicyCommandInput, - GetLayerVersionPolicyCommandOutput, -} from "../commands/GetLayerVersionPolicyCommand"; -import { - GetPolicyCommandInput, - GetPolicyCommandOutput, -} from "../commands/GetPolicyCommand"; -import { - GetProvisionedConcurrencyConfigCommandInput, - GetProvisionedConcurrencyConfigCommandOutput, -} from "../commands/GetProvisionedConcurrencyConfigCommand"; -import { - GetRuntimeManagementConfigCommandInput, - GetRuntimeManagementConfigCommandOutput, -} from "../commands/GetRuntimeManagementConfigCommand"; -import { - InvokeAsyncCommandInput, - InvokeAsyncCommandOutput, -} from "../commands/InvokeAsyncCommand"; -import { - InvokeCommandInput, - InvokeCommandOutput, -} from "../commands/InvokeCommand"; -import { - InvokeWithResponseStreamCommandInput, - InvokeWithResponseStreamCommandOutput, -} from "../commands/InvokeWithResponseStreamCommand"; -import { - ListAliasesCommandInput, - ListAliasesCommandOutput, -} from "../commands/ListAliasesCommand"; -import { - ListCodeSigningConfigsCommandInput, - ListCodeSigningConfigsCommandOutput, -} from "../commands/ListCodeSigningConfigsCommand"; -import { - ListEventSourceMappingsCommandInput, - ListEventSourceMappingsCommandOutput, -} from "../commands/ListEventSourceMappingsCommand"; -import { - ListFunctionEventInvokeConfigsCommandInput, - ListFunctionEventInvokeConfigsCommandOutput, -} from "../commands/ListFunctionEventInvokeConfigsCommand"; -import { - ListFunctionsByCodeSigningConfigCommandInput, - ListFunctionsByCodeSigningConfigCommandOutput, -} from "../commands/ListFunctionsByCodeSigningConfigCommand"; -import { - ListFunctionsCommandInput, - ListFunctionsCommandOutput, -} from "../commands/ListFunctionsCommand"; -import { - ListFunctionUrlConfigsCommandInput, - ListFunctionUrlConfigsCommandOutput, -} from "../commands/ListFunctionUrlConfigsCommand"; -import { - ListLayersCommandInput, - ListLayersCommandOutput, -} from "../commands/ListLayersCommand"; -import { - ListLayerVersionsCommandInput, - ListLayerVersionsCommandOutput, -} from "../commands/ListLayerVersionsCommand"; -import { - ListProvisionedConcurrencyConfigsCommandInput, - ListProvisionedConcurrencyConfigsCommandOutput, -} from "../commands/ListProvisionedConcurrencyConfigsCommand"; -import { - ListTagsCommandInput, - ListTagsCommandOutput, -} from "../commands/ListTagsCommand"; -import { - ListVersionsByFunctionCommandInput, - ListVersionsByFunctionCommandOutput, -} from "../commands/ListVersionsByFunctionCommand"; -import { - PublishLayerVersionCommandInput, - PublishLayerVersionCommandOutput, -} from "../commands/PublishLayerVersionCommand"; -import { - PublishVersionCommandInput, - PublishVersionCommandOutput, -} from "../commands/PublishVersionCommand"; -import { - PutFunctionCodeSigningConfigCommandInput, - PutFunctionCodeSigningConfigCommandOutput, -} from "../commands/PutFunctionCodeSigningConfigCommand"; -import { - PutFunctionConcurrencyCommandInput, - PutFunctionConcurrencyCommandOutput, -} from "../commands/PutFunctionConcurrencyCommand"; -import { - PutFunctionEventInvokeConfigCommandInput, - PutFunctionEventInvokeConfigCommandOutput, -} from "../commands/PutFunctionEventInvokeConfigCommand"; -import { - PutProvisionedConcurrencyConfigCommandInput, - PutProvisionedConcurrencyConfigCommandOutput, -} from "../commands/PutProvisionedConcurrencyConfigCommand"; -import { - PutRuntimeManagementConfigCommandInput, - PutRuntimeManagementConfigCommandOutput, -} from "../commands/PutRuntimeManagementConfigCommand"; -import { - RemoveLayerVersionPermissionCommandInput, - RemoveLayerVersionPermissionCommandOutput, -} from "../commands/RemoveLayerVersionPermissionCommand"; -import { - RemovePermissionCommandInput, - RemovePermissionCommandOutput, -} from "../commands/RemovePermissionCommand"; -import { - TagResourceCommandInput, - TagResourceCommandOutput, -} from "../commands/TagResourceCommand"; -import { - UntagResourceCommandInput, - UntagResourceCommandOutput, -} from "../commands/UntagResourceCommand"; -import { - UpdateAliasCommandInput, - UpdateAliasCommandOutput, -} from "../commands/UpdateAliasCommand"; -import { - UpdateCodeSigningConfigCommandInput, - UpdateCodeSigningConfigCommandOutput, -} from "../commands/UpdateCodeSigningConfigCommand"; -import { - UpdateEventSourceMappingCommandInput, - UpdateEventSourceMappingCommandOutput, -} from "../commands/UpdateEventSourceMappingCommand"; -import { - UpdateFunctionCodeCommandInput, - UpdateFunctionCodeCommandOutput, -} from "../commands/UpdateFunctionCodeCommand"; -import { - UpdateFunctionConfigurationCommandInput, - UpdateFunctionConfigurationCommandOutput, -} from "../commands/UpdateFunctionConfigurationCommand"; -import { - UpdateFunctionEventInvokeConfigCommandInput, - UpdateFunctionEventInvokeConfigCommandOutput, -} from "../commands/UpdateFunctionEventInvokeConfigCommand"; -import { - UpdateFunctionUrlConfigCommandInput, - UpdateFunctionUrlConfigCommandOutput, -} from "../commands/UpdateFunctionUrlConfigCommand"; -export declare const se_AddLayerVersionPermissionCommand: ( - input: AddLayerVersionPermissionCommandInput, - context: __SerdeContext -) => Promise<__HttpRequest>; -export declare const se_AddPermissionCommand: ( - input: AddPermissionCommandInput, - context: __SerdeContext -) => Promise<__HttpRequest>; -export declare const se_CreateAliasCommand: ( - input: CreateAliasCommandInput, - context: __SerdeContext -) => Promise<__HttpRequest>; -export declare const se_CreateCodeSigningConfigCommand: ( - input: CreateCodeSigningConfigCommandInput, - context: __SerdeContext -) => Promise<__HttpRequest>; -export declare const se_CreateEventSourceMappingCommand: ( - input: CreateEventSourceMappingCommandInput, - context: __SerdeContext -) => Promise<__HttpRequest>; -export declare const se_CreateFunctionCommand: ( - input: CreateFunctionCommandInput, - context: __SerdeContext -) => Promise<__HttpRequest>; -export declare const se_CreateFunctionUrlConfigCommand: ( - input: CreateFunctionUrlConfigCommandInput, - context: __SerdeContext -) => Promise<__HttpRequest>; -export declare const se_DeleteAliasCommand: ( - input: DeleteAliasCommandInput, - context: __SerdeContext -) => Promise<__HttpRequest>; -export declare const se_DeleteCodeSigningConfigCommand: ( - input: DeleteCodeSigningConfigCommandInput, - context: __SerdeContext -) => Promise<__HttpRequest>; -export declare const se_DeleteEventSourceMappingCommand: ( - input: DeleteEventSourceMappingCommandInput, - context: __SerdeContext -) => Promise<__HttpRequest>; -export declare const se_DeleteFunctionCommand: ( - input: DeleteFunctionCommandInput, - context: __SerdeContext -) => Promise<__HttpRequest>; -export declare const se_DeleteFunctionCodeSigningConfigCommand: ( - input: DeleteFunctionCodeSigningConfigCommandInput, - context: __SerdeContext -) => Promise<__HttpRequest>; -export declare const se_DeleteFunctionConcurrencyCommand: ( - input: DeleteFunctionConcurrencyCommandInput, - context: __SerdeContext -) => Promise<__HttpRequest>; -export declare const se_DeleteFunctionEventInvokeConfigCommand: ( - input: DeleteFunctionEventInvokeConfigCommandInput, - context: __SerdeContext -) => Promise<__HttpRequest>; -export declare const se_DeleteFunctionUrlConfigCommand: ( - input: DeleteFunctionUrlConfigCommandInput, - context: __SerdeContext -) => Promise<__HttpRequest>; -export declare const se_DeleteLayerVersionCommand: ( - input: DeleteLayerVersionCommandInput, - context: __SerdeContext -) => Promise<__HttpRequest>; -export declare const se_DeleteProvisionedConcurrencyConfigCommand: ( - input: DeleteProvisionedConcurrencyConfigCommandInput, - context: __SerdeContext -) => Promise<__HttpRequest>; -export declare const se_GetAccountSettingsCommand: ( - input: GetAccountSettingsCommandInput, - context: __SerdeContext -) => Promise<__HttpRequest>; -export declare const se_GetAliasCommand: ( - input: GetAliasCommandInput, - context: __SerdeContext -) => Promise<__HttpRequest>; -export declare const se_GetCodeSigningConfigCommand: ( - input: GetCodeSigningConfigCommandInput, - context: __SerdeContext -) => Promise<__HttpRequest>; -export declare const se_GetEventSourceMappingCommand: ( - input: GetEventSourceMappingCommandInput, - context: __SerdeContext -) => Promise<__HttpRequest>; -export declare const se_GetFunctionCommand: ( - input: GetFunctionCommandInput, - context: __SerdeContext -) => Promise<__HttpRequest>; -export declare const se_GetFunctionCodeSigningConfigCommand: ( - input: GetFunctionCodeSigningConfigCommandInput, - context: __SerdeContext -) => Promise<__HttpRequest>; -export declare const se_GetFunctionConcurrencyCommand: ( - input: GetFunctionConcurrencyCommandInput, - context: __SerdeContext -) => Promise<__HttpRequest>; -export declare const se_GetFunctionConfigurationCommand: ( - input: GetFunctionConfigurationCommandInput, - context: __SerdeContext -) => Promise<__HttpRequest>; -export declare const se_GetFunctionEventInvokeConfigCommand: ( - input: GetFunctionEventInvokeConfigCommandInput, - context: __SerdeContext -) => Promise<__HttpRequest>; -export declare const se_GetFunctionUrlConfigCommand: ( - input: GetFunctionUrlConfigCommandInput, - context: __SerdeContext -) => Promise<__HttpRequest>; -export declare const se_GetLayerVersionCommand: ( - input: GetLayerVersionCommandInput, - context: __SerdeContext -) => Promise<__HttpRequest>; -export declare const se_GetLayerVersionByArnCommand: ( - input: GetLayerVersionByArnCommandInput, - context: __SerdeContext -) => Promise<__HttpRequest>; -export declare const se_GetLayerVersionPolicyCommand: ( - input: GetLayerVersionPolicyCommandInput, - context: __SerdeContext -) => Promise<__HttpRequest>; -export declare const se_GetPolicyCommand: ( - input: GetPolicyCommandInput, - context: __SerdeContext -) => Promise<__HttpRequest>; -export declare const se_GetProvisionedConcurrencyConfigCommand: ( - input: GetProvisionedConcurrencyConfigCommandInput, - context: __SerdeContext -) => Promise<__HttpRequest>; -export declare const se_GetRuntimeManagementConfigCommand: ( - input: GetRuntimeManagementConfigCommandInput, - context: __SerdeContext -) => Promise<__HttpRequest>; -export declare const se_InvokeCommand: ( - input: InvokeCommandInput, - context: __SerdeContext -) => Promise<__HttpRequest>; -export declare const se_InvokeAsyncCommand: ( - input: InvokeAsyncCommandInput, - context: __SerdeContext -) => Promise<__HttpRequest>; -export declare const se_InvokeWithResponseStreamCommand: ( - input: InvokeWithResponseStreamCommandInput, - context: __SerdeContext -) => Promise<__HttpRequest>; -export declare const se_ListAliasesCommand: ( - input: ListAliasesCommandInput, - context: __SerdeContext -) => Promise<__HttpRequest>; -export declare const se_ListCodeSigningConfigsCommand: ( - input: ListCodeSigningConfigsCommandInput, - context: __SerdeContext -) => Promise<__HttpRequest>; -export declare const se_ListEventSourceMappingsCommand: ( - input: ListEventSourceMappingsCommandInput, - context: __SerdeContext -) => Promise<__HttpRequest>; -export declare const se_ListFunctionEventInvokeConfigsCommand: ( - input: ListFunctionEventInvokeConfigsCommandInput, - context: __SerdeContext -) => Promise<__HttpRequest>; -export declare const se_ListFunctionsCommand: ( - input: ListFunctionsCommandInput, - context: __SerdeContext -) => Promise<__HttpRequest>; -export declare const se_ListFunctionsByCodeSigningConfigCommand: ( - input: ListFunctionsByCodeSigningConfigCommandInput, - context: __SerdeContext -) => Promise<__HttpRequest>; -export declare const se_ListFunctionUrlConfigsCommand: ( - input: ListFunctionUrlConfigsCommandInput, - context: __SerdeContext -) => Promise<__HttpRequest>; -export declare const se_ListLayersCommand: ( - input: ListLayersCommandInput, - context: __SerdeContext -) => Promise<__HttpRequest>; -export declare const se_ListLayerVersionsCommand: ( - input: ListLayerVersionsCommandInput, - context: __SerdeContext -) => Promise<__HttpRequest>; -export declare const se_ListProvisionedConcurrencyConfigsCommand: ( - input: ListProvisionedConcurrencyConfigsCommandInput, - context: __SerdeContext -) => Promise<__HttpRequest>; -export declare const se_ListTagsCommand: ( - input: ListTagsCommandInput, - context: __SerdeContext -) => Promise<__HttpRequest>; -export declare const se_ListVersionsByFunctionCommand: ( - input: ListVersionsByFunctionCommandInput, - context: __SerdeContext -) => Promise<__HttpRequest>; -export declare const se_PublishLayerVersionCommand: ( - input: PublishLayerVersionCommandInput, - context: __SerdeContext -) => Promise<__HttpRequest>; -export declare const se_PublishVersionCommand: ( - input: PublishVersionCommandInput, - context: __SerdeContext -) => Promise<__HttpRequest>; -export declare const se_PutFunctionCodeSigningConfigCommand: ( - input: PutFunctionCodeSigningConfigCommandInput, - context: __SerdeContext -) => Promise<__HttpRequest>; -export declare const se_PutFunctionConcurrencyCommand: ( - input: PutFunctionConcurrencyCommandInput, - context: __SerdeContext -) => Promise<__HttpRequest>; -export declare const se_PutFunctionEventInvokeConfigCommand: ( - input: PutFunctionEventInvokeConfigCommandInput, - context: __SerdeContext -) => Promise<__HttpRequest>; -export declare const se_PutProvisionedConcurrencyConfigCommand: ( - input: PutProvisionedConcurrencyConfigCommandInput, - context: __SerdeContext -) => Promise<__HttpRequest>; -export declare const se_PutRuntimeManagementConfigCommand: ( - input: PutRuntimeManagementConfigCommandInput, - context: __SerdeContext -) => Promise<__HttpRequest>; -export declare const se_RemoveLayerVersionPermissionCommand: ( - input: RemoveLayerVersionPermissionCommandInput, - context: __SerdeContext -) => Promise<__HttpRequest>; -export declare const se_RemovePermissionCommand: ( - input: RemovePermissionCommandInput, - context: __SerdeContext -) => Promise<__HttpRequest>; -export declare const se_TagResourceCommand: ( - input: TagResourceCommandInput, - context: __SerdeContext -) => Promise<__HttpRequest>; -export declare const se_UntagResourceCommand: ( - input: UntagResourceCommandInput, - context: __SerdeContext -) => Promise<__HttpRequest>; -export declare const se_UpdateAliasCommand: ( - input: UpdateAliasCommandInput, - context: __SerdeContext -) => Promise<__HttpRequest>; -export declare const se_UpdateCodeSigningConfigCommand: ( - input: UpdateCodeSigningConfigCommandInput, - context: __SerdeContext -) => Promise<__HttpRequest>; -export declare const se_UpdateEventSourceMappingCommand: ( - input: UpdateEventSourceMappingCommandInput, - context: __SerdeContext -) => Promise<__HttpRequest>; -export declare const se_UpdateFunctionCodeCommand: ( - input: UpdateFunctionCodeCommandInput, - context: __SerdeContext -) => Promise<__HttpRequest>; -export declare const se_UpdateFunctionConfigurationCommand: ( - input: UpdateFunctionConfigurationCommandInput, - context: __SerdeContext -) => Promise<__HttpRequest>; -export declare const se_UpdateFunctionEventInvokeConfigCommand: ( - input: UpdateFunctionEventInvokeConfigCommandInput, - context: __SerdeContext -) => Promise<__HttpRequest>; -export declare const se_UpdateFunctionUrlConfigCommand: ( - input: UpdateFunctionUrlConfigCommandInput, - context: __SerdeContext -) => Promise<__HttpRequest>; -export declare const de_AddLayerVersionPermissionCommand: ( - output: __HttpResponse, - context: __SerdeContext -) => Promise; -export declare const de_AddPermissionCommand: ( - output: __HttpResponse, - context: __SerdeContext -) => Promise; -export declare const de_CreateAliasCommand: ( - output: __HttpResponse, - context: __SerdeContext -) => Promise; -export declare const de_CreateCodeSigningConfigCommand: ( - output: __HttpResponse, - context: __SerdeContext -) => Promise; -export declare const de_CreateEventSourceMappingCommand: ( - output: __HttpResponse, - context: __SerdeContext -) => Promise; -export declare const de_CreateFunctionCommand: ( - output: __HttpResponse, - context: __SerdeContext -) => Promise; -export declare const de_CreateFunctionUrlConfigCommand: ( - output: __HttpResponse, - context: __SerdeContext -) => Promise; -export declare const de_DeleteAliasCommand: ( - output: __HttpResponse, - context: __SerdeContext -) => Promise; -export declare const de_DeleteCodeSigningConfigCommand: ( - output: __HttpResponse, - context: __SerdeContext -) => Promise; -export declare const de_DeleteEventSourceMappingCommand: ( - output: __HttpResponse, - context: __SerdeContext -) => Promise; -export declare const de_DeleteFunctionCommand: ( - output: __HttpResponse, - context: __SerdeContext -) => Promise; -export declare const de_DeleteFunctionCodeSigningConfigCommand: ( - output: __HttpResponse, - context: __SerdeContext -) => Promise; -export declare const de_DeleteFunctionConcurrencyCommand: ( - output: __HttpResponse, - context: __SerdeContext -) => Promise; -export declare const de_DeleteFunctionEventInvokeConfigCommand: ( - output: __HttpResponse, - context: __SerdeContext -) => Promise; -export declare const de_DeleteFunctionUrlConfigCommand: ( - output: __HttpResponse, - context: __SerdeContext -) => Promise; -export declare const de_DeleteLayerVersionCommand: ( - output: __HttpResponse, - context: __SerdeContext -) => Promise; -export declare const de_DeleteProvisionedConcurrencyConfigCommand: ( - output: __HttpResponse, - context: __SerdeContext -) => Promise; -export declare const de_GetAccountSettingsCommand: ( - output: __HttpResponse, - context: __SerdeContext -) => Promise; -export declare const de_GetAliasCommand: ( - output: __HttpResponse, - context: __SerdeContext -) => Promise; -export declare const de_GetCodeSigningConfigCommand: ( - output: __HttpResponse, - context: __SerdeContext -) => Promise; -export declare const de_GetEventSourceMappingCommand: ( - output: __HttpResponse, - context: __SerdeContext -) => Promise; -export declare const de_GetFunctionCommand: ( - output: __HttpResponse, - context: __SerdeContext -) => Promise; -export declare const de_GetFunctionCodeSigningConfigCommand: ( - output: __HttpResponse, - context: __SerdeContext -) => Promise; -export declare const de_GetFunctionConcurrencyCommand: ( - output: __HttpResponse, - context: __SerdeContext -) => Promise; -export declare const de_GetFunctionConfigurationCommand: ( - output: __HttpResponse, - context: __SerdeContext -) => Promise; -export declare const de_GetFunctionEventInvokeConfigCommand: ( - output: __HttpResponse, - context: __SerdeContext -) => Promise; -export declare const de_GetFunctionUrlConfigCommand: ( - output: __HttpResponse, - context: __SerdeContext -) => Promise; -export declare const de_GetLayerVersionCommand: ( - output: __HttpResponse, - context: __SerdeContext -) => Promise; -export declare const de_GetLayerVersionByArnCommand: ( - output: __HttpResponse, - context: __SerdeContext -) => Promise; -export declare const de_GetLayerVersionPolicyCommand: ( - output: __HttpResponse, - context: __SerdeContext -) => Promise; -export declare const de_GetPolicyCommand: ( - output: __HttpResponse, - context: __SerdeContext -) => Promise; -export declare const de_GetProvisionedConcurrencyConfigCommand: ( - output: __HttpResponse, - context: __SerdeContext -) => Promise; -export declare const de_GetRuntimeManagementConfigCommand: ( - output: __HttpResponse, - context: __SerdeContext -) => Promise; -export declare const de_InvokeCommand: ( - output: __HttpResponse, - context: __SerdeContext -) => Promise; -export declare const de_InvokeAsyncCommand: ( - output: __HttpResponse, - context: __SerdeContext -) => Promise; -export declare const de_InvokeWithResponseStreamCommand: ( - output: __HttpResponse, - context: __SerdeContext & __EventStreamSerdeContext -) => Promise; -export declare const de_ListAliasesCommand: ( - output: __HttpResponse, - context: __SerdeContext -) => Promise; -export declare const de_ListCodeSigningConfigsCommand: ( - output: __HttpResponse, - context: __SerdeContext -) => Promise; -export declare const de_ListEventSourceMappingsCommand: ( - output: __HttpResponse, - context: __SerdeContext -) => Promise; -export declare const de_ListFunctionEventInvokeConfigsCommand: ( - output: __HttpResponse, - context: __SerdeContext -) => Promise; -export declare const de_ListFunctionsCommand: ( - output: __HttpResponse, - context: __SerdeContext -) => Promise; -export declare const de_ListFunctionsByCodeSigningConfigCommand: ( - output: __HttpResponse, - context: __SerdeContext -) => Promise; -export declare const de_ListFunctionUrlConfigsCommand: ( - output: __HttpResponse, - context: __SerdeContext -) => Promise; -export declare const de_ListLayersCommand: ( - output: __HttpResponse, - context: __SerdeContext -) => Promise; -export declare const de_ListLayerVersionsCommand: ( - output: __HttpResponse, - context: __SerdeContext -) => Promise; -export declare const de_ListProvisionedConcurrencyConfigsCommand: ( - output: __HttpResponse, - context: __SerdeContext -) => Promise; -export declare const de_ListTagsCommand: ( - output: __HttpResponse, - context: __SerdeContext -) => Promise; -export declare const de_ListVersionsByFunctionCommand: ( - output: __HttpResponse, - context: __SerdeContext -) => Promise; -export declare const de_PublishLayerVersionCommand: ( - output: __HttpResponse, - context: __SerdeContext -) => Promise; -export declare const de_PublishVersionCommand: ( - output: __HttpResponse, - context: __SerdeContext -) => Promise; -export declare const de_PutFunctionCodeSigningConfigCommand: ( - output: __HttpResponse, - context: __SerdeContext -) => Promise; -export declare const de_PutFunctionConcurrencyCommand: ( - output: __HttpResponse, - context: __SerdeContext -) => Promise; -export declare const de_PutFunctionEventInvokeConfigCommand: ( - output: __HttpResponse, - context: __SerdeContext -) => Promise; -export declare const de_PutProvisionedConcurrencyConfigCommand: ( - output: __HttpResponse, - context: __SerdeContext -) => Promise; -export declare const de_PutRuntimeManagementConfigCommand: ( - output: __HttpResponse, - context: __SerdeContext -) => Promise; -export declare const de_RemoveLayerVersionPermissionCommand: ( - output: __HttpResponse, - context: __SerdeContext -) => Promise; -export declare const de_RemovePermissionCommand: ( - output: __HttpResponse, - context: __SerdeContext -) => Promise; -export declare const de_TagResourceCommand: ( - output: __HttpResponse, - context: __SerdeContext -) => Promise; -export declare const de_UntagResourceCommand: ( - output: __HttpResponse, - context: __SerdeContext -) => Promise; -export declare const de_UpdateAliasCommand: ( - output: __HttpResponse, - context: __SerdeContext -) => Promise; -export declare const de_UpdateCodeSigningConfigCommand: ( - output: __HttpResponse, - context: __SerdeContext -) => Promise; -export declare const de_UpdateEventSourceMappingCommand: ( - output: __HttpResponse, - context: __SerdeContext -) => Promise; -export declare const de_UpdateFunctionCodeCommand: ( - output: __HttpResponse, - context: __SerdeContext -) => Promise; -export declare const de_UpdateFunctionConfigurationCommand: ( - output: __HttpResponse, - context: __SerdeContext -) => Promise; -export declare const de_UpdateFunctionEventInvokeConfigCommand: ( - output: __HttpResponse, - context: __SerdeContext -) => Promise; -export declare const de_UpdateFunctionUrlConfigCommand: ( - output: __HttpResponse, - context: __SerdeContext -) => Promise; diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/waiters/index.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/waiters/index.d.ts deleted file mode 100644 index de33f256..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/waiters/index.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -export * from "./waitForFunctionActive"; -export * from "./waitForFunctionActiveV2"; -export * from "./waitForFunctionExists"; -export * from "./waitForFunctionUpdated"; -export * from "./waitForFunctionUpdatedV2"; -export * from "./waitForPublishedVersionActive"; diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/waiters/waitForFunctionActive.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/waiters/waitForFunctionActive.d.ts deleted file mode 100644 index 64c4af05..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/waiters/waitForFunctionActive.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter"; -import { GetFunctionConfigurationCommandInput } from "../commands/GetFunctionConfigurationCommand"; -import { LambdaClient } from "../LambdaClient"; -export declare const waitForFunctionActive: ( - params: WaiterConfiguration, - input: GetFunctionConfigurationCommandInput -) => Promise; -export declare const waitUntilFunctionActive: ( - params: WaiterConfiguration, - input: GetFunctionConfigurationCommandInput -) => Promise; diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/waiters/waitForFunctionActiveV2.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/waiters/waitForFunctionActiveV2.d.ts deleted file mode 100644 index bdbe1941..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/waiters/waitForFunctionActiveV2.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter"; -import { GetFunctionCommandInput } from "../commands/GetFunctionCommand"; -import { LambdaClient } from "../LambdaClient"; -export declare const waitForFunctionActiveV2: ( - params: WaiterConfiguration, - input: GetFunctionCommandInput -) => Promise; -export declare const waitUntilFunctionActiveV2: ( - params: WaiterConfiguration, - input: GetFunctionCommandInput -) => Promise; diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/waiters/waitForFunctionExists.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/waiters/waitForFunctionExists.d.ts deleted file mode 100644 index cd26c4b3..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/waiters/waitForFunctionExists.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter"; -import { GetFunctionCommandInput } from "../commands/GetFunctionCommand"; -import { LambdaClient } from "../LambdaClient"; -export declare const waitForFunctionExists: ( - params: WaiterConfiguration, - input: GetFunctionCommandInput -) => Promise; -export declare const waitUntilFunctionExists: ( - params: WaiterConfiguration, - input: GetFunctionCommandInput -) => Promise; diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/waiters/waitForFunctionUpdated.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/waiters/waitForFunctionUpdated.d.ts deleted file mode 100644 index 6ebe8e20..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/waiters/waitForFunctionUpdated.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter"; -import { GetFunctionConfigurationCommandInput } from "../commands/GetFunctionConfigurationCommand"; -import { LambdaClient } from "../LambdaClient"; -export declare const waitForFunctionUpdated: ( - params: WaiterConfiguration, - input: GetFunctionConfigurationCommandInput -) => Promise; -export declare const waitUntilFunctionUpdated: ( - params: WaiterConfiguration, - input: GetFunctionConfigurationCommandInput -) => Promise; diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/waiters/waitForFunctionUpdatedV2.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/waiters/waitForFunctionUpdatedV2.d.ts deleted file mode 100644 index 630cf856..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/waiters/waitForFunctionUpdatedV2.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter"; -import { GetFunctionCommandInput } from "../commands/GetFunctionCommand"; -import { LambdaClient } from "../LambdaClient"; -export declare const waitForFunctionUpdatedV2: ( - params: WaiterConfiguration, - input: GetFunctionCommandInput -) => Promise; -export declare const waitUntilFunctionUpdatedV2: ( - params: WaiterConfiguration, - input: GetFunctionCommandInput -) => Promise; diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/waiters/waitForPublishedVersionActive.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/waiters/waitForPublishedVersionActive.d.ts deleted file mode 100644 index c8bd8d48..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/waiters/waitForPublishedVersionActive.d.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter"; -import { GetFunctionConfigurationCommandInput } from "../commands/GetFunctionConfigurationCommand"; -import { LambdaClient } from "../LambdaClient"; -export declare const waitForPublishedVersionActive: ( - params: WaiterConfiguration, - input: GetFunctionConfigurationCommandInput -) => Promise; -export declare const waitUntilPublishedVersionActive: ( - params: WaiterConfiguration, - input: GetFunctionConfigurationCommandInput -) => Promise; diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/waiters/index.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/waiters/index.d.ts deleted file mode 100644 index de33f256..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/waiters/index.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -export * from "./waitForFunctionActive"; -export * from "./waitForFunctionActiveV2"; -export * from "./waitForFunctionExists"; -export * from "./waitForFunctionUpdated"; -export * from "./waitForFunctionUpdatedV2"; -export * from "./waitForPublishedVersionActive"; diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/waiters/waitForFunctionActive.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/waiters/waitForFunctionActive.d.ts deleted file mode 100644 index a402c450..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/waiters/waitForFunctionActive.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter"; -import { GetFunctionConfigurationCommandInput } from "../commands/GetFunctionConfigurationCommand"; -import { LambdaClient } from "../LambdaClient"; -/** - * Waits for the function's State to be Active. This waiter uses GetFunctionConfiguration API. This should be used after new function creation. - * @deprecated Use waitUntilFunctionActive instead. waitForFunctionActive does not throw error in non-success cases. - */ -export declare const waitForFunctionActive: (params: WaiterConfiguration, input: GetFunctionConfigurationCommandInput) => Promise; -/** - * Waits for the function's State to be Active. This waiter uses GetFunctionConfiguration API. This should be used after new function creation. - * @param params - Waiter configuration options. - * @param input - The input to GetFunctionConfigurationCommand for polling. - */ -export declare const waitUntilFunctionActive: (params: WaiterConfiguration, input: GetFunctionConfigurationCommandInput) => Promise; diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/waiters/waitForFunctionActiveV2.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/waiters/waitForFunctionActiveV2.d.ts deleted file mode 100644 index 786b4b5d..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/waiters/waitForFunctionActiveV2.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter"; -import { GetFunctionCommandInput } from "../commands/GetFunctionCommand"; -import { LambdaClient } from "../LambdaClient"; -/** - * Waits for the function's State to be Active. This waiter uses GetFunction API. This should be used after new function creation. - * @deprecated Use waitUntilFunctionActiveV2 instead. waitForFunctionActiveV2 does not throw error in non-success cases. - */ -export declare const waitForFunctionActiveV2: (params: WaiterConfiguration, input: GetFunctionCommandInput) => Promise; -/** - * Waits for the function's State to be Active. This waiter uses GetFunction API. This should be used after new function creation. - * @param params - Waiter configuration options. - * @param input - The input to GetFunctionCommand for polling. - */ -export declare const waitUntilFunctionActiveV2: (params: WaiterConfiguration, input: GetFunctionCommandInput) => Promise; diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/waiters/waitForFunctionExists.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/waiters/waitForFunctionExists.d.ts deleted file mode 100644 index fba9bf8b..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/waiters/waitForFunctionExists.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter"; -import { GetFunctionCommandInput } from "../commands/GetFunctionCommand"; -import { LambdaClient } from "../LambdaClient"; -/** - * - * @deprecated Use waitUntilFunctionExists instead. waitForFunctionExists does not throw error in non-success cases. - */ -export declare const waitForFunctionExists: (params: WaiterConfiguration, input: GetFunctionCommandInput) => Promise; -/** - * - * @param params - Waiter configuration options. - * @param input - The input to GetFunctionCommand for polling. - */ -export declare const waitUntilFunctionExists: (params: WaiterConfiguration, input: GetFunctionCommandInput) => Promise; diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/waiters/waitForFunctionUpdated.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/waiters/waitForFunctionUpdated.d.ts deleted file mode 100644 index 450298e9..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/waiters/waitForFunctionUpdated.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter"; -import { GetFunctionConfigurationCommandInput } from "../commands/GetFunctionConfigurationCommand"; -import { LambdaClient } from "../LambdaClient"; -/** - * Waits for the function's LastUpdateStatus to be Successful. This waiter uses GetFunctionConfiguration API. This should be used after function updates. - * @deprecated Use waitUntilFunctionUpdated instead. waitForFunctionUpdated does not throw error in non-success cases. - */ -export declare const waitForFunctionUpdated: (params: WaiterConfiguration, input: GetFunctionConfigurationCommandInput) => Promise; -/** - * Waits for the function's LastUpdateStatus to be Successful. This waiter uses GetFunctionConfiguration API. This should be used after function updates. - * @param params - Waiter configuration options. - * @param input - The input to GetFunctionConfigurationCommand for polling. - */ -export declare const waitUntilFunctionUpdated: (params: WaiterConfiguration, input: GetFunctionConfigurationCommandInput) => Promise; diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/waiters/waitForFunctionUpdatedV2.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/waiters/waitForFunctionUpdatedV2.d.ts deleted file mode 100644 index 27835021..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/waiters/waitForFunctionUpdatedV2.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter"; -import { GetFunctionCommandInput } from "../commands/GetFunctionCommand"; -import { LambdaClient } from "../LambdaClient"; -/** - * Waits for the function's LastUpdateStatus to be Successful. This waiter uses GetFunction API. This should be used after function updates. - * @deprecated Use waitUntilFunctionUpdatedV2 instead. waitForFunctionUpdatedV2 does not throw error in non-success cases. - */ -export declare const waitForFunctionUpdatedV2: (params: WaiterConfiguration, input: GetFunctionCommandInput) => Promise; -/** - * Waits for the function's LastUpdateStatus to be Successful. This waiter uses GetFunction API. This should be used after function updates. - * @param params - Waiter configuration options. - * @param input - The input to GetFunctionCommand for polling. - */ -export declare const waitUntilFunctionUpdatedV2: (params: WaiterConfiguration, input: GetFunctionCommandInput) => Promise; diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/waiters/waitForPublishedVersionActive.d.ts b/node_modules/@aws-sdk/client-lambda/dist-types/waiters/waitForPublishedVersionActive.d.ts deleted file mode 100644 index 59ec5ec0..00000000 --- a/node_modules/@aws-sdk/client-lambda/dist-types/waiters/waitForPublishedVersionActive.d.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter"; -import { GetFunctionConfigurationCommandInput } from "../commands/GetFunctionConfigurationCommand"; -import { LambdaClient } from "../LambdaClient"; -/** - * Waits for the published version's State to be Active. This waiter uses GetFunctionConfiguration API. This should be used after new version is published. - * @deprecated Use waitUntilPublishedVersionActive instead. waitForPublishedVersionActive does not throw error in non-success cases. - */ -export declare const waitForPublishedVersionActive: (params: WaiterConfiguration, input: GetFunctionConfigurationCommandInput) => Promise; -/** - * Waits for the published version's State to be Active. This waiter uses GetFunctionConfiguration API. This should be used after new version is published. - * @param params - Waiter configuration options. - * @param input - The input to GetFunctionConfigurationCommand for polling. - */ -export declare const waitUntilPublishedVersionActive: (params: WaiterConfiguration, input: GetFunctionConfigurationCommandInput) => Promise; diff --git a/node_modules/@aws-sdk/client-lambda/LICENSE b/node_modules/@aws-sdk/client-ssm/LICENSE similarity index 100% rename from node_modules/@aws-sdk/client-lambda/LICENSE rename to node_modules/@aws-sdk/client-ssm/LICENSE diff --git a/node_modules/@aws-sdk/client-ssm/README.md b/node_modules/@aws-sdk/client-ssm/README.md new file mode 100644 index 00000000..504c5881 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/README.md @@ -0,0 +1,1352 @@ + + +# @aws-sdk/client-ssm + +## Description + +AWS SDK for JavaScript SSM Client for Node.js, Browser and React Native. + +

Amazon Web Services Systems Manager is the operations hub for your Amazon Web Services applications and resources and a secure +end-to-end management solution for hybrid cloud environments that enables safe and secure +operations at scale.

+

This reference is intended to be used with the Amazon Web Services Systems Manager User Guide. To get started, see Setting up Amazon Web Services Systems Manager.

+

+Related resources +

+ + +## Installing + +To install the this package, simply type add or install @aws-sdk/client-ssm +using your favorite package manager: + +- `npm install @aws-sdk/client-ssm` +- `yarn add @aws-sdk/client-ssm` +- `pnpm add @aws-sdk/client-ssm` + +## Getting Started + +### Import + +The AWS SDK is modulized by clients and commands. +To send a request, you only need to import the `SSMClient` and +the commands you need, for example `ListAssociationsCommand`: + +```js +// ES5 example +const { SSMClient, ListAssociationsCommand } = require("@aws-sdk/client-ssm"); +``` + +```ts +// ES6+ example +import { SSMClient, ListAssociationsCommand } from "@aws-sdk/client-ssm"; +``` + +### Usage + +To send a request, you: + +- Initiate client with configuration (e.g. credentials, region). +- Initiate command with input parameters. +- Call `send` operation on client with command object as input. +- If you are using a custom http handler, you may call `destroy()` to close open connections. + +```js +// a client can be shared by different commands. +const client = new SSMClient({ region: "REGION" }); + +const params = { + /** input parameters */ +}; +const command = new ListAssociationsCommand(params); +``` + +#### Async/await + +We recommend using [await](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/await) +operator to wait for the promise returned by send operation as follows: + +```js +// async/await. +try { + const data = await client.send(command); + // process data. +} catch (error) { + // error handling. +} finally { + // finally. +} +``` + +Async-await is clean, concise, intuitive, easy to debug and has better error handling +as compared to using Promise chains or callbacks. + +#### Promises + +You can also use [Promise chaining](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Using_promises#chaining) +to execute send operation. + +```js +client.send(command).then( + (data) => { + // process data. + }, + (error) => { + // error handling. + } +); +``` + +Promises can also be called using `.catch()` and `.finally()` as follows: + +```js +client + .send(command) + .then((data) => { + // process data. + }) + .catch((error) => { + // error handling. + }) + .finally(() => { + // finally. + }); +``` + +#### Callbacks + +We do not recommend using callbacks because of [callback hell](http://callbackhell.com/), +but they are supported by the send operation. + +```js +// callbacks. +client.send(command, (err, data) => { + // process err and data. +}); +``` + +#### v2 compatible style + +The client can also send requests using v2 compatible style. +However, it results in a bigger bundle size and may be dropped in next major version. More details in the blog post +on [modular packages in AWS SDK for JavaScript](https://aws.amazon.com/blogs/developer/modular-packages-in-aws-sdk-for-javascript/) + +```ts +import * as AWS from "@aws-sdk/client-ssm"; +const client = new AWS.SSM({ region: "REGION" }); + +// async/await. +try { + const data = await client.listAssociations(params); + // process data. +} catch (error) { + // error handling. +} + +// Promises. +client + .listAssociations(params) + .then((data) => { + // process data. + }) + .catch((error) => { + // error handling. + }); + +// callbacks. +client.listAssociations(params, (err, data) => { + // process err and data. +}); +``` + +### Troubleshooting + +When the service returns an exception, the error will include the exception information, +as well as response metadata (e.g. request id). + +```js +try { + const data = await client.send(command); + // process data. +} catch (error) { + const { requestId, cfId, extendedRequestId } = error.$metadata; + console.log({ requestId, cfId, extendedRequestId }); + /** + * The keys within exceptions are also parsed. + * You can access them by specifying exception names: + * if (error.name === 'SomeServiceException') { + * const value = error.specialKeyInException; + * } + */ +} +``` + +## Getting Help + +Please use these community resources for getting help. +We use the GitHub issues for tracking bugs and feature requests, but have limited bandwidth to address them. + +- Visit [Developer Guide](https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/welcome.html) + or [API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/index.html). +- Check out the blog posts tagged with [`aws-sdk-js`](https://aws.amazon.com/blogs/developer/tag/aws-sdk-js/) + on AWS Developer Blog. +- Ask a question on [StackOverflow](https://stackoverflow.com/questions/tagged/aws-sdk-js) and tag it with `aws-sdk-js`. +- Join the AWS JavaScript community on [gitter](https://gitter.im/aws/aws-sdk-js-v3). +- If it turns out that you may have found a bug, please [open an issue](https://github.com/aws/aws-sdk-js-v3/issues/new/choose). + +To test your universal JavaScript code in Node.js, browser and react-native environments, +visit our [code samples repo](https://github.com/aws-samples/aws-sdk-js-tests). + +## Contributing + +This client code is generated automatically. Any modifications will be overwritten the next time the `@aws-sdk/client-ssm` package is updated. +To contribute to client you can check our [generate clients scripts](https://github.com/aws/aws-sdk-js-v3/tree/main/scripts/generate-clients). + +## License + +This SDK is distributed under the +[Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0), +see LICENSE for more information. + +## Client Commands (Operations List) + +
+ +AddTagsToResource + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/addtagstoresourcecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/addtagstoresourcecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/addtagstoresourcecommandoutput.html) + +
+
+ +AssociateOpsItemRelatedItem + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/associateopsitemrelateditemcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/associateopsitemrelateditemcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/associateopsitemrelateditemcommandoutput.html) + +
+
+ +CancelCommand + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/cancelcommandcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/cancelcommandcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/cancelcommandcommandoutput.html) + +
+
+ +CancelMaintenanceWindowExecution + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/cancelmaintenancewindowexecutioncommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/cancelmaintenancewindowexecutioncommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/cancelmaintenancewindowexecutioncommandoutput.html) + +
+
+ +CreateActivation + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/createactivationcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/createactivationcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/createactivationcommandoutput.html) + +
+
+ +CreateAssociation + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/createassociationcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/createassociationcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/createassociationcommandoutput.html) + +
+
+ +CreateAssociationBatch + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/createassociationbatchcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/createassociationbatchcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/createassociationbatchcommandoutput.html) + +
+
+ +CreateDocument + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/createdocumentcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/createdocumentcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/createdocumentcommandoutput.html) + +
+
+ +CreateMaintenanceWindow + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/createmaintenancewindowcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/createmaintenancewindowcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/createmaintenancewindowcommandoutput.html) + +
+
+ +CreateOpsItem + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/createopsitemcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/createopsitemcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/createopsitemcommandoutput.html) + +
+
+ +CreateOpsMetadata + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/createopsmetadatacommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/createopsmetadatacommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/createopsmetadatacommandoutput.html) + +
+
+ +CreatePatchBaseline + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/createpatchbaselinecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/createpatchbaselinecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/createpatchbaselinecommandoutput.html) + +
+
+ +CreateResourceDataSync + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/createresourcedatasynccommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/createresourcedatasynccommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/createresourcedatasynccommandoutput.html) + +
+
+ +DeleteActivation + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/deleteactivationcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/deleteactivationcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/deleteactivationcommandoutput.html) + +
+
+ +DeleteAssociation + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/deleteassociationcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/deleteassociationcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/deleteassociationcommandoutput.html) + +
+
+ +DeleteDocument + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/deletedocumentcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/deletedocumentcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/deletedocumentcommandoutput.html) + +
+
+ +DeleteInventory + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/deleteinventorycommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/deleteinventorycommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/deleteinventorycommandoutput.html) + +
+
+ +DeleteMaintenanceWindow + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/deletemaintenancewindowcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/deletemaintenancewindowcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/deletemaintenancewindowcommandoutput.html) + +
+
+ +DeleteOpsItem + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/deleteopsitemcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/deleteopsitemcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/deleteopsitemcommandoutput.html) + +
+
+ +DeleteOpsMetadata + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/deleteopsmetadatacommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/deleteopsmetadatacommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/deleteopsmetadatacommandoutput.html) + +
+
+ +DeleteParameter + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/deleteparametercommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/deleteparametercommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/deleteparametercommandoutput.html) + +
+
+ +DeleteParameters + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/deleteparameterscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/deleteparameterscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/deleteparameterscommandoutput.html) + +
+
+ +DeletePatchBaseline + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/deletepatchbaselinecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/deletepatchbaselinecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/deletepatchbaselinecommandoutput.html) + +
+
+ +DeleteResourceDataSync + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/deleteresourcedatasynccommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/deleteresourcedatasynccommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/deleteresourcedatasynccommandoutput.html) + +
+
+ +DeleteResourcePolicy + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/deleteresourcepolicycommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/deleteresourcepolicycommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/deleteresourcepolicycommandoutput.html) + +
+
+ +DeregisterManagedInstance + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/deregistermanagedinstancecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/deregistermanagedinstancecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/deregistermanagedinstancecommandoutput.html) + +
+
+ +DeregisterPatchBaselineForPatchGroup + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/deregisterpatchbaselineforpatchgroupcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/deregisterpatchbaselineforpatchgroupcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/deregisterpatchbaselineforpatchgroupcommandoutput.html) + +
+
+ +DeregisterTargetFromMaintenanceWindow + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/deregistertargetfrommaintenancewindowcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/deregistertargetfrommaintenancewindowcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/deregistertargetfrommaintenancewindowcommandoutput.html) + +
+
+ +DeregisterTaskFromMaintenanceWindow + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/deregistertaskfrommaintenancewindowcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/deregistertaskfrommaintenancewindowcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/deregistertaskfrommaintenancewindowcommandoutput.html) + +
+
+ +DescribeActivations + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/describeactivationscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/describeactivationscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/describeactivationscommandoutput.html) + +
+
+ +DescribeAssociation + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/describeassociationcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/describeassociationcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/describeassociationcommandoutput.html) + +
+
+ +DescribeAssociationExecutions + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/describeassociationexecutionscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/describeassociationexecutionscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/describeassociationexecutionscommandoutput.html) + +
+
+ +DescribeAssociationExecutionTargets + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/describeassociationexecutiontargetscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/describeassociationexecutiontargetscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/describeassociationexecutiontargetscommandoutput.html) + +
+
+ +DescribeAutomationExecutions + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/describeautomationexecutionscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/describeautomationexecutionscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/describeautomationexecutionscommandoutput.html) + +
+
+ +DescribeAutomationStepExecutions + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/describeautomationstepexecutionscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/describeautomationstepexecutionscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/describeautomationstepexecutionscommandoutput.html) + +
+
+ +DescribeAvailablePatches + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/describeavailablepatchescommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/describeavailablepatchescommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/describeavailablepatchescommandoutput.html) + +
+
+ +DescribeDocument + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/describedocumentcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/describedocumentcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/describedocumentcommandoutput.html) + +
+
+ +DescribeDocumentPermission + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/describedocumentpermissioncommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/describedocumentpermissioncommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/describedocumentpermissioncommandoutput.html) + +
+
+ +DescribeEffectiveInstanceAssociations + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/describeeffectiveinstanceassociationscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/describeeffectiveinstanceassociationscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/describeeffectiveinstanceassociationscommandoutput.html) + +
+
+ +DescribeEffectivePatchesForPatchBaseline + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/describeeffectivepatchesforpatchbaselinecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/describeeffectivepatchesforpatchbaselinecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/describeeffectivepatchesforpatchbaselinecommandoutput.html) + +
+
+ +DescribeInstanceAssociationsStatus + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/describeinstanceassociationsstatuscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/describeinstanceassociationsstatuscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/describeinstanceassociationsstatuscommandoutput.html) + +
+
+ +DescribeInstanceInformation + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/describeinstanceinformationcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/describeinstanceinformationcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/describeinstanceinformationcommandoutput.html) + +
+
+ +DescribeInstancePatches + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/describeinstancepatchescommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/describeinstancepatchescommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/describeinstancepatchescommandoutput.html) + +
+
+ +DescribeInstancePatchStates + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/describeinstancepatchstatescommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/describeinstancepatchstatescommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/describeinstancepatchstatescommandoutput.html) + +
+
+ +DescribeInstancePatchStatesForPatchGroup + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/describeinstancepatchstatesforpatchgroupcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/describeinstancepatchstatesforpatchgroupcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/describeinstancepatchstatesforpatchgroupcommandoutput.html) + +
+
+ +DescribeInventoryDeletions + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/describeinventorydeletionscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/describeinventorydeletionscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/describeinventorydeletionscommandoutput.html) + +
+
+ +DescribeMaintenanceWindowExecutions + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/describemaintenancewindowexecutionscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/describemaintenancewindowexecutionscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/describemaintenancewindowexecutionscommandoutput.html) + +
+
+ +DescribeMaintenanceWindowExecutionTaskInvocations + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/describemaintenancewindowexecutiontaskinvocationscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/describemaintenancewindowexecutiontaskinvocationscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/describemaintenancewindowexecutiontaskinvocationscommandoutput.html) + +
+
+ +DescribeMaintenanceWindowExecutionTasks + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/describemaintenancewindowexecutiontaskscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/describemaintenancewindowexecutiontaskscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/describemaintenancewindowexecutiontaskscommandoutput.html) + +
+
+ +DescribeMaintenanceWindows + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/describemaintenancewindowscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/describemaintenancewindowscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/describemaintenancewindowscommandoutput.html) + +
+
+ +DescribeMaintenanceWindowSchedule + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/describemaintenancewindowschedulecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/describemaintenancewindowschedulecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/describemaintenancewindowschedulecommandoutput.html) + +
+
+ +DescribeMaintenanceWindowsForTarget + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/describemaintenancewindowsfortargetcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/describemaintenancewindowsfortargetcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/describemaintenancewindowsfortargetcommandoutput.html) + +
+
+ +DescribeMaintenanceWindowTargets + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/describemaintenancewindowtargetscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/describemaintenancewindowtargetscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/describemaintenancewindowtargetscommandoutput.html) + +
+
+ +DescribeMaintenanceWindowTasks + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/describemaintenancewindowtaskscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/describemaintenancewindowtaskscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/describemaintenancewindowtaskscommandoutput.html) + +
+
+ +DescribeOpsItems + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/describeopsitemscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/describeopsitemscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/describeopsitemscommandoutput.html) + +
+
+ +DescribeParameters + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/describeparameterscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/describeparameterscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/describeparameterscommandoutput.html) + +
+
+ +DescribePatchBaselines + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/describepatchbaselinescommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/describepatchbaselinescommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/describepatchbaselinescommandoutput.html) + +
+
+ +DescribePatchGroups + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/describepatchgroupscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/describepatchgroupscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/describepatchgroupscommandoutput.html) + +
+
+ +DescribePatchGroupState + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/describepatchgroupstatecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/describepatchgroupstatecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/describepatchgroupstatecommandoutput.html) + +
+
+ +DescribePatchProperties + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/describepatchpropertiescommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/describepatchpropertiescommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/describepatchpropertiescommandoutput.html) + +
+
+ +DescribeSessions + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/describesessionscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/describesessionscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/describesessionscommandoutput.html) + +
+
+ +DisassociateOpsItemRelatedItem + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/disassociateopsitemrelateditemcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/disassociateopsitemrelateditemcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/disassociateopsitemrelateditemcommandoutput.html) + +
+
+ +GetAutomationExecution + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/getautomationexecutioncommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/getautomationexecutioncommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/getautomationexecutioncommandoutput.html) + +
+
+ +GetCalendarState + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/getcalendarstatecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/getcalendarstatecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/getcalendarstatecommandoutput.html) + +
+
+ +GetCommandInvocation + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/getcommandinvocationcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/getcommandinvocationcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/getcommandinvocationcommandoutput.html) + +
+
+ +GetConnectionStatus + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/getconnectionstatuscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/getconnectionstatuscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/getconnectionstatuscommandoutput.html) + +
+
+ +GetDefaultPatchBaseline + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/getdefaultpatchbaselinecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/getdefaultpatchbaselinecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/getdefaultpatchbaselinecommandoutput.html) + +
+
+ +GetDeployablePatchSnapshotForInstance + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/getdeployablepatchsnapshotforinstancecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/getdeployablepatchsnapshotforinstancecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/getdeployablepatchsnapshotforinstancecommandoutput.html) + +
+
+ +GetDocument + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/getdocumentcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/getdocumentcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/getdocumentcommandoutput.html) + +
+
+ +GetInventory + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/getinventorycommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/getinventorycommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/getinventorycommandoutput.html) + +
+
+ +GetInventorySchema + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/getinventoryschemacommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/getinventoryschemacommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/getinventoryschemacommandoutput.html) + +
+
+ +GetMaintenanceWindow + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/getmaintenancewindowcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/getmaintenancewindowcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/getmaintenancewindowcommandoutput.html) + +
+
+ +GetMaintenanceWindowExecution + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/getmaintenancewindowexecutioncommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/getmaintenancewindowexecutioncommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/getmaintenancewindowexecutioncommandoutput.html) + +
+
+ +GetMaintenanceWindowExecutionTask + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/getmaintenancewindowexecutiontaskcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/getmaintenancewindowexecutiontaskcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/getmaintenancewindowexecutiontaskcommandoutput.html) + +
+
+ +GetMaintenanceWindowExecutionTaskInvocation + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/getmaintenancewindowexecutiontaskinvocationcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/getmaintenancewindowexecutiontaskinvocationcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/getmaintenancewindowexecutiontaskinvocationcommandoutput.html) + +
+
+ +GetMaintenanceWindowTask + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/getmaintenancewindowtaskcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/getmaintenancewindowtaskcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/getmaintenancewindowtaskcommandoutput.html) + +
+
+ +GetOpsItem + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/getopsitemcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/getopsitemcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/getopsitemcommandoutput.html) + +
+
+ +GetOpsMetadata + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/getopsmetadatacommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/getopsmetadatacommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/getopsmetadatacommandoutput.html) + +
+
+ +GetOpsSummary + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/getopssummarycommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/getopssummarycommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/getopssummarycommandoutput.html) + +
+
+ +GetParameter + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/getparametercommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/getparametercommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/getparametercommandoutput.html) + +
+
+ +GetParameterHistory + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/getparameterhistorycommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/getparameterhistorycommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/getparameterhistorycommandoutput.html) + +
+
+ +GetParameters + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/getparameterscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/getparameterscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/getparameterscommandoutput.html) + +
+
+ +GetParametersByPath + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/getparametersbypathcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/getparametersbypathcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/getparametersbypathcommandoutput.html) + +
+
+ +GetPatchBaseline + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/getpatchbaselinecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/getpatchbaselinecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/getpatchbaselinecommandoutput.html) + +
+
+ +GetPatchBaselineForPatchGroup + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/getpatchbaselineforpatchgroupcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/getpatchbaselineforpatchgroupcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/getpatchbaselineforpatchgroupcommandoutput.html) + +
+
+ +GetResourcePolicies + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/getresourcepoliciescommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/getresourcepoliciescommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/getresourcepoliciescommandoutput.html) + +
+
+ +GetServiceSetting + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/getservicesettingcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/getservicesettingcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/getservicesettingcommandoutput.html) + +
+
+ +LabelParameterVersion + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/labelparameterversioncommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/labelparameterversioncommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/labelparameterversioncommandoutput.html) + +
+
+ +ListAssociations + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/listassociationscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/listassociationscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/listassociationscommandoutput.html) + +
+
+ +ListAssociationVersions + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/listassociationversionscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/listassociationversionscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/listassociationversionscommandoutput.html) + +
+
+ +ListCommandInvocations + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/listcommandinvocationscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/listcommandinvocationscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/listcommandinvocationscommandoutput.html) + +
+
+ +ListCommands + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/listcommandscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/listcommandscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/listcommandscommandoutput.html) + +
+
+ +ListComplianceItems + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/listcomplianceitemscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/listcomplianceitemscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/listcomplianceitemscommandoutput.html) + +
+
+ +ListComplianceSummaries + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/listcompliancesummariescommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/listcompliancesummariescommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/listcompliancesummariescommandoutput.html) + +
+
+ +ListDocumentMetadataHistory + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/listdocumentmetadatahistorycommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/listdocumentmetadatahistorycommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/listdocumentmetadatahistorycommandoutput.html) + +
+
+ +ListDocuments + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/listdocumentscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/listdocumentscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/listdocumentscommandoutput.html) + +
+
+ +ListDocumentVersions + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/listdocumentversionscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/listdocumentversionscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/listdocumentversionscommandoutput.html) + +
+
+ +ListInventoryEntries + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/listinventoryentriescommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/listinventoryentriescommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/listinventoryentriescommandoutput.html) + +
+
+ +ListOpsItemEvents + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/listopsitemeventscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/listopsitemeventscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/listopsitemeventscommandoutput.html) + +
+
+ +ListOpsItemRelatedItems + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/listopsitemrelateditemscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/listopsitemrelateditemscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/listopsitemrelateditemscommandoutput.html) + +
+
+ +ListOpsMetadata + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/listopsmetadatacommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/listopsmetadatacommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/listopsmetadatacommandoutput.html) + +
+
+ +ListResourceComplianceSummaries + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/listresourcecompliancesummariescommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/listresourcecompliancesummariescommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/listresourcecompliancesummariescommandoutput.html) + +
+
+ +ListResourceDataSync + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/listresourcedatasynccommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/listresourcedatasynccommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/listresourcedatasynccommandoutput.html) + +
+
+ +ListTagsForResource + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/listtagsforresourcecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/listtagsforresourcecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/listtagsforresourcecommandoutput.html) + +
+
+ +ModifyDocumentPermission + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/modifydocumentpermissioncommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/modifydocumentpermissioncommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/modifydocumentpermissioncommandoutput.html) + +
+
+ +PutComplianceItems + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/putcomplianceitemscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/putcomplianceitemscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/putcomplianceitemscommandoutput.html) + +
+
+ +PutInventory + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/putinventorycommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/putinventorycommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/putinventorycommandoutput.html) + +
+
+ +PutParameter + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/putparametercommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/putparametercommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/putparametercommandoutput.html) + +
+
+ +PutResourcePolicy + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/putresourcepolicycommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/putresourcepolicycommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/putresourcepolicycommandoutput.html) + +
+
+ +RegisterDefaultPatchBaseline + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/registerdefaultpatchbaselinecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/registerdefaultpatchbaselinecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/registerdefaultpatchbaselinecommandoutput.html) + +
+
+ +RegisterPatchBaselineForPatchGroup + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/registerpatchbaselineforpatchgroupcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/registerpatchbaselineforpatchgroupcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/registerpatchbaselineforpatchgroupcommandoutput.html) + +
+
+ +RegisterTargetWithMaintenanceWindow + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/registertargetwithmaintenancewindowcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/registertargetwithmaintenancewindowcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/registertargetwithmaintenancewindowcommandoutput.html) + +
+
+ +RegisterTaskWithMaintenanceWindow + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/registertaskwithmaintenancewindowcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/registertaskwithmaintenancewindowcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/registertaskwithmaintenancewindowcommandoutput.html) + +
+
+ +RemoveTagsFromResource + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/removetagsfromresourcecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/removetagsfromresourcecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/removetagsfromresourcecommandoutput.html) + +
+
+ +ResetServiceSetting + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/resetservicesettingcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/resetservicesettingcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/resetservicesettingcommandoutput.html) + +
+
+ +ResumeSession + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/resumesessioncommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/resumesessioncommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/resumesessioncommandoutput.html) + +
+
+ +SendAutomationSignal + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/sendautomationsignalcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/sendautomationsignalcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/sendautomationsignalcommandoutput.html) + +
+
+ +SendCommand + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/sendcommandcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/sendcommandcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/sendcommandcommandoutput.html) + +
+
+ +StartAssociationsOnce + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/startassociationsoncecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/startassociationsoncecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/startassociationsoncecommandoutput.html) + +
+
+ +StartAutomationExecution + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/startautomationexecutioncommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/startautomationexecutioncommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/startautomationexecutioncommandoutput.html) + +
+
+ +StartChangeRequestExecution + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/startchangerequestexecutioncommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/startchangerequestexecutioncommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/startchangerequestexecutioncommandoutput.html) + +
+
+ +StartSession + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/startsessioncommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/startsessioncommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/startsessioncommandoutput.html) + +
+
+ +StopAutomationExecution + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/stopautomationexecutioncommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/stopautomationexecutioncommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/stopautomationexecutioncommandoutput.html) + +
+
+ +TerminateSession + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/terminatesessioncommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/terminatesessioncommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/terminatesessioncommandoutput.html) + +
+
+ +UnlabelParameterVersion + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/unlabelparameterversioncommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/unlabelparameterversioncommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/unlabelparameterversioncommandoutput.html) + +
+
+ +UpdateAssociation + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/updateassociationcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/updateassociationcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/updateassociationcommandoutput.html) + +
+
+ +UpdateAssociationStatus + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/updateassociationstatuscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/updateassociationstatuscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/updateassociationstatuscommandoutput.html) + +
+
+ +UpdateDocument + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/updatedocumentcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/updatedocumentcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/updatedocumentcommandoutput.html) + +
+
+ +UpdateDocumentDefaultVersion + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/updatedocumentdefaultversioncommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/updatedocumentdefaultversioncommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/updatedocumentdefaultversioncommandoutput.html) + +
+
+ +UpdateDocumentMetadata + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/updatedocumentmetadatacommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/updatedocumentmetadatacommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/updatedocumentmetadatacommandoutput.html) + +
+
+ +UpdateMaintenanceWindow + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/updatemaintenancewindowcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/updatemaintenancewindowcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/updatemaintenancewindowcommandoutput.html) + +
+
+ +UpdateMaintenanceWindowTarget + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/updatemaintenancewindowtargetcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/updatemaintenancewindowtargetcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/updatemaintenancewindowtargetcommandoutput.html) + +
+
+ +UpdateMaintenanceWindowTask + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/updatemaintenancewindowtaskcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/updatemaintenancewindowtaskcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/updatemaintenancewindowtaskcommandoutput.html) + +
+
+ +UpdateManagedInstanceRole + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/updatemanagedinstancerolecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/updatemanagedinstancerolecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/updatemanagedinstancerolecommandoutput.html) + +
+
+ +UpdateOpsItem + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/updateopsitemcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/updateopsitemcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/updateopsitemcommandoutput.html) + +
+
+ +UpdateOpsMetadata + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/updateopsmetadatacommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/updateopsmetadatacommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/updateopsmetadatacommandoutput.html) + +
+
+ +UpdatePatchBaseline + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/updatepatchbaselinecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/updatepatchbaselinecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/updatepatchbaselinecommandoutput.html) + +
+
+ +UpdateResourceDataSync + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/updateresourcedatasynccommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/updateresourcedatasynccommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/updateresourcedatasynccommandoutput.html) + +
+
+ +UpdateServiceSetting + + +[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/classes/updateservicesettingcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/updateservicesettingcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-ssm/interfaces/updateservicesettingcommandoutput.html) + +
diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/SSM.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/SSM.js new file mode 100644 index 00000000..a48c3422 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/SSM.js @@ -0,0 +1,289 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.SSM = void 0; +const smithy_client_1 = require("@smithy/smithy-client"); +const AddTagsToResourceCommand_1 = require("./commands/AddTagsToResourceCommand"); +const AssociateOpsItemRelatedItemCommand_1 = require("./commands/AssociateOpsItemRelatedItemCommand"); +const CancelCommandCommand_1 = require("./commands/CancelCommandCommand"); +const CancelMaintenanceWindowExecutionCommand_1 = require("./commands/CancelMaintenanceWindowExecutionCommand"); +const CreateActivationCommand_1 = require("./commands/CreateActivationCommand"); +const CreateAssociationBatchCommand_1 = require("./commands/CreateAssociationBatchCommand"); +const CreateAssociationCommand_1 = require("./commands/CreateAssociationCommand"); +const CreateDocumentCommand_1 = require("./commands/CreateDocumentCommand"); +const CreateMaintenanceWindowCommand_1 = require("./commands/CreateMaintenanceWindowCommand"); +const CreateOpsItemCommand_1 = require("./commands/CreateOpsItemCommand"); +const CreateOpsMetadataCommand_1 = require("./commands/CreateOpsMetadataCommand"); +const CreatePatchBaselineCommand_1 = require("./commands/CreatePatchBaselineCommand"); +const CreateResourceDataSyncCommand_1 = require("./commands/CreateResourceDataSyncCommand"); +const DeleteActivationCommand_1 = require("./commands/DeleteActivationCommand"); +const DeleteAssociationCommand_1 = require("./commands/DeleteAssociationCommand"); +const DeleteDocumentCommand_1 = require("./commands/DeleteDocumentCommand"); +const DeleteInventoryCommand_1 = require("./commands/DeleteInventoryCommand"); +const DeleteMaintenanceWindowCommand_1 = require("./commands/DeleteMaintenanceWindowCommand"); +const DeleteOpsItemCommand_1 = require("./commands/DeleteOpsItemCommand"); +const DeleteOpsMetadataCommand_1 = require("./commands/DeleteOpsMetadataCommand"); +const DeleteParameterCommand_1 = require("./commands/DeleteParameterCommand"); +const DeleteParametersCommand_1 = require("./commands/DeleteParametersCommand"); +const DeletePatchBaselineCommand_1 = require("./commands/DeletePatchBaselineCommand"); +const DeleteResourceDataSyncCommand_1 = require("./commands/DeleteResourceDataSyncCommand"); +const DeleteResourcePolicyCommand_1 = require("./commands/DeleteResourcePolicyCommand"); +const DeregisterManagedInstanceCommand_1 = require("./commands/DeregisterManagedInstanceCommand"); +const DeregisterPatchBaselineForPatchGroupCommand_1 = require("./commands/DeregisterPatchBaselineForPatchGroupCommand"); +const DeregisterTargetFromMaintenanceWindowCommand_1 = require("./commands/DeregisterTargetFromMaintenanceWindowCommand"); +const DeregisterTaskFromMaintenanceWindowCommand_1 = require("./commands/DeregisterTaskFromMaintenanceWindowCommand"); +const DescribeActivationsCommand_1 = require("./commands/DescribeActivationsCommand"); +const DescribeAssociationCommand_1 = require("./commands/DescribeAssociationCommand"); +const DescribeAssociationExecutionsCommand_1 = require("./commands/DescribeAssociationExecutionsCommand"); +const DescribeAssociationExecutionTargetsCommand_1 = require("./commands/DescribeAssociationExecutionTargetsCommand"); +const DescribeAutomationExecutionsCommand_1 = require("./commands/DescribeAutomationExecutionsCommand"); +const DescribeAutomationStepExecutionsCommand_1 = require("./commands/DescribeAutomationStepExecutionsCommand"); +const DescribeAvailablePatchesCommand_1 = require("./commands/DescribeAvailablePatchesCommand"); +const DescribeDocumentCommand_1 = require("./commands/DescribeDocumentCommand"); +const DescribeDocumentPermissionCommand_1 = require("./commands/DescribeDocumentPermissionCommand"); +const DescribeEffectiveInstanceAssociationsCommand_1 = require("./commands/DescribeEffectiveInstanceAssociationsCommand"); +const DescribeEffectivePatchesForPatchBaselineCommand_1 = require("./commands/DescribeEffectivePatchesForPatchBaselineCommand"); +const DescribeInstanceAssociationsStatusCommand_1 = require("./commands/DescribeInstanceAssociationsStatusCommand"); +const DescribeInstanceInformationCommand_1 = require("./commands/DescribeInstanceInformationCommand"); +const DescribeInstancePatchesCommand_1 = require("./commands/DescribeInstancePatchesCommand"); +const DescribeInstancePatchStatesCommand_1 = require("./commands/DescribeInstancePatchStatesCommand"); +const DescribeInstancePatchStatesForPatchGroupCommand_1 = require("./commands/DescribeInstancePatchStatesForPatchGroupCommand"); +const DescribeInventoryDeletionsCommand_1 = require("./commands/DescribeInventoryDeletionsCommand"); +const DescribeMaintenanceWindowExecutionsCommand_1 = require("./commands/DescribeMaintenanceWindowExecutionsCommand"); +const DescribeMaintenanceWindowExecutionTaskInvocationsCommand_1 = require("./commands/DescribeMaintenanceWindowExecutionTaskInvocationsCommand"); +const DescribeMaintenanceWindowExecutionTasksCommand_1 = require("./commands/DescribeMaintenanceWindowExecutionTasksCommand"); +const DescribeMaintenanceWindowScheduleCommand_1 = require("./commands/DescribeMaintenanceWindowScheduleCommand"); +const DescribeMaintenanceWindowsCommand_1 = require("./commands/DescribeMaintenanceWindowsCommand"); +const DescribeMaintenanceWindowsForTargetCommand_1 = require("./commands/DescribeMaintenanceWindowsForTargetCommand"); +const DescribeMaintenanceWindowTargetsCommand_1 = require("./commands/DescribeMaintenanceWindowTargetsCommand"); +const DescribeMaintenanceWindowTasksCommand_1 = require("./commands/DescribeMaintenanceWindowTasksCommand"); +const DescribeOpsItemsCommand_1 = require("./commands/DescribeOpsItemsCommand"); +const DescribeParametersCommand_1 = require("./commands/DescribeParametersCommand"); +const DescribePatchBaselinesCommand_1 = require("./commands/DescribePatchBaselinesCommand"); +const DescribePatchGroupsCommand_1 = require("./commands/DescribePatchGroupsCommand"); +const DescribePatchGroupStateCommand_1 = require("./commands/DescribePatchGroupStateCommand"); +const DescribePatchPropertiesCommand_1 = require("./commands/DescribePatchPropertiesCommand"); +const DescribeSessionsCommand_1 = require("./commands/DescribeSessionsCommand"); +const DisassociateOpsItemRelatedItemCommand_1 = require("./commands/DisassociateOpsItemRelatedItemCommand"); +const GetAutomationExecutionCommand_1 = require("./commands/GetAutomationExecutionCommand"); +const GetCalendarStateCommand_1 = require("./commands/GetCalendarStateCommand"); +const GetCommandInvocationCommand_1 = require("./commands/GetCommandInvocationCommand"); +const GetConnectionStatusCommand_1 = require("./commands/GetConnectionStatusCommand"); +const GetDefaultPatchBaselineCommand_1 = require("./commands/GetDefaultPatchBaselineCommand"); +const GetDeployablePatchSnapshotForInstanceCommand_1 = require("./commands/GetDeployablePatchSnapshotForInstanceCommand"); +const GetDocumentCommand_1 = require("./commands/GetDocumentCommand"); +const GetInventoryCommand_1 = require("./commands/GetInventoryCommand"); +const GetInventorySchemaCommand_1 = require("./commands/GetInventorySchemaCommand"); +const GetMaintenanceWindowCommand_1 = require("./commands/GetMaintenanceWindowCommand"); +const GetMaintenanceWindowExecutionCommand_1 = require("./commands/GetMaintenanceWindowExecutionCommand"); +const GetMaintenanceWindowExecutionTaskCommand_1 = require("./commands/GetMaintenanceWindowExecutionTaskCommand"); +const GetMaintenanceWindowExecutionTaskInvocationCommand_1 = require("./commands/GetMaintenanceWindowExecutionTaskInvocationCommand"); +const GetMaintenanceWindowTaskCommand_1 = require("./commands/GetMaintenanceWindowTaskCommand"); +const GetOpsItemCommand_1 = require("./commands/GetOpsItemCommand"); +const GetOpsMetadataCommand_1 = require("./commands/GetOpsMetadataCommand"); +const GetOpsSummaryCommand_1 = require("./commands/GetOpsSummaryCommand"); +const GetParameterCommand_1 = require("./commands/GetParameterCommand"); +const GetParameterHistoryCommand_1 = require("./commands/GetParameterHistoryCommand"); +const GetParametersByPathCommand_1 = require("./commands/GetParametersByPathCommand"); +const GetParametersCommand_1 = require("./commands/GetParametersCommand"); +const GetPatchBaselineCommand_1 = require("./commands/GetPatchBaselineCommand"); +const GetPatchBaselineForPatchGroupCommand_1 = require("./commands/GetPatchBaselineForPatchGroupCommand"); +const GetResourcePoliciesCommand_1 = require("./commands/GetResourcePoliciesCommand"); +const GetServiceSettingCommand_1 = require("./commands/GetServiceSettingCommand"); +const LabelParameterVersionCommand_1 = require("./commands/LabelParameterVersionCommand"); +const ListAssociationsCommand_1 = require("./commands/ListAssociationsCommand"); +const ListAssociationVersionsCommand_1 = require("./commands/ListAssociationVersionsCommand"); +const ListCommandInvocationsCommand_1 = require("./commands/ListCommandInvocationsCommand"); +const ListCommandsCommand_1 = require("./commands/ListCommandsCommand"); +const ListComplianceItemsCommand_1 = require("./commands/ListComplianceItemsCommand"); +const ListComplianceSummariesCommand_1 = require("./commands/ListComplianceSummariesCommand"); +const ListDocumentMetadataHistoryCommand_1 = require("./commands/ListDocumentMetadataHistoryCommand"); +const ListDocumentsCommand_1 = require("./commands/ListDocumentsCommand"); +const ListDocumentVersionsCommand_1 = require("./commands/ListDocumentVersionsCommand"); +const ListInventoryEntriesCommand_1 = require("./commands/ListInventoryEntriesCommand"); +const ListOpsItemEventsCommand_1 = require("./commands/ListOpsItemEventsCommand"); +const ListOpsItemRelatedItemsCommand_1 = require("./commands/ListOpsItemRelatedItemsCommand"); +const ListOpsMetadataCommand_1 = require("./commands/ListOpsMetadataCommand"); +const ListResourceComplianceSummariesCommand_1 = require("./commands/ListResourceComplianceSummariesCommand"); +const ListResourceDataSyncCommand_1 = require("./commands/ListResourceDataSyncCommand"); +const ListTagsForResourceCommand_1 = require("./commands/ListTagsForResourceCommand"); +const ModifyDocumentPermissionCommand_1 = require("./commands/ModifyDocumentPermissionCommand"); +const PutComplianceItemsCommand_1 = require("./commands/PutComplianceItemsCommand"); +const PutInventoryCommand_1 = require("./commands/PutInventoryCommand"); +const PutParameterCommand_1 = require("./commands/PutParameterCommand"); +const PutResourcePolicyCommand_1 = require("./commands/PutResourcePolicyCommand"); +const RegisterDefaultPatchBaselineCommand_1 = require("./commands/RegisterDefaultPatchBaselineCommand"); +const RegisterPatchBaselineForPatchGroupCommand_1 = require("./commands/RegisterPatchBaselineForPatchGroupCommand"); +const RegisterTargetWithMaintenanceWindowCommand_1 = require("./commands/RegisterTargetWithMaintenanceWindowCommand"); +const RegisterTaskWithMaintenanceWindowCommand_1 = require("./commands/RegisterTaskWithMaintenanceWindowCommand"); +const RemoveTagsFromResourceCommand_1 = require("./commands/RemoveTagsFromResourceCommand"); +const ResetServiceSettingCommand_1 = require("./commands/ResetServiceSettingCommand"); +const ResumeSessionCommand_1 = require("./commands/ResumeSessionCommand"); +const SendAutomationSignalCommand_1 = require("./commands/SendAutomationSignalCommand"); +const SendCommandCommand_1 = require("./commands/SendCommandCommand"); +const StartAssociationsOnceCommand_1 = require("./commands/StartAssociationsOnceCommand"); +const StartAutomationExecutionCommand_1 = require("./commands/StartAutomationExecutionCommand"); +const StartChangeRequestExecutionCommand_1 = require("./commands/StartChangeRequestExecutionCommand"); +const StartSessionCommand_1 = require("./commands/StartSessionCommand"); +const StopAutomationExecutionCommand_1 = require("./commands/StopAutomationExecutionCommand"); +const TerminateSessionCommand_1 = require("./commands/TerminateSessionCommand"); +const UnlabelParameterVersionCommand_1 = require("./commands/UnlabelParameterVersionCommand"); +const UpdateAssociationCommand_1 = require("./commands/UpdateAssociationCommand"); +const UpdateAssociationStatusCommand_1 = require("./commands/UpdateAssociationStatusCommand"); +const UpdateDocumentCommand_1 = require("./commands/UpdateDocumentCommand"); +const UpdateDocumentDefaultVersionCommand_1 = require("./commands/UpdateDocumentDefaultVersionCommand"); +const UpdateDocumentMetadataCommand_1 = require("./commands/UpdateDocumentMetadataCommand"); +const UpdateMaintenanceWindowCommand_1 = require("./commands/UpdateMaintenanceWindowCommand"); +const UpdateMaintenanceWindowTargetCommand_1 = require("./commands/UpdateMaintenanceWindowTargetCommand"); +const UpdateMaintenanceWindowTaskCommand_1 = require("./commands/UpdateMaintenanceWindowTaskCommand"); +const UpdateManagedInstanceRoleCommand_1 = require("./commands/UpdateManagedInstanceRoleCommand"); +const UpdateOpsItemCommand_1 = require("./commands/UpdateOpsItemCommand"); +const UpdateOpsMetadataCommand_1 = require("./commands/UpdateOpsMetadataCommand"); +const UpdatePatchBaselineCommand_1 = require("./commands/UpdatePatchBaselineCommand"); +const UpdateResourceDataSyncCommand_1 = require("./commands/UpdateResourceDataSyncCommand"); +const UpdateServiceSettingCommand_1 = require("./commands/UpdateServiceSettingCommand"); +const SSMClient_1 = require("./SSMClient"); +const commands = { + AddTagsToResourceCommand: AddTagsToResourceCommand_1.AddTagsToResourceCommand, + AssociateOpsItemRelatedItemCommand: AssociateOpsItemRelatedItemCommand_1.AssociateOpsItemRelatedItemCommand, + CancelCommandCommand: CancelCommandCommand_1.CancelCommandCommand, + CancelMaintenanceWindowExecutionCommand: CancelMaintenanceWindowExecutionCommand_1.CancelMaintenanceWindowExecutionCommand, + CreateActivationCommand: CreateActivationCommand_1.CreateActivationCommand, + CreateAssociationCommand: CreateAssociationCommand_1.CreateAssociationCommand, + CreateAssociationBatchCommand: CreateAssociationBatchCommand_1.CreateAssociationBatchCommand, + CreateDocumentCommand: CreateDocumentCommand_1.CreateDocumentCommand, + CreateMaintenanceWindowCommand: CreateMaintenanceWindowCommand_1.CreateMaintenanceWindowCommand, + CreateOpsItemCommand: CreateOpsItemCommand_1.CreateOpsItemCommand, + CreateOpsMetadataCommand: CreateOpsMetadataCommand_1.CreateOpsMetadataCommand, + CreatePatchBaselineCommand: CreatePatchBaselineCommand_1.CreatePatchBaselineCommand, + CreateResourceDataSyncCommand: CreateResourceDataSyncCommand_1.CreateResourceDataSyncCommand, + DeleteActivationCommand: DeleteActivationCommand_1.DeleteActivationCommand, + DeleteAssociationCommand: DeleteAssociationCommand_1.DeleteAssociationCommand, + DeleteDocumentCommand: DeleteDocumentCommand_1.DeleteDocumentCommand, + DeleteInventoryCommand: DeleteInventoryCommand_1.DeleteInventoryCommand, + DeleteMaintenanceWindowCommand: DeleteMaintenanceWindowCommand_1.DeleteMaintenanceWindowCommand, + DeleteOpsItemCommand: DeleteOpsItemCommand_1.DeleteOpsItemCommand, + DeleteOpsMetadataCommand: DeleteOpsMetadataCommand_1.DeleteOpsMetadataCommand, + DeleteParameterCommand: DeleteParameterCommand_1.DeleteParameterCommand, + DeleteParametersCommand: DeleteParametersCommand_1.DeleteParametersCommand, + DeletePatchBaselineCommand: DeletePatchBaselineCommand_1.DeletePatchBaselineCommand, + DeleteResourceDataSyncCommand: DeleteResourceDataSyncCommand_1.DeleteResourceDataSyncCommand, + DeleteResourcePolicyCommand: DeleteResourcePolicyCommand_1.DeleteResourcePolicyCommand, + DeregisterManagedInstanceCommand: DeregisterManagedInstanceCommand_1.DeregisterManagedInstanceCommand, + DeregisterPatchBaselineForPatchGroupCommand: DeregisterPatchBaselineForPatchGroupCommand_1.DeregisterPatchBaselineForPatchGroupCommand, + DeregisterTargetFromMaintenanceWindowCommand: DeregisterTargetFromMaintenanceWindowCommand_1.DeregisterTargetFromMaintenanceWindowCommand, + DeregisterTaskFromMaintenanceWindowCommand: DeregisterTaskFromMaintenanceWindowCommand_1.DeregisterTaskFromMaintenanceWindowCommand, + DescribeActivationsCommand: DescribeActivationsCommand_1.DescribeActivationsCommand, + DescribeAssociationCommand: DescribeAssociationCommand_1.DescribeAssociationCommand, + DescribeAssociationExecutionsCommand: DescribeAssociationExecutionsCommand_1.DescribeAssociationExecutionsCommand, + DescribeAssociationExecutionTargetsCommand: DescribeAssociationExecutionTargetsCommand_1.DescribeAssociationExecutionTargetsCommand, + DescribeAutomationExecutionsCommand: DescribeAutomationExecutionsCommand_1.DescribeAutomationExecutionsCommand, + DescribeAutomationStepExecutionsCommand: DescribeAutomationStepExecutionsCommand_1.DescribeAutomationStepExecutionsCommand, + DescribeAvailablePatchesCommand: DescribeAvailablePatchesCommand_1.DescribeAvailablePatchesCommand, + DescribeDocumentCommand: DescribeDocumentCommand_1.DescribeDocumentCommand, + DescribeDocumentPermissionCommand: DescribeDocumentPermissionCommand_1.DescribeDocumentPermissionCommand, + DescribeEffectiveInstanceAssociationsCommand: DescribeEffectiveInstanceAssociationsCommand_1.DescribeEffectiveInstanceAssociationsCommand, + DescribeEffectivePatchesForPatchBaselineCommand: DescribeEffectivePatchesForPatchBaselineCommand_1.DescribeEffectivePatchesForPatchBaselineCommand, + DescribeInstanceAssociationsStatusCommand: DescribeInstanceAssociationsStatusCommand_1.DescribeInstanceAssociationsStatusCommand, + DescribeInstanceInformationCommand: DescribeInstanceInformationCommand_1.DescribeInstanceInformationCommand, + DescribeInstancePatchesCommand: DescribeInstancePatchesCommand_1.DescribeInstancePatchesCommand, + DescribeInstancePatchStatesCommand: DescribeInstancePatchStatesCommand_1.DescribeInstancePatchStatesCommand, + DescribeInstancePatchStatesForPatchGroupCommand: DescribeInstancePatchStatesForPatchGroupCommand_1.DescribeInstancePatchStatesForPatchGroupCommand, + DescribeInventoryDeletionsCommand: DescribeInventoryDeletionsCommand_1.DescribeInventoryDeletionsCommand, + DescribeMaintenanceWindowExecutionsCommand: DescribeMaintenanceWindowExecutionsCommand_1.DescribeMaintenanceWindowExecutionsCommand, + DescribeMaintenanceWindowExecutionTaskInvocationsCommand: DescribeMaintenanceWindowExecutionTaskInvocationsCommand_1.DescribeMaintenanceWindowExecutionTaskInvocationsCommand, + DescribeMaintenanceWindowExecutionTasksCommand: DescribeMaintenanceWindowExecutionTasksCommand_1.DescribeMaintenanceWindowExecutionTasksCommand, + DescribeMaintenanceWindowsCommand: DescribeMaintenanceWindowsCommand_1.DescribeMaintenanceWindowsCommand, + DescribeMaintenanceWindowScheduleCommand: DescribeMaintenanceWindowScheduleCommand_1.DescribeMaintenanceWindowScheduleCommand, + DescribeMaintenanceWindowsForTargetCommand: DescribeMaintenanceWindowsForTargetCommand_1.DescribeMaintenanceWindowsForTargetCommand, + DescribeMaintenanceWindowTargetsCommand: DescribeMaintenanceWindowTargetsCommand_1.DescribeMaintenanceWindowTargetsCommand, + DescribeMaintenanceWindowTasksCommand: DescribeMaintenanceWindowTasksCommand_1.DescribeMaintenanceWindowTasksCommand, + DescribeOpsItemsCommand: DescribeOpsItemsCommand_1.DescribeOpsItemsCommand, + DescribeParametersCommand: DescribeParametersCommand_1.DescribeParametersCommand, + DescribePatchBaselinesCommand: DescribePatchBaselinesCommand_1.DescribePatchBaselinesCommand, + DescribePatchGroupsCommand: DescribePatchGroupsCommand_1.DescribePatchGroupsCommand, + DescribePatchGroupStateCommand: DescribePatchGroupStateCommand_1.DescribePatchGroupStateCommand, + DescribePatchPropertiesCommand: DescribePatchPropertiesCommand_1.DescribePatchPropertiesCommand, + DescribeSessionsCommand: DescribeSessionsCommand_1.DescribeSessionsCommand, + DisassociateOpsItemRelatedItemCommand: DisassociateOpsItemRelatedItemCommand_1.DisassociateOpsItemRelatedItemCommand, + GetAutomationExecutionCommand: GetAutomationExecutionCommand_1.GetAutomationExecutionCommand, + GetCalendarStateCommand: GetCalendarStateCommand_1.GetCalendarStateCommand, + GetCommandInvocationCommand: GetCommandInvocationCommand_1.GetCommandInvocationCommand, + GetConnectionStatusCommand: GetConnectionStatusCommand_1.GetConnectionStatusCommand, + GetDefaultPatchBaselineCommand: GetDefaultPatchBaselineCommand_1.GetDefaultPatchBaselineCommand, + GetDeployablePatchSnapshotForInstanceCommand: GetDeployablePatchSnapshotForInstanceCommand_1.GetDeployablePatchSnapshotForInstanceCommand, + GetDocumentCommand: GetDocumentCommand_1.GetDocumentCommand, + GetInventoryCommand: GetInventoryCommand_1.GetInventoryCommand, + GetInventorySchemaCommand: GetInventorySchemaCommand_1.GetInventorySchemaCommand, + GetMaintenanceWindowCommand: GetMaintenanceWindowCommand_1.GetMaintenanceWindowCommand, + GetMaintenanceWindowExecutionCommand: GetMaintenanceWindowExecutionCommand_1.GetMaintenanceWindowExecutionCommand, + GetMaintenanceWindowExecutionTaskCommand: GetMaintenanceWindowExecutionTaskCommand_1.GetMaintenanceWindowExecutionTaskCommand, + GetMaintenanceWindowExecutionTaskInvocationCommand: GetMaintenanceWindowExecutionTaskInvocationCommand_1.GetMaintenanceWindowExecutionTaskInvocationCommand, + GetMaintenanceWindowTaskCommand: GetMaintenanceWindowTaskCommand_1.GetMaintenanceWindowTaskCommand, + GetOpsItemCommand: GetOpsItemCommand_1.GetOpsItemCommand, + GetOpsMetadataCommand: GetOpsMetadataCommand_1.GetOpsMetadataCommand, + GetOpsSummaryCommand: GetOpsSummaryCommand_1.GetOpsSummaryCommand, + GetParameterCommand: GetParameterCommand_1.GetParameterCommand, + GetParameterHistoryCommand: GetParameterHistoryCommand_1.GetParameterHistoryCommand, + GetParametersCommand: GetParametersCommand_1.GetParametersCommand, + GetParametersByPathCommand: GetParametersByPathCommand_1.GetParametersByPathCommand, + GetPatchBaselineCommand: GetPatchBaselineCommand_1.GetPatchBaselineCommand, + GetPatchBaselineForPatchGroupCommand: GetPatchBaselineForPatchGroupCommand_1.GetPatchBaselineForPatchGroupCommand, + GetResourcePoliciesCommand: GetResourcePoliciesCommand_1.GetResourcePoliciesCommand, + GetServiceSettingCommand: GetServiceSettingCommand_1.GetServiceSettingCommand, + LabelParameterVersionCommand: LabelParameterVersionCommand_1.LabelParameterVersionCommand, + ListAssociationsCommand: ListAssociationsCommand_1.ListAssociationsCommand, + ListAssociationVersionsCommand: ListAssociationVersionsCommand_1.ListAssociationVersionsCommand, + ListCommandInvocationsCommand: ListCommandInvocationsCommand_1.ListCommandInvocationsCommand, + ListCommandsCommand: ListCommandsCommand_1.ListCommandsCommand, + ListComplianceItemsCommand: ListComplianceItemsCommand_1.ListComplianceItemsCommand, + ListComplianceSummariesCommand: ListComplianceSummariesCommand_1.ListComplianceSummariesCommand, + ListDocumentMetadataHistoryCommand: ListDocumentMetadataHistoryCommand_1.ListDocumentMetadataHistoryCommand, + ListDocumentsCommand: ListDocumentsCommand_1.ListDocumentsCommand, + ListDocumentVersionsCommand: ListDocumentVersionsCommand_1.ListDocumentVersionsCommand, + ListInventoryEntriesCommand: ListInventoryEntriesCommand_1.ListInventoryEntriesCommand, + ListOpsItemEventsCommand: ListOpsItemEventsCommand_1.ListOpsItemEventsCommand, + ListOpsItemRelatedItemsCommand: ListOpsItemRelatedItemsCommand_1.ListOpsItemRelatedItemsCommand, + ListOpsMetadataCommand: ListOpsMetadataCommand_1.ListOpsMetadataCommand, + ListResourceComplianceSummariesCommand: ListResourceComplianceSummariesCommand_1.ListResourceComplianceSummariesCommand, + ListResourceDataSyncCommand: ListResourceDataSyncCommand_1.ListResourceDataSyncCommand, + ListTagsForResourceCommand: ListTagsForResourceCommand_1.ListTagsForResourceCommand, + ModifyDocumentPermissionCommand: ModifyDocumentPermissionCommand_1.ModifyDocumentPermissionCommand, + PutComplianceItemsCommand: PutComplianceItemsCommand_1.PutComplianceItemsCommand, + PutInventoryCommand: PutInventoryCommand_1.PutInventoryCommand, + PutParameterCommand: PutParameterCommand_1.PutParameterCommand, + PutResourcePolicyCommand: PutResourcePolicyCommand_1.PutResourcePolicyCommand, + RegisterDefaultPatchBaselineCommand: RegisterDefaultPatchBaselineCommand_1.RegisterDefaultPatchBaselineCommand, + RegisterPatchBaselineForPatchGroupCommand: RegisterPatchBaselineForPatchGroupCommand_1.RegisterPatchBaselineForPatchGroupCommand, + RegisterTargetWithMaintenanceWindowCommand: RegisterTargetWithMaintenanceWindowCommand_1.RegisterTargetWithMaintenanceWindowCommand, + RegisterTaskWithMaintenanceWindowCommand: RegisterTaskWithMaintenanceWindowCommand_1.RegisterTaskWithMaintenanceWindowCommand, + RemoveTagsFromResourceCommand: RemoveTagsFromResourceCommand_1.RemoveTagsFromResourceCommand, + ResetServiceSettingCommand: ResetServiceSettingCommand_1.ResetServiceSettingCommand, + ResumeSessionCommand: ResumeSessionCommand_1.ResumeSessionCommand, + SendAutomationSignalCommand: SendAutomationSignalCommand_1.SendAutomationSignalCommand, + SendCommandCommand: SendCommandCommand_1.SendCommandCommand, + StartAssociationsOnceCommand: StartAssociationsOnceCommand_1.StartAssociationsOnceCommand, + StartAutomationExecutionCommand: StartAutomationExecutionCommand_1.StartAutomationExecutionCommand, + StartChangeRequestExecutionCommand: StartChangeRequestExecutionCommand_1.StartChangeRequestExecutionCommand, + StartSessionCommand: StartSessionCommand_1.StartSessionCommand, + StopAutomationExecutionCommand: StopAutomationExecutionCommand_1.StopAutomationExecutionCommand, + TerminateSessionCommand: TerminateSessionCommand_1.TerminateSessionCommand, + UnlabelParameterVersionCommand: UnlabelParameterVersionCommand_1.UnlabelParameterVersionCommand, + UpdateAssociationCommand: UpdateAssociationCommand_1.UpdateAssociationCommand, + UpdateAssociationStatusCommand: UpdateAssociationStatusCommand_1.UpdateAssociationStatusCommand, + UpdateDocumentCommand: UpdateDocumentCommand_1.UpdateDocumentCommand, + UpdateDocumentDefaultVersionCommand: UpdateDocumentDefaultVersionCommand_1.UpdateDocumentDefaultVersionCommand, + UpdateDocumentMetadataCommand: UpdateDocumentMetadataCommand_1.UpdateDocumentMetadataCommand, + UpdateMaintenanceWindowCommand: UpdateMaintenanceWindowCommand_1.UpdateMaintenanceWindowCommand, + UpdateMaintenanceWindowTargetCommand: UpdateMaintenanceWindowTargetCommand_1.UpdateMaintenanceWindowTargetCommand, + UpdateMaintenanceWindowTaskCommand: UpdateMaintenanceWindowTaskCommand_1.UpdateMaintenanceWindowTaskCommand, + UpdateManagedInstanceRoleCommand: UpdateManagedInstanceRoleCommand_1.UpdateManagedInstanceRoleCommand, + UpdateOpsItemCommand: UpdateOpsItemCommand_1.UpdateOpsItemCommand, + UpdateOpsMetadataCommand: UpdateOpsMetadataCommand_1.UpdateOpsMetadataCommand, + UpdatePatchBaselineCommand: UpdatePatchBaselineCommand_1.UpdatePatchBaselineCommand, + UpdateResourceDataSyncCommand: UpdateResourceDataSyncCommand_1.UpdateResourceDataSyncCommand, + UpdateServiceSettingCommand: UpdateServiceSettingCommand_1.UpdateServiceSettingCommand, +}; +class SSM extends SSMClient_1.SSMClient { +} +exports.SSM = SSM; +(0, smithy_client_1.createAggregatedClient)(commands, SSM); diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/LambdaClient.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/SSMClient.js similarity index 82% rename from node_modules/@aws-sdk/client-lambda/dist-cjs/LambdaClient.js rename to node_modules/@aws-sdk/client-ssm/dist-cjs/SSMClient.js index 36c07a36..c98f9068 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-cjs/LambdaClient.js +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/SSMClient.js @@ -1,13 +1,12 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -exports.LambdaClient = exports.__Client = void 0; +exports.SSMClient = exports.__Client = void 0; const middleware_host_header_1 = require("@aws-sdk/middleware-host-header"); const middleware_logger_1 = require("@aws-sdk/middleware-logger"); const middleware_recursion_detection_1 = require("@aws-sdk/middleware-recursion-detection"); const middleware_signing_1 = require("@aws-sdk/middleware-signing"); const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent"); const config_resolver_1 = require("@smithy/config-resolver"); -const eventstream_serde_config_resolver_1 = require("@smithy/eventstream-serde-config-resolver"); const middleware_content_length_1 = require("@smithy/middleware-content-length"); const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); const middleware_retry_1 = require("@smithy/middleware-retry"); @@ -16,7 +15,7 @@ Object.defineProperty(exports, "__Client", { enumerable: true, get: function () const EndpointParameters_1 = require("./endpoint/EndpointParameters"); const runtimeConfig_1 = require("./runtimeConfig"); const runtimeExtensions_1 = require("./runtimeExtensions"); -class LambdaClient extends smithy_client_1.Client { +class SSMClient extends smithy_client_1.Client { constructor(...[configuration]) { const _config_0 = (0, runtimeConfig_1.getRuntimeConfig)(configuration || {}); const _config_1 = (0, EndpointParameters_1.resolveClientEndpointParameters)(_config_0); @@ -26,10 +25,9 @@ class LambdaClient extends smithy_client_1.Client { const _config_5 = (0, middleware_host_header_1.resolveHostHeaderConfig)(_config_4); const _config_6 = (0, middleware_signing_1.resolveAwsAuthConfig)(_config_5); const _config_7 = (0, middleware_user_agent_1.resolveUserAgentConfig)(_config_6); - const _config_8 = (0, eventstream_serde_config_resolver_1.resolveEventStreamSerdeConfig)(_config_7); - const _config_9 = (0, runtimeExtensions_1.resolveRuntimeExtensions)(_config_8, configuration?.extensions || []); - super(_config_9); - this.config = _config_9; + const _config_8 = (0, runtimeExtensions_1.resolveRuntimeExtensions)(_config_7, configuration?.extensions || []); + super(_config_8); + this.config = _config_8; this.middlewareStack.use((0, middleware_retry_1.getRetryPlugin)(this.config)); this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config)); this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config)); @@ -42,4 +40,4 @@ class LambdaClient extends smithy_client_1.Client { super.destroy(); } } -exports.LambdaClient = LambdaClient; +exports.SSMClient = SSMClient; diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/GetLayerVersionCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/AddTagsToResourceCommand.js similarity index 73% rename from node_modules/@aws-sdk/client-lambda/dist-cjs/commands/GetLayerVersionCommand.js rename to node_modules/@aws-sdk/client-ssm/dist-cjs/commands/AddTagsToResourceCommand.js index 80a0a062..e4b5b047 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/GetLayerVersionCommand.js +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/AddTagsToResourceCommand.js @@ -1,13 +1,13 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -exports.GetLayerVersionCommand = exports.$Command = void 0; +exports.AddTagsToResourceCommand = exports.$Command = void 0; const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); const middleware_serde_1 = require("@smithy/middleware-serde"); const smithy_client_1 = require("@smithy/smithy-client"); Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); const types_1 = require("@smithy/types"); -const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); -class GetLayerVersionCommand extends smithy_client_1.Command { +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class AddTagsToResourceCommand extends smithy_client_1.Command { static getEndpointParameterInstructions() { return { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, @@ -22,11 +22,11 @@ class GetLayerVersionCommand extends smithy_client_1.Command { } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetLayerVersionCommand.getEndpointParameterInstructions())); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, AddTagsToResourceCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "GetLayerVersionCommand"; + const clientName = "SSMClient"; + const commandName = "AddTagsToResourceCommand"; const handlerExecutionContext = { logger, clientName, @@ -34,18 +34,18 @@ class GetLayerVersionCommand extends smithy_client_1.Command { inputFilterSensitiveLog: (_) => _, outputFilterSensitiveLog: (_) => _, [types_1.SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "GetLayerVersion", + service: "AmazonSSM", + operation: "AddTagsToResource", }, }; const { requestHandler } = configuration; return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_restJson1_1.se_GetLayerVersionCommand)(input, context); + return (0, Aws_json1_1_1.se_AddTagsToResourceCommand)(input, context); } deserialize(output, context) { - return (0, Aws_restJson1_1.de_GetLayerVersionCommand)(output, context); + return (0, Aws_json1_1_1.de_AddTagsToResourceCommand)(output, context); } } -exports.GetLayerVersionCommand = GetLayerVersionCommand; +exports.AddTagsToResourceCommand = AddTagsToResourceCommand; diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/DeleteFunctionConcurrencyCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/AssociateOpsItemRelatedItemCommand.js similarity index 71% rename from node_modules/@aws-sdk/client-lambda/dist-cjs/commands/DeleteFunctionConcurrencyCommand.js rename to node_modules/@aws-sdk/client-ssm/dist-cjs/commands/AssociateOpsItemRelatedItemCommand.js index d13d7a70..a8322c55 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/DeleteFunctionConcurrencyCommand.js +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/AssociateOpsItemRelatedItemCommand.js @@ -1,13 +1,13 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -exports.DeleteFunctionConcurrencyCommand = exports.$Command = void 0; +exports.AssociateOpsItemRelatedItemCommand = exports.$Command = void 0; const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); const middleware_serde_1 = require("@smithy/middleware-serde"); const smithy_client_1 = require("@smithy/smithy-client"); Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); const types_1 = require("@smithy/types"); -const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); -class DeleteFunctionConcurrencyCommand extends smithy_client_1.Command { +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class AssociateOpsItemRelatedItemCommand extends smithy_client_1.Command { static getEndpointParameterInstructions() { return { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, @@ -22,11 +22,11 @@ class DeleteFunctionConcurrencyCommand extends smithy_client_1.Command { } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteFunctionConcurrencyCommand.getEndpointParameterInstructions())); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, AssociateOpsItemRelatedItemCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "DeleteFunctionConcurrencyCommand"; + const clientName = "SSMClient"; + const commandName = "AssociateOpsItemRelatedItemCommand"; const handlerExecutionContext = { logger, clientName, @@ -34,18 +34,18 @@ class DeleteFunctionConcurrencyCommand extends smithy_client_1.Command { inputFilterSensitiveLog: (_) => _, outputFilterSensitiveLog: (_) => _, [types_1.SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "DeleteFunctionConcurrency", + service: "AmazonSSM", + operation: "AssociateOpsItemRelatedItem", }, }; const { requestHandler } = configuration; return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_restJson1_1.se_DeleteFunctionConcurrencyCommand)(input, context); + return (0, Aws_json1_1_1.se_AssociateOpsItemRelatedItemCommand)(input, context); } deserialize(output, context) { - return (0, Aws_restJson1_1.de_DeleteFunctionConcurrencyCommand)(output, context); + return (0, Aws_json1_1_1.de_AssociateOpsItemRelatedItemCommand)(output, context); } } -exports.DeleteFunctionConcurrencyCommand = DeleteFunctionConcurrencyCommand; +exports.AssociateOpsItemRelatedItemCommand = AssociateOpsItemRelatedItemCommand; diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/TagResourceCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/CancelCommandCommand.js similarity index 74% rename from node_modules/@aws-sdk/client-lambda/dist-cjs/commands/TagResourceCommand.js rename to node_modules/@aws-sdk/client-ssm/dist-cjs/commands/CancelCommandCommand.js index ab38af10..0bf1bf00 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/TagResourceCommand.js +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/CancelCommandCommand.js @@ -1,13 +1,13 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -exports.TagResourceCommand = exports.$Command = void 0; +exports.CancelCommandCommand = exports.$Command = void 0; const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); const middleware_serde_1 = require("@smithy/middleware-serde"); const smithy_client_1 = require("@smithy/smithy-client"); Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); const types_1 = require("@smithy/types"); -const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); -class TagResourceCommand extends smithy_client_1.Command { +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class CancelCommandCommand extends smithy_client_1.Command { static getEndpointParameterInstructions() { return { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, @@ -22,11 +22,11 @@ class TagResourceCommand extends smithy_client_1.Command { } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, TagResourceCommand.getEndpointParameterInstructions())); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CancelCommandCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "TagResourceCommand"; + const clientName = "SSMClient"; + const commandName = "CancelCommandCommand"; const handlerExecutionContext = { logger, clientName, @@ -34,18 +34,18 @@ class TagResourceCommand extends smithy_client_1.Command { inputFilterSensitiveLog: (_) => _, outputFilterSensitiveLog: (_) => _, [types_1.SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "TagResource", + service: "AmazonSSM", + operation: "CancelCommand", }, }; const { requestHandler } = configuration; return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_restJson1_1.se_TagResourceCommand)(input, context); + return (0, Aws_json1_1_1.se_CancelCommandCommand)(input, context); } deserialize(output, context) { - return (0, Aws_restJson1_1.de_TagResourceCommand)(output, context); + return (0, Aws_json1_1_1.de_CancelCommandCommand)(output, context); } } -exports.TagResourceCommand = TagResourceCommand; +exports.CancelCommandCommand = CancelCommandCommand; diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/ListFunctionsByCodeSigningConfigCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/CancelMaintenanceWindowExecutionCommand.js similarity index 70% rename from node_modules/@aws-sdk/client-lambda/dist-cjs/commands/ListFunctionsByCodeSigningConfigCommand.js rename to node_modules/@aws-sdk/client-ssm/dist-cjs/commands/CancelMaintenanceWindowExecutionCommand.js index d9a05aa7..3057c71a 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/ListFunctionsByCodeSigningConfigCommand.js +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/CancelMaintenanceWindowExecutionCommand.js @@ -1,13 +1,13 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -exports.ListFunctionsByCodeSigningConfigCommand = exports.$Command = void 0; +exports.CancelMaintenanceWindowExecutionCommand = exports.$Command = void 0; const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); const middleware_serde_1 = require("@smithy/middleware-serde"); const smithy_client_1 = require("@smithy/smithy-client"); Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); const types_1 = require("@smithy/types"); -const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); -class ListFunctionsByCodeSigningConfigCommand extends smithy_client_1.Command { +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class CancelMaintenanceWindowExecutionCommand extends smithy_client_1.Command { static getEndpointParameterInstructions() { return { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, @@ -22,11 +22,11 @@ class ListFunctionsByCodeSigningConfigCommand extends smithy_client_1.Command { } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListFunctionsByCodeSigningConfigCommand.getEndpointParameterInstructions())); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CancelMaintenanceWindowExecutionCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "ListFunctionsByCodeSigningConfigCommand"; + const clientName = "SSMClient"; + const commandName = "CancelMaintenanceWindowExecutionCommand"; const handlerExecutionContext = { logger, clientName, @@ -34,18 +34,18 @@ class ListFunctionsByCodeSigningConfigCommand extends smithy_client_1.Command { inputFilterSensitiveLog: (_) => _, outputFilterSensitiveLog: (_) => _, [types_1.SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "ListFunctionsByCodeSigningConfig", + service: "AmazonSSM", + operation: "CancelMaintenanceWindowExecution", }, }; const { requestHandler } = configuration; return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_restJson1_1.se_ListFunctionsByCodeSigningConfigCommand)(input, context); + return (0, Aws_json1_1_1.se_CancelMaintenanceWindowExecutionCommand)(input, context); } deserialize(output, context) { - return (0, Aws_restJson1_1.de_ListFunctionsByCodeSigningConfigCommand)(output, context); + return (0, Aws_json1_1_1.de_CancelMaintenanceWindowExecutionCommand)(output, context); } } -exports.ListFunctionsByCodeSigningConfigCommand = ListFunctionsByCodeSigningConfigCommand; +exports.CancelMaintenanceWindowExecutionCommand = CancelMaintenanceWindowExecutionCommand; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/CreateActivationCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/CreateActivationCommand.js new file mode 100644 index 00000000..7c9354e3 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/CreateActivationCommand.js @@ -0,0 +1,51 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CreateActivationCommand = exports.$Command = void 0; +const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); +const middleware_serde_1 = require("@smithy/middleware-serde"); +const smithy_client_1 = require("@smithy/smithy-client"); +Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); +const types_1 = require("@smithy/types"); +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class CreateActivationCommand extends smithy_client_1.Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateActivationCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "CreateActivationCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [types_1.SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "CreateActivation", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return (0, Aws_json1_1_1.se_CreateActivationCommand)(input, context); + } + deserialize(output, context) { + return (0, Aws_json1_1_1.de_CreateActivationCommand)(output, context); + } +} +exports.CreateActivationCommand = CreateActivationCommand; diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/ListVersionsByFunctionCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/CreateAssociationBatchCommand.js similarity index 67% rename from node_modules/@aws-sdk/client-lambda/dist-cjs/commands/ListVersionsByFunctionCommand.js rename to node_modules/@aws-sdk/client-ssm/dist-cjs/commands/CreateAssociationBatchCommand.js index f181a353..221ebafd 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/ListVersionsByFunctionCommand.js +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/CreateAssociationBatchCommand.js @@ -1,14 +1,14 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -exports.ListVersionsByFunctionCommand = exports.$Command = void 0; +exports.CreateAssociationBatchCommand = exports.$Command = void 0; const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); const middleware_serde_1 = require("@smithy/middleware-serde"); const smithy_client_1 = require("@smithy/smithy-client"); Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); const types_1 = require("@smithy/types"); const models_0_1 = require("../models/models_0"); -const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); -class ListVersionsByFunctionCommand extends smithy_client_1.Command { +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class CreateAssociationBatchCommand extends smithy_client_1.Command { static getEndpointParameterInstructions() { return { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, @@ -23,30 +23,30 @@ class ListVersionsByFunctionCommand extends smithy_client_1.Command { } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListVersionsByFunctionCommand.getEndpointParameterInstructions())); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateAssociationBatchCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "ListVersionsByFunctionCommand"; + const clientName = "SSMClient"; + const commandName = "CreateAssociationBatchCommand"; const handlerExecutionContext = { logger, clientName, commandName, - inputFilterSensitiveLog: (_) => _, - outputFilterSensitiveLog: models_0_1.ListVersionsByFunctionResponseFilterSensitiveLog, + inputFilterSensitiveLog: models_0_1.CreateAssociationBatchRequestFilterSensitiveLog, + outputFilterSensitiveLog: models_0_1.CreateAssociationBatchResultFilterSensitiveLog, [types_1.SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "ListVersionsByFunction", + service: "AmazonSSM", + operation: "CreateAssociationBatch", }, }; const { requestHandler } = configuration; return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_restJson1_1.se_ListVersionsByFunctionCommand)(input, context); + return (0, Aws_json1_1_1.se_CreateAssociationBatchCommand)(input, context); } deserialize(output, context) { - return (0, Aws_restJson1_1.de_ListVersionsByFunctionCommand)(output, context); + return (0, Aws_json1_1_1.de_CreateAssociationBatchCommand)(output, context); } } -exports.ListVersionsByFunctionCommand = ListVersionsByFunctionCommand; +exports.CreateAssociationBatchCommand = CreateAssociationBatchCommand; diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/CreateFunctionCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/CreateAssociationCommand.js similarity index 67% rename from node_modules/@aws-sdk/client-lambda/dist-cjs/commands/CreateFunctionCommand.js rename to node_modules/@aws-sdk/client-ssm/dist-cjs/commands/CreateAssociationCommand.js index ce93cd0e..5b648539 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/CreateFunctionCommand.js +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/CreateAssociationCommand.js @@ -1,14 +1,14 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -exports.CreateFunctionCommand = exports.$Command = void 0; +exports.CreateAssociationCommand = exports.$Command = void 0; const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); const middleware_serde_1 = require("@smithy/middleware-serde"); const smithy_client_1 = require("@smithy/smithy-client"); Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); const types_1 = require("@smithy/types"); const models_0_1 = require("../models/models_0"); -const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); -class CreateFunctionCommand extends smithy_client_1.Command { +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class CreateAssociationCommand extends smithy_client_1.Command { static getEndpointParameterInstructions() { return { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, @@ -23,30 +23,30 @@ class CreateFunctionCommand extends smithy_client_1.Command { } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateFunctionCommand.getEndpointParameterInstructions())); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateAssociationCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "CreateFunctionCommand"; + const clientName = "SSMClient"; + const commandName = "CreateAssociationCommand"; const handlerExecutionContext = { logger, clientName, commandName, - inputFilterSensitiveLog: models_0_1.CreateFunctionRequestFilterSensitiveLog, - outputFilterSensitiveLog: models_0_1.FunctionConfigurationFilterSensitiveLog, + inputFilterSensitiveLog: models_0_1.CreateAssociationRequestFilterSensitiveLog, + outputFilterSensitiveLog: models_0_1.CreateAssociationResultFilterSensitiveLog, [types_1.SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "CreateFunction", + service: "AmazonSSM", + operation: "CreateAssociation", }, }; const { requestHandler } = configuration; return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_restJson1_1.se_CreateFunctionCommand)(input, context); + return (0, Aws_json1_1_1.se_CreateAssociationCommand)(input, context); } deserialize(output, context) { - return (0, Aws_restJson1_1.de_CreateFunctionCommand)(output, context); + return (0, Aws_json1_1_1.de_CreateAssociationCommand)(output, context); } } -exports.CreateFunctionCommand = CreateFunctionCommand; +exports.CreateAssociationCommand = CreateAssociationCommand; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/CreateDocumentCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/CreateDocumentCommand.js new file mode 100644 index 00000000..3730220b --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/CreateDocumentCommand.js @@ -0,0 +1,51 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CreateDocumentCommand = exports.$Command = void 0; +const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); +const middleware_serde_1 = require("@smithy/middleware-serde"); +const smithy_client_1 = require("@smithy/smithy-client"); +Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); +const types_1 = require("@smithy/types"); +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class CreateDocumentCommand extends smithy_client_1.Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateDocumentCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "CreateDocumentCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [types_1.SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "CreateDocument", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return (0, Aws_json1_1_1.se_CreateDocumentCommand)(input, context); + } + deserialize(output, context) { + return (0, Aws_json1_1_1.de_CreateDocumentCommand)(output, context); + } +} +exports.CreateDocumentCommand = CreateDocumentCommand; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/CreateMaintenanceWindowCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/CreateMaintenanceWindowCommand.js new file mode 100644 index 00000000..d28d22d8 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/CreateMaintenanceWindowCommand.js @@ -0,0 +1,52 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CreateMaintenanceWindowCommand = exports.$Command = void 0; +const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); +const middleware_serde_1 = require("@smithy/middleware-serde"); +const smithy_client_1 = require("@smithy/smithy-client"); +Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); +const types_1 = require("@smithy/types"); +const models_0_1 = require("../models/models_0"); +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class CreateMaintenanceWindowCommand extends smithy_client_1.Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateMaintenanceWindowCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "CreateMaintenanceWindowCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: models_0_1.CreateMaintenanceWindowRequestFilterSensitiveLog, + outputFilterSensitiveLog: (_) => _, + [types_1.SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "CreateMaintenanceWindow", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return (0, Aws_json1_1_1.se_CreateMaintenanceWindowCommand)(input, context); + } + deserialize(output, context) { + return (0, Aws_json1_1_1.de_CreateMaintenanceWindowCommand)(output, context); + } +} +exports.CreateMaintenanceWindowCommand = CreateMaintenanceWindowCommand; diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/DeleteFunctionCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/CreateOpsItemCommand.js similarity index 74% rename from node_modules/@aws-sdk/client-lambda/dist-cjs/commands/DeleteFunctionCommand.js rename to node_modules/@aws-sdk/client-ssm/dist-cjs/commands/CreateOpsItemCommand.js index 7045c51a..8236c9c2 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/DeleteFunctionCommand.js +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/CreateOpsItemCommand.js @@ -1,13 +1,13 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -exports.DeleteFunctionCommand = exports.$Command = void 0; +exports.CreateOpsItemCommand = exports.$Command = void 0; const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); const middleware_serde_1 = require("@smithy/middleware-serde"); const smithy_client_1 = require("@smithy/smithy-client"); Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); const types_1 = require("@smithy/types"); -const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); -class DeleteFunctionCommand extends smithy_client_1.Command { +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class CreateOpsItemCommand extends smithy_client_1.Command { static getEndpointParameterInstructions() { return { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, @@ -22,11 +22,11 @@ class DeleteFunctionCommand extends smithy_client_1.Command { } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteFunctionCommand.getEndpointParameterInstructions())); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateOpsItemCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "DeleteFunctionCommand"; + const clientName = "SSMClient"; + const commandName = "CreateOpsItemCommand"; const handlerExecutionContext = { logger, clientName, @@ -34,18 +34,18 @@ class DeleteFunctionCommand extends smithy_client_1.Command { inputFilterSensitiveLog: (_) => _, outputFilterSensitiveLog: (_) => _, [types_1.SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "DeleteFunction", + service: "AmazonSSM", + operation: "CreateOpsItem", }, }; const { requestHandler } = configuration; return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_restJson1_1.se_DeleteFunctionCommand)(input, context); + return (0, Aws_json1_1_1.se_CreateOpsItemCommand)(input, context); } deserialize(output, context) { - return (0, Aws_restJson1_1.de_DeleteFunctionCommand)(output, context); + return (0, Aws_json1_1_1.de_CreateOpsItemCommand)(output, context); } } -exports.DeleteFunctionCommand = DeleteFunctionCommand; +exports.CreateOpsItemCommand = CreateOpsItemCommand; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/CreateOpsMetadataCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/CreateOpsMetadataCommand.js new file mode 100644 index 00000000..9e612323 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/CreateOpsMetadataCommand.js @@ -0,0 +1,51 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.CreateOpsMetadataCommand = exports.$Command = void 0; +const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); +const middleware_serde_1 = require("@smithy/middleware-serde"); +const smithy_client_1 = require("@smithy/smithy-client"); +Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); +const types_1 = require("@smithy/types"); +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class CreateOpsMetadataCommand extends smithy_client_1.Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateOpsMetadataCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "CreateOpsMetadataCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [types_1.SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "CreateOpsMetadata", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return (0, Aws_json1_1_1.se_CreateOpsMetadataCommand)(input, context); + } + deserialize(output, context) { + return (0, Aws_json1_1_1.de_CreateOpsMetadataCommand)(output, context); + } +} +exports.CreateOpsMetadataCommand = CreateOpsMetadataCommand; diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/PublishLayerVersionCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/CreatePatchBaselineCommand.js similarity index 69% rename from node_modules/@aws-sdk/client-lambda/dist-cjs/commands/PublishLayerVersionCommand.js rename to node_modules/@aws-sdk/client-ssm/dist-cjs/commands/CreatePatchBaselineCommand.js index d6cc8a5e..63fed2b3 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/PublishLayerVersionCommand.js +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/CreatePatchBaselineCommand.js @@ -1,14 +1,14 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -exports.PublishLayerVersionCommand = exports.$Command = void 0; +exports.CreatePatchBaselineCommand = exports.$Command = void 0; const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); const middleware_serde_1 = require("@smithy/middleware-serde"); const smithy_client_1 = require("@smithy/smithy-client"); Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); const types_1 = require("@smithy/types"); const models_0_1 = require("../models/models_0"); -const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); -class PublishLayerVersionCommand extends smithy_client_1.Command { +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class CreatePatchBaselineCommand extends smithy_client_1.Command { static getEndpointParameterInstructions() { return { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, @@ -23,30 +23,30 @@ class PublishLayerVersionCommand extends smithy_client_1.Command { } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, PublishLayerVersionCommand.getEndpointParameterInstructions())); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreatePatchBaselineCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "PublishLayerVersionCommand"; + const clientName = "SSMClient"; + const commandName = "CreatePatchBaselineCommand"; const handlerExecutionContext = { logger, clientName, commandName, - inputFilterSensitiveLog: models_0_1.PublishLayerVersionRequestFilterSensitiveLog, + inputFilterSensitiveLog: models_0_1.CreatePatchBaselineRequestFilterSensitiveLog, outputFilterSensitiveLog: (_) => _, [types_1.SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "PublishLayerVersion", + service: "AmazonSSM", + operation: "CreatePatchBaseline", }, }; const { requestHandler } = configuration; return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_restJson1_1.se_PublishLayerVersionCommand)(input, context); + return (0, Aws_json1_1_1.se_CreatePatchBaselineCommand)(input, context); } deserialize(output, context) { - return (0, Aws_restJson1_1.de_PublishLayerVersionCommand)(output, context); + return (0, Aws_json1_1_1.de_CreatePatchBaselineCommand)(output, context); } } -exports.PublishLayerVersionCommand = PublishLayerVersionCommand; +exports.CreatePatchBaselineCommand = CreatePatchBaselineCommand; diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/GetCodeSigningConfigCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/CreateResourceDataSyncCommand.js similarity index 72% rename from node_modules/@aws-sdk/client-lambda/dist-cjs/commands/GetCodeSigningConfigCommand.js rename to node_modules/@aws-sdk/client-ssm/dist-cjs/commands/CreateResourceDataSyncCommand.js index 3c05aefa..51afd49e 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/GetCodeSigningConfigCommand.js +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/CreateResourceDataSyncCommand.js @@ -1,13 +1,13 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -exports.GetCodeSigningConfigCommand = exports.$Command = void 0; +exports.CreateResourceDataSyncCommand = exports.$Command = void 0; const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); const middleware_serde_1 = require("@smithy/middleware-serde"); const smithy_client_1 = require("@smithy/smithy-client"); Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); const types_1 = require("@smithy/types"); -const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); -class GetCodeSigningConfigCommand extends smithy_client_1.Command { +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class CreateResourceDataSyncCommand extends smithy_client_1.Command { static getEndpointParameterInstructions() { return { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, @@ -22,11 +22,11 @@ class GetCodeSigningConfigCommand extends smithy_client_1.Command { } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetCodeSigningConfigCommand.getEndpointParameterInstructions())); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateResourceDataSyncCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "GetCodeSigningConfigCommand"; + const clientName = "SSMClient"; + const commandName = "CreateResourceDataSyncCommand"; const handlerExecutionContext = { logger, clientName, @@ -34,18 +34,18 @@ class GetCodeSigningConfigCommand extends smithy_client_1.Command { inputFilterSensitiveLog: (_) => _, outputFilterSensitiveLog: (_) => _, [types_1.SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "GetCodeSigningConfig", + service: "AmazonSSM", + operation: "CreateResourceDataSync", }, }; const { requestHandler } = configuration; return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_restJson1_1.se_GetCodeSigningConfigCommand)(input, context); + return (0, Aws_json1_1_1.se_CreateResourceDataSyncCommand)(input, context); } deserialize(output, context) { - return (0, Aws_restJson1_1.de_GetCodeSigningConfigCommand)(output, context); + return (0, Aws_json1_1_1.de_CreateResourceDataSyncCommand)(output, context); } } -exports.GetCodeSigningConfigCommand = GetCodeSigningConfigCommand; +exports.CreateResourceDataSyncCommand = CreateResourceDataSyncCommand; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DeleteActivationCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DeleteActivationCommand.js new file mode 100644 index 00000000..954355f5 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DeleteActivationCommand.js @@ -0,0 +1,51 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.DeleteActivationCommand = exports.$Command = void 0; +const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); +const middleware_serde_1 = require("@smithy/middleware-serde"); +const smithy_client_1 = require("@smithy/smithy-client"); +Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); +const types_1 = require("@smithy/types"); +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class DeleteActivationCommand extends smithy_client_1.Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteActivationCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "DeleteActivationCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [types_1.SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "DeleteActivation", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return (0, Aws_json1_1_1.se_DeleteActivationCommand)(input, context); + } + deserialize(output, context) { + return (0, Aws_json1_1_1.de_DeleteActivationCommand)(output, context); + } +} +exports.DeleteActivationCommand = DeleteActivationCommand; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DeleteAssociationCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DeleteAssociationCommand.js new file mode 100644 index 00000000..5ce82eec --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DeleteAssociationCommand.js @@ -0,0 +1,51 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.DeleteAssociationCommand = exports.$Command = void 0; +const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); +const middleware_serde_1 = require("@smithy/middleware-serde"); +const smithy_client_1 = require("@smithy/smithy-client"); +Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); +const types_1 = require("@smithy/types"); +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class DeleteAssociationCommand extends smithy_client_1.Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteAssociationCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "DeleteAssociationCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [types_1.SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "DeleteAssociation", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return (0, Aws_json1_1_1.se_DeleteAssociationCommand)(input, context); + } + deserialize(output, context) { + return (0, Aws_json1_1_1.de_DeleteAssociationCommand)(output, context); + } +} +exports.DeleteAssociationCommand = DeleteAssociationCommand; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DeleteDocumentCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DeleteDocumentCommand.js new file mode 100644 index 00000000..d83b1750 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DeleteDocumentCommand.js @@ -0,0 +1,51 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.DeleteDocumentCommand = exports.$Command = void 0; +const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); +const middleware_serde_1 = require("@smithy/middleware-serde"); +const smithy_client_1 = require("@smithy/smithy-client"); +Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); +const types_1 = require("@smithy/types"); +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class DeleteDocumentCommand extends smithy_client_1.Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteDocumentCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "DeleteDocumentCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [types_1.SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "DeleteDocument", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return (0, Aws_json1_1_1.se_DeleteDocumentCommand)(input, context); + } + deserialize(output, context) { + return (0, Aws_json1_1_1.de_DeleteDocumentCommand)(output, context); + } +} +exports.DeleteDocumentCommand = DeleteDocumentCommand; diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/AddPermissionCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DeleteInventoryCommand.js similarity index 73% rename from node_modules/@aws-sdk/client-lambda/dist-cjs/commands/AddPermissionCommand.js rename to node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DeleteInventoryCommand.js index 66a7bacd..67fcb28f 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/AddPermissionCommand.js +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DeleteInventoryCommand.js @@ -1,13 +1,13 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -exports.AddPermissionCommand = exports.$Command = void 0; +exports.DeleteInventoryCommand = exports.$Command = void 0; const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); const middleware_serde_1 = require("@smithy/middleware-serde"); const smithy_client_1 = require("@smithy/smithy-client"); Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); const types_1 = require("@smithy/types"); -const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); -class AddPermissionCommand extends smithy_client_1.Command { +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class DeleteInventoryCommand extends smithy_client_1.Command { static getEndpointParameterInstructions() { return { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, @@ -22,11 +22,11 @@ class AddPermissionCommand extends smithy_client_1.Command { } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, AddPermissionCommand.getEndpointParameterInstructions())); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteInventoryCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "AddPermissionCommand"; + const clientName = "SSMClient"; + const commandName = "DeleteInventoryCommand"; const handlerExecutionContext = { logger, clientName, @@ -34,18 +34,18 @@ class AddPermissionCommand extends smithy_client_1.Command { inputFilterSensitiveLog: (_) => _, outputFilterSensitiveLog: (_) => _, [types_1.SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "AddPermission", + service: "AmazonSSM", + operation: "DeleteInventory", }, }; const { requestHandler } = configuration; return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_restJson1_1.se_AddPermissionCommand)(input, context); + return (0, Aws_json1_1_1.se_DeleteInventoryCommand)(input, context); } deserialize(output, context) { - return (0, Aws_restJson1_1.de_AddPermissionCommand)(output, context); + return (0, Aws_json1_1_1.de_DeleteInventoryCommand)(output, context); } } -exports.AddPermissionCommand = AddPermissionCommand; +exports.DeleteInventoryCommand = DeleteInventoryCommand; diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/CreateCodeSigningConfigCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DeleteMaintenanceWindowCommand.js similarity index 72% rename from node_modules/@aws-sdk/client-lambda/dist-cjs/commands/CreateCodeSigningConfigCommand.js rename to node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DeleteMaintenanceWindowCommand.js index 6fe377f4..5c83fde0 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/CreateCodeSigningConfigCommand.js +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DeleteMaintenanceWindowCommand.js @@ -1,13 +1,13 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -exports.CreateCodeSigningConfigCommand = exports.$Command = void 0; +exports.DeleteMaintenanceWindowCommand = exports.$Command = void 0; const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); const middleware_serde_1 = require("@smithy/middleware-serde"); const smithy_client_1 = require("@smithy/smithy-client"); Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); const types_1 = require("@smithy/types"); -const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); -class CreateCodeSigningConfigCommand extends smithy_client_1.Command { +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class DeleteMaintenanceWindowCommand extends smithy_client_1.Command { static getEndpointParameterInstructions() { return { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, @@ -22,11 +22,11 @@ class CreateCodeSigningConfigCommand extends smithy_client_1.Command { } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateCodeSigningConfigCommand.getEndpointParameterInstructions())); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteMaintenanceWindowCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "CreateCodeSigningConfigCommand"; + const clientName = "SSMClient"; + const commandName = "DeleteMaintenanceWindowCommand"; const handlerExecutionContext = { logger, clientName, @@ -34,18 +34,18 @@ class CreateCodeSigningConfigCommand extends smithy_client_1.Command { inputFilterSensitiveLog: (_) => _, outputFilterSensitiveLog: (_) => _, [types_1.SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "CreateCodeSigningConfig", + service: "AmazonSSM", + operation: "DeleteMaintenanceWindow", }, }; const { requestHandler } = configuration; return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_restJson1_1.se_CreateCodeSigningConfigCommand)(input, context); + return (0, Aws_json1_1_1.se_DeleteMaintenanceWindowCommand)(input, context); } deserialize(output, context) { - return (0, Aws_restJson1_1.de_CreateCodeSigningConfigCommand)(output, context); + return (0, Aws_json1_1_1.de_DeleteMaintenanceWindowCommand)(output, context); } } -exports.CreateCodeSigningConfigCommand = CreateCodeSigningConfigCommand; +exports.DeleteMaintenanceWindowCommand = DeleteMaintenanceWindowCommand; diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/CreateAliasCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DeleteOpsItemCommand.js similarity index 74% rename from node_modules/@aws-sdk/client-lambda/dist-cjs/commands/CreateAliasCommand.js rename to node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DeleteOpsItemCommand.js index b5294cf6..f72ee012 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/CreateAliasCommand.js +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DeleteOpsItemCommand.js @@ -1,13 +1,13 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -exports.CreateAliasCommand = exports.$Command = void 0; +exports.DeleteOpsItemCommand = exports.$Command = void 0; const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); const middleware_serde_1 = require("@smithy/middleware-serde"); const smithy_client_1 = require("@smithy/smithy-client"); Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); const types_1 = require("@smithy/types"); -const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); -class CreateAliasCommand extends smithy_client_1.Command { +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class DeleteOpsItemCommand extends smithy_client_1.Command { static getEndpointParameterInstructions() { return { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, @@ -22,11 +22,11 @@ class CreateAliasCommand extends smithy_client_1.Command { } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateAliasCommand.getEndpointParameterInstructions())); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteOpsItemCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "CreateAliasCommand"; + const clientName = "SSMClient"; + const commandName = "DeleteOpsItemCommand"; const handlerExecutionContext = { logger, clientName, @@ -34,18 +34,18 @@ class CreateAliasCommand extends smithy_client_1.Command { inputFilterSensitiveLog: (_) => _, outputFilterSensitiveLog: (_) => _, [types_1.SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "CreateAlias", + service: "AmazonSSM", + operation: "DeleteOpsItem", }, }; const { requestHandler } = configuration; return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_restJson1_1.se_CreateAliasCommand)(input, context); + return (0, Aws_json1_1_1.se_DeleteOpsItemCommand)(input, context); } deserialize(output, context) { - return (0, Aws_restJson1_1.de_CreateAliasCommand)(output, context); + return (0, Aws_json1_1_1.de_DeleteOpsItemCommand)(output, context); } } -exports.CreateAliasCommand = CreateAliasCommand; +exports.DeleteOpsItemCommand = DeleteOpsItemCommand; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DeleteOpsMetadataCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DeleteOpsMetadataCommand.js new file mode 100644 index 00000000..42a4aa18 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DeleteOpsMetadataCommand.js @@ -0,0 +1,51 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.DeleteOpsMetadataCommand = exports.$Command = void 0; +const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); +const middleware_serde_1 = require("@smithy/middleware-serde"); +const smithy_client_1 = require("@smithy/smithy-client"); +Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); +const types_1 = require("@smithy/types"); +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class DeleteOpsMetadataCommand extends smithy_client_1.Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteOpsMetadataCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "DeleteOpsMetadataCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [types_1.SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "DeleteOpsMetadata", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return (0, Aws_json1_1_1.se_DeleteOpsMetadataCommand)(input, context); + } + deserialize(output, context) { + return (0, Aws_json1_1_1.de_DeleteOpsMetadataCommand)(output, context); + } +} +exports.DeleteOpsMetadataCommand = DeleteOpsMetadataCommand; diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/UntagResourceCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DeleteParameterCommand.js similarity index 73% rename from node_modules/@aws-sdk/client-lambda/dist-cjs/commands/UntagResourceCommand.js rename to node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DeleteParameterCommand.js index 949648a1..93203006 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/UntagResourceCommand.js +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DeleteParameterCommand.js @@ -1,13 +1,13 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -exports.UntagResourceCommand = exports.$Command = void 0; +exports.DeleteParameterCommand = exports.$Command = void 0; const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); const middleware_serde_1 = require("@smithy/middleware-serde"); const smithy_client_1 = require("@smithy/smithy-client"); Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); const types_1 = require("@smithy/types"); -const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); -class UntagResourceCommand extends smithy_client_1.Command { +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class DeleteParameterCommand extends smithy_client_1.Command { static getEndpointParameterInstructions() { return { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, @@ -22,11 +22,11 @@ class UntagResourceCommand extends smithy_client_1.Command { } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UntagResourceCommand.getEndpointParameterInstructions())); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteParameterCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "UntagResourceCommand"; + const clientName = "SSMClient"; + const commandName = "DeleteParameterCommand"; const handlerExecutionContext = { logger, clientName, @@ -34,18 +34,18 @@ class UntagResourceCommand extends smithy_client_1.Command { inputFilterSensitiveLog: (_) => _, outputFilterSensitiveLog: (_) => _, [types_1.SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "UntagResource", + service: "AmazonSSM", + operation: "DeleteParameter", }, }; const { requestHandler } = configuration; return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_restJson1_1.se_UntagResourceCommand)(input, context); + return (0, Aws_json1_1_1.se_DeleteParameterCommand)(input, context); } deserialize(output, context) { - return (0, Aws_restJson1_1.de_UntagResourceCommand)(output, context); + return (0, Aws_json1_1_1.de_DeleteParameterCommand)(output, context); } } -exports.UntagResourceCommand = UntagResourceCommand; +exports.DeleteParameterCommand = DeleteParameterCommand; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DeleteParametersCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DeleteParametersCommand.js new file mode 100644 index 00000000..ea064fee --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DeleteParametersCommand.js @@ -0,0 +1,51 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.DeleteParametersCommand = exports.$Command = void 0; +const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); +const middleware_serde_1 = require("@smithy/middleware-serde"); +const smithy_client_1 = require("@smithy/smithy-client"); +Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); +const types_1 = require("@smithy/types"); +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class DeleteParametersCommand extends smithy_client_1.Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteParametersCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "DeleteParametersCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [types_1.SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "DeleteParameters", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return (0, Aws_json1_1_1.se_DeleteParametersCommand)(input, context); + } + deserialize(output, context) { + return (0, Aws_json1_1_1.de_DeleteParametersCommand)(output, context); + } +} +exports.DeleteParametersCommand = DeleteParametersCommand; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DeletePatchBaselineCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DeletePatchBaselineCommand.js new file mode 100644 index 00000000..46c7dcf8 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DeletePatchBaselineCommand.js @@ -0,0 +1,51 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.DeletePatchBaselineCommand = exports.$Command = void 0; +const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); +const middleware_serde_1 = require("@smithy/middleware-serde"); +const smithy_client_1 = require("@smithy/smithy-client"); +Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); +const types_1 = require("@smithy/types"); +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class DeletePatchBaselineCommand extends smithy_client_1.Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeletePatchBaselineCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "DeletePatchBaselineCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [types_1.SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "DeletePatchBaseline", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return (0, Aws_json1_1_1.se_DeletePatchBaselineCommand)(input, context); + } + deserialize(output, context) { + return (0, Aws_json1_1_1.de_DeletePatchBaselineCommand)(output, context); + } +} +exports.DeletePatchBaselineCommand = DeletePatchBaselineCommand; diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/GetFunctionUrlConfigCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DeleteResourceDataSyncCommand.js similarity index 72% rename from node_modules/@aws-sdk/client-lambda/dist-cjs/commands/GetFunctionUrlConfigCommand.js rename to node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DeleteResourceDataSyncCommand.js index a0f1e314..fc2911ad 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/GetFunctionUrlConfigCommand.js +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DeleteResourceDataSyncCommand.js @@ -1,13 +1,13 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -exports.GetFunctionUrlConfigCommand = exports.$Command = void 0; +exports.DeleteResourceDataSyncCommand = exports.$Command = void 0; const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); const middleware_serde_1 = require("@smithy/middleware-serde"); const smithy_client_1 = require("@smithy/smithy-client"); Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); const types_1 = require("@smithy/types"); -const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); -class GetFunctionUrlConfigCommand extends smithy_client_1.Command { +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class DeleteResourceDataSyncCommand extends smithy_client_1.Command { static getEndpointParameterInstructions() { return { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, @@ -22,11 +22,11 @@ class GetFunctionUrlConfigCommand extends smithy_client_1.Command { } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetFunctionUrlConfigCommand.getEndpointParameterInstructions())); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteResourceDataSyncCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "GetFunctionUrlConfigCommand"; + const clientName = "SSMClient"; + const commandName = "DeleteResourceDataSyncCommand"; const handlerExecutionContext = { logger, clientName, @@ -34,18 +34,18 @@ class GetFunctionUrlConfigCommand extends smithy_client_1.Command { inputFilterSensitiveLog: (_) => _, outputFilterSensitiveLog: (_) => _, [types_1.SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "GetFunctionUrlConfig", + service: "AmazonSSM", + operation: "DeleteResourceDataSync", }, }; const { requestHandler } = configuration; return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_restJson1_1.se_GetFunctionUrlConfigCommand)(input, context); + return (0, Aws_json1_1_1.se_DeleteResourceDataSyncCommand)(input, context); } deserialize(output, context) { - return (0, Aws_restJson1_1.de_GetFunctionUrlConfigCommand)(output, context); + return (0, Aws_json1_1_1.de_DeleteResourceDataSyncCommand)(output, context); } } -exports.GetFunctionUrlConfigCommand = GetFunctionUrlConfigCommand; +exports.DeleteResourceDataSyncCommand = DeleteResourceDataSyncCommand; diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/DeleteLayerVersionCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DeleteResourcePolicyCommand.js similarity index 72% rename from node_modules/@aws-sdk/client-lambda/dist-cjs/commands/DeleteLayerVersionCommand.js rename to node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DeleteResourcePolicyCommand.js index 613a35ff..2d6f4c64 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/DeleteLayerVersionCommand.js +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DeleteResourcePolicyCommand.js @@ -1,13 +1,13 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -exports.DeleteLayerVersionCommand = exports.$Command = void 0; +exports.DeleteResourcePolicyCommand = exports.$Command = void 0; const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); const middleware_serde_1 = require("@smithy/middleware-serde"); const smithy_client_1 = require("@smithy/smithy-client"); Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); const types_1 = require("@smithy/types"); -const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); -class DeleteLayerVersionCommand extends smithy_client_1.Command { +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class DeleteResourcePolicyCommand extends smithy_client_1.Command { static getEndpointParameterInstructions() { return { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, @@ -22,11 +22,11 @@ class DeleteLayerVersionCommand extends smithy_client_1.Command { } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteLayerVersionCommand.getEndpointParameterInstructions())); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteResourcePolicyCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "DeleteLayerVersionCommand"; + const clientName = "SSMClient"; + const commandName = "DeleteResourcePolicyCommand"; const handlerExecutionContext = { logger, clientName, @@ -34,18 +34,18 @@ class DeleteLayerVersionCommand extends smithy_client_1.Command { inputFilterSensitiveLog: (_) => _, outputFilterSensitiveLog: (_) => _, [types_1.SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "DeleteLayerVersion", + service: "AmazonSSM", + operation: "DeleteResourcePolicy", }, }; const { requestHandler } = configuration; return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_restJson1_1.se_DeleteLayerVersionCommand)(input, context); + return (0, Aws_json1_1_1.se_DeleteResourcePolicyCommand)(input, context); } deserialize(output, context) { - return (0, Aws_restJson1_1.de_DeleteLayerVersionCommand)(output, context); + return (0, Aws_json1_1_1.de_DeleteResourcePolicyCommand)(output, context); } } -exports.DeleteLayerVersionCommand = DeleteLayerVersionCommand; +exports.DeleteResourcePolicyCommand = DeleteResourcePolicyCommand; diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/DeleteCodeSigningConfigCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DeregisterManagedInstanceCommand.js similarity index 71% rename from node_modules/@aws-sdk/client-lambda/dist-cjs/commands/DeleteCodeSigningConfigCommand.js rename to node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DeregisterManagedInstanceCommand.js index ea4db3bd..85b0daa2 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/DeleteCodeSigningConfigCommand.js +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DeregisterManagedInstanceCommand.js @@ -1,13 +1,13 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -exports.DeleteCodeSigningConfigCommand = exports.$Command = void 0; +exports.DeregisterManagedInstanceCommand = exports.$Command = void 0; const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); const middleware_serde_1 = require("@smithy/middleware-serde"); const smithy_client_1 = require("@smithy/smithy-client"); Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); const types_1 = require("@smithy/types"); -const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); -class DeleteCodeSigningConfigCommand extends smithy_client_1.Command { +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class DeregisterManagedInstanceCommand extends smithy_client_1.Command { static getEndpointParameterInstructions() { return { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, @@ -22,11 +22,11 @@ class DeleteCodeSigningConfigCommand extends smithy_client_1.Command { } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteCodeSigningConfigCommand.getEndpointParameterInstructions())); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeregisterManagedInstanceCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "DeleteCodeSigningConfigCommand"; + const clientName = "SSMClient"; + const commandName = "DeregisterManagedInstanceCommand"; const handlerExecutionContext = { logger, clientName, @@ -34,18 +34,18 @@ class DeleteCodeSigningConfigCommand extends smithy_client_1.Command { inputFilterSensitiveLog: (_) => _, outputFilterSensitiveLog: (_) => _, [types_1.SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "DeleteCodeSigningConfig", + service: "AmazonSSM", + operation: "DeregisterManagedInstance", }, }; const { requestHandler } = configuration; return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_restJson1_1.se_DeleteCodeSigningConfigCommand)(input, context); + return (0, Aws_json1_1_1.se_DeregisterManagedInstanceCommand)(input, context); } deserialize(output, context) { - return (0, Aws_restJson1_1.de_DeleteCodeSigningConfigCommand)(output, context); + return (0, Aws_json1_1_1.de_DeregisterManagedInstanceCommand)(output, context); } } -exports.DeleteCodeSigningConfigCommand = DeleteCodeSigningConfigCommand; +exports.DeregisterManagedInstanceCommand = DeregisterManagedInstanceCommand; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DeregisterPatchBaselineForPatchGroupCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DeregisterPatchBaselineForPatchGroupCommand.js new file mode 100644 index 00000000..8c15c426 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DeregisterPatchBaselineForPatchGroupCommand.js @@ -0,0 +1,51 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.DeregisterPatchBaselineForPatchGroupCommand = exports.$Command = void 0; +const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); +const middleware_serde_1 = require("@smithy/middleware-serde"); +const smithy_client_1 = require("@smithy/smithy-client"); +Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); +const types_1 = require("@smithy/types"); +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class DeregisterPatchBaselineForPatchGroupCommand extends smithy_client_1.Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeregisterPatchBaselineForPatchGroupCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "DeregisterPatchBaselineForPatchGroupCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [types_1.SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "DeregisterPatchBaselineForPatchGroup", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return (0, Aws_json1_1_1.se_DeregisterPatchBaselineForPatchGroupCommand)(input, context); + } + deserialize(output, context) { + return (0, Aws_json1_1_1.de_DeregisterPatchBaselineForPatchGroupCommand)(output, context); + } +} +exports.DeregisterPatchBaselineForPatchGroupCommand = DeregisterPatchBaselineForPatchGroupCommand; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DeregisterTargetFromMaintenanceWindowCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DeregisterTargetFromMaintenanceWindowCommand.js new file mode 100644 index 00000000..dc96e116 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DeregisterTargetFromMaintenanceWindowCommand.js @@ -0,0 +1,51 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.DeregisterTargetFromMaintenanceWindowCommand = exports.$Command = void 0; +const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); +const middleware_serde_1 = require("@smithy/middleware-serde"); +const smithy_client_1 = require("@smithy/smithy-client"); +Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); +const types_1 = require("@smithy/types"); +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class DeregisterTargetFromMaintenanceWindowCommand extends smithy_client_1.Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeregisterTargetFromMaintenanceWindowCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "DeregisterTargetFromMaintenanceWindowCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [types_1.SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "DeregisterTargetFromMaintenanceWindow", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return (0, Aws_json1_1_1.se_DeregisterTargetFromMaintenanceWindowCommand)(input, context); + } + deserialize(output, context) { + return (0, Aws_json1_1_1.de_DeregisterTargetFromMaintenanceWindowCommand)(output, context); + } +} +exports.DeregisterTargetFromMaintenanceWindowCommand = DeregisterTargetFromMaintenanceWindowCommand; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DeregisterTaskFromMaintenanceWindowCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DeregisterTaskFromMaintenanceWindowCommand.js new file mode 100644 index 00000000..92f19f74 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DeregisterTaskFromMaintenanceWindowCommand.js @@ -0,0 +1,51 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.DeregisterTaskFromMaintenanceWindowCommand = exports.$Command = void 0; +const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); +const middleware_serde_1 = require("@smithy/middleware-serde"); +const smithy_client_1 = require("@smithy/smithy-client"); +Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); +const types_1 = require("@smithy/types"); +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class DeregisterTaskFromMaintenanceWindowCommand extends smithy_client_1.Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeregisterTaskFromMaintenanceWindowCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "DeregisterTaskFromMaintenanceWindowCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [types_1.SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "DeregisterTaskFromMaintenanceWindow", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return (0, Aws_json1_1_1.se_DeregisterTaskFromMaintenanceWindowCommand)(input, context); + } + deserialize(output, context) { + return (0, Aws_json1_1_1.de_DeregisterTaskFromMaintenanceWindowCommand)(output, context); + } +} +exports.DeregisterTaskFromMaintenanceWindowCommand = DeregisterTaskFromMaintenanceWindowCommand; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeActivationsCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeActivationsCommand.js new file mode 100644 index 00000000..3fe50103 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeActivationsCommand.js @@ -0,0 +1,51 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.DescribeActivationsCommand = exports.$Command = void 0; +const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); +const middleware_serde_1 = require("@smithy/middleware-serde"); +const smithy_client_1 = require("@smithy/smithy-client"); +Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); +const types_1 = require("@smithy/types"); +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class DescribeActivationsCommand extends smithy_client_1.Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeActivationsCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "DescribeActivationsCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [types_1.SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "DescribeActivations", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return (0, Aws_json1_1_1.se_DescribeActivationsCommand)(input, context); + } + deserialize(output, context) { + return (0, Aws_json1_1_1.de_DescribeActivationsCommand)(output, context); + } +} +exports.DescribeActivationsCommand = DescribeActivationsCommand; diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/ListFunctionsCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeAssociationCommand.js similarity index 69% rename from node_modules/@aws-sdk/client-lambda/dist-cjs/commands/ListFunctionsCommand.js rename to node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeAssociationCommand.js index 26a912bd..db7abdd8 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/ListFunctionsCommand.js +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeAssociationCommand.js @@ -1,14 +1,14 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -exports.ListFunctionsCommand = exports.$Command = void 0; +exports.DescribeAssociationCommand = exports.$Command = void 0; const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); const middleware_serde_1 = require("@smithy/middleware-serde"); const smithy_client_1 = require("@smithy/smithy-client"); Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); const types_1 = require("@smithy/types"); const models_0_1 = require("../models/models_0"); -const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); -class ListFunctionsCommand extends smithy_client_1.Command { +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class DescribeAssociationCommand extends smithy_client_1.Command { static getEndpointParameterInstructions() { return { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, @@ -23,30 +23,30 @@ class ListFunctionsCommand extends smithy_client_1.Command { } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListFunctionsCommand.getEndpointParameterInstructions())); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeAssociationCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "ListFunctionsCommand"; + const clientName = "SSMClient"; + const commandName = "DescribeAssociationCommand"; const handlerExecutionContext = { logger, clientName, commandName, inputFilterSensitiveLog: (_) => _, - outputFilterSensitiveLog: models_0_1.ListFunctionsResponseFilterSensitiveLog, + outputFilterSensitiveLog: models_0_1.DescribeAssociationResultFilterSensitiveLog, [types_1.SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "ListFunctions", + service: "AmazonSSM", + operation: "DescribeAssociation", }, }; const { requestHandler } = configuration; return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_restJson1_1.se_ListFunctionsCommand)(input, context); + return (0, Aws_json1_1_1.se_DescribeAssociationCommand)(input, context); } deserialize(output, context) { - return (0, Aws_restJson1_1.de_ListFunctionsCommand)(output, context); + return (0, Aws_json1_1_1.de_DescribeAssociationCommand)(output, context); } } -exports.ListFunctionsCommand = ListFunctionsCommand; +exports.DescribeAssociationCommand = DescribeAssociationCommand; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeAssociationExecutionTargetsCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeAssociationExecutionTargetsCommand.js new file mode 100644 index 00000000..8e7f0853 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeAssociationExecutionTargetsCommand.js @@ -0,0 +1,51 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.DescribeAssociationExecutionTargetsCommand = exports.$Command = void 0; +const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); +const middleware_serde_1 = require("@smithy/middleware-serde"); +const smithy_client_1 = require("@smithy/smithy-client"); +Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); +const types_1 = require("@smithy/types"); +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class DescribeAssociationExecutionTargetsCommand extends smithy_client_1.Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeAssociationExecutionTargetsCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "DescribeAssociationExecutionTargetsCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [types_1.SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "DescribeAssociationExecutionTargets", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return (0, Aws_json1_1_1.se_DescribeAssociationExecutionTargetsCommand)(input, context); + } + deserialize(output, context) { + return (0, Aws_json1_1_1.de_DescribeAssociationExecutionTargetsCommand)(output, context); + } +} +exports.DescribeAssociationExecutionTargetsCommand = DescribeAssociationExecutionTargetsCommand; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeAssociationExecutionsCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeAssociationExecutionsCommand.js new file mode 100644 index 00000000..a70c28c0 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeAssociationExecutionsCommand.js @@ -0,0 +1,51 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.DescribeAssociationExecutionsCommand = exports.$Command = void 0; +const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); +const middleware_serde_1 = require("@smithy/middleware-serde"); +const smithy_client_1 = require("@smithy/smithy-client"); +Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); +const types_1 = require("@smithy/types"); +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class DescribeAssociationExecutionsCommand extends smithy_client_1.Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeAssociationExecutionsCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "DescribeAssociationExecutionsCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [types_1.SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "DescribeAssociationExecutions", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return (0, Aws_json1_1_1.se_DescribeAssociationExecutionsCommand)(input, context); + } + deserialize(output, context) { + return (0, Aws_json1_1_1.de_DescribeAssociationExecutionsCommand)(output, context); + } +} +exports.DescribeAssociationExecutionsCommand = DescribeAssociationExecutionsCommand; diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/PutRuntimeManagementConfigCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeAutomationExecutionsCommand.js similarity index 71% rename from node_modules/@aws-sdk/client-lambda/dist-cjs/commands/PutRuntimeManagementConfigCommand.js rename to node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeAutomationExecutionsCommand.js index 9c95181a..50978a1b 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/PutRuntimeManagementConfigCommand.js +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeAutomationExecutionsCommand.js @@ -1,13 +1,13 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -exports.PutRuntimeManagementConfigCommand = exports.$Command = void 0; +exports.DescribeAutomationExecutionsCommand = exports.$Command = void 0; const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); const middleware_serde_1 = require("@smithy/middleware-serde"); const smithy_client_1 = require("@smithy/smithy-client"); Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); const types_1 = require("@smithy/types"); -const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); -class PutRuntimeManagementConfigCommand extends smithy_client_1.Command { +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class DescribeAutomationExecutionsCommand extends smithy_client_1.Command { static getEndpointParameterInstructions() { return { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, @@ -22,11 +22,11 @@ class PutRuntimeManagementConfigCommand extends smithy_client_1.Command { } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, PutRuntimeManagementConfigCommand.getEndpointParameterInstructions())); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeAutomationExecutionsCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "PutRuntimeManagementConfigCommand"; + const clientName = "SSMClient"; + const commandName = "DescribeAutomationExecutionsCommand"; const handlerExecutionContext = { logger, clientName, @@ -34,18 +34,18 @@ class PutRuntimeManagementConfigCommand extends smithy_client_1.Command { inputFilterSensitiveLog: (_) => _, outputFilterSensitiveLog: (_) => _, [types_1.SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "PutRuntimeManagementConfig", + service: "AmazonSSM", + operation: "DescribeAutomationExecutions", }, }; const { requestHandler } = configuration; return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_restJson1_1.se_PutRuntimeManagementConfigCommand)(input, context); + return (0, Aws_json1_1_1.se_DescribeAutomationExecutionsCommand)(input, context); } deserialize(output, context) { - return (0, Aws_restJson1_1.de_PutRuntimeManagementConfigCommand)(output, context); + return (0, Aws_json1_1_1.de_DescribeAutomationExecutionsCommand)(output, context); } } -exports.PutRuntimeManagementConfigCommand = PutRuntimeManagementConfigCommand; +exports.DescribeAutomationExecutionsCommand = DescribeAutomationExecutionsCommand; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeAutomationStepExecutionsCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeAutomationStepExecutionsCommand.js new file mode 100644 index 00000000..30fe731a --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeAutomationStepExecutionsCommand.js @@ -0,0 +1,51 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.DescribeAutomationStepExecutionsCommand = exports.$Command = void 0; +const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); +const middleware_serde_1 = require("@smithy/middleware-serde"); +const smithy_client_1 = require("@smithy/smithy-client"); +Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); +const types_1 = require("@smithy/types"); +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class DescribeAutomationStepExecutionsCommand extends smithy_client_1.Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeAutomationStepExecutionsCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "DescribeAutomationStepExecutionsCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [types_1.SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "DescribeAutomationStepExecutions", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return (0, Aws_json1_1_1.se_DescribeAutomationStepExecutionsCommand)(input, context); + } + deserialize(output, context) { + return (0, Aws_json1_1_1.de_DescribeAutomationStepExecutionsCommand)(output, context); + } +} +exports.DescribeAutomationStepExecutionsCommand = DescribeAutomationStepExecutionsCommand; diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/ListFunctionUrlConfigsCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeAvailablePatchesCommand.js similarity index 72% rename from node_modules/@aws-sdk/client-lambda/dist-cjs/commands/ListFunctionUrlConfigsCommand.js rename to node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeAvailablePatchesCommand.js index 3196fd12..6da109b3 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/ListFunctionUrlConfigsCommand.js +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeAvailablePatchesCommand.js @@ -1,13 +1,13 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -exports.ListFunctionUrlConfigsCommand = exports.$Command = void 0; +exports.DescribeAvailablePatchesCommand = exports.$Command = void 0; const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); const middleware_serde_1 = require("@smithy/middleware-serde"); const smithy_client_1 = require("@smithy/smithy-client"); Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); const types_1 = require("@smithy/types"); -const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); -class ListFunctionUrlConfigsCommand extends smithy_client_1.Command { +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class DescribeAvailablePatchesCommand extends smithy_client_1.Command { static getEndpointParameterInstructions() { return { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, @@ -22,11 +22,11 @@ class ListFunctionUrlConfigsCommand extends smithy_client_1.Command { } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListFunctionUrlConfigsCommand.getEndpointParameterInstructions())); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeAvailablePatchesCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "ListFunctionUrlConfigsCommand"; + const clientName = "SSMClient"; + const commandName = "DescribeAvailablePatchesCommand"; const handlerExecutionContext = { logger, clientName, @@ -34,18 +34,18 @@ class ListFunctionUrlConfigsCommand extends smithy_client_1.Command { inputFilterSensitiveLog: (_) => _, outputFilterSensitiveLog: (_) => _, [types_1.SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "ListFunctionUrlConfigs", + service: "AmazonSSM", + operation: "DescribeAvailablePatches", }, }; const { requestHandler } = configuration; return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_restJson1_1.se_ListFunctionUrlConfigsCommand)(input, context); + return (0, Aws_json1_1_1.se_DescribeAvailablePatchesCommand)(input, context); } deserialize(output, context) { - return (0, Aws_restJson1_1.de_ListFunctionUrlConfigsCommand)(output, context); + return (0, Aws_json1_1_1.de_DescribeAvailablePatchesCommand)(output, context); } } -exports.ListFunctionUrlConfigsCommand = ListFunctionUrlConfigsCommand; +exports.DescribeAvailablePatchesCommand = DescribeAvailablePatchesCommand; diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/ListLayerVersionsCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeDocumentCommand.js similarity index 73% rename from node_modules/@aws-sdk/client-lambda/dist-cjs/commands/ListLayerVersionsCommand.js rename to node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeDocumentCommand.js index 2c4bded7..2f4f4a93 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/ListLayerVersionsCommand.js +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeDocumentCommand.js @@ -1,13 +1,13 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -exports.ListLayerVersionsCommand = exports.$Command = void 0; +exports.DescribeDocumentCommand = exports.$Command = void 0; const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); const middleware_serde_1 = require("@smithy/middleware-serde"); const smithy_client_1 = require("@smithy/smithy-client"); Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); const types_1 = require("@smithy/types"); -const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); -class ListLayerVersionsCommand extends smithy_client_1.Command { +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class DescribeDocumentCommand extends smithy_client_1.Command { static getEndpointParameterInstructions() { return { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, @@ -22,11 +22,11 @@ class ListLayerVersionsCommand extends smithy_client_1.Command { } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListLayerVersionsCommand.getEndpointParameterInstructions())); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeDocumentCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "ListLayerVersionsCommand"; + const clientName = "SSMClient"; + const commandName = "DescribeDocumentCommand"; const handlerExecutionContext = { logger, clientName, @@ -34,18 +34,18 @@ class ListLayerVersionsCommand extends smithy_client_1.Command { inputFilterSensitiveLog: (_) => _, outputFilterSensitiveLog: (_) => _, [types_1.SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "ListLayerVersions", + service: "AmazonSSM", + operation: "DescribeDocument", }, }; const { requestHandler } = configuration; return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_restJson1_1.se_ListLayerVersionsCommand)(input, context); + return (0, Aws_json1_1_1.se_DescribeDocumentCommand)(input, context); } deserialize(output, context) { - return (0, Aws_restJson1_1.de_ListLayerVersionsCommand)(output, context); + return (0, Aws_json1_1_1.de_DescribeDocumentCommand)(output, context); } } -exports.ListLayerVersionsCommand = ListLayerVersionsCommand; +exports.DescribeDocumentCommand = DescribeDocumentCommand; diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/DeleteEventSourceMappingCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeDocumentPermissionCommand.js similarity index 71% rename from node_modules/@aws-sdk/client-lambda/dist-cjs/commands/DeleteEventSourceMappingCommand.js rename to node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeDocumentPermissionCommand.js index e2ae389b..bc674e5a 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/DeleteEventSourceMappingCommand.js +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeDocumentPermissionCommand.js @@ -1,13 +1,13 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -exports.DeleteEventSourceMappingCommand = exports.$Command = void 0; +exports.DescribeDocumentPermissionCommand = exports.$Command = void 0; const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); const middleware_serde_1 = require("@smithy/middleware-serde"); const smithy_client_1 = require("@smithy/smithy-client"); Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); const types_1 = require("@smithy/types"); -const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); -class DeleteEventSourceMappingCommand extends smithy_client_1.Command { +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class DescribeDocumentPermissionCommand extends smithy_client_1.Command { static getEndpointParameterInstructions() { return { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, @@ -22,11 +22,11 @@ class DeleteEventSourceMappingCommand extends smithy_client_1.Command { } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteEventSourceMappingCommand.getEndpointParameterInstructions())); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeDocumentPermissionCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "DeleteEventSourceMappingCommand"; + const clientName = "SSMClient"; + const commandName = "DescribeDocumentPermissionCommand"; const handlerExecutionContext = { logger, clientName, @@ -34,18 +34,18 @@ class DeleteEventSourceMappingCommand extends smithy_client_1.Command { inputFilterSensitiveLog: (_) => _, outputFilterSensitiveLog: (_) => _, [types_1.SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "DeleteEventSourceMapping", + service: "AmazonSSM", + operation: "DescribeDocumentPermission", }, }; const { requestHandler } = configuration; return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_restJson1_1.se_DeleteEventSourceMappingCommand)(input, context); + return (0, Aws_json1_1_1.se_DescribeDocumentPermissionCommand)(input, context); } deserialize(output, context) { - return (0, Aws_restJson1_1.de_DeleteEventSourceMappingCommand)(output, context); + return (0, Aws_json1_1_1.de_DescribeDocumentPermissionCommand)(output, context); } } -exports.DeleteEventSourceMappingCommand = DeleteEventSourceMappingCommand; +exports.DescribeDocumentPermissionCommand = DescribeDocumentPermissionCommand; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeEffectiveInstanceAssociationsCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeEffectiveInstanceAssociationsCommand.js new file mode 100644 index 00000000..19334179 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeEffectiveInstanceAssociationsCommand.js @@ -0,0 +1,51 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.DescribeEffectiveInstanceAssociationsCommand = exports.$Command = void 0; +const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); +const middleware_serde_1 = require("@smithy/middleware-serde"); +const smithy_client_1 = require("@smithy/smithy-client"); +Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); +const types_1 = require("@smithy/types"); +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class DescribeEffectiveInstanceAssociationsCommand extends smithy_client_1.Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeEffectiveInstanceAssociationsCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "DescribeEffectiveInstanceAssociationsCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [types_1.SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "DescribeEffectiveInstanceAssociations", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return (0, Aws_json1_1_1.se_DescribeEffectiveInstanceAssociationsCommand)(input, context); + } + deserialize(output, context) { + return (0, Aws_json1_1_1.de_DescribeEffectiveInstanceAssociationsCommand)(output, context); + } +} +exports.DescribeEffectiveInstanceAssociationsCommand = DescribeEffectiveInstanceAssociationsCommand; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeEffectivePatchesForPatchBaselineCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeEffectivePatchesForPatchBaselineCommand.js new file mode 100644 index 00000000..25993d8e --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeEffectivePatchesForPatchBaselineCommand.js @@ -0,0 +1,51 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.DescribeEffectivePatchesForPatchBaselineCommand = exports.$Command = void 0; +const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); +const middleware_serde_1 = require("@smithy/middleware-serde"); +const smithy_client_1 = require("@smithy/smithy-client"); +Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); +const types_1 = require("@smithy/types"); +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class DescribeEffectivePatchesForPatchBaselineCommand extends smithy_client_1.Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeEffectivePatchesForPatchBaselineCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "DescribeEffectivePatchesForPatchBaselineCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [types_1.SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "DescribeEffectivePatchesForPatchBaseline", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return (0, Aws_json1_1_1.se_DescribeEffectivePatchesForPatchBaselineCommand)(input, context); + } + deserialize(output, context) { + return (0, Aws_json1_1_1.de_DescribeEffectivePatchesForPatchBaselineCommand)(output, context); + } +} +exports.DescribeEffectivePatchesForPatchBaselineCommand = DescribeEffectivePatchesForPatchBaselineCommand; diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/DeleteProvisionedConcurrencyConfigCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeInstanceAssociationsStatusCommand.js similarity index 70% rename from node_modules/@aws-sdk/client-lambda/dist-cjs/commands/DeleteProvisionedConcurrencyConfigCommand.js rename to node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeInstanceAssociationsStatusCommand.js index 1b82de2b..83e140ed 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/DeleteProvisionedConcurrencyConfigCommand.js +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeInstanceAssociationsStatusCommand.js @@ -1,13 +1,13 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -exports.DeleteProvisionedConcurrencyConfigCommand = exports.$Command = void 0; +exports.DescribeInstanceAssociationsStatusCommand = exports.$Command = void 0; const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); const middleware_serde_1 = require("@smithy/middleware-serde"); const smithy_client_1 = require("@smithy/smithy-client"); Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); const types_1 = require("@smithy/types"); -const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); -class DeleteProvisionedConcurrencyConfigCommand extends smithy_client_1.Command { +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class DescribeInstanceAssociationsStatusCommand extends smithy_client_1.Command { static getEndpointParameterInstructions() { return { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, @@ -22,11 +22,11 @@ class DeleteProvisionedConcurrencyConfigCommand extends smithy_client_1.Command } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteProvisionedConcurrencyConfigCommand.getEndpointParameterInstructions())); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeInstanceAssociationsStatusCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "DeleteProvisionedConcurrencyConfigCommand"; + const clientName = "SSMClient"; + const commandName = "DescribeInstanceAssociationsStatusCommand"; const handlerExecutionContext = { logger, clientName, @@ -34,18 +34,18 @@ class DeleteProvisionedConcurrencyConfigCommand extends smithy_client_1.Command inputFilterSensitiveLog: (_) => _, outputFilterSensitiveLog: (_) => _, [types_1.SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "DeleteProvisionedConcurrencyConfig", + service: "AmazonSSM", + operation: "DescribeInstanceAssociationsStatus", }, }; const { requestHandler } = configuration; return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_restJson1_1.se_DeleteProvisionedConcurrencyConfigCommand)(input, context); + return (0, Aws_json1_1_1.se_DescribeInstanceAssociationsStatusCommand)(input, context); } deserialize(output, context) { - return (0, Aws_restJson1_1.de_DeleteProvisionedConcurrencyConfigCommand)(output, context); + return (0, Aws_json1_1_1.de_DescribeInstanceAssociationsStatusCommand)(output, context); } } -exports.DeleteProvisionedConcurrencyConfigCommand = DeleteProvisionedConcurrencyConfigCommand; +exports.DescribeInstanceAssociationsStatusCommand = DescribeInstanceAssociationsStatusCommand; diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/AddLayerVersionPermissionCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeInstanceInformationCommand.js similarity index 71% rename from node_modules/@aws-sdk/client-lambda/dist-cjs/commands/AddLayerVersionPermissionCommand.js rename to node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeInstanceInformationCommand.js index 095d3ce1..2c06d4b7 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/AddLayerVersionPermissionCommand.js +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeInstanceInformationCommand.js @@ -1,13 +1,13 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -exports.AddLayerVersionPermissionCommand = exports.$Command = void 0; +exports.DescribeInstanceInformationCommand = exports.$Command = void 0; const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); const middleware_serde_1 = require("@smithy/middleware-serde"); const smithy_client_1 = require("@smithy/smithy-client"); Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); const types_1 = require("@smithy/types"); -const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); -class AddLayerVersionPermissionCommand extends smithy_client_1.Command { +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class DescribeInstanceInformationCommand extends smithy_client_1.Command { static getEndpointParameterInstructions() { return { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, @@ -22,11 +22,11 @@ class AddLayerVersionPermissionCommand extends smithy_client_1.Command { } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, AddLayerVersionPermissionCommand.getEndpointParameterInstructions())); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeInstanceInformationCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "AddLayerVersionPermissionCommand"; + const clientName = "SSMClient"; + const commandName = "DescribeInstanceInformationCommand"; const handlerExecutionContext = { logger, clientName, @@ -34,18 +34,18 @@ class AddLayerVersionPermissionCommand extends smithy_client_1.Command { inputFilterSensitiveLog: (_) => _, outputFilterSensitiveLog: (_) => _, [types_1.SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "AddLayerVersionPermission", + service: "AmazonSSM", + operation: "DescribeInstanceInformation", }, }; const { requestHandler } = configuration; return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_restJson1_1.se_AddLayerVersionPermissionCommand)(input, context); + return (0, Aws_json1_1_1.se_DescribeInstanceInformationCommand)(input, context); } deserialize(output, context) { - return (0, Aws_restJson1_1.de_AddLayerVersionPermissionCommand)(output, context); + return (0, Aws_json1_1_1.de_DescribeInstanceInformationCommand)(output, context); } } -exports.AddLayerVersionPermissionCommand = AddLayerVersionPermissionCommand; +exports.DescribeInstanceInformationCommand = DescribeInstanceInformationCommand; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeInstancePatchStatesCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeInstancePatchStatesCommand.js new file mode 100644 index 00000000..9642f5d1 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeInstancePatchStatesCommand.js @@ -0,0 +1,52 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.DescribeInstancePatchStatesCommand = exports.$Command = void 0; +const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); +const middleware_serde_1 = require("@smithy/middleware-serde"); +const smithy_client_1 = require("@smithy/smithy-client"); +Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); +const types_1 = require("@smithy/types"); +const models_0_1 = require("../models/models_0"); +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class DescribeInstancePatchStatesCommand extends smithy_client_1.Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeInstancePatchStatesCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "DescribeInstancePatchStatesCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: models_0_1.DescribeInstancePatchStatesResultFilterSensitiveLog, + [types_1.SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "DescribeInstancePatchStates", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return (0, Aws_json1_1_1.se_DescribeInstancePatchStatesCommand)(input, context); + } + deserialize(output, context) { + return (0, Aws_json1_1_1.de_DescribeInstancePatchStatesCommand)(output, context); + } +} +exports.DescribeInstancePatchStatesCommand = DescribeInstancePatchStatesCommand; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeInstancePatchStatesForPatchGroupCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeInstancePatchStatesForPatchGroupCommand.js new file mode 100644 index 00000000..c571f4c7 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeInstancePatchStatesForPatchGroupCommand.js @@ -0,0 +1,52 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.DescribeInstancePatchStatesForPatchGroupCommand = exports.$Command = void 0; +const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); +const middleware_serde_1 = require("@smithy/middleware-serde"); +const smithy_client_1 = require("@smithy/smithy-client"); +Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); +const types_1 = require("@smithy/types"); +const models_0_1 = require("../models/models_0"); +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class DescribeInstancePatchStatesForPatchGroupCommand extends smithy_client_1.Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeInstancePatchStatesForPatchGroupCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "DescribeInstancePatchStatesForPatchGroupCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: models_0_1.DescribeInstancePatchStatesForPatchGroupResultFilterSensitiveLog, + [types_1.SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "DescribeInstancePatchStatesForPatchGroup", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return (0, Aws_json1_1_1.se_DescribeInstancePatchStatesForPatchGroupCommand)(input, context); + } + deserialize(output, context) { + return (0, Aws_json1_1_1.de_DescribeInstancePatchStatesForPatchGroupCommand)(output, context); + } +} +exports.DescribeInstancePatchStatesForPatchGroupCommand = DescribeInstancePatchStatesForPatchGroupCommand; diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/CreateFunctionUrlConfigCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeInstancePatchesCommand.js similarity index 72% rename from node_modules/@aws-sdk/client-lambda/dist-cjs/commands/CreateFunctionUrlConfigCommand.js rename to node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeInstancePatchesCommand.js index 38eda068..6e4f3d9f 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/CreateFunctionUrlConfigCommand.js +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeInstancePatchesCommand.js @@ -1,13 +1,13 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -exports.CreateFunctionUrlConfigCommand = exports.$Command = void 0; +exports.DescribeInstancePatchesCommand = exports.$Command = void 0; const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); const middleware_serde_1 = require("@smithy/middleware-serde"); const smithy_client_1 = require("@smithy/smithy-client"); Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); const types_1 = require("@smithy/types"); -const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); -class CreateFunctionUrlConfigCommand extends smithy_client_1.Command { +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class DescribeInstancePatchesCommand extends smithy_client_1.Command { static getEndpointParameterInstructions() { return { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, @@ -22,11 +22,11 @@ class CreateFunctionUrlConfigCommand extends smithy_client_1.Command { } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateFunctionUrlConfigCommand.getEndpointParameterInstructions())); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeInstancePatchesCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "CreateFunctionUrlConfigCommand"; + const clientName = "SSMClient"; + const commandName = "DescribeInstancePatchesCommand"; const handlerExecutionContext = { logger, clientName, @@ -34,18 +34,18 @@ class CreateFunctionUrlConfigCommand extends smithy_client_1.Command { inputFilterSensitiveLog: (_) => _, outputFilterSensitiveLog: (_) => _, [types_1.SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "CreateFunctionUrlConfig", + service: "AmazonSSM", + operation: "DescribeInstancePatches", }, }; const { requestHandler } = configuration; return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_restJson1_1.se_CreateFunctionUrlConfigCommand)(input, context); + return (0, Aws_json1_1_1.se_DescribeInstancePatchesCommand)(input, context); } deserialize(output, context) { - return (0, Aws_restJson1_1.de_CreateFunctionUrlConfigCommand)(output, context); + return (0, Aws_json1_1_1.de_DescribeInstancePatchesCommand)(output, context); } } -exports.CreateFunctionUrlConfigCommand = CreateFunctionUrlConfigCommand; +exports.DescribeInstancePatchesCommand = DescribeInstancePatchesCommand; diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/UpdateEventSourceMappingCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeInventoryDeletionsCommand.js similarity index 71% rename from node_modules/@aws-sdk/client-lambda/dist-cjs/commands/UpdateEventSourceMappingCommand.js rename to node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeInventoryDeletionsCommand.js index 6797f3e6..552b40e0 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/UpdateEventSourceMappingCommand.js +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeInventoryDeletionsCommand.js @@ -1,13 +1,13 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -exports.UpdateEventSourceMappingCommand = exports.$Command = void 0; +exports.DescribeInventoryDeletionsCommand = exports.$Command = void 0; const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); const middleware_serde_1 = require("@smithy/middleware-serde"); const smithy_client_1 = require("@smithy/smithy-client"); Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); const types_1 = require("@smithy/types"); -const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); -class UpdateEventSourceMappingCommand extends smithy_client_1.Command { +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class DescribeInventoryDeletionsCommand extends smithy_client_1.Command { static getEndpointParameterInstructions() { return { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, @@ -22,11 +22,11 @@ class UpdateEventSourceMappingCommand extends smithy_client_1.Command { } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateEventSourceMappingCommand.getEndpointParameterInstructions())); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeInventoryDeletionsCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "UpdateEventSourceMappingCommand"; + const clientName = "SSMClient"; + const commandName = "DescribeInventoryDeletionsCommand"; const handlerExecutionContext = { logger, clientName, @@ -34,18 +34,18 @@ class UpdateEventSourceMappingCommand extends smithy_client_1.Command { inputFilterSensitiveLog: (_) => _, outputFilterSensitiveLog: (_) => _, [types_1.SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "UpdateEventSourceMapping", + service: "AmazonSSM", + operation: "DescribeInventoryDeletions", }, }; const { requestHandler } = configuration; return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_restJson1_1.se_UpdateEventSourceMappingCommand)(input, context); + return (0, Aws_json1_1_1.se_DescribeInventoryDeletionsCommand)(input, context); } deserialize(output, context) { - return (0, Aws_restJson1_1.de_UpdateEventSourceMappingCommand)(output, context); + return (0, Aws_json1_1_1.de_DescribeInventoryDeletionsCommand)(output, context); } } -exports.UpdateEventSourceMappingCommand = UpdateEventSourceMappingCommand; +exports.DescribeInventoryDeletionsCommand = DescribeInventoryDeletionsCommand; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeMaintenanceWindowExecutionTaskInvocationsCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeMaintenanceWindowExecutionTaskInvocationsCommand.js new file mode 100644 index 00000000..2b02c50c --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeMaintenanceWindowExecutionTaskInvocationsCommand.js @@ -0,0 +1,52 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.DescribeMaintenanceWindowExecutionTaskInvocationsCommand = exports.$Command = void 0; +const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); +const middleware_serde_1 = require("@smithy/middleware-serde"); +const smithy_client_1 = require("@smithy/smithy-client"); +Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); +const types_1 = require("@smithy/types"); +const models_0_1 = require("../models/models_0"); +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class DescribeMaintenanceWindowExecutionTaskInvocationsCommand extends smithy_client_1.Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeMaintenanceWindowExecutionTaskInvocationsCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "DescribeMaintenanceWindowExecutionTaskInvocationsCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: models_0_1.DescribeMaintenanceWindowExecutionTaskInvocationsResultFilterSensitiveLog, + [types_1.SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "DescribeMaintenanceWindowExecutionTaskInvocations", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return (0, Aws_json1_1_1.se_DescribeMaintenanceWindowExecutionTaskInvocationsCommand)(input, context); + } + deserialize(output, context) { + return (0, Aws_json1_1_1.de_DescribeMaintenanceWindowExecutionTaskInvocationsCommand)(output, context); + } +} +exports.DescribeMaintenanceWindowExecutionTaskInvocationsCommand = DescribeMaintenanceWindowExecutionTaskInvocationsCommand; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeMaintenanceWindowExecutionTasksCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeMaintenanceWindowExecutionTasksCommand.js new file mode 100644 index 00000000..f56865f5 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeMaintenanceWindowExecutionTasksCommand.js @@ -0,0 +1,51 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.DescribeMaintenanceWindowExecutionTasksCommand = exports.$Command = void 0; +const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); +const middleware_serde_1 = require("@smithy/middleware-serde"); +const smithy_client_1 = require("@smithy/smithy-client"); +Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); +const types_1 = require("@smithy/types"); +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class DescribeMaintenanceWindowExecutionTasksCommand extends smithy_client_1.Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeMaintenanceWindowExecutionTasksCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "DescribeMaintenanceWindowExecutionTasksCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [types_1.SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "DescribeMaintenanceWindowExecutionTasks", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return (0, Aws_json1_1_1.se_DescribeMaintenanceWindowExecutionTasksCommand)(input, context); + } + deserialize(output, context) { + return (0, Aws_json1_1_1.de_DescribeMaintenanceWindowExecutionTasksCommand)(output, context); + } +} +exports.DescribeMaintenanceWindowExecutionTasksCommand = DescribeMaintenanceWindowExecutionTasksCommand; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeMaintenanceWindowExecutionsCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeMaintenanceWindowExecutionsCommand.js new file mode 100644 index 00000000..c6a64bcb --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeMaintenanceWindowExecutionsCommand.js @@ -0,0 +1,51 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.DescribeMaintenanceWindowExecutionsCommand = exports.$Command = void 0; +const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); +const middleware_serde_1 = require("@smithy/middleware-serde"); +const smithy_client_1 = require("@smithy/smithy-client"); +Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); +const types_1 = require("@smithy/types"); +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class DescribeMaintenanceWindowExecutionsCommand extends smithy_client_1.Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeMaintenanceWindowExecutionsCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "DescribeMaintenanceWindowExecutionsCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [types_1.SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "DescribeMaintenanceWindowExecutions", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return (0, Aws_json1_1_1.se_DescribeMaintenanceWindowExecutionsCommand)(input, context); + } + deserialize(output, context) { + return (0, Aws_json1_1_1.de_DescribeMaintenanceWindowExecutionsCommand)(output, context); + } +} +exports.DescribeMaintenanceWindowExecutionsCommand = DescribeMaintenanceWindowExecutionsCommand; diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/ListProvisionedConcurrencyConfigsCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeMaintenanceWindowScheduleCommand.js similarity index 70% rename from node_modules/@aws-sdk/client-lambda/dist-cjs/commands/ListProvisionedConcurrencyConfigsCommand.js rename to node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeMaintenanceWindowScheduleCommand.js index bd6b535a..b7fae1e7 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/ListProvisionedConcurrencyConfigsCommand.js +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeMaintenanceWindowScheduleCommand.js @@ -1,13 +1,13 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -exports.ListProvisionedConcurrencyConfigsCommand = exports.$Command = void 0; +exports.DescribeMaintenanceWindowScheduleCommand = exports.$Command = void 0; const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); const middleware_serde_1 = require("@smithy/middleware-serde"); const smithy_client_1 = require("@smithy/smithy-client"); Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); const types_1 = require("@smithy/types"); -const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); -class ListProvisionedConcurrencyConfigsCommand extends smithy_client_1.Command { +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class DescribeMaintenanceWindowScheduleCommand extends smithy_client_1.Command { static getEndpointParameterInstructions() { return { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, @@ -22,11 +22,11 @@ class ListProvisionedConcurrencyConfigsCommand extends smithy_client_1.Command { } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListProvisionedConcurrencyConfigsCommand.getEndpointParameterInstructions())); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeMaintenanceWindowScheduleCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "ListProvisionedConcurrencyConfigsCommand"; + const clientName = "SSMClient"; + const commandName = "DescribeMaintenanceWindowScheduleCommand"; const handlerExecutionContext = { logger, clientName, @@ -34,18 +34,18 @@ class ListProvisionedConcurrencyConfigsCommand extends smithy_client_1.Command { inputFilterSensitiveLog: (_) => _, outputFilterSensitiveLog: (_) => _, [types_1.SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "ListProvisionedConcurrencyConfigs", + service: "AmazonSSM", + operation: "DescribeMaintenanceWindowSchedule", }, }; const { requestHandler } = configuration; return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_restJson1_1.se_ListProvisionedConcurrencyConfigsCommand)(input, context); + return (0, Aws_json1_1_1.se_DescribeMaintenanceWindowScheduleCommand)(input, context); } deserialize(output, context) { - return (0, Aws_restJson1_1.de_ListProvisionedConcurrencyConfigsCommand)(output, context); + return (0, Aws_json1_1_1.de_DescribeMaintenanceWindowScheduleCommand)(output, context); } } -exports.ListProvisionedConcurrencyConfigsCommand = ListProvisionedConcurrencyConfigsCommand; +exports.DescribeMaintenanceWindowScheduleCommand = DescribeMaintenanceWindowScheduleCommand; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeMaintenanceWindowTargetsCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeMaintenanceWindowTargetsCommand.js new file mode 100644 index 00000000..cd3c42e7 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeMaintenanceWindowTargetsCommand.js @@ -0,0 +1,52 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.DescribeMaintenanceWindowTargetsCommand = exports.$Command = void 0; +const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); +const middleware_serde_1 = require("@smithy/middleware-serde"); +const smithy_client_1 = require("@smithy/smithy-client"); +Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); +const types_1 = require("@smithy/types"); +const models_0_1 = require("../models/models_0"); +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class DescribeMaintenanceWindowTargetsCommand extends smithy_client_1.Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeMaintenanceWindowTargetsCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "DescribeMaintenanceWindowTargetsCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: models_0_1.DescribeMaintenanceWindowTargetsResultFilterSensitiveLog, + [types_1.SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "DescribeMaintenanceWindowTargets", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return (0, Aws_json1_1_1.se_DescribeMaintenanceWindowTargetsCommand)(input, context); + } + deserialize(output, context) { + return (0, Aws_json1_1_1.de_DescribeMaintenanceWindowTargetsCommand)(output, context); + } +} +exports.DescribeMaintenanceWindowTargetsCommand = DescribeMaintenanceWindowTargetsCommand; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeMaintenanceWindowTasksCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeMaintenanceWindowTasksCommand.js new file mode 100644 index 00000000..0501a034 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeMaintenanceWindowTasksCommand.js @@ -0,0 +1,52 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.DescribeMaintenanceWindowTasksCommand = exports.$Command = void 0; +const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); +const middleware_serde_1 = require("@smithy/middleware-serde"); +const smithy_client_1 = require("@smithy/smithy-client"); +Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); +const types_1 = require("@smithy/types"); +const models_1_1 = require("../models/models_1"); +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class DescribeMaintenanceWindowTasksCommand extends smithy_client_1.Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeMaintenanceWindowTasksCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "DescribeMaintenanceWindowTasksCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: models_1_1.DescribeMaintenanceWindowTasksResultFilterSensitiveLog, + [types_1.SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "DescribeMaintenanceWindowTasks", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return (0, Aws_json1_1_1.se_DescribeMaintenanceWindowTasksCommand)(input, context); + } + deserialize(output, context) { + return (0, Aws_json1_1_1.de_DescribeMaintenanceWindowTasksCommand)(output, context); + } +} +exports.DescribeMaintenanceWindowTasksCommand = DescribeMaintenanceWindowTasksCommand; diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/GetFunctionConfigurationCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeMaintenanceWindowsCommand.js similarity index 69% rename from node_modules/@aws-sdk/client-lambda/dist-cjs/commands/GetFunctionConfigurationCommand.js rename to node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeMaintenanceWindowsCommand.js index 4d1317e7..fedba5c2 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/GetFunctionConfigurationCommand.js +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeMaintenanceWindowsCommand.js @@ -1,14 +1,14 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -exports.GetFunctionConfigurationCommand = exports.$Command = void 0; +exports.DescribeMaintenanceWindowsCommand = exports.$Command = void 0; const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); const middleware_serde_1 = require("@smithy/middleware-serde"); const smithy_client_1 = require("@smithy/smithy-client"); Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); const types_1 = require("@smithy/types"); const models_0_1 = require("../models/models_0"); -const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); -class GetFunctionConfigurationCommand extends smithy_client_1.Command { +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class DescribeMaintenanceWindowsCommand extends smithy_client_1.Command { static getEndpointParameterInstructions() { return { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, @@ -23,30 +23,30 @@ class GetFunctionConfigurationCommand extends smithy_client_1.Command { } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetFunctionConfigurationCommand.getEndpointParameterInstructions())); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeMaintenanceWindowsCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "GetFunctionConfigurationCommand"; + const clientName = "SSMClient"; + const commandName = "DescribeMaintenanceWindowsCommand"; const handlerExecutionContext = { logger, clientName, commandName, inputFilterSensitiveLog: (_) => _, - outputFilterSensitiveLog: models_0_1.FunctionConfigurationFilterSensitiveLog, + outputFilterSensitiveLog: models_0_1.DescribeMaintenanceWindowsResultFilterSensitiveLog, [types_1.SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "GetFunctionConfiguration", + service: "AmazonSSM", + operation: "DescribeMaintenanceWindows", }, }; const { requestHandler } = configuration; return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_restJson1_1.se_GetFunctionConfigurationCommand)(input, context); + return (0, Aws_json1_1_1.se_DescribeMaintenanceWindowsCommand)(input, context); } deserialize(output, context) { - return (0, Aws_restJson1_1.de_GetFunctionConfigurationCommand)(output, context); + return (0, Aws_json1_1_1.de_DescribeMaintenanceWindowsCommand)(output, context); } } -exports.GetFunctionConfigurationCommand = GetFunctionConfigurationCommand; +exports.DescribeMaintenanceWindowsCommand = DescribeMaintenanceWindowsCommand; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeMaintenanceWindowsForTargetCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeMaintenanceWindowsForTargetCommand.js new file mode 100644 index 00000000..cfec5618 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeMaintenanceWindowsForTargetCommand.js @@ -0,0 +1,51 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.DescribeMaintenanceWindowsForTargetCommand = exports.$Command = void 0; +const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); +const middleware_serde_1 = require("@smithy/middleware-serde"); +const smithy_client_1 = require("@smithy/smithy-client"); +Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); +const types_1 = require("@smithy/types"); +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class DescribeMaintenanceWindowsForTargetCommand extends smithy_client_1.Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeMaintenanceWindowsForTargetCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "DescribeMaintenanceWindowsForTargetCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [types_1.SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "DescribeMaintenanceWindowsForTarget", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return (0, Aws_json1_1_1.se_DescribeMaintenanceWindowsForTargetCommand)(input, context); + } + deserialize(output, context) { + return (0, Aws_json1_1_1.de_DescribeMaintenanceWindowsForTargetCommand)(output, context); + } +} +exports.DescribeMaintenanceWindowsForTargetCommand = DescribeMaintenanceWindowsForTargetCommand; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeOpsItemsCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeOpsItemsCommand.js new file mode 100644 index 00000000..f235d45d --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeOpsItemsCommand.js @@ -0,0 +1,51 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.DescribeOpsItemsCommand = exports.$Command = void 0; +const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); +const middleware_serde_1 = require("@smithy/middleware-serde"); +const smithy_client_1 = require("@smithy/smithy-client"); +Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); +const types_1 = require("@smithy/types"); +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class DescribeOpsItemsCommand extends smithy_client_1.Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeOpsItemsCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "DescribeOpsItemsCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [types_1.SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "DescribeOpsItems", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return (0, Aws_json1_1_1.se_DescribeOpsItemsCommand)(input, context); + } + deserialize(output, context) { + return (0, Aws_json1_1_1.de_DescribeOpsItemsCommand)(output, context); + } +} +exports.DescribeOpsItemsCommand = DescribeOpsItemsCommand; diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/RemovePermissionCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeParametersCommand.js similarity index 73% rename from node_modules/@aws-sdk/client-lambda/dist-cjs/commands/RemovePermissionCommand.js rename to node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeParametersCommand.js index 4ba87129..9bc63ecf 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/RemovePermissionCommand.js +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeParametersCommand.js @@ -1,13 +1,13 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -exports.RemovePermissionCommand = exports.$Command = void 0; +exports.DescribeParametersCommand = exports.$Command = void 0; const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); const middleware_serde_1 = require("@smithy/middleware-serde"); const smithy_client_1 = require("@smithy/smithy-client"); Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); const types_1 = require("@smithy/types"); -const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); -class RemovePermissionCommand extends smithy_client_1.Command { +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class DescribeParametersCommand extends smithy_client_1.Command { static getEndpointParameterInstructions() { return { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, @@ -22,11 +22,11 @@ class RemovePermissionCommand extends smithy_client_1.Command { } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, RemovePermissionCommand.getEndpointParameterInstructions())); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeParametersCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "RemovePermissionCommand"; + const clientName = "SSMClient"; + const commandName = "DescribeParametersCommand"; const handlerExecutionContext = { logger, clientName, @@ -34,18 +34,18 @@ class RemovePermissionCommand extends smithy_client_1.Command { inputFilterSensitiveLog: (_) => _, outputFilterSensitiveLog: (_) => _, [types_1.SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "RemovePermission", + service: "AmazonSSM", + operation: "DescribeParameters", }, }; const { requestHandler } = configuration; return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_restJson1_1.se_RemovePermissionCommand)(input, context); + return (0, Aws_json1_1_1.se_DescribeParametersCommand)(input, context); } deserialize(output, context) { - return (0, Aws_restJson1_1.de_RemovePermissionCommand)(output, context); + return (0, Aws_json1_1_1.de_DescribeParametersCommand)(output, context); } } -exports.RemovePermissionCommand = RemovePermissionCommand; +exports.DescribeParametersCommand = DescribeParametersCommand; diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/GetLayerVersionByArnCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribePatchBaselinesCommand.js similarity index 72% rename from node_modules/@aws-sdk/client-lambda/dist-cjs/commands/GetLayerVersionByArnCommand.js rename to node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribePatchBaselinesCommand.js index 56776f9e..f3274554 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/GetLayerVersionByArnCommand.js +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribePatchBaselinesCommand.js @@ -1,13 +1,13 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -exports.GetLayerVersionByArnCommand = exports.$Command = void 0; +exports.DescribePatchBaselinesCommand = exports.$Command = void 0; const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); const middleware_serde_1 = require("@smithy/middleware-serde"); const smithy_client_1 = require("@smithy/smithy-client"); Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); const types_1 = require("@smithy/types"); -const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); -class GetLayerVersionByArnCommand extends smithy_client_1.Command { +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class DescribePatchBaselinesCommand extends smithy_client_1.Command { static getEndpointParameterInstructions() { return { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, @@ -22,11 +22,11 @@ class GetLayerVersionByArnCommand extends smithy_client_1.Command { } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetLayerVersionByArnCommand.getEndpointParameterInstructions())); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribePatchBaselinesCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "GetLayerVersionByArnCommand"; + const clientName = "SSMClient"; + const commandName = "DescribePatchBaselinesCommand"; const handlerExecutionContext = { logger, clientName, @@ -34,18 +34,18 @@ class GetLayerVersionByArnCommand extends smithy_client_1.Command { inputFilterSensitiveLog: (_) => _, outputFilterSensitiveLog: (_) => _, [types_1.SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "GetLayerVersionByArn", + service: "AmazonSSM", + operation: "DescribePatchBaselines", }, }; const { requestHandler } = configuration; return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_restJson1_1.se_GetLayerVersionByArnCommand)(input, context); + return (0, Aws_json1_1_1.se_DescribePatchBaselinesCommand)(input, context); } deserialize(output, context) { - return (0, Aws_restJson1_1.de_GetLayerVersionByArnCommand)(output, context); + return (0, Aws_json1_1_1.de_DescribePatchBaselinesCommand)(output, context); } } -exports.GetLayerVersionByArnCommand = GetLayerVersionByArnCommand; +exports.DescribePatchBaselinesCommand = DescribePatchBaselinesCommand; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribePatchGroupStateCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribePatchGroupStateCommand.js new file mode 100644 index 00000000..8eb7d85e --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribePatchGroupStateCommand.js @@ -0,0 +1,51 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.DescribePatchGroupStateCommand = exports.$Command = void 0; +const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); +const middleware_serde_1 = require("@smithy/middleware-serde"); +const smithy_client_1 = require("@smithy/smithy-client"); +Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); +const types_1 = require("@smithy/types"); +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class DescribePatchGroupStateCommand extends smithy_client_1.Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribePatchGroupStateCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "DescribePatchGroupStateCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [types_1.SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "DescribePatchGroupState", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return (0, Aws_json1_1_1.se_DescribePatchGroupStateCommand)(input, context); + } + deserialize(output, context) { + return (0, Aws_json1_1_1.de_DescribePatchGroupStateCommand)(output, context); + } +} +exports.DescribePatchGroupStateCommand = DescribePatchGroupStateCommand; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribePatchGroupsCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribePatchGroupsCommand.js new file mode 100644 index 00000000..10cc5cbd --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribePatchGroupsCommand.js @@ -0,0 +1,51 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.DescribePatchGroupsCommand = exports.$Command = void 0; +const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); +const middleware_serde_1 = require("@smithy/middleware-serde"); +const smithy_client_1 = require("@smithy/smithy-client"); +Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); +const types_1 = require("@smithy/types"); +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class DescribePatchGroupsCommand extends smithy_client_1.Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribePatchGroupsCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "DescribePatchGroupsCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [types_1.SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "DescribePatchGroups", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return (0, Aws_json1_1_1.se_DescribePatchGroupsCommand)(input, context); + } + deserialize(output, context) { + return (0, Aws_json1_1_1.de_DescribePatchGroupsCommand)(output, context); + } +} +exports.DescribePatchGroupsCommand = DescribePatchGroupsCommand; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribePatchPropertiesCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribePatchPropertiesCommand.js new file mode 100644 index 00000000..44509db5 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribePatchPropertiesCommand.js @@ -0,0 +1,51 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.DescribePatchPropertiesCommand = exports.$Command = void 0; +const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); +const middleware_serde_1 = require("@smithy/middleware-serde"); +const smithy_client_1 = require("@smithy/smithy-client"); +Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); +const types_1 = require("@smithy/types"); +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class DescribePatchPropertiesCommand extends smithy_client_1.Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribePatchPropertiesCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "DescribePatchPropertiesCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [types_1.SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "DescribePatchProperties", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return (0, Aws_json1_1_1.se_DescribePatchPropertiesCommand)(input, context); + } + deserialize(output, context) { + return (0, Aws_json1_1_1.de_DescribePatchPropertiesCommand)(output, context); + } +} +exports.DescribePatchPropertiesCommand = DescribePatchPropertiesCommand; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeSessionsCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeSessionsCommand.js new file mode 100644 index 00000000..739f8bb8 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DescribeSessionsCommand.js @@ -0,0 +1,51 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.DescribeSessionsCommand = exports.$Command = void 0; +const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); +const middleware_serde_1 = require("@smithy/middleware-serde"); +const smithy_client_1 = require("@smithy/smithy-client"); +Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); +const types_1 = require("@smithy/types"); +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class DescribeSessionsCommand extends smithy_client_1.Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DescribeSessionsCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "DescribeSessionsCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [types_1.SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "DescribeSessions", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return (0, Aws_json1_1_1.se_DescribeSessionsCommand)(input, context); + } + deserialize(output, context) { + return (0, Aws_json1_1_1.de_DescribeSessionsCommand)(output, context); + } +} +exports.DescribeSessionsCommand = DescribeSessionsCommand; diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/ListFunctionEventInvokeConfigsCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DisassociateOpsItemRelatedItemCommand.js similarity index 71% rename from node_modules/@aws-sdk/client-lambda/dist-cjs/commands/ListFunctionEventInvokeConfigsCommand.js rename to node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DisassociateOpsItemRelatedItemCommand.js index 1329fd46..deba4788 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/ListFunctionEventInvokeConfigsCommand.js +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/DisassociateOpsItemRelatedItemCommand.js @@ -1,13 +1,13 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -exports.ListFunctionEventInvokeConfigsCommand = exports.$Command = void 0; +exports.DisassociateOpsItemRelatedItemCommand = exports.$Command = void 0; const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); const middleware_serde_1 = require("@smithy/middleware-serde"); const smithy_client_1 = require("@smithy/smithy-client"); Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); const types_1 = require("@smithy/types"); -const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); -class ListFunctionEventInvokeConfigsCommand extends smithy_client_1.Command { +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class DisassociateOpsItemRelatedItemCommand extends smithy_client_1.Command { static getEndpointParameterInstructions() { return { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, @@ -22,11 +22,11 @@ class ListFunctionEventInvokeConfigsCommand extends smithy_client_1.Command { } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListFunctionEventInvokeConfigsCommand.getEndpointParameterInstructions())); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DisassociateOpsItemRelatedItemCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "ListFunctionEventInvokeConfigsCommand"; + const clientName = "SSMClient"; + const commandName = "DisassociateOpsItemRelatedItemCommand"; const handlerExecutionContext = { logger, clientName, @@ -34,18 +34,18 @@ class ListFunctionEventInvokeConfigsCommand extends smithy_client_1.Command { inputFilterSensitiveLog: (_) => _, outputFilterSensitiveLog: (_) => _, [types_1.SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "ListFunctionEventInvokeConfigs", + service: "AmazonSSM", + operation: "DisassociateOpsItemRelatedItem", }, }; const { requestHandler } = configuration; return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_restJson1_1.se_ListFunctionEventInvokeConfigsCommand)(input, context); + return (0, Aws_json1_1_1.se_DisassociateOpsItemRelatedItemCommand)(input, context); } deserialize(output, context) { - return (0, Aws_restJson1_1.de_ListFunctionEventInvokeConfigsCommand)(output, context); + return (0, Aws_json1_1_1.de_DisassociateOpsItemRelatedItemCommand)(output, context); } } -exports.ListFunctionEventInvokeConfigsCommand = ListFunctionEventInvokeConfigsCommand; +exports.DisassociateOpsItemRelatedItemCommand = DisassociateOpsItemRelatedItemCommand; diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/GetFunctionConcurrencyCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/GetAutomationExecutionCommand.js similarity index 72% rename from node_modules/@aws-sdk/client-lambda/dist-cjs/commands/GetFunctionConcurrencyCommand.js rename to node_modules/@aws-sdk/client-ssm/dist-cjs/commands/GetAutomationExecutionCommand.js index e8d4c2c8..47ecb172 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/GetFunctionConcurrencyCommand.js +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/GetAutomationExecutionCommand.js @@ -1,13 +1,13 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -exports.GetFunctionConcurrencyCommand = exports.$Command = void 0; +exports.GetAutomationExecutionCommand = exports.$Command = void 0; const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); const middleware_serde_1 = require("@smithy/middleware-serde"); const smithy_client_1 = require("@smithy/smithy-client"); Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); const types_1 = require("@smithy/types"); -const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); -class GetFunctionConcurrencyCommand extends smithy_client_1.Command { +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class GetAutomationExecutionCommand extends smithy_client_1.Command { static getEndpointParameterInstructions() { return { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, @@ -22,11 +22,11 @@ class GetFunctionConcurrencyCommand extends smithy_client_1.Command { } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetFunctionConcurrencyCommand.getEndpointParameterInstructions())); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetAutomationExecutionCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "GetFunctionConcurrencyCommand"; + const clientName = "SSMClient"; + const commandName = "GetAutomationExecutionCommand"; const handlerExecutionContext = { logger, clientName, @@ -34,18 +34,18 @@ class GetFunctionConcurrencyCommand extends smithy_client_1.Command { inputFilterSensitiveLog: (_) => _, outputFilterSensitiveLog: (_) => _, [types_1.SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "GetFunctionConcurrency", + service: "AmazonSSM", + operation: "GetAutomationExecution", }, }; const { requestHandler } = configuration; return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_restJson1_1.se_GetFunctionConcurrencyCommand)(input, context); + return (0, Aws_json1_1_1.se_GetAutomationExecutionCommand)(input, context); } deserialize(output, context) { - return (0, Aws_restJson1_1.de_GetFunctionConcurrencyCommand)(output, context); + return (0, Aws_json1_1_1.de_GetAutomationExecutionCommand)(output, context); } } -exports.GetFunctionConcurrencyCommand = GetFunctionConcurrencyCommand; +exports.GetAutomationExecutionCommand = GetAutomationExecutionCommand; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/GetCalendarStateCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/GetCalendarStateCommand.js new file mode 100644 index 00000000..93cb32c6 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/GetCalendarStateCommand.js @@ -0,0 +1,51 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.GetCalendarStateCommand = exports.$Command = void 0; +const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); +const middleware_serde_1 = require("@smithy/middleware-serde"); +const smithy_client_1 = require("@smithy/smithy-client"); +Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); +const types_1 = require("@smithy/types"); +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class GetCalendarStateCommand extends smithy_client_1.Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetCalendarStateCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "GetCalendarStateCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [types_1.SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "GetCalendarState", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return (0, Aws_json1_1_1.se_GetCalendarStateCommand)(input, context); + } + deserialize(output, context) { + return (0, Aws_json1_1_1.de_GetCalendarStateCommand)(output, context); + } +} +exports.GetCalendarStateCommand = GetCalendarStateCommand; diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/GetAccountSettingsCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/GetCommandInvocationCommand.js similarity index 72% rename from node_modules/@aws-sdk/client-lambda/dist-cjs/commands/GetAccountSettingsCommand.js rename to node_modules/@aws-sdk/client-ssm/dist-cjs/commands/GetCommandInvocationCommand.js index 2c052704..6f046ece 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/GetAccountSettingsCommand.js +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/GetCommandInvocationCommand.js @@ -1,13 +1,13 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -exports.GetAccountSettingsCommand = exports.$Command = void 0; +exports.GetCommandInvocationCommand = exports.$Command = void 0; const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); const middleware_serde_1 = require("@smithy/middleware-serde"); const smithy_client_1 = require("@smithy/smithy-client"); Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); const types_1 = require("@smithy/types"); -const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); -class GetAccountSettingsCommand extends smithy_client_1.Command { +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class GetCommandInvocationCommand extends smithy_client_1.Command { static getEndpointParameterInstructions() { return { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, @@ -22,11 +22,11 @@ class GetAccountSettingsCommand extends smithy_client_1.Command { } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetAccountSettingsCommand.getEndpointParameterInstructions())); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetCommandInvocationCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "GetAccountSettingsCommand"; + const clientName = "SSMClient"; + const commandName = "GetCommandInvocationCommand"; const handlerExecutionContext = { logger, clientName, @@ -34,18 +34,18 @@ class GetAccountSettingsCommand extends smithy_client_1.Command { inputFilterSensitiveLog: (_) => _, outputFilterSensitiveLog: (_) => _, [types_1.SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "GetAccountSettings", + service: "AmazonSSM", + operation: "GetCommandInvocation", }, }; const { requestHandler } = configuration; return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_restJson1_1.se_GetAccountSettingsCommand)(input, context); + return (0, Aws_json1_1_1.se_GetCommandInvocationCommand)(input, context); } deserialize(output, context) { - return (0, Aws_restJson1_1.de_GetAccountSettingsCommand)(output, context); + return (0, Aws_json1_1_1.de_GetCommandInvocationCommand)(output, context); } } -exports.GetAccountSettingsCommand = GetAccountSettingsCommand; +exports.GetCommandInvocationCommand = GetCommandInvocationCommand; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/GetConnectionStatusCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/GetConnectionStatusCommand.js new file mode 100644 index 00000000..442c1561 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/GetConnectionStatusCommand.js @@ -0,0 +1,51 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.GetConnectionStatusCommand = exports.$Command = void 0; +const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); +const middleware_serde_1 = require("@smithy/middleware-serde"); +const smithy_client_1 = require("@smithy/smithy-client"); +Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); +const types_1 = require("@smithy/types"); +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class GetConnectionStatusCommand extends smithy_client_1.Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetConnectionStatusCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "GetConnectionStatusCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [types_1.SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "GetConnectionStatus", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return (0, Aws_json1_1_1.se_GetConnectionStatusCommand)(input, context); + } + deserialize(output, context) { + return (0, Aws_json1_1_1.de_GetConnectionStatusCommand)(output, context); + } +} +exports.GetConnectionStatusCommand = GetConnectionStatusCommand; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/GetDefaultPatchBaselineCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/GetDefaultPatchBaselineCommand.js new file mode 100644 index 00000000..ca5c029e --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/GetDefaultPatchBaselineCommand.js @@ -0,0 +1,51 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.GetDefaultPatchBaselineCommand = exports.$Command = void 0; +const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); +const middleware_serde_1 = require("@smithy/middleware-serde"); +const smithy_client_1 = require("@smithy/smithy-client"); +Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); +const types_1 = require("@smithy/types"); +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class GetDefaultPatchBaselineCommand extends smithy_client_1.Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetDefaultPatchBaselineCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "GetDefaultPatchBaselineCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [types_1.SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "GetDefaultPatchBaseline", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return (0, Aws_json1_1_1.se_GetDefaultPatchBaselineCommand)(input, context); + } + deserialize(output, context) { + return (0, Aws_json1_1_1.de_GetDefaultPatchBaselineCommand)(output, context); + } +} +exports.GetDefaultPatchBaselineCommand = GetDefaultPatchBaselineCommand; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/GetDeployablePatchSnapshotForInstanceCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/GetDeployablePatchSnapshotForInstanceCommand.js new file mode 100644 index 00000000..77d9f115 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/GetDeployablePatchSnapshotForInstanceCommand.js @@ -0,0 +1,52 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.GetDeployablePatchSnapshotForInstanceCommand = exports.$Command = void 0; +const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); +const middleware_serde_1 = require("@smithy/middleware-serde"); +const smithy_client_1 = require("@smithy/smithy-client"); +Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); +const types_1 = require("@smithy/types"); +const models_1_1 = require("../models/models_1"); +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class GetDeployablePatchSnapshotForInstanceCommand extends smithy_client_1.Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetDeployablePatchSnapshotForInstanceCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "GetDeployablePatchSnapshotForInstanceCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: models_1_1.GetDeployablePatchSnapshotForInstanceRequestFilterSensitiveLog, + outputFilterSensitiveLog: (_) => _, + [types_1.SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "GetDeployablePatchSnapshotForInstance", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return (0, Aws_json1_1_1.se_GetDeployablePatchSnapshotForInstanceCommand)(input, context); + } + deserialize(output, context) { + return (0, Aws_json1_1_1.de_GetDeployablePatchSnapshotForInstanceCommand)(output, context); + } +} +exports.GetDeployablePatchSnapshotForInstanceCommand = GetDeployablePatchSnapshotForInstanceCommand; diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/GetPolicyCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/GetDocumentCommand.js similarity index 74% rename from node_modules/@aws-sdk/client-lambda/dist-cjs/commands/GetPolicyCommand.js rename to node_modules/@aws-sdk/client-ssm/dist-cjs/commands/GetDocumentCommand.js index 31afce2d..41ea0f53 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/GetPolicyCommand.js +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/GetDocumentCommand.js @@ -1,13 +1,13 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -exports.GetPolicyCommand = exports.$Command = void 0; +exports.GetDocumentCommand = exports.$Command = void 0; const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); const middleware_serde_1 = require("@smithy/middleware-serde"); const smithy_client_1 = require("@smithy/smithy-client"); Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); const types_1 = require("@smithy/types"); -const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); -class GetPolicyCommand extends smithy_client_1.Command { +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class GetDocumentCommand extends smithy_client_1.Command { static getEndpointParameterInstructions() { return { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, @@ -22,11 +22,11 @@ class GetPolicyCommand extends smithy_client_1.Command { } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetPolicyCommand.getEndpointParameterInstructions())); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetDocumentCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "GetPolicyCommand"; + const clientName = "SSMClient"; + const commandName = "GetDocumentCommand"; const handlerExecutionContext = { logger, clientName, @@ -34,18 +34,18 @@ class GetPolicyCommand extends smithy_client_1.Command { inputFilterSensitiveLog: (_) => _, outputFilterSensitiveLog: (_) => _, [types_1.SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "GetPolicy", + service: "AmazonSSM", + operation: "GetDocument", }, }; const { requestHandler } = configuration; return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_restJson1_1.se_GetPolicyCommand)(input, context); + return (0, Aws_json1_1_1.se_GetDocumentCommand)(input, context); } deserialize(output, context) { - return (0, Aws_restJson1_1.de_GetPolicyCommand)(output, context); + return (0, Aws_json1_1_1.de_GetDocumentCommand)(output, context); } } -exports.GetPolicyCommand = GetPolicyCommand; +exports.GetDocumentCommand = GetDocumentCommand; diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/ListLayersCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/GetInventoryCommand.js similarity index 74% rename from node_modules/@aws-sdk/client-lambda/dist-cjs/commands/ListLayersCommand.js rename to node_modules/@aws-sdk/client-ssm/dist-cjs/commands/GetInventoryCommand.js index 0c84df53..4753b017 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/ListLayersCommand.js +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/GetInventoryCommand.js @@ -1,13 +1,13 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -exports.ListLayersCommand = exports.$Command = void 0; +exports.GetInventoryCommand = exports.$Command = void 0; const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); const middleware_serde_1 = require("@smithy/middleware-serde"); const smithy_client_1 = require("@smithy/smithy-client"); Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); const types_1 = require("@smithy/types"); -const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); -class ListLayersCommand extends smithy_client_1.Command { +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class GetInventoryCommand extends smithy_client_1.Command { static getEndpointParameterInstructions() { return { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, @@ -22,11 +22,11 @@ class ListLayersCommand extends smithy_client_1.Command { } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListLayersCommand.getEndpointParameterInstructions())); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetInventoryCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "ListLayersCommand"; + const clientName = "SSMClient"; + const commandName = "GetInventoryCommand"; const handlerExecutionContext = { logger, clientName, @@ -34,18 +34,18 @@ class ListLayersCommand extends smithy_client_1.Command { inputFilterSensitiveLog: (_) => _, outputFilterSensitiveLog: (_) => _, [types_1.SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "ListLayers", + service: "AmazonSSM", + operation: "GetInventory", }, }; const { requestHandler } = configuration; return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_restJson1_1.se_ListLayersCommand)(input, context); + return (0, Aws_json1_1_1.se_GetInventoryCommand)(input, context); } deserialize(output, context) { - return (0, Aws_restJson1_1.de_ListLayersCommand)(output, context); + return (0, Aws_json1_1_1.de_GetInventoryCommand)(output, context); } } -exports.ListLayersCommand = ListLayersCommand; +exports.GetInventoryCommand = GetInventoryCommand; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/GetInventorySchemaCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/GetInventorySchemaCommand.js new file mode 100644 index 00000000..75358653 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/GetInventorySchemaCommand.js @@ -0,0 +1,51 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.GetInventorySchemaCommand = exports.$Command = void 0; +const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); +const middleware_serde_1 = require("@smithy/middleware-serde"); +const smithy_client_1 = require("@smithy/smithy-client"); +Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); +const types_1 = require("@smithy/types"); +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class GetInventorySchemaCommand extends smithy_client_1.Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetInventorySchemaCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "GetInventorySchemaCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [types_1.SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "GetInventorySchema", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return (0, Aws_json1_1_1.se_GetInventorySchemaCommand)(input, context); + } + deserialize(output, context) { + return (0, Aws_json1_1_1.de_GetInventorySchemaCommand)(output, context); + } +} +exports.GetInventorySchemaCommand = GetInventorySchemaCommand; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/GetMaintenanceWindowCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/GetMaintenanceWindowCommand.js new file mode 100644 index 00000000..c9c067d8 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/GetMaintenanceWindowCommand.js @@ -0,0 +1,52 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.GetMaintenanceWindowCommand = exports.$Command = void 0; +const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); +const middleware_serde_1 = require("@smithy/middleware-serde"); +const smithy_client_1 = require("@smithy/smithy-client"); +Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); +const types_1 = require("@smithy/types"); +const models_1_1 = require("../models/models_1"); +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class GetMaintenanceWindowCommand extends smithy_client_1.Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetMaintenanceWindowCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "GetMaintenanceWindowCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: models_1_1.GetMaintenanceWindowResultFilterSensitiveLog, + [types_1.SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "GetMaintenanceWindow", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return (0, Aws_json1_1_1.se_GetMaintenanceWindowCommand)(input, context); + } + deserialize(output, context) { + return (0, Aws_json1_1_1.de_GetMaintenanceWindowCommand)(output, context); + } +} +exports.GetMaintenanceWindowCommand = GetMaintenanceWindowCommand; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/GetMaintenanceWindowExecutionCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/GetMaintenanceWindowExecutionCommand.js new file mode 100644 index 00000000..31ccb433 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/GetMaintenanceWindowExecutionCommand.js @@ -0,0 +1,51 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.GetMaintenanceWindowExecutionCommand = exports.$Command = void 0; +const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); +const middleware_serde_1 = require("@smithy/middleware-serde"); +const smithy_client_1 = require("@smithy/smithy-client"); +Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); +const types_1 = require("@smithy/types"); +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class GetMaintenanceWindowExecutionCommand extends smithy_client_1.Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetMaintenanceWindowExecutionCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "GetMaintenanceWindowExecutionCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [types_1.SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "GetMaintenanceWindowExecution", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return (0, Aws_json1_1_1.se_GetMaintenanceWindowExecutionCommand)(input, context); + } + deserialize(output, context) { + return (0, Aws_json1_1_1.de_GetMaintenanceWindowExecutionCommand)(output, context); + } +} +exports.GetMaintenanceWindowExecutionCommand = GetMaintenanceWindowExecutionCommand; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/GetMaintenanceWindowExecutionTaskCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/GetMaintenanceWindowExecutionTaskCommand.js new file mode 100644 index 00000000..172d3a59 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/GetMaintenanceWindowExecutionTaskCommand.js @@ -0,0 +1,52 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.GetMaintenanceWindowExecutionTaskCommand = exports.$Command = void 0; +const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); +const middleware_serde_1 = require("@smithy/middleware-serde"); +const smithy_client_1 = require("@smithy/smithy-client"); +Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); +const types_1 = require("@smithy/types"); +const models_1_1 = require("../models/models_1"); +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class GetMaintenanceWindowExecutionTaskCommand extends smithy_client_1.Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetMaintenanceWindowExecutionTaskCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "GetMaintenanceWindowExecutionTaskCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: models_1_1.GetMaintenanceWindowExecutionTaskResultFilterSensitiveLog, + [types_1.SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "GetMaintenanceWindowExecutionTask", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return (0, Aws_json1_1_1.se_GetMaintenanceWindowExecutionTaskCommand)(input, context); + } + deserialize(output, context) { + return (0, Aws_json1_1_1.de_GetMaintenanceWindowExecutionTaskCommand)(output, context); + } +} +exports.GetMaintenanceWindowExecutionTaskCommand = GetMaintenanceWindowExecutionTaskCommand; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/GetMaintenanceWindowExecutionTaskInvocationCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/GetMaintenanceWindowExecutionTaskInvocationCommand.js new file mode 100644 index 00000000..4811e4f1 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/GetMaintenanceWindowExecutionTaskInvocationCommand.js @@ -0,0 +1,52 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.GetMaintenanceWindowExecutionTaskInvocationCommand = exports.$Command = void 0; +const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); +const middleware_serde_1 = require("@smithy/middleware-serde"); +const smithy_client_1 = require("@smithy/smithy-client"); +Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); +const types_1 = require("@smithy/types"); +const models_1_1 = require("../models/models_1"); +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class GetMaintenanceWindowExecutionTaskInvocationCommand extends smithy_client_1.Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetMaintenanceWindowExecutionTaskInvocationCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "GetMaintenanceWindowExecutionTaskInvocationCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: models_1_1.GetMaintenanceWindowExecutionTaskInvocationResultFilterSensitiveLog, + [types_1.SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "GetMaintenanceWindowExecutionTaskInvocation", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return (0, Aws_json1_1_1.se_GetMaintenanceWindowExecutionTaskInvocationCommand)(input, context); + } + deserialize(output, context) { + return (0, Aws_json1_1_1.de_GetMaintenanceWindowExecutionTaskInvocationCommand)(output, context); + } +} +exports.GetMaintenanceWindowExecutionTaskInvocationCommand = GetMaintenanceWindowExecutionTaskInvocationCommand; diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/CreateEventSourceMappingCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/GetMaintenanceWindowTaskCommand.js similarity index 67% rename from node_modules/@aws-sdk/client-lambda/dist-cjs/commands/CreateEventSourceMappingCommand.js rename to node_modules/@aws-sdk/client-ssm/dist-cjs/commands/GetMaintenanceWindowTaskCommand.js index 9d5d3d2d..be278ffc 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/CreateEventSourceMappingCommand.js +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/GetMaintenanceWindowTaskCommand.js @@ -1,13 +1,14 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -exports.CreateEventSourceMappingCommand = exports.$Command = void 0; +exports.GetMaintenanceWindowTaskCommand = exports.$Command = void 0; const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); const middleware_serde_1 = require("@smithy/middleware-serde"); const smithy_client_1 = require("@smithy/smithy-client"); Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); const types_1 = require("@smithy/types"); -const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); -class CreateEventSourceMappingCommand extends smithy_client_1.Command { +const models_1_1 = require("../models/models_1"); +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class GetMaintenanceWindowTaskCommand extends smithy_client_1.Command { static getEndpointParameterInstructions() { return { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, @@ -22,30 +23,30 @@ class CreateEventSourceMappingCommand extends smithy_client_1.Command { } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateEventSourceMappingCommand.getEndpointParameterInstructions())); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetMaintenanceWindowTaskCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "CreateEventSourceMappingCommand"; + const clientName = "SSMClient"; + const commandName = "GetMaintenanceWindowTaskCommand"; const handlerExecutionContext = { logger, clientName, commandName, inputFilterSensitiveLog: (_) => _, - outputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: models_1_1.GetMaintenanceWindowTaskResultFilterSensitiveLog, [types_1.SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "CreateEventSourceMapping", + service: "AmazonSSM", + operation: "GetMaintenanceWindowTask", }, }; const { requestHandler } = configuration; return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_restJson1_1.se_CreateEventSourceMappingCommand)(input, context); + return (0, Aws_json1_1_1.se_GetMaintenanceWindowTaskCommand)(input, context); } deserialize(output, context) { - return (0, Aws_restJson1_1.de_CreateEventSourceMappingCommand)(output, context); + return (0, Aws_json1_1_1.de_GetMaintenanceWindowTaskCommand)(output, context); } } -exports.CreateEventSourceMappingCommand = CreateEventSourceMappingCommand; +exports.GetMaintenanceWindowTaskCommand = GetMaintenanceWindowTaskCommand; diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/ListTagsCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/GetOpsItemCommand.js similarity index 74% rename from node_modules/@aws-sdk/client-lambda/dist-cjs/commands/ListTagsCommand.js rename to node_modules/@aws-sdk/client-ssm/dist-cjs/commands/GetOpsItemCommand.js index 4b5ca76d..a0ea4e76 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/ListTagsCommand.js +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/GetOpsItemCommand.js @@ -1,13 +1,13 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -exports.ListTagsCommand = exports.$Command = void 0; +exports.GetOpsItemCommand = exports.$Command = void 0; const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); const middleware_serde_1 = require("@smithy/middleware-serde"); const smithy_client_1 = require("@smithy/smithy-client"); Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); const types_1 = require("@smithy/types"); -const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); -class ListTagsCommand extends smithy_client_1.Command { +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class GetOpsItemCommand extends smithy_client_1.Command { static getEndpointParameterInstructions() { return { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, @@ -22,11 +22,11 @@ class ListTagsCommand extends smithy_client_1.Command { } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListTagsCommand.getEndpointParameterInstructions())); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetOpsItemCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "ListTagsCommand"; + const clientName = "SSMClient"; + const commandName = "GetOpsItemCommand"; const handlerExecutionContext = { logger, clientName, @@ -34,18 +34,18 @@ class ListTagsCommand extends smithy_client_1.Command { inputFilterSensitiveLog: (_) => _, outputFilterSensitiveLog: (_) => _, [types_1.SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "ListTags", + service: "AmazonSSM", + operation: "GetOpsItem", }, }; const { requestHandler } = configuration; return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_restJson1_1.se_ListTagsCommand)(input, context); + return (0, Aws_json1_1_1.se_GetOpsItemCommand)(input, context); } deserialize(output, context) { - return (0, Aws_restJson1_1.de_ListTagsCommand)(output, context); + return (0, Aws_json1_1_1.de_GetOpsItemCommand)(output, context); } } -exports.ListTagsCommand = ListTagsCommand; +exports.GetOpsItemCommand = GetOpsItemCommand; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/GetOpsMetadataCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/GetOpsMetadataCommand.js new file mode 100644 index 00000000..6e98ba29 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/GetOpsMetadataCommand.js @@ -0,0 +1,51 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.GetOpsMetadataCommand = exports.$Command = void 0; +const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); +const middleware_serde_1 = require("@smithy/middleware-serde"); +const smithy_client_1 = require("@smithy/smithy-client"); +Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); +const types_1 = require("@smithy/types"); +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class GetOpsMetadataCommand extends smithy_client_1.Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetOpsMetadataCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "GetOpsMetadataCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [types_1.SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "GetOpsMetadata", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return (0, Aws_json1_1_1.se_GetOpsMetadataCommand)(input, context); + } + deserialize(output, context) { + return (0, Aws_json1_1_1.de_GetOpsMetadataCommand)(output, context); + } +} +exports.GetOpsMetadataCommand = GetOpsMetadataCommand; diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/DeleteAliasCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/GetOpsSummaryCommand.js similarity index 74% rename from node_modules/@aws-sdk/client-lambda/dist-cjs/commands/DeleteAliasCommand.js rename to node_modules/@aws-sdk/client-ssm/dist-cjs/commands/GetOpsSummaryCommand.js index 342421b5..a7b93344 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/DeleteAliasCommand.js +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/GetOpsSummaryCommand.js @@ -1,13 +1,13 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -exports.DeleteAliasCommand = exports.$Command = void 0; +exports.GetOpsSummaryCommand = exports.$Command = void 0; const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); const middleware_serde_1 = require("@smithy/middleware-serde"); const smithy_client_1 = require("@smithy/smithy-client"); Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); const types_1 = require("@smithy/types"); -const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); -class DeleteAliasCommand extends smithy_client_1.Command { +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class GetOpsSummaryCommand extends smithy_client_1.Command { static getEndpointParameterInstructions() { return { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, @@ -22,11 +22,11 @@ class DeleteAliasCommand extends smithy_client_1.Command { } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteAliasCommand.getEndpointParameterInstructions())); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetOpsSummaryCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "DeleteAliasCommand"; + const clientName = "SSMClient"; + const commandName = "GetOpsSummaryCommand"; const handlerExecutionContext = { logger, clientName, @@ -34,18 +34,18 @@ class DeleteAliasCommand extends smithy_client_1.Command { inputFilterSensitiveLog: (_) => _, outputFilterSensitiveLog: (_) => _, [types_1.SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "DeleteAlias", + service: "AmazonSSM", + operation: "GetOpsSummary", }, }; const { requestHandler } = configuration; return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_restJson1_1.se_DeleteAliasCommand)(input, context); + return (0, Aws_json1_1_1.se_GetOpsSummaryCommand)(input, context); } deserialize(output, context) { - return (0, Aws_restJson1_1.de_DeleteAliasCommand)(output, context); + return (0, Aws_json1_1_1.de_GetOpsSummaryCommand)(output, context); } } -exports.DeleteAliasCommand = DeleteAliasCommand; +exports.GetOpsSummaryCommand = GetOpsSummaryCommand; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/GetParameterCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/GetParameterCommand.js new file mode 100644 index 00000000..7d09f077 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/GetParameterCommand.js @@ -0,0 +1,52 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.GetParameterCommand = exports.$Command = void 0; +const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); +const middleware_serde_1 = require("@smithy/middleware-serde"); +const smithy_client_1 = require("@smithy/smithy-client"); +Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); +const types_1 = require("@smithy/types"); +const models_1_1 = require("../models/models_1"); +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class GetParameterCommand extends smithy_client_1.Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetParameterCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "GetParameterCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: models_1_1.GetParameterResultFilterSensitiveLog, + [types_1.SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "GetParameter", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return (0, Aws_json1_1_1.se_GetParameterCommand)(input, context); + } + deserialize(output, context) { + return (0, Aws_json1_1_1.de_GetParameterCommand)(output, context); + } +} +exports.GetParameterCommand = GetParameterCommand; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/GetParameterHistoryCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/GetParameterHistoryCommand.js new file mode 100644 index 00000000..8a3974a3 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/GetParameterHistoryCommand.js @@ -0,0 +1,52 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.GetParameterHistoryCommand = exports.$Command = void 0; +const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); +const middleware_serde_1 = require("@smithy/middleware-serde"); +const smithy_client_1 = require("@smithy/smithy-client"); +Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); +const types_1 = require("@smithy/types"); +const models_1_1 = require("../models/models_1"); +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class GetParameterHistoryCommand extends smithy_client_1.Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetParameterHistoryCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "GetParameterHistoryCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: models_1_1.GetParameterHistoryResultFilterSensitiveLog, + [types_1.SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "GetParameterHistory", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return (0, Aws_json1_1_1.se_GetParameterHistoryCommand)(input, context); + } + deserialize(output, context) { + return (0, Aws_json1_1_1.de_GetParameterHistoryCommand)(output, context); + } +} +exports.GetParameterHistoryCommand = GetParameterHistoryCommand; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/GetParametersByPathCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/GetParametersByPathCommand.js new file mode 100644 index 00000000..7dd82ad7 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/GetParametersByPathCommand.js @@ -0,0 +1,52 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.GetParametersByPathCommand = exports.$Command = void 0; +const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); +const middleware_serde_1 = require("@smithy/middleware-serde"); +const smithy_client_1 = require("@smithy/smithy-client"); +Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); +const types_1 = require("@smithy/types"); +const models_1_1 = require("../models/models_1"); +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class GetParametersByPathCommand extends smithy_client_1.Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetParametersByPathCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "GetParametersByPathCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: models_1_1.GetParametersByPathResultFilterSensitiveLog, + [types_1.SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "GetParametersByPath", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return (0, Aws_json1_1_1.se_GetParametersByPathCommand)(input, context); + } + deserialize(output, context) { + return (0, Aws_json1_1_1.de_GetParametersByPathCommand)(output, context); + } +} +exports.GetParametersByPathCommand = GetParametersByPathCommand; diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/GetFunctionCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/GetParametersCommand.js similarity index 69% rename from node_modules/@aws-sdk/client-lambda/dist-cjs/commands/GetFunctionCommand.js rename to node_modules/@aws-sdk/client-ssm/dist-cjs/commands/GetParametersCommand.js index da63456e..92e71c4c 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/GetFunctionCommand.js +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/GetParametersCommand.js @@ -1,14 +1,14 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -exports.GetFunctionCommand = exports.$Command = void 0; +exports.GetParametersCommand = exports.$Command = void 0; const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); const middleware_serde_1 = require("@smithy/middleware-serde"); const smithy_client_1 = require("@smithy/smithy-client"); Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); const types_1 = require("@smithy/types"); -const models_0_1 = require("../models/models_0"); -const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); -class GetFunctionCommand extends smithy_client_1.Command { +const models_1_1 = require("../models/models_1"); +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class GetParametersCommand extends smithy_client_1.Command { static getEndpointParameterInstructions() { return { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, @@ -23,30 +23,30 @@ class GetFunctionCommand extends smithy_client_1.Command { } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetFunctionCommand.getEndpointParameterInstructions())); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetParametersCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "GetFunctionCommand"; + const clientName = "SSMClient"; + const commandName = "GetParametersCommand"; const handlerExecutionContext = { logger, clientName, commandName, inputFilterSensitiveLog: (_) => _, - outputFilterSensitiveLog: models_0_1.GetFunctionResponseFilterSensitiveLog, + outputFilterSensitiveLog: models_1_1.GetParametersResultFilterSensitiveLog, [types_1.SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "GetFunction", + service: "AmazonSSM", + operation: "GetParameters", }, }; const { requestHandler } = configuration; return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_restJson1_1.se_GetFunctionCommand)(input, context); + return (0, Aws_json1_1_1.se_GetParametersCommand)(input, context); } deserialize(output, context) { - return (0, Aws_restJson1_1.de_GetFunctionCommand)(output, context); + return (0, Aws_json1_1_1.de_GetParametersCommand)(output, context); } } -exports.GetFunctionCommand = GetFunctionCommand; +exports.GetParametersCommand = GetParametersCommand; diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/PublishVersionCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/GetPatchBaselineCommand.js similarity index 69% rename from node_modules/@aws-sdk/client-lambda/dist-cjs/commands/PublishVersionCommand.js rename to node_modules/@aws-sdk/client-ssm/dist-cjs/commands/GetPatchBaselineCommand.js index e747d514..8c495975 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/PublishVersionCommand.js +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/GetPatchBaselineCommand.js @@ -1,14 +1,14 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -exports.PublishVersionCommand = exports.$Command = void 0; +exports.GetPatchBaselineCommand = exports.$Command = void 0; const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); const middleware_serde_1 = require("@smithy/middleware-serde"); const smithy_client_1 = require("@smithy/smithy-client"); Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); const types_1 = require("@smithy/types"); -const models_0_1 = require("../models/models_0"); -const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); -class PublishVersionCommand extends smithy_client_1.Command { +const models_1_1 = require("../models/models_1"); +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class GetPatchBaselineCommand extends smithy_client_1.Command { static getEndpointParameterInstructions() { return { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, @@ -23,30 +23,30 @@ class PublishVersionCommand extends smithy_client_1.Command { } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, PublishVersionCommand.getEndpointParameterInstructions())); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetPatchBaselineCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "PublishVersionCommand"; + const clientName = "SSMClient"; + const commandName = "GetPatchBaselineCommand"; const handlerExecutionContext = { logger, clientName, commandName, inputFilterSensitiveLog: (_) => _, - outputFilterSensitiveLog: models_0_1.FunctionConfigurationFilterSensitiveLog, + outputFilterSensitiveLog: models_1_1.GetPatchBaselineResultFilterSensitiveLog, [types_1.SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "PublishVersion", + service: "AmazonSSM", + operation: "GetPatchBaseline", }, }; const { requestHandler } = configuration; return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_restJson1_1.se_PublishVersionCommand)(input, context); + return (0, Aws_json1_1_1.se_GetPatchBaselineCommand)(input, context); } deserialize(output, context) { - return (0, Aws_restJson1_1.de_PublishVersionCommand)(output, context); + return (0, Aws_json1_1_1.de_GetPatchBaselineCommand)(output, context); } } -exports.PublishVersionCommand = PublishVersionCommand; +exports.GetPatchBaselineCommand = GetPatchBaselineCommand; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/GetPatchBaselineForPatchGroupCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/GetPatchBaselineForPatchGroupCommand.js new file mode 100644 index 00000000..e798c141 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/GetPatchBaselineForPatchGroupCommand.js @@ -0,0 +1,51 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.GetPatchBaselineForPatchGroupCommand = exports.$Command = void 0; +const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); +const middleware_serde_1 = require("@smithy/middleware-serde"); +const smithy_client_1 = require("@smithy/smithy-client"); +Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); +const types_1 = require("@smithy/types"); +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class GetPatchBaselineForPatchGroupCommand extends smithy_client_1.Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetPatchBaselineForPatchGroupCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "GetPatchBaselineForPatchGroupCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [types_1.SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "GetPatchBaselineForPatchGroup", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return (0, Aws_json1_1_1.se_GetPatchBaselineForPatchGroupCommand)(input, context); + } + deserialize(output, context) { + return (0, Aws_json1_1_1.de_GetPatchBaselineForPatchGroupCommand)(output, context); + } +} +exports.GetPatchBaselineForPatchGroupCommand = GetPatchBaselineForPatchGroupCommand; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/GetResourcePoliciesCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/GetResourcePoliciesCommand.js new file mode 100644 index 00000000..0b6a2a8b --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/GetResourcePoliciesCommand.js @@ -0,0 +1,51 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.GetResourcePoliciesCommand = exports.$Command = void 0; +const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); +const middleware_serde_1 = require("@smithy/middleware-serde"); +const smithy_client_1 = require("@smithy/smithy-client"); +Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); +const types_1 = require("@smithy/types"); +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class GetResourcePoliciesCommand extends smithy_client_1.Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetResourcePoliciesCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "GetResourcePoliciesCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [types_1.SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "GetResourcePolicies", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return (0, Aws_json1_1_1.se_GetResourcePoliciesCommand)(input, context); + } + deserialize(output, context) { + return (0, Aws_json1_1_1.de_GetResourcePoliciesCommand)(output, context); + } +} +exports.GetResourcePoliciesCommand = GetResourcePoliciesCommand; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/GetServiceSettingCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/GetServiceSettingCommand.js new file mode 100644 index 00000000..8693de6e --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/GetServiceSettingCommand.js @@ -0,0 +1,51 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.GetServiceSettingCommand = exports.$Command = void 0; +const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); +const middleware_serde_1 = require("@smithy/middleware-serde"); +const smithy_client_1 = require("@smithy/smithy-client"); +Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); +const types_1 = require("@smithy/types"); +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class GetServiceSettingCommand extends smithy_client_1.Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetServiceSettingCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "GetServiceSettingCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [types_1.SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "GetServiceSetting", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return (0, Aws_json1_1_1.se_GetServiceSettingCommand)(input, context); + } + deserialize(output, context) { + return (0, Aws_json1_1_1.de_GetServiceSettingCommand)(output, context); + } +} +exports.GetServiceSettingCommand = GetServiceSettingCommand; diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/GetEventSourceMappingCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/LabelParameterVersionCommand.js similarity index 72% rename from node_modules/@aws-sdk/client-lambda/dist-cjs/commands/GetEventSourceMappingCommand.js rename to node_modules/@aws-sdk/client-ssm/dist-cjs/commands/LabelParameterVersionCommand.js index c8e1bafc..38599c7e 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/GetEventSourceMappingCommand.js +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/LabelParameterVersionCommand.js @@ -1,13 +1,13 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -exports.GetEventSourceMappingCommand = exports.$Command = void 0; +exports.LabelParameterVersionCommand = exports.$Command = void 0; const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); const middleware_serde_1 = require("@smithy/middleware-serde"); const smithy_client_1 = require("@smithy/smithy-client"); Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); const types_1 = require("@smithy/types"); -const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); -class GetEventSourceMappingCommand extends smithy_client_1.Command { +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class LabelParameterVersionCommand extends smithy_client_1.Command { static getEndpointParameterInstructions() { return { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, @@ -22,11 +22,11 @@ class GetEventSourceMappingCommand extends smithy_client_1.Command { } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetEventSourceMappingCommand.getEndpointParameterInstructions())); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, LabelParameterVersionCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "GetEventSourceMappingCommand"; + const clientName = "SSMClient"; + const commandName = "LabelParameterVersionCommand"; const handlerExecutionContext = { logger, clientName, @@ -34,18 +34,18 @@ class GetEventSourceMappingCommand extends smithy_client_1.Command { inputFilterSensitiveLog: (_) => _, outputFilterSensitiveLog: (_) => _, [types_1.SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "GetEventSourceMapping", + service: "AmazonSSM", + operation: "LabelParameterVersion", }, }; const { requestHandler } = configuration; return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_restJson1_1.se_GetEventSourceMappingCommand)(input, context); + return (0, Aws_json1_1_1.se_LabelParameterVersionCommand)(input, context); } deserialize(output, context) { - return (0, Aws_restJson1_1.de_GetEventSourceMappingCommand)(output, context); + return (0, Aws_json1_1_1.de_LabelParameterVersionCommand)(output, context); } } -exports.GetEventSourceMappingCommand = GetEventSourceMappingCommand; +exports.LabelParameterVersionCommand = LabelParameterVersionCommand; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/ListAssociationVersionsCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/ListAssociationVersionsCommand.js new file mode 100644 index 00000000..efb070d5 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/ListAssociationVersionsCommand.js @@ -0,0 +1,52 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ListAssociationVersionsCommand = exports.$Command = void 0; +const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); +const middleware_serde_1 = require("@smithy/middleware-serde"); +const smithy_client_1 = require("@smithy/smithy-client"); +Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); +const types_1 = require("@smithy/types"); +const models_1_1 = require("../models/models_1"); +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class ListAssociationVersionsCommand extends smithy_client_1.Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListAssociationVersionsCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "ListAssociationVersionsCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: models_1_1.ListAssociationVersionsResultFilterSensitiveLog, + [types_1.SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "ListAssociationVersions", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return (0, Aws_json1_1_1.se_ListAssociationVersionsCommand)(input, context); + } + deserialize(output, context) { + return (0, Aws_json1_1_1.de_ListAssociationVersionsCommand)(output, context); + } +} +exports.ListAssociationVersionsCommand = ListAssociationVersionsCommand; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/ListAssociationsCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/ListAssociationsCommand.js new file mode 100644 index 00000000..00ace671 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/ListAssociationsCommand.js @@ -0,0 +1,51 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ListAssociationsCommand = exports.$Command = void 0; +const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); +const middleware_serde_1 = require("@smithy/middleware-serde"); +const smithy_client_1 = require("@smithy/smithy-client"); +Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); +const types_1 = require("@smithy/types"); +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class ListAssociationsCommand extends smithy_client_1.Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListAssociationsCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "ListAssociationsCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [types_1.SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "ListAssociations", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return (0, Aws_json1_1_1.se_ListAssociationsCommand)(input, context); + } + deserialize(output, context) { + return (0, Aws_json1_1_1.de_ListAssociationsCommand)(output, context); + } +} +exports.ListAssociationsCommand = ListAssociationsCommand; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/ListCommandInvocationsCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/ListCommandInvocationsCommand.js new file mode 100644 index 00000000..c1476ae5 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/ListCommandInvocationsCommand.js @@ -0,0 +1,51 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ListCommandInvocationsCommand = exports.$Command = void 0; +const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); +const middleware_serde_1 = require("@smithy/middleware-serde"); +const smithy_client_1 = require("@smithy/smithy-client"); +Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); +const types_1 = require("@smithy/types"); +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class ListCommandInvocationsCommand extends smithy_client_1.Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListCommandInvocationsCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "ListCommandInvocationsCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [types_1.SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "ListCommandInvocations", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return (0, Aws_json1_1_1.se_ListCommandInvocationsCommand)(input, context); + } + deserialize(output, context) { + return (0, Aws_json1_1_1.de_ListCommandInvocationsCommand)(output, context); + } +} +exports.ListCommandInvocationsCommand = ListCommandInvocationsCommand; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/ListCommandsCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/ListCommandsCommand.js new file mode 100644 index 00000000..d96b8b29 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/ListCommandsCommand.js @@ -0,0 +1,52 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ListCommandsCommand = exports.$Command = void 0; +const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); +const middleware_serde_1 = require("@smithy/middleware-serde"); +const smithy_client_1 = require("@smithy/smithy-client"); +Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); +const types_1 = require("@smithy/types"); +const models_1_1 = require("../models/models_1"); +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class ListCommandsCommand extends smithy_client_1.Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListCommandsCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "ListCommandsCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: models_1_1.ListCommandsResultFilterSensitiveLog, + [types_1.SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "ListCommands", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return (0, Aws_json1_1_1.se_ListCommandsCommand)(input, context); + } + deserialize(output, context) { + return (0, Aws_json1_1_1.de_ListCommandsCommand)(output, context); + } +} +exports.ListCommandsCommand = ListCommandsCommand; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/ListComplianceItemsCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/ListComplianceItemsCommand.js new file mode 100644 index 00000000..8055a797 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/ListComplianceItemsCommand.js @@ -0,0 +1,51 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ListComplianceItemsCommand = exports.$Command = void 0; +const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); +const middleware_serde_1 = require("@smithy/middleware-serde"); +const smithy_client_1 = require("@smithy/smithy-client"); +Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); +const types_1 = require("@smithy/types"); +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class ListComplianceItemsCommand extends smithy_client_1.Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListComplianceItemsCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "ListComplianceItemsCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [types_1.SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "ListComplianceItems", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return (0, Aws_json1_1_1.se_ListComplianceItemsCommand)(input, context); + } + deserialize(output, context) { + return (0, Aws_json1_1_1.de_ListComplianceItemsCommand)(output, context); + } +} +exports.ListComplianceItemsCommand = ListComplianceItemsCommand; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/ListComplianceSummariesCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/ListComplianceSummariesCommand.js new file mode 100644 index 00000000..b12cea93 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/ListComplianceSummariesCommand.js @@ -0,0 +1,51 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ListComplianceSummariesCommand = exports.$Command = void 0; +const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); +const middleware_serde_1 = require("@smithy/middleware-serde"); +const smithy_client_1 = require("@smithy/smithy-client"); +Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); +const types_1 = require("@smithy/types"); +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class ListComplianceSummariesCommand extends smithy_client_1.Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListComplianceSummariesCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "ListComplianceSummariesCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [types_1.SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "ListComplianceSummaries", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return (0, Aws_json1_1_1.se_ListComplianceSummariesCommand)(input, context); + } + deserialize(output, context) { + return (0, Aws_json1_1_1.de_ListComplianceSummariesCommand)(output, context); + } +} +exports.ListComplianceSummariesCommand = ListComplianceSummariesCommand; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/ListDocumentMetadataHistoryCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/ListDocumentMetadataHistoryCommand.js new file mode 100644 index 00000000..a9fbf99d --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/ListDocumentMetadataHistoryCommand.js @@ -0,0 +1,51 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ListDocumentMetadataHistoryCommand = exports.$Command = void 0; +const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); +const middleware_serde_1 = require("@smithy/middleware-serde"); +const smithy_client_1 = require("@smithy/smithy-client"); +Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); +const types_1 = require("@smithy/types"); +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class ListDocumentMetadataHistoryCommand extends smithy_client_1.Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListDocumentMetadataHistoryCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "ListDocumentMetadataHistoryCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [types_1.SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "ListDocumentMetadataHistory", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return (0, Aws_json1_1_1.se_ListDocumentMetadataHistoryCommand)(input, context); + } + deserialize(output, context) { + return (0, Aws_json1_1_1.de_ListDocumentMetadataHistoryCommand)(output, context); + } +} +exports.ListDocumentMetadataHistoryCommand = ListDocumentMetadataHistoryCommand; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/ListDocumentVersionsCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/ListDocumentVersionsCommand.js new file mode 100644 index 00000000..9908f804 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/ListDocumentVersionsCommand.js @@ -0,0 +1,51 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ListDocumentVersionsCommand = exports.$Command = void 0; +const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); +const middleware_serde_1 = require("@smithy/middleware-serde"); +const smithy_client_1 = require("@smithy/smithy-client"); +Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); +const types_1 = require("@smithy/types"); +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class ListDocumentVersionsCommand extends smithy_client_1.Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListDocumentVersionsCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "ListDocumentVersionsCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [types_1.SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "ListDocumentVersions", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return (0, Aws_json1_1_1.se_ListDocumentVersionsCommand)(input, context); + } + deserialize(output, context) { + return (0, Aws_json1_1_1.de_ListDocumentVersionsCommand)(output, context); + } +} +exports.ListDocumentVersionsCommand = ListDocumentVersionsCommand; diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/ListAliasesCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/ListDocumentsCommand.js similarity index 74% rename from node_modules/@aws-sdk/client-lambda/dist-cjs/commands/ListAliasesCommand.js rename to node_modules/@aws-sdk/client-ssm/dist-cjs/commands/ListDocumentsCommand.js index a591f92d..cece56b5 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/ListAliasesCommand.js +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/ListDocumentsCommand.js @@ -1,13 +1,13 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -exports.ListAliasesCommand = exports.$Command = void 0; +exports.ListDocumentsCommand = exports.$Command = void 0; const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); const middleware_serde_1 = require("@smithy/middleware-serde"); const smithy_client_1 = require("@smithy/smithy-client"); Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); const types_1 = require("@smithy/types"); -const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); -class ListAliasesCommand extends smithy_client_1.Command { +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class ListDocumentsCommand extends smithy_client_1.Command { static getEndpointParameterInstructions() { return { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, @@ -22,11 +22,11 @@ class ListAliasesCommand extends smithy_client_1.Command { } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListAliasesCommand.getEndpointParameterInstructions())); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListDocumentsCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "ListAliasesCommand"; + const clientName = "SSMClient"; + const commandName = "ListDocumentsCommand"; const handlerExecutionContext = { logger, clientName, @@ -34,18 +34,18 @@ class ListAliasesCommand extends smithy_client_1.Command { inputFilterSensitiveLog: (_) => _, outputFilterSensitiveLog: (_) => _, [types_1.SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "ListAliases", + service: "AmazonSSM", + operation: "ListDocuments", }, }; const { requestHandler } = configuration; return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_restJson1_1.se_ListAliasesCommand)(input, context); + return (0, Aws_json1_1_1.se_ListDocumentsCommand)(input, context); } deserialize(output, context) { - return (0, Aws_restJson1_1.de_ListAliasesCommand)(output, context); + return (0, Aws_json1_1_1.de_ListDocumentsCommand)(output, context); } } -exports.ListAliasesCommand = ListAliasesCommand; +exports.ListDocumentsCommand = ListDocumentsCommand; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/ListInventoryEntriesCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/ListInventoryEntriesCommand.js new file mode 100644 index 00000000..966e8106 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/ListInventoryEntriesCommand.js @@ -0,0 +1,51 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ListInventoryEntriesCommand = exports.$Command = void 0; +const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); +const middleware_serde_1 = require("@smithy/middleware-serde"); +const smithy_client_1 = require("@smithy/smithy-client"); +Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); +const types_1 = require("@smithy/types"); +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class ListInventoryEntriesCommand extends smithy_client_1.Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListInventoryEntriesCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "ListInventoryEntriesCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [types_1.SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "ListInventoryEntries", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return (0, Aws_json1_1_1.se_ListInventoryEntriesCommand)(input, context); + } + deserialize(output, context) { + return (0, Aws_json1_1_1.de_ListInventoryEntriesCommand)(output, context); + } +} +exports.ListInventoryEntriesCommand = ListInventoryEntriesCommand; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/ListOpsItemEventsCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/ListOpsItemEventsCommand.js new file mode 100644 index 00000000..a34c71df --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/ListOpsItemEventsCommand.js @@ -0,0 +1,51 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ListOpsItemEventsCommand = exports.$Command = void 0; +const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); +const middleware_serde_1 = require("@smithy/middleware-serde"); +const smithy_client_1 = require("@smithy/smithy-client"); +Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); +const types_1 = require("@smithy/types"); +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class ListOpsItemEventsCommand extends smithy_client_1.Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListOpsItemEventsCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "ListOpsItemEventsCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [types_1.SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "ListOpsItemEvents", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return (0, Aws_json1_1_1.se_ListOpsItemEventsCommand)(input, context); + } + deserialize(output, context) { + return (0, Aws_json1_1_1.de_ListOpsItemEventsCommand)(output, context); + } +} +exports.ListOpsItemEventsCommand = ListOpsItemEventsCommand; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/ListOpsItemRelatedItemsCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/ListOpsItemRelatedItemsCommand.js new file mode 100644 index 00000000..59276cd4 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/ListOpsItemRelatedItemsCommand.js @@ -0,0 +1,51 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ListOpsItemRelatedItemsCommand = exports.$Command = void 0; +const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); +const middleware_serde_1 = require("@smithy/middleware-serde"); +const smithy_client_1 = require("@smithy/smithy-client"); +Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); +const types_1 = require("@smithy/types"); +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class ListOpsItemRelatedItemsCommand extends smithy_client_1.Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListOpsItemRelatedItemsCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "ListOpsItemRelatedItemsCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [types_1.SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "ListOpsItemRelatedItems", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return (0, Aws_json1_1_1.se_ListOpsItemRelatedItemsCommand)(input, context); + } + deserialize(output, context) { + return (0, Aws_json1_1_1.de_ListOpsItemRelatedItemsCommand)(output, context); + } +} +exports.ListOpsItemRelatedItemsCommand = ListOpsItemRelatedItemsCommand; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/ListOpsMetadataCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/ListOpsMetadataCommand.js new file mode 100644 index 00000000..275e773e --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/ListOpsMetadataCommand.js @@ -0,0 +1,51 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ListOpsMetadataCommand = exports.$Command = void 0; +const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); +const middleware_serde_1 = require("@smithy/middleware-serde"); +const smithy_client_1 = require("@smithy/smithy-client"); +Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); +const types_1 = require("@smithy/types"); +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class ListOpsMetadataCommand extends smithy_client_1.Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListOpsMetadataCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "ListOpsMetadataCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [types_1.SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "ListOpsMetadata", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return (0, Aws_json1_1_1.se_ListOpsMetadataCommand)(input, context); + } + deserialize(output, context) { + return (0, Aws_json1_1_1.de_ListOpsMetadataCommand)(output, context); + } +} +exports.ListOpsMetadataCommand = ListOpsMetadataCommand; diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/DeleteFunctionCodeSigningConfigCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/ListResourceComplianceSummariesCommand.js similarity index 71% rename from node_modules/@aws-sdk/client-lambda/dist-cjs/commands/DeleteFunctionCodeSigningConfigCommand.js rename to node_modules/@aws-sdk/client-ssm/dist-cjs/commands/ListResourceComplianceSummariesCommand.js index 0d5049ee..9166def1 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/DeleteFunctionCodeSigningConfigCommand.js +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/ListResourceComplianceSummariesCommand.js @@ -1,13 +1,13 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -exports.DeleteFunctionCodeSigningConfigCommand = exports.$Command = void 0; +exports.ListResourceComplianceSummariesCommand = exports.$Command = void 0; const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); const middleware_serde_1 = require("@smithy/middleware-serde"); const smithy_client_1 = require("@smithy/smithy-client"); Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); const types_1 = require("@smithy/types"); -const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); -class DeleteFunctionCodeSigningConfigCommand extends smithy_client_1.Command { +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class ListResourceComplianceSummariesCommand extends smithy_client_1.Command { static getEndpointParameterInstructions() { return { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, @@ -22,11 +22,11 @@ class DeleteFunctionCodeSigningConfigCommand extends smithy_client_1.Command { } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteFunctionCodeSigningConfigCommand.getEndpointParameterInstructions())); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListResourceComplianceSummariesCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "DeleteFunctionCodeSigningConfigCommand"; + const clientName = "SSMClient"; + const commandName = "ListResourceComplianceSummariesCommand"; const handlerExecutionContext = { logger, clientName, @@ -34,18 +34,18 @@ class DeleteFunctionCodeSigningConfigCommand extends smithy_client_1.Command { inputFilterSensitiveLog: (_) => _, outputFilterSensitiveLog: (_) => _, [types_1.SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "DeleteFunctionCodeSigningConfig", + service: "AmazonSSM", + operation: "ListResourceComplianceSummaries", }, }; const { requestHandler } = configuration; return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_restJson1_1.se_DeleteFunctionCodeSigningConfigCommand)(input, context); + return (0, Aws_json1_1_1.se_ListResourceComplianceSummariesCommand)(input, context); } deserialize(output, context) { - return (0, Aws_restJson1_1.de_DeleteFunctionCodeSigningConfigCommand)(output, context); + return (0, Aws_json1_1_1.de_ListResourceComplianceSummariesCommand)(output, context); } } -exports.DeleteFunctionCodeSigningConfigCommand = DeleteFunctionCodeSigningConfigCommand; +exports.ListResourceComplianceSummariesCommand = ListResourceComplianceSummariesCommand; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/ListResourceDataSyncCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/ListResourceDataSyncCommand.js new file mode 100644 index 00000000..d9919767 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/ListResourceDataSyncCommand.js @@ -0,0 +1,51 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ListResourceDataSyncCommand = exports.$Command = void 0; +const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); +const middleware_serde_1 = require("@smithy/middleware-serde"); +const smithy_client_1 = require("@smithy/smithy-client"); +Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); +const types_1 = require("@smithy/types"); +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class ListResourceDataSyncCommand extends smithy_client_1.Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListResourceDataSyncCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "ListResourceDataSyncCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [types_1.SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "ListResourceDataSync", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return (0, Aws_json1_1_1.se_ListResourceDataSyncCommand)(input, context); + } + deserialize(output, context) { + return (0, Aws_json1_1_1.de_ListResourceDataSyncCommand)(output, context); + } +} +exports.ListResourceDataSyncCommand = ListResourceDataSyncCommand; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/ListTagsForResourceCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/ListTagsForResourceCommand.js new file mode 100644 index 00000000..2ea81130 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/ListTagsForResourceCommand.js @@ -0,0 +1,51 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ListTagsForResourceCommand = exports.$Command = void 0; +const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); +const middleware_serde_1 = require("@smithy/middleware-serde"); +const smithy_client_1 = require("@smithy/smithy-client"); +Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); +const types_1 = require("@smithy/types"); +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class ListTagsForResourceCommand extends smithy_client_1.Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListTagsForResourceCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "ListTagsForResourceCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [types_1.SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "ListTagsForResource", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return (0, Aws_json1_1_1.se_ListTagsForResourceCommand)(input, context); + } + deserialize(output, context) { + return (0, Aws_json1_1_1.de_ListTagsForResourceCommand)(output, context); + } +} +exports.ListTagsForResourceCommand = ListTagsForResourceCommand; diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/ListCodeSigningConfigsCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/ModifyDocumentPermissionCommand.js similarity index 72% rename from node_modules/@aws-sdk/client-lambda/dist-cjs/commands/ListCodeSigningConfigsCommand.js rename to node_modules/@aws-sdk/client-ssm/dist-cjs/commands/ModifyDocumentPermissionCommand.js index dccda2b3..fdb9098a 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/ListCodeSigningConfigsCommand.js +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/ModifyDocumentPermissionCommand.js @@ -1,13 +1,13 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -exports.ListCodeSigningConfigsCommand = exports.$Command = void 0; +exports.ModifyDocumentPermissionCommand = exports.$Command = void 0; const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); const middleware_serde_1 = require("@smithy/middleware-serde"); const smithy_client_1 = require("@smithy/smithy-client"); Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); const types_1 = require("@smithy/types"); -const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); -class ListCodeSigningConfigsCommand extends smithy_client_1.Command { +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class ModifyDocumentPermissionCommand extends smithy_client_1.Command { static getEndpointParameterInstructions() { return { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, @@ -22,11 +22,11 @@ class ListCodeSigningConfigsCommand extends smithy_client_1.Command { } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListCodeSigningConfigsCommand.getEndpointParameterInstructions())); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ModifyDocumentPermissionCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "ListCodeSigningConfigsCommand"; + const clientName = "SSMClient"; + const commandName = "ModifyDocumentPermissionCommand"; const handlerExecutionContext = { logger, clientName, @@ -34,18 +34,18 @@ class ListCodeSigningConfigsCommand extends smithy_client_1.Command { inputFilterSensitiveLog: (_) => _, outputFilterSensitiveLog: (_) => _, [types_1.SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "ListCodeSigningConfigs", + service: "AmazonSSM", + operation: "ModifyDocumentPermission", }, }; const { requestHandler } = configuration; return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_restJson1_1.se_ListCodeSigningConfigsCommand)(input, context); + return (0, Aws_json1_1_1.se_ModifyDocumentPermissionCommand)(input, context); } deserialize(output, context) { - return (0, Aws_restJson1_1.de_ListCodeSigningConfigsCommand)(output, context); + return (0, Aws_json1_1_1.de_ModifyDocumentPermissionCommand)(output, context); } } -exports.ListCodeSigningConfigsCommand = ListCodeSigningConfigsCommand; +exports.ModifyDocumentPermissionCommand = ModifyDocumentPermissionCommand; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/PutComplianceItemsCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/PutComplianceItemsCommand.js new file mode 100644 index 00000000..96f9534f --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/PutComplianceItemsCommand.js @@ -0,0 +1,51 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PutComplianceItemsCommand = exports.$Command = void 0; +const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); +const middleware_serde_1 = require("@smithy/middleware-serde"); +const smithy_client_1 = require("@smithy/smithy-client"); +Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); +const types_1 = require("@smithy/types"); +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class PutComplianceItemsCommand extends smithy_client_1.Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, PutComplianceItemsCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "PutComplianceItemsCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [types_1.SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "PutComplianceItems", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return (0, Aws_json1_1_1.se_PutComplianceItemsCommand)(input, context); + } + deserialize(output, context) { + return (0, Aws_json1_1_1.de_PutComplianceItemsCommand)(output, context); + } +} +exports.PutComplianceItemsCommand = PutComplianceItemsCommand; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/PutInventoryCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/PutInventoryCommand.js new file mode 100644 index 00000000..ff233af0 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/PutInventoryCommand.js @@ -0,0 +1,51 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PutInventoryCommand = exports.$Command = void 0; +const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); +const middleware_serde_1 = require("@smithy/middleware-serde"); +const smithy_client_1 = require("@smithy/smithy-client"); +Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); +const types_1 = require("@smithy/types"); +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class PutInventoryCommand extends smithy_client_1.Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, PutInventoryCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "PutInventoryCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [types_1.SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "PutInventory", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return (0, Aws_json1_1_1.se_PutInventoryCommand)(input, context); + } + deserialize(output, context) { + return (0, Aws_json1_1_1.de_PutInventoryCommand)(output, context); + } +} +exports.PutInventoryCommand = PutInventoryCommand; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/PutParameterCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/PutParameterCommand.js new file mode 100644 index 00000000..abce8c9b --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/PutParameterCommand.js @@ -0,0 +1,52 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PutParameterCommand = exports.$Command = void 0; +const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); +const middleware_serde_1 = require("@smithy/middleware-serde"); +const smithy_client_1 = require("@smithy/smithy-client"); +Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); +const types_1 = require("@smithy/types"); +const models_1_1 = require("../models/models_1"); +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class PutParameterCommand extends smithy_client_1.Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, PutParameterCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "PutParameterCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: models_1_1.PutParameterRequestFilterSensitiveLog, + outputFilterSensitiveLog: (_) => _, + [types_1.SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "PutParameter", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return (0, Aws_json1_1_1.se_PutParameterCommand)(input, context); + } + deserialize(output, context) { + return (0, Aws_json1_1_1.de_PutParameterCommand)(output, context); + } +} +exports.PutParameterCommand = PutParameterCommand; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/PutResourcePolicyCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/PutResourcePolicyCommand.js new file mode 100644 index 00000000..b2eb2003 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/PutResourcePolicyCommand.js @@ -0,0 +1,51 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.PutResourcePolicyCommand = exports.$Command = void 0; +const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); +const middleware_serde_1 = require("@smithy/middleware-serde"); +const smithy_client_1 = require("@smithy/smithy-client"); +Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); +const types_1 = require("@smithy/types"); +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class PutResourcePolicyCommand extends smithy_client_1.Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, PutResourcePolicyCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "PutResourcePolicyCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [types_1.SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "PutResourcePolicy", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return (0, Aws_json1_1_1.se_PutResourcePolicyCommand)(input, context); + } + deserialize(output, context) { + return (0, Aws_json1_1_1.de_PutResourcePolicyCommand)(output, context); + } +} +exports.PutResourcePolicyCommand = PutResourcePolicyCommand; diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/GetRuntimeManagementConfigCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/RegisterDefaultPatchBaselineCommand.js similarity index 71% rename from node_modules/@aws-sdk/client-lambda/dist-cjs/commands/GetRuntimeManagementConfigCommand.js rename to node_modules/@aws-sdk/client-ssm/dist-cjs/commands/RegisterDefaultPatchBaselineCommand.js index 67c0f299..ee010d27 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/GetRuntimeManagementConfigCommand.js +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/RegisterDefaultPatchBaselineCommand.js @@ -1,13 +1,13 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -exports.GetRuntimeManagementConfigCommand = exports.$Command = void 0; +exports.RegisterDefaultPatchBaselineCommand = exports.$Command = void 0; const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); const middleware_serde_1 = require("@smithy/middleware-serde"); const smithy_client_1 = require("@smithy/smithy-client"); Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); const types_1 = require("@smithy/types"); -const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); -class GetRuntimeManagementConfigCommand extends smithy_client_1.Command { +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class RegisterDefaultPatchBaselineCommand extends smithy_client_1.Command { static getEndpointParameterInstructions() { return { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, @@ -22,11 +22,11 @@ class GetRuntimeManagementConfigCommand extends smithy_client_1.Command { } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetRuntimeManagementConfigCommand.getEndpointParameterInstructions())); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, RegisterDefaultPatchBaselineCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "GetRuntimeManagementConfigCommand"; + const clientName = "SSMClient"; + const commandName = "RegisterDefaultPatchBaselineCommand"; const handlerExecutionContext = { logger, clientName, @@ -34,18 +34,18 @@ class GetRuntimeManagementConfigCommand extends smithy_client_1.Command { inputFilterSensitiveLog: (_) => _, outputFilterSensitiveLog: (_) => _, [types_1.SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "GetRuntimeManagementConfig", + service: "AmazonSSM", + operation: "RegisterDefaultPatchBaseline", }, }; const { requestHandler } = configuration; return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_restJson1_1.se_GetRuntimeManagementConfigCommand)(input, context); + return (0, Aws_json1_1_1.se_RegisterDefaultPatchBaselineCommand)(input, context); } deserialize(output, context) { - return (0, Aws_restJson1_1.de_GetRuntimeManagementConfigCommand)(output, context); + return (0, Aws_json1_1_1.de_RegisterDefaultPatchBaselineCommand)(output, context); } } -exports.GetRuntimeManagementConfigCommand = GetRuntimeManagementConfigCommand; +exports.RegisterDefaultPatchBaselineCommand = RegisterDefaultPatchBaselineCommand; diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/DeleteFunctionEventInvokeConfigCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/RegisterPatchBaselineForPatchGroupCommand.js similarity index 68% rename from node_modules/@aws-sdk/client-lambda/dist-cjs/commands/DeleteFunctionEventInvokeConfigCommand.js rename to node_modules/@aws-sdk/client-ssm/dist-cjs/commands/RegisterPatchBaselineForPatchGroupCommand.js index aee296f5..0fb8bb4d 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/DeleteFunctionEventInvokeConfigCommand.js +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/RegisterPatchBaselineForPatchGroupCommand.js @@ -1,13 +1,13 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -exports.DeleteFunctionEventInvokeConfigCommand = exports.$Command = void 0; +exports.RegisterPatchBaselineForPatchGroupCommand = exports.$Command = void 0; const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); const middleware_serde_1 = require("@smithy/middleware-serde"); const smithy_client_1 = require("@smithy/smithy-client"); Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); const types_1 = require("@smithy/types"); -const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); -class DeleteFunctionEventInvokeConfigCommand extends smithy_client_1.Command { +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class RegisterPatchBaselineForPatchGroupCommand extends smithy_client_1.Command { static getEndpointParameterInstructions() { return { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, @@ -22,11 +22,11 @@ class DeleteFunctionEventInvokeConfigCommand extends smithy_client_1.Command { } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteFunctionEventInvokeConfigCommand.getEndpointParameterInstructions())); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, RegisterPatchBaselineForPatchGroupCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "DeleteFunctionEventInvokeConfigCommand"; + const clientName = "SSMClient"; + const commandName = "RegisterPatchBaselineForPatchGroupCommand"; const handlerExecutionContext = { logger, clientName, @@ -34,18 +34,18 @@ class DeleteFunctionEventInvokeConfigCommand extends smithy_client_1.Command { inputFilterSensitiveLog: (_) => _, outputFilterSensitiveLog: (_) => _, [types_1.SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "DeleteFunctionEventInvokeConfig", + service: "AmazonSSM", + operation: "RegisterPatchBaselineForPatchGroup", }, }; const { requestHandler } = configuration; return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_restJson1_1.se_DeleteFunctionEventInvokeConfigCommand)(input, context); + return (0, Aws_json1_1_1.se_RegisterPatchBaselineForPatchGroupCommand)(input, context); } deserialize(output, context) { - return (0, Aws_restJson1_1.de_DeleteFunctionEventInvokeConfigCommand)(output, context); + return (0, Aws_json1_1_1.de_RegisterPatchBaselineForPatchGroupCommand)(output, context); } } -exports.DeleteFunctionEventInvokeConfigCommand = DeleteFunctionEventInvokeConfigCommand; +exports.RegisterPatchBaselineForPatchGroupCommand = RegisterPatchBaselineForPatchGroupCommand; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/RegisterTargetWithMaintenanceWindowCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/RegisterTargetWithMaintenanceWindowCommand.js new file mode 100644 index 00000000..6329727a --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/RegisterTargetWithMaintenanceWindowCommand.js @@ -0,0 +1,52 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.RegisterTargetWithMaintenanceWindowCommand = exports.$Command = void 0; +const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); +const middleware_serde_1 = require("@smithy/middleware-serde"); +const smithy_client_1 = require("@smithy/smithy-client"); +Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); +const types_1 = require("@smithy/types"); +const models_1_1 = require("../models/models_1"); +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class RegisterTargetWithMaintenanceWindowCommand extends smithy_client_1.Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, RegisterTargetWithMaintenanceWindowCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "RegisterTargetWithMaintenanceWindowCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: models_1_1.RegisterTargetWithMaintenanceWindowRequestFilterSensitiveLog, + outputFilterSensitiveLog: (_) => _, + [types_1.SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "RegisterTargetWithMaintenanceWindow", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return (0, Aws_json1_1_1.se_RegisterTargetWithMaintenanceWindowCommand)(input, context); + } + deserialize(output, context) { + return (0, Aws_json1_1_1.de_RegisterTargetWithMaintenanceWindowCommand)(output, context); + } +} +exports.RegisterTargetWithMaintenanceWindowCommand = RegisterTargetWithMaintenanceWindowCommand; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/RegisterTaskWithMaintenanceWindowCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/RegisterTaskWithMaintenanceWindowCommand.js new file mode 100644 index 00000000..8476822b --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/RegisterTaskWithMaintenanceWindowCommand.js @@ -0,0 +1,52 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.RegisterTaskWithMaintenanceWindowCommand = exports.$Command = void 0; +const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); +const middleware_serde_1 = require("@smithy/middleware-serde"); +const smithy_client_1 = require("@smithy/smithy-client"); +Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); +const types_1 = require("@smithy/types"); +const models_1_1 = require("../models/models_1"); +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class RegisterTaskWithMaintenanceWindowCommand extends smithy_client_1.Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, RegisterTaskWithMaintenanceWindowCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "RegisterTaskWithMaintenanceWindowCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: models_1_1.RegisterTaskWithMaintenanceWindowRequestFilterSensitiveLog, + outputFilterSensitiveLog: (_) => _, + [types_1.SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "RegisterTaskWithMaintenanceWindow", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return (0, Aws_json1_1_1.se_RegisterTaskWithMaintenanceWindowCommand)(input, context); + } + deserialize(output, context) { + return (0, Aws_json1_1_1.de_RegisterTaskWithMaintenanceWindowCommand)(output, context); + } +} +exports.RegisterTaskWithMaintenanceWindowCommand = RegisterTaskWithMaintenanceWindowCommand; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/RemoveTagsFromResourceCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/RemoveTagsFromResourceCommand.js new file mode 100644 index 00000000..5bdfdd22 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/RemoveTagsFromResourceCommand.js @@ -0,0 +1,51 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.RemoveTagsFromResourceCommand = exports.$Command = void 0; +const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); +const middleware_serde_1 = require("@smithy/middleware-serde"); +const smithy_client_1 = require("@smithy/smithy-client"); +Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); +const types_1 = require("@smithy/types"); +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class RemoveTagsFromResourceCommand extends smithy_client_1.Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, RemoveTagsFromResourceCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "RemoveTagsFromResourceCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [types_1.SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "RemoveTagsFromResource", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return (0, Aws_json1_1_1.se_RemoveTagsFromResourceCommand)(input, context); + } + deserialize(output, context) { + return (0, Aws_json1_1_1.de_RemoveTagsFromResourceCommand)(output, context); + } +} +exports.RemoveTagsFromResourceCommand = RemoveTagsFromResourceCommand; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/ResetServiceSettingCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/ResetServiceSettingCommand.js new file mode 100644 index 00000000..ec03064a --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/ResetServiceSettingCommand.js @@ -0,0 +1,51 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ResetServiceSettingCommand = exports.$Command = void 0; +const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); +const middleware_serde_1 = require("@smithy/middleware-serde"); +const smithy_client_1 = require("@smithy/smithy-client"); +Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); +const types_1 = require("@smithy/types"); +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class ResetServiceSettingCommand extends smithy_client_1.Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ResetServiceSettingCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "ResetServiceSettingCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [types_1.SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "ResetServiceSetting", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return (0, Aws_json1_1_1.se_ResetServiceSettingCommand)(input, context); + } + deserialize(output, context) { + return (0, Aws_json1_1_1.de_ResetServiceSettingCommand)(output, context); + } +} +exports.ResetServiceSettingCommand = ResetServiceSettingCommand; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/ResumeSessionCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/ResumeSessionCommand.js new file mode 100644 index 00000000..a931e63c --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/ResumeSessionCommand.js @@ -0,0 +1,51 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ResumeSessionCommand = exports.$Command = void 0; +const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); +const middleware_serde_1 = require("@smithy/middleware-serde"); +const smithy_client_1 = require("@smithy/smithy-client"); +Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); +const types_1 = require("@smithy/types"); +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class ResumeSessionCommand extends smithy_client_1.Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ResumeSessionCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "ResumeSessionCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [types_1.SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "ResumeSession", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return (0, Aws_json1_1_1.se_ResumeSessionCommand)(input, context); + } + deserialize(output, context) { + return (0, Aws_json1_1_1.de_ResumeSessionCommand)(output, context); + } +} +exports.ResumeSessionCommand = ResumeSessionCommand; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/SendAutomationSignalCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/SendAutomationSignalCommand.js new file mode 100644 index 00000000..db7035f6 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/SendAutomationSignalCommand.js @@ -0,0 +1,51 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.SendAutomationSignalCommand = exports.$Command = void 0; +const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); +const middleware_serde_1 = require("@smithy/middleware-serde"); +const smithy_client_1 = require("@smithy/smithy-client"); +Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); +const types_1 = require("@smithy/types"); +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class SendAutomationSignalCommand extends smithy_client_1.Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, SendAutomationSignalCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "SendAutomationSignalCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [types_1.SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "SendAutomationSignal", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return (0, Aws_json1_1_1.se_SendAutomationSignalCommand)(input, context); + } + deserialize(output, context) { + return (0, Aws_json1_1_1.de_SendAutomationSignalCommand)(output, context); + } +} +exports.SendAutomationSignalCommand = SendAutomationSignalCommand; diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/InvokeAsyncCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/SendCommandCommand.js similarity index 68% rename from node_modules/@aws-sdk/client-lambda/dist-cjs/commands/InvokeAsyncCommand.js rename to node_modules/@aws-sdk/client-ssm/dist-cjs/commands/SendCommandCommand.js index ecb26d46..b956514b 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/InvokeAsyncCommand.js +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/SendCommandCommand.js @@ -1,14 +1,14 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -exports.InvokeAsyncCommand = exports.$Command = void 0; +exports.SendCommandCommand = exports.$Command = void 0; const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); const middleware_serde_1 = require("@smithy/middleware-serde"); const smithy_client_1 = require("@smithy/smithy-client"); Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); const types_1 = require("@smithy/types"); -const models_0_1 = require("../models/models_0"); -const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); -class InvokeAsyncCommand extends smithy_client_1.Command { +const models_1_1 = require("../models/models_1"); +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class SendCommandCommand extends smithy_client_1.Command { static getEndpointParameterInstructions() { return { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, @@ -23,30 +23,30 @@ class InvokeAsyncCommand extends smithy_client_1.Command { } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, InvokeAsyncCommand.getEndpointParameterInstructions())); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, SendCommandCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "InvokeAsyncCommand"; + const clientName = "SSMClient"; + const commandName = "SendCommandCommand"; const handlerExecutionContext = { logger, clientName, commandName, - inputFilterSensitiveLog: models_0_1.InvokeAsyncRequestFilterSensitiveLog, - outputFilterSensitiveLog: (_) => _, + inputFilterSensitiveLog: models_1_1.SendCommandRequestFilterSensitiveLog, + outputFilterSensitiveLog: models_1_1.SendCommandResultFilterSensitiveLog, [types_1.SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "InvokeAsync", + service: "AmazonSSM", + operation: "SendCommand", }, }; const { requestHandler } = configuration; return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_restJson1_1.se_InvokeAsyncCommand)(input, context); + return (0, Aws_json1_1_1.se_SendCommandCommand)(input, context); } deserialize(output, context) { - return (0, Aws_restJson1_1.de_InvokeAsyncCommand)(output, context); + return (0, Aws_json1_1_1.de_SendCommandCommand)(output, context); } } -exports.InvokeAsyncCommand = InvokeAsyncCommand; +exports.SendCommandCommand = SendCommandCommand; diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/GetLayerVersionPolicyCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/StartAssociationsOnceCommand.js similarity index 72% rename from node_modules/@aws-sdk/client-lambda/dist-cjs/commands/GetLayerVersionPolicyCommand.js rename to node_modules/@aws-sdk/client-ssm/dist-cjs/commands/StartAssociationsOnceCommand.js index 0df3917c..2da8a576 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/GetLayerVersionPolicyCommand.js +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/StartAssociationsOnceCommand.js @@ -1,13 +1,13 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -exports.GetLayerVersionPolicyCommand = exports.$Command = void 0; +exports.StartAssociationsOnceCommand = exports.$Command = void 0; const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); const middleware_serde_1 = require("@smithy/middleware-serde"); const smithy_client_1 = require("@smithy/smithy-client"); Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); const types_1 = require("@smithy/types"); -const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); -class GetLayerVersionPolicyCommand extends smithy_client_1.Command { +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class StartAssociationsOnceCommand extends smithy_client_1.Command { static getEndpointParameterInstructions() { return { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, @@ -22,11 +22,11 @@ class GetLayerVersionPolicyCommand extends smithy_client_1.Command { } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetLayerVersionPolicyCommand.getEndpointParameterInstructions())); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, StartAssociationsOnceCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "GetLayerVersionPolicyCommand"; + const clientName = "SSMClient"; + const commandName = "StartAssociationsOnceCommand"; const handlerExecutionContext = { logger, clientName, @@ -34,18 +34,18 @@ class GetLayerVersionPolicyCommand extends smithy_client_1.Command { inputFilterSensitiveLog: (_) => _, outputFilterSensitiveLog: (_) => _, [types_1.SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "GetLayerVersionPolicy", + service: "AmazonSSM", + operation: "StartAssociationsOnce", }, }; const { requestHandler } = configuration; return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_restJson1_1.se_GetLayerVersionPolicyCommand)(input, context); + return (0, Aws_json1_1_1.se_StartAssociationsOnceCommand)(input, context); } deserialize(output, context) { - return (0, Aws_restJson1_1.de_GetLayerVersionPolicyCommand)(output, context); + return (0, Aws_json1_1_1.de_StartAssociationsOnceCommand)(output, context); } } -exports.GetLayerVersionPolicyCommand = GetLayerVersionPolicyCommand; +exports.StartAssociationsOnceCommand = StartAssociationsOnceCommand; diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/PutFunctionConcurrencyCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/StartAutomationExecutionCommand.js similarity index 72% rename from node_modules/@aws-sdk/client-lambda/dist-cjs/commands/PutFunctionConcurrencyCommand.js rename to node_modules/@aws-sdk/client-ssm/dist-cjs/commands/StartAutomationExecutionCommand.js index 178559bc..840b656b 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/PutFunctionConcurrencyCommand.js +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/StartAutomationExecutionCommand.js @@ -1,13 +1,13 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -exports.PutFunctionConcurrencyCommand = exports.$Command = void 0; +exports.StartAutomationExecutionCommand = exports.$Command = void 0; const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); const middleware_serde_1 = require("@smithy/middleware-serde"); const smithy_client_1 = require("@smithy/smithy-client"); Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); const types_1 = require("@smithy/types"); -const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); -class PutFunctionConcurrencyCommand extends smithy_client_1.Command { +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class StartAutomationExecutionCommand extends smithy_client_1.Command { static getEndpointParameterInstructions() { return { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, @@ -22,11 +22,11 @@ class PutFunctionConcurrencyCommand extends smithy_client_1.Command { } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, PutFunctionConcurrencyCommand.getEndpointParameterInstructions())); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, StartAutomationExecutionCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "PutFunctionConcurrencyCommand"; + const clientName = "SSMClient"; + const commandName = "StartAutomationExecutionCommand"; const handlerExecutionContext = { logger, clientName, @@ -34,18 +34,18 @@ class PutFunctionConcurrencyCommand extends smithy_client_1.Command { inputFilterSensitiveLog: (_) => _, outputFilterSensitiveLog: (_) => _, [types_1.SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "PutFunctionConcurrency", + service: "AmazonSSM", + operation: "StartAutomationExecution", }, }; const { requestHandler } = configuration; return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_restJson1_1.se_PutFunctionConcurrencyCommand)(input, context); + return (0, Aws_json1_1_1.se_StartAutomationExecutionCommand)(input, context); } deserialize(output, context) { - return (0, Aws_restJson1_1.de_PutFunctionConcurrencyCommand)(output, context); + return (0, Aws_json1_1_1.de_StartAutomationExecutionCommand)(output, context); } } -exports.PutFunctionConcurrencyCommand = PutFunctionConcurrencyCommand; +exports.StartAutomationExecutionCommand = StartAutomationExecutionCommand; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/StartChangeRequestExecutionCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/StartChangeRequestExecutionCommand.js new file mode 100644 index 00000000..bbc8b43b --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/StartChangeRequestExecutionCommand.js @@ -0,0 +1,51 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.StartChangeRequestExecutionCommand = exports.$Command = void 0; +const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); +const middleware_serde_1 = require("@smithy/middleware-serde"); +const smithy_client_1 = require("@smithy/smithy-client"); +Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); +const types_1 = require("@smithy/types"); +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class StartChangeRequestExecutionCommand extends smithy_client_1.Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, StartChangeRequestExecutionCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "StartChangeRequestExecutionCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [types_1.SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "StartChangeRequestExecution", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return (0, Aws_json1_1_1.se_StartChangeRequestExecutionCommand)(input, context); + } + deserialize(output, context) { + return (0, Aws_json1_1_1.de_StartChangeRequestExecutionCommand)(output, context); + } +} +exports.StartChangeRequestExecutionCommand = StartChangeRequestExecutionCommand; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/StartSessionCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/StartSessionCommand.js new file mode 100644 index 00000000..463d70cc --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/StartSessionCommand.js @@ -0,0 +1,51 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.StartSessionCommand = exports.$Command = void 0; +const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); +const middleware_serde_1 = require("@smithy/middleware-serde"); +const smithy_client_1 = require("@smithy/smithy-client"); +Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); +const types_1 = require("@smithy/types"); +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class StartSessionCommand extends smithy_client_1.Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, StartSessionCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "StartSessionCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [types_1.SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "StartSession", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return (0, Aws_json1_1_1.se_StartSessionCommand)(input, context); + } + deserialize(output, context) { + return (0, Aws_json1_1_1.de_StartSessionCommand)(output, context); + } +} +exports.StartSessionCommand = StartSessionCommand; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/StopAutomationExecutionCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/StopAutomationExecutionCommand.js new file mode 100644 index 00000000..32ca722c --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/StopAutomationExecutionCommand.js @@ -0,0 +1,51 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.StopAutomationExecutionCommand = exports.$Command = void 0; +const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); +const middleware_serde_1 = require("@smithy/middleware-serde"); +const smithy_client_1 = require("@smithy/smithy-client"); +Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); +const types_1 = require("@smithy/types"); +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class StopAutomationExecutionCommand extends smithy_client_1.Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, StopAutomationExecutionCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "StopAutomationExecutionCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [types_1.SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "StopAutomationExecution", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return (0, Aws_json1_1_1.se_StopAutomationExecutionCommand)(input, context); + } + deserialize(output, context) { + return (0, Aws_json1_1_1.de_StopAutomationExecutionCommand)(output, context); + } +} +exports.StopAutomationExecutionCommand = StopAutomationExecutionCommand; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/TerminateSessionCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/TerminateSessionCommand.js new file mode 100644 index 00000000..c9795ef7 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/TerminateSessionCommand.js @@ -0,0 +1,51 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.TerminateSessionCommand = exports.$Command = void 0; +const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); +const middleware_serde_1 = require("@smithy/middleware-serde"); +const smithy_client_1 = require("@smithy/smithy-client"); +Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); +const types_1 = require("@smithy/types"); +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class TerminateSessionCommand extends smithy_client_1.Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, TerminateSessionCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "TerminateSessionCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [types_1.SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "TerminateSession", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return (0, Aws_json1_1_1.se_TerminateSessionCommand)(input, context); + } + deserialize(output, context) { + return (0, Aws_json1_1_1.de_TerminateSessionCommand)(output, context); + } +} +exports.TerminateSessionCommand = TerminateSessionCommand; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/UnlabelParameterVersionCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/UnlabelParameterVersionCommand.js new file mode 100644 index 00000000..8c68356f --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/UnlabelParameterVersionCommand.js @@ -0,0 +1,51 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.UnlabelParameterVersionCommand = exports.$Command = void 0; +const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); +const middleware_serde_1 = require("@smithy/middleware-serde"); +const smithy_client_1 = require("@smithy/smithy-client"); +Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); +const types_1 = require("@smithy/types"); +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class UnlabelParameterVersionCommand extends smithy_client_1.Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UnlabelParameterVersionCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "UnlabelParameterVersionCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [types_1.SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "UnlabelParameterVersion", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return (0, Aws_json1_1_1.se_UnlabelParameterVersionCommand)(input, context); + } + deserialize(output, context) { + return (0, Aws_json1_1_1.de_UnlabelParameterVersionCommand)(output, context); + } +} +exports.UnlabelParameterVersionCommand = UnlabelParameterVersionCommand; diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/GetAliasCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/UpdateAssociationCommand.js similarity index 65% rename from node_modules/@aws-sdk/client-lambda/dist-cjs/commands/GetAliasCommand.js rename to node_modules/@aws-sdk/client-ssm/dist-cjs/commands/UpdateAssociationCommand.js index 98f429c8..d9b80dd1 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/GetAliasCommand.js +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/UpdateAssociationCommand.js @@ -1,13 +1,14 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -exports.GetAliasCommand = exports.$Command = void 0; +exports.UpdateAssociationCommand = exports.$Command = void 0; const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); const middleware_serde_1 = require("@smithy/middleware-serde"); const smithy_client_1 = require("@smithy/smithy-client"); Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); const types_1 = require("@smithy/types"); -const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); -class GetAliasCommand extends smithy_client_1.Command { +const models_2_1 = require("../models/models_2"); +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class UpdateAssociationCommand extends smithy_client_1.Command { static getEndpointParameterInstructions() { return { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, @@ -22,30 +23,30 @@ class GetAliasCommand extends smithy_client_1.Command { } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetAliasCommand.getEndpointParameterInstructions())); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateAssociationCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "GetAliasCommand"; + const clientName = "SSMClient"; + const commandName = "UpdateAssociationCommand"; const handlerExecutionContext = { logger, clientName, commandName, - inputFilterSensitiveLog: (_) => _, - outputFilterSensitiveLog: (_) => _, + inputFilterSensitiveLog: models_2_1.UpdateAssociationRequestFilterSensitiveLog, + outputFilterSensitiveLog: models_2_1.UpdateAssociationResultFilterSensitiveLog, [types_1.SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "GetAlias", + service: "AmazonSSM", + operation: "UpdateAssociation", }, }; const { requestHandler } = configuration; return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_restJson1_1.se_GetAliasCommand)(input, context); + return (0, Aws_json1_1_1.se_UpdateAssociationCommand)(input, context); } deserialize(output, context) { - return (0, Aws_restJson1_1.de_GetAliasCommand)(output, context); + return (0, Aws_json1_1_1.de_UpdateAssociationCommand)(output, context); } } -exports.GetAliasCommand = GetAliasCommand; +exports.UpdateAssociationCommand = UpdateAssociationCommand; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/UpdateAssociationStatusCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/UpdateAssociationStatusCommand.js new file mode 100644 index 00000000..663b7b3f --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/UpdateAssociationStatusCommand.js @@ -0,0 +1,52 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.UpdateAssociationStatusCommand = exports.$Command = void 0; +const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); +const middleware_serde_1 = require("@smithy/middleware-serde"); +const smithy_client_1 = require("@smithy/smithy-client"); +Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); +const types_1 = require("@smithy/types"); +const models_2_1 = require("../models/models_2"); +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class UpdateAssociationStatusCommand extends smithy_client_1.Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateAssociationStatusCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "UpdateAssociationStatusCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: models_2_1.UpdateAssociationStatusResultFilterSensitiveLog, + [types_1.SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "UpdateAssociationStatus", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return (0, Aws_json1_1_1.se_UpdateAssociationStatusCommand)(input, context); + } + deserialize(output, context) { + return (0, Aws_json1_1_1.de_UpdateAssociationStatusCommand)(output, context); + } +} +exports.UpdateAssociationStatusCommand = UpdateAssociationStatusCommand; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/UpdateDocumentCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/UpdateDocumentCommand.js new file mode 100644 index 00000000..bc2d0181 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/UpdateDocumentCommand.js @@ -0,0 +1,51 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.UpdateDocumentCommand = exports.$Command = void 0; +const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); +const middleware_serde_1 = require("@smithy/middleware-serde"); +const smithy_client_1 = require("@smithy/smithy-client"); +Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); +const types_1 = require("@smithy/types"); +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class UpdateDocumentCommand extends smithy_client_1.Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateDocumentCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "UpdateDocumentCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [types_1.SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "UpdateDocument", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return (0, Aws_json1_1_1.se_UpdateDocumentCommand)(input, context); + } + deserialize(output, context) { + return (0, Aws_json1_1_1.de_UpdateDocumentCommand)(output, context); + } +} +exports.UpdateDocumentCommand = UpdateDocumentCommand; diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/GetFunctionEventInvokeConfigCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/UpdateDocumentDefaultVersionCommand.js similarity index 71% rename from node_modules/@aws-sdk/client-lambda/dist-cjs/commands/GetFunctionEventInvokeConfigCommand.js rename to node_modules/@aws-sdk/client-ssm/dist-cjs/commands/UpdateDocumentDefaultVersionCommand.js index 1efb0f7a..9fab5d77 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/GetFunctionEventInvokeConfigCommand.js +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/UpdateDocumentDefaultVersionCommand.js @@ -1,13 +1,13 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -exports.GetFunctionEventInvokeConfigCommand = exports.$Command = void 0; +exports.UpdateDocumentDefaultVersionCommand = exports.$Command = void 0; const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); const middleware_serde_1 = require("@smithy/middleware-serde"); const smithy_client_1 = require("@smithy/smithy-client"); Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); const types_1 = require("@smithy/types"); -const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); -class GetFunctionEventInvokeConfigCommand extends smithy_client_1.Command { +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class UpdateDocumentDefaultVersionCommand extends smithy_client_1.Command { static getEndpointParameterInstructions() { return { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, @@ -22,11 +22,11 @@ class GetFunctionEventInvokeConfigCommand extends smithy_client_1.Command { } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetFunctionEventInvokeConfigCommand.getEndpointParameterInstructions())); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateDocumentDefaultVersionCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "GetFunctionEventInvokeConfigCommand"; + const clientName = "SSMClient"; + const commandName = "UpdateDocumentDefaultVersionCommand"; const handlerExecutionContext = { logger, clientName, @@ -34,18 +34,18 @@ class GetFunctionEventInvokeConfigCommand extends smithy_client_1.Command { inputFilterSensitiveLog: (_) => _, outputFilterSensitiveLog: (_) => _, [types_1.SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "GetFunctionEventInvokeConfig", + service: "AmazonSSM", + operation: "UpdateDocumentDefaultVersion", }, }; const { requestHandler } = configuration; return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_restJson1_1.se_GetFunctionEventInvokeConfigCommand)(input, context); + return (0, Aws_json1_1_1.se_UpdateDocumentDefaultVersionCommand)(input, context); } deserialize(output, context) { - return (0, Aws_restJson1_1.de_GetFunctionEventInvokeConfigCommand)(output, context); + return (0, Aws_json1_1_1.de_UpdateDocumentDefaultVersionCommand)(output, context); } } -exports.GetFunctionEventInvokeConfigCommand = GetFunctionEventInvokeConfigCommand; +exports.UpdateDocumentDefaultVersionCommand = UpdateDocumentDefaultVersionCommand; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/UpdateDocumentMetadataCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/UpdateDocumentMetadataCommand.js new file mode 100644 index 00000000..ddfdb4bd --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/UpdateDocumentMetadataCommand.js @@ -0,0 +1,51 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.UpdateDocumentMetadataCommand = exports.$Command = void 0; +const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); +const middleware_serde_1 = require("@smithy/middleware-serde"); +const smithy_client_1 = require("@smithy/smithy-client"); +Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); +const types_1 = require("@smithy/types"); +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class UpdateDocumentMetadataCommand extends smithy_client_1.Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateDocumentMetadataCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "UpdateDocumentMetadataCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [types_1.SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "UpdateDocumentMetadata", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return (0, Aws_json1_1_1.se_UpdateDocumentMetadataCommand)(input, context); + } + deserialize(output, context) { + return (0, Aws_json1_1_1.de_UpdateDocumentMetadataCommand)(output, context); + } +} +exports.UpdateDocumentMetadataCommand = UpdateDocumentMetadataCommand; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/UpdateMaintenanceWindowCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/UpdateMaintenanceWindowCommand.js new file mode 100644 index 00000000..c3826fd3 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/UpdateMaintenanceWindowCommand.js @@ -0,0 +1,52 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.UpdateMaintenanceWindowCommand = exports.$Command = void 0; +const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); +const middleware_serde_1 = require("@smithy/middleware-serde"); +const smithy_client_1 = require("@smithy/smithy-client"); +Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); +const types_1 = require("@smithy/types"); +const models_2_1 = require("../models/models_2"); +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class UpdateMaintenanceWindowCommand extends smithy_client_1.Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateMaintenanceWindowCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "UpdateMaintenanceWindowCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: models_2_1.UpdateMaintenanceWindowRequestFilterSensitiveLog, + outputFilterSensitiveLog: models_2_1.UpdateMaintenanceWindowResultFilterSensitiveLog, + [types_1.SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "UpdateMaintenanceWindow", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return (0, Aws_json1_1_1.se_UpdateMaintenanceWindowCommand)(input, context); + } + deserialize(output, context) { + return (0, Aws_json1_1_1.de_UpdateMaintenanceWindowCommand)(output, context); + } +} +exports.UpdateMaintenanceWindowCommand = UpdateMaintenanceWindowCommand; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/UpdateMaintenanceWindowTargetCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/UpdateMaintenanceWindowTargetCommand.js new file mode 100644 index 00000000..a9329a6e --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/UpdateMaintenanceWindowTargetCommand.js @@ -0,0 +1,52 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.UpdateMaintenanceWindowTargetCommand = exports.$Command = void 0; +const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); +const middleware_serde_1 = require("@smithy/middleware-serde"); +const smithy_client_1 = require("@smithy/smithy-client"); +Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); +const types_1 = require("@smithy/types"); +const models_2_1 = require("../models/models_2"); +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class UpdateMaintenanceWindowTargetCommand extends smithy_client_1.Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateMaintenanceWindowTargetCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "UpdateMaintenanceWindowTargetCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: models_2_1.UpdateMaintenanceWindowTargetRequestFilterSensitiveLog, + outputFilterSensitiveLog: models_2_1.UpdateMaintenanceWindowTargetResultFilterSensitiveLog, + [types_1.SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "UpdateMaintenanceWindowTarget", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return (0, Aws_json1_1_1.se_UpdateMaintenanceWindowTargetCommand)(input, context); + } + deserialize(output, context) { + return (0, Aws_json1_1_1.de_UpdateMaintenanceWindowTargetCommand)(output, context); + } +} +exports.UpdateMaintenanceWindowTargetCommand = UpdateMaintenanceWindowTargetCommand; diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/UpdateFunctionConfigurationCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/UpdateMaintenanceWindowTaskCommand.js similarity index 64% rename from node_modules/@aws-sdk/client-lambda/dist-cjs/commands/UpdateFunctionConfigurationCommand.js rename to node_modules/@aws-sdk/client-ssm/dist-cjs/commands/UpdateMaintenanceWindowTaskCommand.js index 239e7b57..cfd82952 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/UpdateFunctionConfigurationCommand.js +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/UpdateMaintenanceWindowTaskCommand.js @@ -1,14 +1,14 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -exports.UpdateFunctionConfigurationCommand = exports.$Command = void 0; +exports.UpdateMaintenanceWindowTaskCommand = exports.$Command = void 0; const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); const middleware_serde_1 = require("@smithy/middleware-serde"); const smithy_client_1 = require("@smithy/smithy-client"); Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); const types_1 = require("@smithy/types"); -const models_0_1 = require("../models/models_0"); -const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); -class UpdateFunctionConfigurationCommand extends smithy_client_1.Command { +const models_2_1 = require("../models/models_2"); +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class UpdateMaintenanceWindowTaskCommand extends smithy_client_1.Command { static getEndpointParameterInstructions() { return { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, @@ -23,30 +23,30 @@ class UpdateFunctionConfigurationCommand extends smithy_client_1.Command { } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateFunctionConfigurationCommand.getEndpointParameterInstructions())); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateMaintenanceWindowTaskCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "UpdateFunctionConfigurationCommand"; + const clientName = "SSMClient"; + const commandName = "UpdateMaintenanceWindowTaskCommand"; const handlerExecutionContext = { logger, clientName, commandName, - inputFilterSensitiveLog: models_0_1.UpdateFunctionConfigurationRequestFilterSensitiveLog, - outputFilterSensitiveLog: models_0_1.FunctionConfigurationFilterSensitiveLog, + inputFilterSensitiveLog: models_2_1.UpdateMaintenanceWindowTaskRequestFilterSensitiveLog, + outputFilterSensitiveLog: models_2_1.UpdateMaintenanceWindowTaskResultFilterSensitiveLog, [types_1.SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "UpdateFunctionConfiguration", + service: "AmazonSSM", + operation: "UpdateMaintenanceWindowTask", }, }; const { requestHandler } = configuration; return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_restJson1_1.se_UpdateFunctionConfigurationCommand)(input, context); + return (0, Aws_json1_1_1.se_UpdateMaintenanceWindowTaskCommand)(input, context); } deserialize(output, context) { - return (0, Aws_restJson1_1.de_UpdateFunctionConfigurationCommand)(output, context); + return (0, Aws_json1_1_1.de_UpdateMaintenanceWindowTaskCommand)(output, context); } } -exports.UpdateFunctionConfigurationCommand = UpdateFunctionConfigurationCommand; +exports.UpdateMaintenanceWindowTaskCommand = UpdateMaintenanceWindowTaskCommand; diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/DeleteFunctionUrlConfigCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/UpdateManagedInstanceRoleCommand.js similarity index 71% rename from node_modules/@aws-sdk/client-lambda/dist-cjs/commands/DeleteFunctionUrlConfigCommand.js rename to node_modules/@aws-sdk/client-ssm/dist-cjs/commands/UpdateManagedInstanceRoleCommand.js index 503145eb..350fccd3 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-cjs/commands/DeleteFunctionUrlConfigCommand.js +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/UpdateManagedInstanceRoleCommand.js @@ -1,13 +1,13 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -exports.DeleteFunctionUrlConfigCommand = exports.$Command = void 0; +exports.UpdateManagedInstanceRoleCommand = exports.$Command = void 0; const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); const middleware_serde_1 = require("@smithy/middleware-serde"); const smithy_client_1 = require("@smithy/smithy-client"); Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); const types_1 = require("@smithy/types"); -const Aws_restJson1_1 = require("../protocols/Aws_restJson1"); -class DeleteFunctionUrlConfigCommand extends smithy_client_1.Command { +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class UpdateManagedInstanceRoleCommand extends smithy_client_1.Command { static getEndpointParameterInstructions() { return { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, @@ -22,11 +22,11 @@ class DeleteFunctionUrlConfigCommand extends smithy_client_1.Command { } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteFunctionUrlConfigCommand.getEndpointParameterInstructions())); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateManagedInstanceRoleCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "DeleteFunctionUrlConfigCommand"; + const clientName = "SSMClient"; + const commandName = "UpdateManagedInstanceRoleCommand"; const handlerExecutionContext = { logger, clientName, @@ -34,18 +34,18 @@ class DeleteFunctionUrlConfigCommand extends smithy_client_1.Command { inputFilterSensitiveLog: (_) => _, outputFilterSensitiveLog: (_) => _, [types_1.SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "DeleteFunctionUrlConfig", + service: "AmazonSSM", + operation: "UpdateManagedInstanceRole", }, }; const { requestHandler } = configuration; return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return (0, Aws_restJson1_1.se_DeleteFunctionUrlConfigCommand)(input, context); + return (0, Aws_json1_1_1.se_UpdateManagedInstanceRoleCommand)(input, context); } deserialize(output, context) { - return (0, Aws_restJson1_1.de_DeleteFunctionUrlConfigCommand)(output, context); + return (0, Aws_json1_1_1.de_UpdateManagedInstanceRoleCommand)(output, context); } } -exports.DeleteFunctionUrlConfigCommand = DeleteFunctionUrlConfigCommand; +exports.UpdateManagedInstanceRoleCommand = UpdateManagedInstanceRoleCommand; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/UpdateOpsItemCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/UpdateOpsItemCommand.js new file mode 100644 index 00000000..c4f632c9 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/UpdateOpsItemCommand.js @@ -0,0 +1,51 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.UpdateOpsItemCommand = exports.$Command = void 0; +const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); +const middleware_serde_1 = require("@smithy/middleware-serde"); +const smithy_client_1 = require("@smithy/smithy-client"); +Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); +const types_1 = require("@smithy/types"); +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class UpdateOpsItemCommand extends smithy_client_1.Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateOpsItemCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "UpdateOpsItemCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [types_1.SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "UpdateOpsItem", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return (0, Aws_json1_1_1.se_UpdateOpsItemCommand)(input, context); + } + deserialize(output, context) { + return (0, Aws_json1_1_1.de_UpdateOpsItemCommand)(output, context); + } +} +exports.UpdateOpsItemCommand = UpdateOpsItemCommand; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/UpdateOpsMetadataCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/UpdateOpsMetadataCommand.js new file mode 100644 index 00000000..46c12359 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/UpdateOpsMetadataCommand.js @@ -0,0 +1,51 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.UpdateOpsMetadataCommand = exports.$Command = void 0; +const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); +const middleware_serde_1 = require("@smithy/middleware-serde"); +const smithy_client_1 = require("@smithy/smithy-client"); +Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); +const types_1 = require("@smithy/types"); +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class UpdateOpsMetadataCommand extends smithy_client_1.Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateOpsMetadataCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "UpdateOpsMetadataCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [types_1.SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "UpdateOpsMetadata", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return (0, Aws_json1_1_1.se_UpdateOpsMetadataCommand)(input, context); + } + deserialize(output, context) { + return (0, Aws_json1_1_1.de_UpdateOpsMetadataCommand)(output, context); + } +} +exports.UpdateOpsMetadataCommand = UpdateOpsMetadataCommand; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/UpdatePatchBaselineCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/UpdatePatchBaselineCommand.js new file mode 100644 index 00000000..b667bffe --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/UpdatePatchBaselineCommand.js @@ -0,0 +1,52 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.UpdatePatchBaselineCommand = exports.$Command = void 0; +const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); +const middleware_serde_1 = require("@smithy/middleware-serde"); +const smithy_client_1 = require("@smithy/smithy-client"); +Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); +const types_1 = require("@smithy/types"); +const models_2_1 = require("../models/models_2"); +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class UpdatePatchBaselineCommand extends smithy_client_1.Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdatePatchBaselineCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "UpdatePatchBaselineCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: models_2_1.UpdatePatchBaselineRequestFilterSensitiveLog, + outputFilterSensitiveLog: models_2_1.UpdatePatchBaselineResultFilterSensitiveLog, + [types_1.SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "UpdatePatchBaseline", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return (0, Aws_json1_1_1.se_UpdatePatchBaselineCommand)(input, context); + } + deserialize(output, context) { + return (0, Aws_json1_1_1.de_UpdatePatchBaselineCommand)(output, context); + } +} +exports.UpdatePatchBaselineCommand = UpdatePatchBaselineCommand; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/UpdateResourceDataSyncCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/UpdateResourceDataSyncCommand.js new file mode 100644 index 00000000..38c99d52 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/UpdateResourceDataSyncCommand.js @@ -0,0 +1,51 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.UpdateResourceDataSyncCommand = exports.$Command = void 0; +const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); +const middleware_serde_1 = require("@smithy/middleware-serde"); +const smithy_client_1 = require("@smithy/smithy-client"); +Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); +const types_1 = require("@smithy/types"); +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class UpdateResourceDataSyncCommand extends smithy_client_1.Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateResourceDataSyncCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "UpdateResourceDataSyncCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [types_1.SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "UpdateResourceDataSync", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return (0, Aws_json1_1_1.se_UpdateResourceDataSyncCommand)(input, context); + } + deserialize(output, context) { + return (0, Aws_json1_1_1.de_UpdateResourceDataSyncCommand)(output, context); + } +} +exports.UpdateResourceDataSyncCommand = UpdateResourceDataSyncCommand; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/UpdateServiceSettingCommand.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/UpdateServiceSettingCommand.js new file mode 100644 index 00000000..9ce1041b --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/UpdateServiceSettingCommand.js @@ -0,0 +1,51 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.UpdateServiceSettingCommand = exports.$Command = void 0; +const middleware_endpoint_1 = require("@smithy/middleware-endpoint"); +const middleware_serde_1 = require("@smithy/middleware-serde"); +const smithy_client_1 = require("@smithy/smithy-client"); +Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } }); +const types_1 = require("@smithy/types"); +const Aws_json1_1_1 = require("../protocols/Aws_json1_1"); +class UpdateServiceSettingCommand extends smithy_client_1.Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateServiceSettingCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "UpdateServiceSettingCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [types_1.SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "UpdateServiceSetting", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return (0, Aws_json1_1_1.se_UpdateServiceSettingCommand)(input, context); + } + deserialize(output, context) { + return (0, Aws_json1_1_1.de_UpdateServiceSettingCommand)(output, context); + } +} +exports.UpdateServiceSettingCommand = UpdateServiceSettingCommand; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/index.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/index.js new file mode 100644 index 00000000..8663bb47 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/commands/index.js @@ -0,0 +1,142 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +const tslib_1 = require("tslib"); +tslib_1.__exportStar(require("./AddTagsToResourceCommand"), exports); +tslib_1.__exportStar(require("./AssociateOpsItemRelatedItemCommand"), exports); +tslib_1.__exportStar(require("./CancelCommandCommand"), exports); +tslib_1.__exportStar(require("./CancelMaintenanceWindowExecutionCommand"), exports); +tslib_1.__exportStar(require("./CreateActivationCommand"), exports); +tslib_1.__exportStar(require("./CreateAssociationBatchCommand"), exports); +tslib_1.__exportStar(require("./CreateAssociationCommand"), exports); +tslib_1.__exportStar(require("./CreateDocumentCommand"), exports); +tslib_1.__exportStar(require("./CreateMaintenanceWindowCommand"), exports); +tslib_1.__exportStar(require("./CreateOpsItemCommand"), exports); +tslib_1.__exportStar(require("./CreateOpsMetadataCommand"), exports); +tslib_1.__exportStar(require("./CreatePatchBaselineCommand"), exports); +tslib_1.__exportStar(require("./CreateResourceDataSyncCommand"), exports); +tslib_1.__exportStar(require("./DeleteActivationCommand"), exports); +tslib_1.__exportStar(require("./DeleteAssociationCommand"), exports); +tslib_1.__exportStar(require("./DeleteDocumentCommand"), exports); +tslib_1.__exportStar(require("./DeleteInventoryCommand"), exports); +tslib_1.__exportStar(require("./DeleteMaintenanceWindowCommand"), exports); +tslib_1.__exportStar(require("./DeleteOpsItemCommand"), exports); +tslib_1.__exportStar(require("./DeleteOpsMetadataCommand"), exports); +tslib_1.__exportStar(require("./DeleteParameterCommand"), exports); +tslib_1.__exportStar(require("./DeleteParametersCommand"), exports); +tslib_1.__exportStar(require("./DeletePatchBaselineCommand"), exports); +tslib_1.__exportStar(require("./DeleteResourceDataSyncCommand"), exports); +tslib_1.__exportStar(require("./DeleteResourcePolicyCommand"), exports); +tslib_1.__exportStar(require("./DeregisterManagedInstanceCommand"), exports); +tslib_1.__exportStar(require("./DeregisterPatchBaselineForPatchGroupCommand"), exports); +tslib_1.__exportStar(require("./DeregisterTargetFromMaintenanceWindowCommand"), exports); +tslib_1.__exportStar(require("./DeregisterTaskFromMaintenanceWindowCommand"), exports); +tslib_1.__exportStar(require("./DescribeActivationsCommand"), exports); +tslib_1.__exportStar(require("./DescribeAssociationCommand"), exports); +tslib_1.__exportStar(require("./DescribeAssociationExecutionTargetsCommand"), exports); +tslib_1.__exportStar(require("./DescribeAssociationExecutionsCommand"), exports); +tslib_1.__exportStar(require("./DescribeAutomationExecutionsCommand"), exports); +tslib_1.__exportStar(require("./DescribeAutomationStepExecutionsCommand"), exports); +tslib_1.__exportStar(require("./DescribeAvailablePatchesCommand"), exports); +tslib_1.__exportStar(require("./DescribeDocumentCommand"), exports); +tslib_1.__exportStar(require("./DescribeDocumentPermissionCommand"), exports); +tslib_1.__exportStar(require("./DescribeEffectiveInstanceAssociationsCommand"), exports); +tslib_1.__exportStar(require("./DescribeEffectivePatchesForPatchBaselineCommand"), exports); +tslib_1.__exportStar(require("./DescribeInstanceAssociationsStatusCommand"), exports); +tslib_1.__exportStar(require("./DescribeInstanceInformationCommand"), exports); +tslib_1.__exportStar(require("./DescribeInstancePatchStatesCommand"), exports); +tslib_1.__exportStar(require("./DescribeInstancePatchStatesForPatchGroupCommand"), exports); +tslib_1.__exportStar(require("./DescribeInstancePatchesCommand"), exports); +tslib_1.__exportStar(require("./DescribeInventoryDeletionsCommand"), exports); +tslib_1.__exportStar(require("./DescribeMaintenanceWindowExecutionTaskInvocationsCommand"), exports); +tslib_1.__exportStar(require("./DescribeMaintenanceWindowExecutionTasksCommand"), exports); +tslib_1.__exportStar(require("./DescribeMaintenanceWindowExecutionsCommand"), exports); +tslib_1.__exportStar(require("./DescribeMaintenanceWindowScheduleCommand"), exports); +tslib_1.__exportStar(require("./DescribeMaintenanceWindowTargetsCommand"), exports); +tslib_1.__exportStar(require("./DescribeMaintenanceWindowTasksCommand"), exports); +tslib_1.__exportStar(require("./DescribeMaintenanceWindowsCommand"), exports); +tslib_1.__exportStar(require("./DescribeMaintenanceWindowsForTargetCommand"), exports); +tslib_1.__exportStar(require("./DescribeOpsItemsCommand"), exports); +tslib_1.__exportStar(require("./DescribeParametersCommand"), exports); +tslib_1.__exportStar(require("./DescribePatchBaselinesCommand"), exports); +tslib_1.__exportStar(require("./DescribePatchGroupStateCommand"), exports); +tslib_1.__exportStar(require("./DescribePatchGroupsCommand"), exports); +tslib_1.__exportStar(require("./DescribePatchPropertiesCommand"), exports); +tslib_1.__exportStar(require("./DescribeSessionsCommand"), exports); +tslib_1.__exportStar(require("./DisassociateOpsItemRelatedItemCommand"), exports); +tslib_1.__exportStar(require("./GetAutomationExecutionCommand"), exports); +tslib_1.__exportStar(require("./GetCalendarStateCommand"), exports); +tslib_1.__exportStar(require("./GetCommandInvocationCommand"), exports); +tslib_1.__exportStar(require("./GetConnectionStatusCommand"), exports); +tslib_1.__exportStar(require("./GetDefaultPatchBaselineCommand"), exports); +tslib_1.__exportStar(require("./GetDeployablePatchSnapshotForInstanceCommand"), exports); +tslib_1.__exportStar(require("./GetDocumentCommand"), exports); +tslib_1.__exportStar(require("./GetInventoryCommand"), exports); +tslib_1.__exportStar(require("./GetInventorySchemaCommand"), exports); +tslib_1.__exportStar(require("./GetMaintenanceWindowCommand"), exports); +tslib_1.__exportStar(require("./GetMaintenanceWindowExecutionCommand"), exports); +tslib_1.__exportStar(require("./GetMaintenanceWindowExecutionTaskCommand"), exports); +tslib_1.__exportStar(require("./GetMaintenanceWindowExecutionTaskInvocationCommand"), exports); +tslib_1.__exportStar(require("./GetMaintenanceWindowTaskCommand"), exports); +tslib_1.__exportStar(require("./GetOpsItemCommand"), exports); +tslib_1.__exportStar(require("./GetOpsMetadataCommand"), exports); +tslib_1.__exportStar(require("./GetOpsSummaryCommand"), exports); +tslib_1.__exportStar(require("./GetParameterCommand"), exports); +tslib_1.__exportStar(require("./GetParameterHistoryCommand"), exports); +tslib_1.__exportStar(require("./GetParametersByPathCommand"), exports); +tslib_1.__exportStar(require("./GetParametersCommand"), exports); +tslib_1.__exportStar(require("./GetPatchBaselineCommand"), exports); +tslib_1.__exportStar(require("./GetPatchBaselineForPatchGroupCommand"), exports); +tslib_1.__exportStar(require("./GetResourcePoliciesCommand"), exports); +tslib_1.__exportStar(require("./GetServiceSettingCommand"), exports); +tslib_1.__exportStar(require("./LabelParameterVersionCommand"), exports); +tslib_1.__exportStar(require("./ListAssociationVersionsCommand"), exports); +tslib_1.__exportStar(require("./ListAssociationsCommand"), exports); +tslib_1.__exportStar(require("./ListCommandInvocationsCommand"), exports); +tslib_1.__exportStar(require("./ListCommandsCommand"), exports); +tslib_1.__exportStar(require("./ListComplianceItemsCommand"), exports); +tslib_1.__exportStar(require("./ListComplianceSummariesCommand"), exports); +tslib_1.__exportStar(require("./ListDocumentMetadataHistoryCommand"), exports); +tslib_1.__exportStar(require("./ListDocumentVersionsCommand"), exports); +tslib_1.__exportStar(require("./ListDocumentsCommand"), exports); +tslib_1.__exportStar(require("./ListInventoryEntriesCommand"), exports); +tslib_1.__exportStar(require("./ListOpsItemEventsCommand"), exports); +tslib_1.__exportStar(require("./ListOpsItemRelatedItemsCommand"), exports); +tslib_1.__exportStar(require("./ListOpsMetadataCommand"), exports); +tslib_1.__exportStar(require("./ListResourceComplianceSummariesCommand"), exports); +tslib_1.__exportStar(require("./ListResourceDataSyncCommand"), exports); +tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports); +tslib_1.__exportStar(require("./ModifyDocumentPermissionCommand"), exports); +tslib_1.__exportStar(require("./PutComplianceItemsCommand"), exports); +tslib_1.__exportStar(require("./PutInventoryCommand"), exports); +tslib_1.__exportStar(require("./PutParameterCommand"), exports); +tslib_1.__exportStar(require("./PutResourcePolicyCommand"), exports); +tslib_1.__exportStar(require("./RegisterDefaultPatchBaselineCommand"), exports); +tslib_1.__exportStar(require("./RegisterPatchBaselineForPatchGroupCommand"), exports); +tslib_1.__exportStar(require("./RegisterTargetWithMaintenanceWindowCommand"), exports); +tslib_1.__exportStar(require("./RegisterTaskWithMaintenanceWindowCommand"), exports); +tslib_1.__exportStar(require("./RemoveTagsFromResourceCommand"), exports); +tslib_1.__exportStar(require("./ResetServiceSettingCommand"), exports); +tslib_1.__exportStar(require("./ResumeSessionCommand"), exports); +tslib_1.__exportStar(require("./SendAutomationSignalCommand"), exports); +tslib_1.__exportStar(require("./SendCommandCommand"), exports); +tslib_1.__exportStar(require("./StartAssociationsOnceCommand"), exports); +tslib_1.__exportStar(require("./StartAutomationExecutionCommand"), exports); +tslib_1.__exportStar(require("./StartChangeRequestExecutionCommand"), exports); +tslib_1.__exportStar(require("./StartSessionCommand"), exports); +tslib_1.__exportStar(require("./StopAutomationExecutionCommand"), exports); +tslib_1.__exportStar(require("./TerminateSessionCommand"), exports); +tslib_1.__exportStar(require("./UnlabelParameterVersionCommand"), exports); +tslib_1.__exportStar(require("./UpdateAssociationCommand"), exports); +tslib_1.__exportStar(require("./UpdateAssociationStatusCommand"), exports); +tslib_1.__exportStar(require("./UpdateDocumentCommand"), exports); +tslib_1.__exportStar(require("./UpdateDocumentDefaultVersionCommand"), exports); +tslib_1.__exportStar(require("./UpdateDocumentMetadataCommand"), exports); +tslib_1.__exportStar(require("./UpdateMaintenanceWindowCommand"), exports); +tslib_1.__exportStar(require("./UpdateMaintenanceWindowTargetCommand"), exports); +tslib_1.__exportStar(require("./UpdateMaintenanceWindowTaskCommand"), exports); +tslib_1.__exportStar(require("./UpdateManagedInstanceRoleCommand"), exports); +tslib_1.__exportStar(require("./UpdateOpsItemCommand"), exports); +tslib_1.__exportStar(require("./UpdateOpsMetadataCommand"), exports); +tslib_1.__exportStar(require("./UpdatePatchBaselineCommand"), exports); +tslib_1.__exportStar(require("./UpdateResourceDataSyncCommand"), exports); +tslib_1.__exportStar(require("./UpdateServiceSettingCommand"), exports); diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/endpoint/EndpointParameters.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/endpoint/EndpointParameters.js similarity index 91% rename from node_modules/@aws-sdk/client-lambda/dist-cjs/endpoint/EndpointParameters.js rename to node_modules/@aws-sdk/client-ssm/dist-cjs/endpoint/EndpointParameters.js index 4ecf690b..13ecc4a4 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-cjs/endpoint/EndpointParameters.js +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/endpoint/EndpointParameters.js @@ -6,7 +6,7 @@ const resolveClientEndpointParameters = (options) => { ...options, useDualstackEndpoint: options.useDualstackEndpoint ?? false, useFipsEndpoint: options.useFipsEndpoint ?? false, - defaultSigningName: "lambda", + defaultSigningName: "ssm", }; }; exports.resolveClientEndpointParameters = resolveClientEndpointParameters; diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/endpoint/endpointResolver.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/endpoint/endpointResolver.js similarity index 100% rename from node_modules/@aws-sdk/client-lambda/dist-cjs/endpoint/endpointResolver.js rename to node_modules/@aws-sdk/client-ssm/dist-cjs/endpoint/endpointResolver.js diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/endpoint/ruleset.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/endpoint/ruleset.js new file mode 100644 index 00000000..169df675 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/endpoint/ruleset.js @@ -0,0 +1,7 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.ruleSet = void 0; +const u = "required", v = "fn", w = "argv", x = "ref"; +const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = "getAttr", i = { [u]: false, "type": "String" }, j = { [u]: true, "default": false, "type": "Boolean" }, k = { [x]: "Endpoint" }, l = { [v]: c, [w]: [{ [x]: "UseFIPS" }, true] }, m = { [v]: c, [w]: [{ [x]: "UseDualStack" }, true] }, n = {}, o = { [v]: h, [w]: [{ [x]: g }, "supportsFIPS"] }, p = { [x]: g }, q = { [v]: c, [w]: [true, { [v]: h, [w]: [p, "supportsDualStack"] }] }, r = [l], s = [m], t = [{ [x]: "Region" }]; +const _data = { version: "1.0", parameters: { Region: i, UseDualStack: j, UseFIPS: j, Endpoint: i }, rules: [{ conditions: [{ [v]: b, [w]: [k] }], rules: [{ conditions: r, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { conditions: s, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: k, properties: n, headers: n }, type: e }], type: f }, { conditions: [{ [v]: b, [w]: t }], rules: [{ conditions: [{ [v]: "aws.partition", [w]: t, assign: g }], rules: [{ conditions: [l, m], rules: [{ conditions: [{ [v]: c, [w]: [a, o] }, q], rules: [{ endpoint: { url: "https://ssm-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: r, rules: [{ conditions: [{ [v]: c, [w]: [o, a] }], rules: [{ conditions: [{ [v]: "stringEquals", [w]: [{ [v]: h, [w]: [p, "name"] }, "aws-us-gov"] }], endpoint: { url: "https://ssm.{Region}.amazonaws.com", properties: n, headers: n }, type: e }, { endpoint: { url: "https://ssm-fips.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: s, rules: [{ conditions: [q], rules: [{ endpoint: { url: "https://ssm.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { endpoint: { url: "https://ssm.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }] }; +exports.ruleSet = _data; diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/extensionConfiguration.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/extensionConfiguration.js similarity index 100% rename from node_modules/@aws-sdk/client-lambda/dist-cjs/extensionConfiguration.js rename to node_modules/@aws-sdk/client-ssm/dist-cjs/extensionConfiguration.js diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/index.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/index.js new file mode 100644 index 00000000..adc4e8f8 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/index.js @@ -0,0 +1,13 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.SSMServiceException = void 0; +const tslib_1 = require("tslib"); +tslib_1.__exportStar(require("./SSMClient"), exports); +tslib_1.__exportStar(require("./SSM"), exports); +tslib_1.__exportStar(require("./commands"), exports); +tslib_1.__exportStar(require("./pagination"), exports); +tslib_1.__exportStar(require("./waiters"), exports); +tslib_1.__exportStar(require("./models"), exports); +require("@aws-sdk/util-endpoints"); +var SSMServiceException_1 = require("./models/SSMServiceException"); +Object.defineProperty(exports, "SSMServiceException", { enumerable: true, get: function () { return SSMServiceException_1.SSMServiceException; } }); diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/models/LambdaServiceException.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/models/SSMServiceException.js similarity index 55% rename from node_modules/@aws-sdk/client-lambda/dist-cjs/models/LambdaServiceException.js rename to node_modules/@aws-sdk/client-ssm/dist-cjs/models/SSMServiceException.js index 42958ea2..f189e2d0 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-cjs/models/LambdaServiceException.js +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/models/SSMServiceException.js @@ -1,12 +1,12 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); -exports.LambdaServiceException = exports.__ServiceException = void 0; +exports.SSMServiceException = exports.__ServiceException = void 0; const smithy_client_1 = require("@smithy/smithy-client"); Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } }); -class LambdaServiceException extends smithy_client_1.ServiceException { +class SSMServiceException extends smithy_client_1.ServiceException { constructor(options) { super(options); - Object.setPrototypeOf(this, LambdaServiceException.prototype); + Object.setPrototypeOf(this, SSMServiceException.prototype); } } -exports.LambdaServiceException = LambdaServiceException; +exports.SSMServiceException = SSMServiceException; diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/models/index.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/models/index.js similarity index 60% rename from node_modules/@aws-sdk/client-lambda/dist-cjs/models/index.js rename to node_modules/@aws-sdk/client-ssm/dist-cjs/models/index.js index 8ced418b..012dacc0 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-cjs/models/index.js +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/models/index.js @@ -2,3 +2,5 @@ Object.defineProperty(exports, "__esModule", { value: true }); const tslib_1 = require("tslib"); tslib_1.__exportStar(require("./models_0"), exports); +tslib_1.__exportStar(require("./models_1"), exports); +tslib_1.__exportStar(require("./models_2"), exports); diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/models/models_0.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/models/models_0.js new file mode 100644 index 00000000..a34b2f00 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/models/models_0.js @@ -0,0 +1,1399 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.OpsItemAlreadyExistsException = exports.OpsItemAccessDeniedException = exports.OpsItemDataType = exports.ResourceLimitExceededException = exports.IdempotentParameterMismatch = exports.MaxDocumentSizeExceeded = exports.InvalidDocumentSchemaVersion = exports.InvalidDocumentContent = exports.DocumentLimitExceeded = exports.DocumentAlreadyExists = exports.DocumentStatus = exports.ReviewStatus = exports.PlatformType = exports.DocumentParameterType = exports.DocumentHashType = exports.DocumentType = exports.DocumentFormat = exports.AttachmentsSourceKey = exports.Fault = exports.UnsupportedPlatformType = exports.InvalidTargetMaps = exports.InvalidTarget = exports.InvalidTag = exports.InvalidSchedule = exports.InvalidOutputLocation = exports.InvalidDocumentVersion = exports.InvalidDocument = exports.AssociationStatusName = exports.AssociationSyncCompliance = exports.AssociationComplianceSeverity = exports.AssociationLimitExceeded = exports.AssociationAlreadyExists = exports.InvalidParameters = exports.DoesNotExistException = exports.InvalidInstanceId = exports.InvalidCommandId = exports.DuplicateInstanceId = exports.OpsItemRelatedItemAlreadyExistsException = exports.OpsItemNotFoundException = exports.OpsItemLimitExceededException = exports.OpsItemInvalidParameterException = exports.OpsItemConflictException = exports.AlreadyExistsException = exports.ExternalAlarmState = exports.TooManyUpdates = exports.TooManyTagsError = exports.InvalidResourceType = exports.InvalidResourceId = exports.InternalServerError = exports.ResourceTypeForTagging = void 0; +exports.UnsupportedOperatingSystem = exports.PatchDeploymentStatus = exports.InvalidPermissionType = exports.DocumentPermissionType = exports.StepExecutionFilterKey = exports.AutomationExecutionNotFoundException = exports.InvalidFilterValue = exports.InvalidFilterKey = exports.ExecutionMode = exports.AutomationType = exports.AutomationSubtype = exports.AutomationExecutionStatus = exports.AutomationExecutionFilterKey = exports.AssociationExecutionTargetsFilterKey = exports.AssociationExecutionDoesNotExist = exports.AssociationFilterOperatorType = exports.AssociationExecutionFilterKey = exports.InvalidAssociationVersion = exports.InvalidNextToken = exports.InvalidFilter = exports.DescribeActivationsFilterKeys = exports.TargetInUseException = exports.ResourcePolicyInvalidParameterException = exports.ResourcePolicyConflictException = exports.ResourceDataSyncNotFoundException = exports.ResourceInUseException = exports.ParameterNotFound = exports.OpsMetadataNotFoundException = exports.InvalidTypeNameException = exports.InvalidOptionException = exports.InvalidInventoryRequestException = exports.InvalidDeleteInventoryParametersException = exports.InventorySchemaDeleteOption = exports.InvalidDocumentOperation = exports.AssociatedInstances = exports.AssociationDoesNotExist = exports.InvalidActivationId = exports.InvalidActivation = exports.ResourceDataSyncInvalidConfigurationException = exports.ResourceDataSyncCountExceededException = exports.ResourceDataSyncAlreadyExistsException = exports.ResourceDataSyncS3Format = exports.PatchAction = exports.OperatingSystem = exports.PatchFilterKey = exports.PatchComplianceLevel = exports.OpsMetadataTooManyUpdatesException = exports.OpsMetadataLimitExceededException = exports.OpsMetadataInvalidArgumentException = exports.OpsMetadataAlreadyExistsException = void 0; +exports.MaintenanceWindowTaskParameterValueExpressionFilterSensitiveLog = exports.DescribeMaintenanceWindowTargetsResultFilterSensitiveLog = exports.MaintenanceWindowTargetFilterSensitiveLog = exports.DescribeMaintenanceWindowsResultFilterSensitiveLog = exports.MaintenanceWindowIdentityFilterSensitiveLog = exports.DescribeMaintenanceWindowExecutionTaskInvocationsResultFilterSensitiveLog = exports.MaintenanceWindowExecutionTaskInvocationIdentityFilterSensitiveLog = exports.DescribeInstancePatchStatesForPatchGroupResultFilterSensitiveLog = exports.DescribeInstancePatchStatesResultFilterSensitiveLog = exports.InstancePatchStateFilterSensitiveLog = exports.DescribeAssociationResultFilterSensitiveLog = exports.CreatePatchBaselineRequestFilterSensitiveLog = exports.PatchSourceFilterSensitiveLog = exports.CreateMaintenanceWindowRequestFilterSensitiveLog = exports.CreateAssociationBatchResultFilterSensitiveLog = exports.FailedCreateAssociationFilterSensitiveLog = exports.CreateAssociationBatchRequestFilterSensitiveLog = exports.CreateAssociationBatchRequestEntryFilterSensitiveLog = exports.CreateAssociationResultFilterSensitiveLog = exports.AssociationDescriptionFilterSensitiveLog = exports.CreateAssociationRequestFilterSensitiveLog = exports.MaintenanceWindowTaskCutoffBehavior = exports.MaintenanceWindowResourceType = exports.MaintenanceWindowTaskType = exports.MaintenanceWindowExecutionStatus = exports.InvalidDeletionIdException = exports.InventoryDeletionStatus = exports.InstancePatchStateOperatorType = exports.RebootOption = exports.PatchOperationType = exports.PatchComplianceDataState = exports.InvalidInstanceInformationFilterValue = exports.SourceType = exports.ResourceType = exports.PingStatus = exports.InstanceInformationFilterKey = void 0; +const smithy_client_1 = require("@smithy/smithy-client"); +const SSMServiceException_1 = require("./SSMServiceException"); +exports.ResourceTypeForTagging = { + ASSOCIATION: "Association", + AUTOMATION: "Automation", + DOCUMENT: "Document", + MAINTENANCE_WINDOW: "MaintenanceWindow", + MANAGED_INSTANCE: "ManagedInstance", + OPSMETADATA: "OpsMetadata", + OPS_ITEM: "OpsItem", + PARAMETER: "Parameter", + PATCH_BASELINE: "PatchBaseline", +}; +class InternalServerError extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "InternalServerError", + $fault: "server", + ...opts, + }); + this.name = "InternalServerError"; + this.$fault = "server"; + Object.setPrototypeOf(this, InternalServerError.prototype); + this.Message = opts.Message; + } +} +exports.InternalServerError = InternalServerError; +class InvalidResourceId extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "InvalidResourceId", + $fault: "client", + ...opts, + }); + this.name = "InvalidResourceId"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvalidResourceId.prototype); + } +} +exports.InvalidResourceId = InvalidResourceId; +class InvalidResourceType extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "InvalidResourceType", + $fault: "client", + ...opts, + }); + this.name = "InvalidResourceType"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvalidResourceType.prototype); + } +} +exports.InvalidResourceType = InvalidResourceType; +class TooManyTagsError extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "TooManyTagsError", + $fault: "client", + ...opts, + }); + this.name = "TooManyTagsError"; + this.$fault = "client"; + Object.setPrototypeOf(this, TooManyTagsError.prototype); + } +} +exports.TooManyTagsError = TooManyTagsError; +class TooManyUpdates extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "TooManyUpdates", + $fault: "client", + ...opts, + }); + this.name = "TooManyUpdates"; + this.$fault = "client"; + Object.setPrototypeOf(this, TooManyUpdates.prototype); + this.Message = opts.Message; + } +} +exports.TooManyUpdates = TooManyUpdates; +exports.ExternalAlarmState = { + ALARM: "ALARM", + UNKNOWN: "UNKNOWN", +}; +class AlreadyExistsException extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "AlreadyExistsException", + $fault: "client", + ...opts, + }); + this.name = "AlreadyExistsException"; + this.$fault = "client"; + Object.setPrototypeOf(this, AlreadyExistsException.prototype); + this.Message = opts.Message; + } +} +exports.AlreadyExistsException = AlreadyExistsException; +class OpsItemConflictException extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "OpsItemConflictException", + $fault: "client", + ...opts, + }); + this.name = "OpsItemConflictException"; + this.$fault = "client"; + Object.setPrototypeOf(this, OpsItemConflictException.prototype); + this.Message = opts.Message; + } +} +exports.OpsItemConflictException = OpsItemConflictException; +class OpsItemInvalidParameterException extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "OpsItemInvalidParameterException", + $fault: "client", + ...opts, + }); + this.name = "OpsItemInvalidParameterException"; + this.$fault = "client"; + Object.setPrototypeOf(this, OpsItemInvalidParameterException.prototype); + this.ParameterNames = opts.ParameterNames; + this.Message = opts.Message; + } +} +exports.OpsItemInvalidParameterException = OpsItemInvalidParameterException; +class OpsItemLimitExceededException extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "OpsItemLimitExceededException", + $fault: "client", + ...opts, + }); + this.name = "OpsItemLimitExceededException"; + this.$fault = "client"; + Object.setPrototypeOf(this, OpsItemLimitExceededException.prototype); + this.ResourceTypes = opts.ResourceTypes; + this.Limit = opts.Limit; + this.LimitType = opts.LimitType; + this.Message = opts.Message; + } +} +exports.OpsItemLimitExceededException = OpsItemLimitExceededException; +class OpsItemNotFoundException extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "OpsItemNotFoundException", + $fault: "client", + ...opts, + }); + this.name = "OpsItemNotFoundException"; + this.$fault = "client"; + Object.setPrototypeOf(this, OpsItemNotFoundException.prototype); + this.Message = opts.Message; + } +} +exports.OpsItemNotFoundException = OpsItemNotFoundException; +class OpsItemRelatedItemAlreadyExistsException extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "OpsItemRelatedItemAlreadyExistsException", + $fault: "client", + ...opts, + }); + this.name = "OpsItemRelatedItemAlreadyExistsException"; + this.$fault = "client"; + Object.setPrototypeOf(this, OpsItemRelatedItemAlreadyExistsException.prototype); + this.Message = opts.Message; + this.ResourceUri = opts.ResourceUri; + this.OpsItemId = opts.OpsItemId; + } +} +exports.OpsItemRelatedItemAlreadyExistsException = OpsItemRelatedItemAlreadyExistsException; +class DuplicateInstanceId extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "DuplicateInstanceId", + $fault: "client", + ...opts, + }); + this.name = "DuplicateInstanceId"; + this.$fault = "client"; + Object.setPrototypeOf(this, DuplicateInstanceId.prototype); + } +} +exports.DuplicateInstanceId = DuplicateInstanceId; +class InvalidCommandId extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "InvalidCommandId", + $fault: "client", + ...opts, + }); + this.name = "InvalidCommandId"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvalidCommandId.prototype); + } +} +exports.InvalidCommandId = InvalidCommandId; +class InvalidInstanceId extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "InvalidInstanceId", + $fault: "client", + ...opts, + }); + this.name = "InvalidInstanceId"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvalidInstanceId.prototype); + this.Message = opts.Message; + } +} +exports.InvalidInstanceId = InvalidInstanceId; +class DoesNotExistException extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "DoesNotExistException", + $fault: "client", + ...opts, + }); + this.name = "DoesNotExistException"; + this.$fault = "client"; + Object.setPrototypeOf(this, DoesNotExistException.prototype); + this.Message = opts.Message; + } +} +exports.DoesNotExistException = DoesNotExistException; +class InvalidParameters extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "InvalidParameters", + $fault: "client", + ...opts, + }); + this.name = "InvalidParameters"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvalidParameters.prototype); + this.Message = opts.Message; + } +} +exports.InvalidParameters = InvalidParameters; +class AssociationAlreadyExists extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "AssociationAlreadyExists", + $fault: "client", + ...opts, + }); + this.name = "AssociationAlreadyExists"; + this.$fault = "client"; + Object.setPrototypeOf(this, AssociationAlreadyExists.prototype); + } +} +exports.AssociationAlreadyExists = AssociationAlreadyExists; +class AssociationLimitExceeded extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "AssociationLimitExceeded", + $fault: "client", + ...opts, + }); + this.name = "AssociationLimitExceeded"; + this.$fault = "client"; + Object.setPrototypeOf(this, AssociationLimitExceeded.prototype); + } +} +exports.AssociationLimitExceeded = AssociationLimitExceeded; +exports.AssociationComplianceSeverity = { + Critical: "CRITICAL", + High: "HIGH", + Low: "LOW", + Medium: "MEDIUM", + Unspecified: "UNSPECIFIED", +}; +exports.AssociationSyncCompliance = { + Auto: "AUTO", + Manual: "MANUAL", +}; +exports.AssociationStatusName = { + Failed: "Failed", + Pending: "Pending", + Success: "Success", +}; +class InvalidDocument extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "InvalidDocument", + $fault: "client", + ...opts, + }); + this.name = "InvalidDocument"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvalidDocument.prototype); + this.Message = opts.Message; + } +} +exports.InvalidDocument = InvalidDocument; +class InvalidDocumentVersion extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "InvalidDocumentVersion", + $fault: "client", + ...opts, + }); + this.name = "InvalidDocumentVersion"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvalidDocumentVersion.prototype); + this.Message = opts.Message; + } +} +exports.InvalidDocumentVersion = InvalidDocumentVersion; +class InvalidOutputLocation extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "InvalidOutputLocation", + $fault: "client", + ...opts, + }); + this.name = "InvalidOutputLocation"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvalidOutputLocation.prototype); + } +} +exports.InvalidOutputLocation = InvalidOutputLocation; +class InvalidSchedule extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "InvalidSchedule", + $fault: "client", + ...opts, + }); + this.name = "InvalidSchedule"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvalidSchedule.prototype); + this.Message = opts.Message; + } +} +exports.InvalidSchedule = InvalidSchedule; +class InvalidTag extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "InvalidTag", + $fault: "client", + ...opts, + }); + this.name = "InvalidTag"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvalidTag.prototype); + this.Message = opts.Message; + } +} +exports.InvalidTag = InvalidTag; +class InvalidTarget extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "InvalidTarget", + $fault: "client", + ...opts, + }); + this.name = "InvalidTarget"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvalidTarget.prototype); + this.Message = opts.Message; + } +} +exports.InvalidTarget = InvalidTarget; +class InvalidTargetMaps extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "InvalidTargetMaps", + $fault: "client", + ...opts, + }); + this.name = "InvalidTargetMaps"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvalidTargetMaps.prototype); + this.Message = opts.Message; + } +} +exports.InvalidTargetMaps = InvalidTargetMaps; +class UnsupportedPlatformType extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "UnsupportedPlatformType", + $fault: "client", + ...opts, + }); + this.name = "UnsupportedPlatformType"; + this.$fault = "client"; + Object.setPrototypeOf(this, UnsupportedPlatformType.prototype); + this.Message = opts.Message; + } +} +exports.UnsupportedPlatformType = UnsupportedPlatformType; +exports.Fault = { + Client: "Client", + Server: "Server", + Unknown: "Unknown", +}; +exports.AttachmentsSourceKey = { + AttachmentReference: "AttachmentReference", + S3FileUrl: "S3FileUrl", + SourceUrl: "SourceUrl", +}; +exports.DocumentFormat = { + JSON: "JSON", + TEXT: "TEXT", + YAML: "YAML", +}; +exports.DocumentType = { + ApplicationConfiguration: "ApplicationConfiguration", + ApplicationConfigurationSchema: "ApplicationConfigurationSchema", + Automation: "Automation", + ChangeCalendar: "ChangeCalendar", + ChangeTemplate: "Automation.ChangeTemplate", + CloudFormation: "CloudFormation", + Command: "Command", + ConformancePackTemplate: "ConformancePackTemplate", + DeploymentStrategy: "DeploymentStrategy", + Package: "Package", + Policy: "Policy", + ProblemAnalysis: "ProblemAnalysis", + ProblemAnalysisTemplate: "ProblemAnalysisTemplate", + QuickSetup: "QuickSetup", + Session: "Session", +}; +exports.DocumentHashType = { + SHA1: "Sha1", + SHA256: "Sha256", +}; +exports.DocumentParameterType = { + String: "String", + StringList: "StringList", +}; +exports.PlatformType = { + LINUX: "Linux", + MACOS: "MacOS", + WINDOWS: "Windows", +}; +exports.ReviewStatus = { + APPROVED: "APPROVED", + NOT_REVIEWED: "NOT_REVIEWED", + PENDING: "PENDING", + REJECTED: "REJECTED", +}; +exports.DocumentStatus = { + Active: "Active", + Creating: "Creating", + Deleting: "Deleting", + Failed: "Failed", + Updating: "Updating", +}; +class DocumentAlreadyExists extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "DocumentAlreadyExists", + $fault: "client", + ...opts, + }); + this.name = "DocumentAlreadyExists"; + this.$fault = "client"; + Object.setPrototypeOf(this, DocumentAlreadyExists.prototype); + this.Message = opts.Message; + } +} +exports.DocumentAlreadyExists = DocumentAlreadyExists; +class DocumentLimitExceeded extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "DocumentLimitExceeded", + $fault: "client", + ...opts, + }); + this.name = "DocumentLimitExceeded"; + this.$fault = "client"; + Object.setPrototypeOf(this, DocumentLimitExceeded.prototype); + this.Message = opts.Message; + } +} +exports.DocumentLimitExceeded = DocumentLimitExceeded; +class InvalidDocumentContent extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "InvalidDocumentContent", + $fault: "client", + ...opts, + }); + this.name = "InvalidDocumentContent"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvalidDocumentContent.prototype); + this.Message = opts.Message; + } +} +exports.InvalidDocumentContent = InvalidDocumentContent; +class InvalidDocumentSchemaVersion extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "InvalidDocumentSchemaVersion", + $fault: "client", + ...opts, + }); + this.name = "InvalidDocumentSchemaVersion"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvalidDocumentSchemaVersion.prototype); + this.Message = opts.Message; + } +} +exports.InvalidDocumentSchemaVersion = InvalidDocumentSchemaVersion; +class MaxDocumentSizeExceeded extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "MaxDocumentSizeExceeded", + $fault: "client", + ...opts, + }); + this.name = "MaxDocumentSizeExceeded"; + this.$fault = "client"; + Object.setPrototypeOf(this, MaxDocumentSizeExceeded.prototype); + this.Message = opts.Message; + } +} +exports.MaxDocumentSizeExceeded = MaxDocumentSizeExceeded; +class IdempotentParameterMismatch extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "IdempotentParameterMismatch", + $fault: "client", + ...opts, + }); + this.name = "IdempotentParameterMismatch"; + this.$fault = "client"; + Object.setPrototypeOf(this, IdempotentParameterMismatch.prototype); + this.Message = opts.Message; + } +} +exports.IdempotentParameterMismatch = IdempotentParameterMismatch; +class ResourceLimitExceededException extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "ResourceLimitExceededException", + $fault: "client", + ...opts, + }); + this.name = "ResourceLimitExceededException"; + this.$fault = "client"; + Object.setPrototypeOf(this, ResourceLimitExceededException.prototype); + this.Message = opts.Message; + } +} +exports.ResourceLimitExceededException = ResourceLimitExceededException; +exports.OpsItemDataType = { + SEARCHABLE_STRING: "SearchableString", + STRING: "String", +}; +class OpsItemAccessDeniedException extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "OpsItemAccessDeniedException", + $fault: "client", + ...opts, + }); + this.name = "OpsItemAccessDeniedException"; + this.$fault = "client"; + Object.setPrototypeOf(this, OpsItemAccessDeniedException.prototype); + this.Message = opts.Message; + } +} +exports.OpsItemAccessDeniedException = OpsItemAccessDeniedException; +class OpsItemAlreadyExistsException extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "OpsItemAlreadyExistsException", + $fault: "client", + ...opts, + }); + this.name = "OpsItemAlreadyExistsException"; + this.$fault = "client"; + Object.setPrototypeOf(this, OpsItemAlreadyExistsException.prototype); + this.Message = opts.Message; + this.OpsItemId = opts.OpsItemId; + } +} +exports.OpsItemAlreadyExistsException = OpsItemAlreadyExistsException; +class OpsMetadataAlreadyExistsException extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "OpsMetadataAlreadyExistsException", + $fault: "client", + ...opts, + }); + this.name = "OpsMetadataAlreadyExistsException"; + this.$fault = "client"; + Object.setPrototypeOf(this, OpsMetadataAlreadyExistsException.prototype); + } +} +exports.OpsMetadataAlreadyExistsException = OpsMetadataAlreadyExistsException; +class OpsMetadataInvalidArgumentException extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "OpsMetadataInvalidArgumentException", + $fault: "client", + ...opts, + }); + this.name = "OpsMetadataInvalidArgumentException"; + this.$fault = "client"; + Object.setPrototypeOf(this, OpsMetadataInvalidArgumentException.prototype); + } +} +exports.OpsMetadataInvalidArgumentException = OpsMetadataInvalidArgumentException; +class OpsMetadataLimitExceededException extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "OpsMetadataLimitExceededException", + $fault: "client", + ...opts, + }); + this.name = "OpsMetadataLimitExceededException"; + this.$fault = "client"; + Object.setPrototypeOf(this, OpsMetadataLimitExceededException.prototype); + } +} +exports.OpsMetadataLimitExceededException = OpsMetadataLimitExceededException; +class OpsMetadataTooManyUpdatesException extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "OpsMetadataTooManyUpdatesException", + $fault: "client", + ...opts, + }); + this.name = "OpsMetadataTooManyUpdatesException"; + this.$fault = "client"; + Object.setPrototypeOf(this, OpsMetadataTooManyUpdatesException.prototype); + } +} +exports.OpsMetadataTooManyUpdatesException = OpsMetadataTooManyUpdatesException; +exports.PatchComplianceLevel = { + Critical: "CRITICAL", + High: "HIGH", + Informational: "INFORMATIONAL", + Low: "LOW", + Medium: "MEDIUM", + Unspecified: "UNSPECIFIED", +}; +exports.PatchFilterKey = { + AdvisoryId: "ADVISORY_ID", + Arch: "ARCH", + BugzillaId: "BUGZILLA_ID", + CVEId: "CVE_ID", + Classification: "CLASSIFICATION", + Epoch: "EPOCH", + MsrcSeverity: "MSRC_SEVERITY", + Name: "NAME", + PatchId: "PATCH_ID", + PatchSet: "PATCH_SET", + Priority: "PRIORITY", + Product: "PRODUCT", + ProductFamily: "PRODUCT_FAMILY", + Release: "RELEASE", + Repository: "REPOSITORY", + Section: "SECTION", + Security: "SECURITY", + Severity: "SEVERITY", + Version: "VERSION", +}; +exports.OperatingSystem = { + AlmaLinux: "ALMA_LINUX", + AmazonLinux: "AMAZON_LINUX", + AmazonLinux2: "AMAZON_LINUX_2", + AmazonLinux2022: "AMAZON_LINUX_2022", + AmazonLinux2023: "AMAZON_LINUX_2023", + CentOS: "CENTOS", + Debian: "DEBIAN", + MacOS: "MACOS", + OracleLinux: "ORACLE_LINUX", + Raspbian: "RASPBIAN", + RedhatEnterpriseLinux: "REDHAT_ENTERPRISE_LINUX", + Rocky_Linux: "ROCKY_LINUX", + Suse: "SUSE", + Ubuntu: "UBUNTU", + Windows: "WINDOWS", +}; +exports.PatchAction = { + AllowAsDependency: "ALLOW_AS_DEPENDENCY", + Block: "BLOCK", +}; +exports.ResourceDataSyncS3Format = { + JSON_SERDE: "JsonSerDe", +}; +class ResourceDataSyncAlreadyExistsException extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "ResourceDataSyncAlreadyExistsException", + $fault: "client", + ...opts, + }); + this.name = "ResourceDataSyncAlreadyExistsException"; + this.$fault = "client"; + Object.setPrototypeOf(this, ResourceDataSyncAlreadyExistsException.prototype); + this.SyncName = opts.SyncName; + } +} +exports.ResourceDataSyncAlreadyExistsException = ResourceDataSyncAlreadyExistsException; +class ResourceDataSyncCountExceededException extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "ResourceDataSyncCountExceededException", + $fault: "client", + ...opts, + }); + this.name = "ResourceDataSyncCountExceededException"; + this.$fault = "client"; + Object.setPrototypeOf(this, ResourceDataSyncCountExceededException.prototype); + this.Message = opts.Message; + } +} +exports.ResourceDataSyncCountExceededException = ResourceDataSyncCountExceededException; +class ResourceDataSyncInvalidConfigurationException extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "ResourceDataSyncInvalidConfigurationException", + $fault: "client", + ...opts, + }); + this.name = "ResourceDataSyncInvalidConfigurationException"; + this.$fault = "client"; + Object.setPrototypeOf(this, ResourceDataSyncInvalidConfigurationException.prototype); + this.Message = opts.Message; + } +} +exports.ResourceDataSyncInvalidConfigurationException = ResourceDataSyncInvalidConfigurationException; +class InvalidActivation extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "InvalidActivation", + $fault: "client", + ...opts, + }); + this.name = "InvalidActivation"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvalidActivation.prototype); + this.Message = opts.Message; + } +} +exports.InvalidActivation = InvalidActivation; +class InvalidActivationId extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "InvalidActivationId", + $fault: "client", + ...opts, + }); + this.name = "InvalidActivationId"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvalidActivationId.prototype); + this.Message = opts.Message; + } +} +exports.InvalidActivationId = InvalidActivationId; +class AssociationDoesNotExist extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "AssociationDoesNotExist", + $fault: "client", + ...opts, + }); + this.name = "AssociationDoesNotExist"; + this.$fault = "client"; + Object.setPrototypeOf(this, AssociationDoesNotExist.prototype); + this.Message = opts.Message; + } +} +exports.AssociationDoesNotExist = AssociationDoesNotExist; +class AssociatedInstances extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "AssociatedInstances", + $fault: "client", + ...opts, + }); + this.name = "AssociatedInstances"; + this.$fault = "client"; + Object.setPrototypeOf(this, AssociatedInstances.prototype); + } +} +exports.AssociatedInstances = AssociatedInstances; +class InvalidDocumentOperation extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "InvalidDocumentOperation", + $fault: "client", + ...opts, + }); + this.name = "InvalidDocumentOperation"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvalidDocumentOperation.prototype); + this.Message = opts.Message; + } +} +exports.InvalidDocumentOperation = InvalidDocumentOperation; +exports.InventorySchemaDeleteOption = { + DELETE_SCHEMA: "DeleteSchema", + DISABLE_SCHEMA: "DisableSchema", +}; +class InvalidDeleteInventoryParametersException extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "InvalidDeleteInventoryParametersException", + $fault: "client", + ...opts, + }); + this.name = "InvalidDeleteInventoryParametersException"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvalidDeleteInventoryParametersException.prototype); + this.Message = opts.Message; + } +} +exports.InvalidDeleteInventoryParametersException = InvalidDeleteInventoryParametersException; +class InvalidInventoryRequestException extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "InvalidInventoryRequestException", + $fault: "client", + ...opts, + }); + this.name = "InvalidInventoryRequestException"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvalidInventoryRequestException.prototype); + this.Message = opts.Message; + } +} +exports.InvalidInventoryRequestException = InvalidInventoryRequestException; +class InvalidOptionException extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "InvalidOptionException", + $fault: "client", + ...opts, + }); + this.name = "InvalidOptionException"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvalidOptionException.prototype); + this.Message = opts.Message; + } +} +exports.InvalidOptionException = InvalidOptionException; +class InvalidTypeNameException extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "InvalidTypeNameException", + $fault: "client", + ...opts, + }); + this.name = "InvalidTypeNameException"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvalidTypeNameException.prototype); + this.Message = opts.Message; + } +} +exports.InvalidTypeNameException = InvalidTypeNameException; +class OpsMetadataNotFoundException extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "OpsMetadataNotFoundException", + $fault: "client", + ...opts, + }); + this.name = "OpsMetadataNotFoundException"; + this.$fault = "client"; + Object.setPrototypeOf(this, OpsMetadataNotFoundException.prototype); + } +} +exports.OpsMetadataNotFoundException = OpsMetadataNotFoundException; +class ParameterNotFound extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "ParameterNotFound", + $fault: "client", + ...opts, + }); + this.name = "ParameterNotFound"; + this.$fault = "client"; + Object.setPrototypeOf(this, ParameterNotFound.prototype); + } +} +exports.ParameterNotFound = ParameterNotFound; +class ResourceInUseException extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "ResourceInUseException", + $fault: "client", + ...opts, + }); + this.name = "ResourceInUseException"; + this.$fault = "client"; + Object.setPrototypeOf(this, ResourceInUseException.prototype); + this.Message = opts.Message; + } +} +exports.ResourceInUseException = ResourceInUseException; +class ResourceDataSyncNotFoundException extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "ResourceDataSyncNotFoundException", + $fault: "client", + ...opts, + }); + this.name = "ResourceDataSyncNotFoundException"; + this.$fault = "client"; + Object.setPrototypeOf(this, ResourceDataSyncNotFoundException.prototype); + this.SyncName = opts.SyncName; + this.SyncType = opts.SyncType; + this.Message = opts.Message; + } +} +exports.ResourceDataSyncNotFoundException = ResourceDataSyncNotFoundException; +class ResourcePolicyConflictException extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "ResourcePolicyConflictException", + $fault: "client", + ...opts, + }); + this.name = "ResourcePolicyConflictException"; + this.$fault = "client"; + Object.setPrototypeOf(this, ResourcePolicyConflictException.prototype); + this.Message = opts.Message; + } +} +exports.ResourcePolicyConflictException = ResourcePolicyConflictException; +class ResourcePolicyInvalidParameterException extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "ResourcePolicyInvalidParameterException", + $fault: "client", + ...opts, + }); + this.name = "ResourcePolicyInvalidParameterException"; + this.$fault = "client"; + Object.setPrototypeOf(this, ResourcePolicyInvalidParameterException.prototype); + this.ParameterNames = opts.ParameterNames; + this.Message = opts.Message; + } +} +exports.ResourcePolicyInvalidParameterException = ResourcePolicyInvalidParameterException; +class TargetInUseException extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "TargetInUseException", + $fault: "client", + ...opts, + }); + this.name = "TargetInUseException"; + this.$fault = "client"; + Object.setPrototypeOf(this, TargetInUseException.prototype); + this.Message = opts.Message; + } +} +exports.TargetInUseException = TargetInUseException; +exports.DescribeActivationsFilterKeys = { + ACTIVATION_IDS: "ActivationIds", + DEFAULT_INSTANCE_NAME: "DefaultInstanceName", + IAM_ROLE: "IamRole", +}; +class InvalidFilter extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "InvalidFilter", + $fault: "client", + ...opts, + }); + this.name = "InvalidFilter"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvalidFilter.prototype); + this.Message = opts.Message; + } +} +exports.InvalidFilter = InvalidFilter; +class InvalidNextToken extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "InvalidNextToken", + $fault: "client", + ...opts, + }); + this.name = "InvalidNextToken"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvalidNextToken.prototype); + this.Message = opts.Message; + } +} +exports.InvalidNextToken = InvalidNextToken; +class InvalidAssociationVersion extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "InvalidAssociationVersion", + $fault: "client", + ...opts, + }); + this.name = "InvalidAssociationVersion"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvalidAssociationVersion.prototype); + this.Message = opts.Message; + } +} +exports.InvalidAssociationVersion = InvalidAssociationVersion; +exports.AssociationExecutionFilterKey = { + CreatedTime: "CreatedTime", + ExecutionId: "ExecutionId", + Status: "Status", +}; +exports.AssociationFilterOperatorType = { + Equal: "EQUAL", + GreaterThan: "GREATER_THAN", + LessThan: "LESS_THAN", +}; +class AssociationExecutionDoesNotExist extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "AssociationExecutionDoesNotExist", + $fault: "client", + ...opts, + }); + this.name = "AssociationExecutionDoesNotExist"; + this.$fault = "client"; + Object.setPrototypeOf(this, AssociationExecutionDoesNotExist.prototype); + this.Message = opts.Message; + } +} +exports.AssociationExecutionDoesNotExist = AssociationExecutionDoesNotExist; +exports.AssociationExecutionTargetsFilterKey = { + ResourceId: "ResourceId", + ResourceType: "ResourceType", + Status: "Status", +}; +exports.AutomationExecutionFilterKey = { + AUTOMATION_SUBTYPE: "AutomationSubtype", + AUTOMATION_TYPE: "AutomationType", + CURRENT_ACTION: "CurrentAction", + DOCUMENT_NAME_PREFIX: "DocumentNamePrefix", + EXECUTION_ID: "ExecutionId", + EXECUTION_STATUS: "ExecutionStatus", + OPS_ITEM_ID: "OpsItemId", + PARENT_EXECUTION_ID: "ParentExecutionId", + START_TIME_AFTER: "StartTimeAfter", + START_TIME_BEFORE: "StartTimeBefore", + TAG_KEY: "TagKey", + TARGET_RESOURCE_GROUP: "TargetResourceGroup", +}; +exports.AutomationExecutionStatus = { + APPROVED: "Approved", + CANCELLED: "Cancelled", + CANCELLING: "Cancelling", + CHANGE_CALENDAR_OVERRIDE_APPROVED: "ChangeCalendarOverrideApproved", + CHANGE_CALENDAR_OVERRIDE_REJECTED: "ChangeCalendarOverrideRejected", + COMPLETED_WITH_FAILURE: "CompletedWithFailure", + COMPLETED_WITH_SUCCESS: "CompletedWithSuccess", + EXITED: "Exited", + FAILED: "Failed", + INPROGRESS: "InProgress", + PENDING: "Pending", + PENDING_APPROVAL: "PendingApproval", + PENDING_CHANGE_CALENDAR_OVERRIDE: "PendingChangeCalendarOverride", + REJECTED: "Rejected", + RUNBOOK_INPROGRESS: "RunbookInProgress", + SCHEDULED: "Scheduled", + SUCCESS: "Success", + TIMEDOUT: "TimedOut", + WAITING: "Waiting", +}; +exports.AutomationSubtype = { + ChangeRequest: "ChangeRequest", +}; +exports.AutomationType = { + CrossAccount: "CrossAccount", + Local: "Local", +}; +exports.ExecutionMode = { + Auto: "Auto", + Interactive: "Interactive", +}; +class InvalidFilterKey extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "InvalidFilterKey", + $fault: "client", + ...opts, + }); + this.name = "InvalidFilterKey"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvalidFilterKey.prototype); + } +} +exports.InvalidFilterKey = InvalidFilterKey; +class InvalidFilterValue extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "InvalidFilterValue", + $fault: "client", + ...opts, + }); + this.name = "InvalidFilterValue"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvalidFilterValue.prototype); + this.Message = opts.Message; + } +} +exports.InvalidFilterValue = InvalidFilterValue; +class AutomationExecutionNotFoundException extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "AutomationExecutionNotFoundException", + $fault: "client", + ...opts, + }); + this.name = "AutomationExecutionNotFoundException"; + this.$fault = "client"; + Object.setPrototypeOf(this, AutomationExecutionNotFoundException.prototype); + this.Message = opts.Message; + } +} +exports.AutomationExecutionNotFoundException = AutomationExecutionNotFoundException; +exports.StepExecutionFilterKey = { + ACTION: "Action", + PARENT_STEP_EXECUTION_ID: "ParentStepExecutionId", + PARENT_STEP_ITERATION: "ParentStepIteration", + PARENT_STEP_ITERATOR_VALUE: "ParentStepIteratorValue", + START_TIME_AFTER: "StartTimeAfter", + START_TIME_BEFORE: "StartTimeBefore", + STEP_EXECUTION_ID: "StepExecutionId", + STEP_EXECUTION_STATUS: "StepExecutionStatus", + STEP_NAME: "StepName", +}; +exports.DocumentPermissionType = { + SHARE: "Share", +}; +class InvalidPermissionType extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "InvalidPermissionType", + $fault: "client", + ...opts, + }); + this.name = "InvalidPermissionType"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvalidPermissionType.prototype); + this.Message = opts.Message; + } +} +exports.InvalidPermissionType = InvalidPermissionType; +exports.PatchDeploymentStatus = { + Approved: "APPROVED", + ExplicitApproved: "EXPLICIT_APPROVED", + ExplicitRejected: "EXPLICIT_REJECTED", + PendingApproval: "PENDING_APPROVAL", +}; +class UnsupportedOperatingSystem extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "UnsupportedOperatingSystem", + $fault: "client", + ...opts, + }); + this.name = "UnsupportedOperatingSystem"; + this.$fault = "client"; + Object.setPrototypeOf(this, UnsupportedOperatingSystem.prototype); + this.Message = opts.Message; + } +} +exports.UnsupportedOperatingSystem = UnsupportedOperatingSystem; +exports.InstanceInformationFilterKey = { + ACTIVATION_IDS: "ActivationIds", + AGENT_VERSION: "AgentVersion", + ASSOCIATION_STATUS: "AssociationStatus", + IAM_ROLE: "IamRole", + INSTANCE_IDS: "InstanceIds", + PING_STATUS: "PingStatus", + PLATFORM_TYPES: "PlatformTypes", + RESOURCE_TYPE: "ResourceType", +}; +exports.PingStatus = { + CONNECTION_LOST: "ConnectionLost", + INACTIVE: "Inactive", + ONLINE: "Online", +}; +exports.ResourceType = { + EC2_INSTANCE: "EC2Instance", + MANAGED_INSTANCE: "ManagedInstance", +}; +exports.SourceType = { + AWS_EC2_INSTANCE: "AWS::EC2::Instance", + AWS_IOT_THING: "AWS::IoT::Thing", + AWS_SSM_MANAGEDINSTANCE: "AWS::SSM::ManagedInstance", +}; +class InvalidInstanceInformationFilterValue extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "InvalidInstanceInformationFilterValue", + $fault: "client", + ...opts, + }); + this.name = "InvalidInstanceInformationFilterValue"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvalidInstanceInformationFilterValue.prototype); + } +} +exports.InvalidInstanceInformationFilterValue = InvalidInstanceInformationFilterValue; +exports.PatchComplianceDataState = { + Failed: "FAILED", + Installed: "INSTALLED", + InstalledOther: "INSTALLED_OTHER", + InstalledPendingReboot: "INSTALLED_PENDING_REBOOT", + InstalledRejected: "INSTALLED_REJECTED", + Missing: "MISSING", + NotApplicable: "NOT_APPLICABLE", +}; +exports.PatchOperationType = { + INSTALL: "Install", + SCAN: "Scan", +}; +exports.RebootOption = { + NO_REBOOT: "NoReboot", + REBOOT_IF_NEEDED: "RebootIfNeeded", +}; +exports.InstancePatchStateOperatorType = { + EQUAL: "Equal", + GREATER_THAN: "GreaterThan", + LESS_THAN: "LessThan", + NOT_EQUAL: "NotEqual", +}; +exports.InventoryDeletionStatus = { + COMPLETE: "Complete", + IN_PROGRESS: "InProgress", +}; +class InvalidDeletionIdException extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "InvalidDeletionIdException", + $fault: "client", + ...opts, + }); + this.name = "InvalidDeletionIdException"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvalidDeletionIdException.prototype); + this.Message = opts.Message; + } +} +exports.InvalidDeletionIdException = InvalidDeletionIdException; +exports.MaintenanceWindowExecutionStatus = { + Cancelled: "CANCELLED", + Cancelling: "CANCELLING", + Failed: "FAILED", + InProgress: "IN_PROGRESS", + Pending: "PENDING", + SkippedOverlapping: "SKIPPED_OVERLAPPING", + Success: "SUCCESS", + TimedOut: "TIMED_OUT", +}; +exports.MaintenanceWindowTaskType = { + Automation: "AUTOMATION", + Lambda: "LAMBDA", + RunCommand: "RUN_COMMAND", + StepFunctions: "STEP_FUNCTIONS", +}; +exports.MaintenanceWindowResourceType = { + Instance: "INSTANCE", + ResourceGroup: "RESOURCE_GROUP", +}; +exports.MaintenanceWindowTaskCutoffBehavior = { + CancelTask: "CANCEL_TASK", + ContinueTask: "CONTINUE_TASK", +}; +const CreateAssociationRequestFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.Parameters && { Parameters: smithy_client_1.SENSITIVE_STRING }), +}); +exports.CreateAssociationRequestFilterSensitiveLog = CreateAssociationRequestFilterSensitiveLog; +const AssociationDescriptionFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.Parameters && { Parameters: smithy_client_1.SENSITIVE_STRING }), +}); +exports.AssociationDescriptionFilterSensitiveLog = AssociationDescriptionFilterSensitiveLog; +const CreateAssociationResultFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.AssociationDescription && { + AssociationDescription: (0, exports.AssociationDescriptionFilterSensitiveLog)(obj.AssociationDescription), + }), +}); +exports.CreateAssociationResultFilterSensitiveLog = CreateAssociationResultFilterSensitiveLog; +const CreateAssociationBatchRequestEntryFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.Parameters && { Parameters: smithy_client_1.SENSITIVE_STRING }), +}); +exports.CreateAssociationBatchRequestEntryFilterSensitiveLog = CreateAssociationBatchRequestEntryFilterSensitiveLog; +const CreateAssociationBatchRequestFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.Entries && { + Entries: obj.Entries.map((item) => (0, exports.CreateAssociationBatchRequestEntryFilterSensitiveLog)(item)), + }), +}); +exports.CreateAssociationBatchRequestFilterSensitiveLog = CreateAssociationBatchRequestFilterSensitiveLog; +const FailedCreateAssociationFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.Entry && { Entry: (0, exports.CreateAssociationBatchRequestEntryFilterSensitiveLog)(obj.Entry) }), +}); +exports.FailedCreateAssociationFilterSensitiveLog = FailedCreateAssociationFilterSensitiveLog; +const CreateAssociationBatchResultFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.Successful && { Successful: obj.Successful.map((item) => (0, exports.AssociationDescriptionFilterSensitiveLog)(item)) }), + ...(obj.Failed && { Failed: obj.Failed.map((item) => (0, exports.FailedCreateAssociationFilterSensitiveLog)(item)) }), +}); +exports.CreateAssociationBatchResultFilterSensitiveLog = CreateAssociationBatchResultFilterSensitiveLog; +const CreateMaintenanceWindowRequestFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.Description && { Description: smithy_client_1.SENSITIVE_STRING }), +}); +exports.CreateMaintenanceWindowRequestFilterSensitiveLog = CreateMaintenanceWindowRequestFilterSensitiveLog; +const PatchSourceFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.Configuration && { Configuration: smithy_client_1.SENSITIVE_STRING }), +}); +exports.PatchSourceFilterSensitiveLog = PatchSourceFilterSensitiveLog; +const CreatePatchBaselineRequestFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.Sources && { Sources: obj.Sources.map((item) => (0, exports.PatchSourceFilterSensitiveLog)(item)) }), +}); +exports.CreatePatchBaselineRequestFilterSensitiveLog = CreatePatchBaselineRequestFilterSensitiveLog; +const DescribeAssociationResultFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.AssociationDescription && { + AssociationDescription: (0, exports.AssociationDescriptionFilterSensitiveLog)(obj.AssociationDescription), + }), +}); +exports.DescribeAssociationResultFilterSensitiveLog = DescribeAssociationResultFilterSensitiveLog; +const InstancePatchStateFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.OwnerInformation && { OwnerInformation: smithy_client_1.SENSITIVE_STRING }), +}); +exports.InstancePatchStateFilterSensitiveLog = InstancePatchStateFilterSensitiveLog; +const DescribeInstancePatchStatesResultFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.InstancePatchStates && { + InstancePatchStates: obj.InstancePatchStates.map((item) => (0, exports.InstancePatchStateFilterSensitiveLog)(item)), + }), +}); +exports.DescribeInstancePatchStatesResultFilterSensitiveLog = DescribeInstancePatchStatesResultFilterSensitiveLog; +const DescribeInstancePatchStatesForPatchGroupResultFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.InstancePatchStates && { + InstancePatchStates: obj.InstancePatchStates.map((item) => (0, exports.InstancePatchStateFilterSensitiveLog)(item)), + }), +}); +exports.DescribeInstancePatchStatesForPatchGroupResultFilterSensitiveLog = DescribeInstancePatchStatesForPatchGroupResultFilterSensitiveLog; +const MaintenanceWindowExecutionTaskInvocationIdentityFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.Parameters && { Parameters: smithy_client_1.SENSITIVE_STRING }), + ...(obj.OwnerInformation && { OwnerInformation: smithy_client_1.SENSITIVE_STRING }), +}); +exports.MaintenanceWindowExecutionTaskInvocationIdentityFilterSensitiveLog = MaintenanceWindowExecutionTaskInvocationIdentityFilterSensitiveLog; +const DescribeMaintenanceWindowExecutionTaskInvocationsResultFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.WindowExecutionTaskInvocationIdentities && { + WindowExecutionTaskInvocationIdentities: obj.WindowExecutionTaskInvocationIdentities.map((item) => (0, exports.MaintenanceWindowExecutionTaskInvocationIdentityFilterSensitiveLog)(item)), + }), +}); +exports.DescribeMaintenanceWindowExecutionTaskInvocationsResultFilterSensitiveLog = DescribeMaintenanceWindowExecutionTaskInvocationsResultFilterSensitiveLog; +const MaintenanceWindowIdentityFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.Description && { Description: smithy_client_1.SENSITIVE_STRING }), +}); +exports.MaintenanceWindowIdentityFilterSensitiveLog = MaintenanceWindowIdentityFilterSensitiveLog; +const DescribeMaintenanceWindowsResultFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.WindowIdentities && { + WindowIdentities: obj.WindowIdentities.map((item) => (0, exports.MaintenanceWindowIdentityFilterSensitiveLog)(item)), + }), +}); +exports.DescribeMaintenanceWindowsResultFilterSensitiveLog = DescribeMaintenanceWindowsResultFilterSensitiveLog; +const MaintenanceWindowTargetFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.OwnerInformation && { OwnerInformation: smithy_client_1.SENSITIVE_STRING }), + ...(obj.Description && { Description: smithy_client_1.SENSITIVE_STRING }), +}); +exports.MaintenanceWindowTargetFilterSensitiveLog = MaintenanceWindowTargetFilterSensitiveLog; +const DescribeMaintenanceWindowTargetsResultFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.Targets && { Targets: obj.Targets.map((item) => (0, exports.MaintenanceWindowTargetFilterSensitiveLog)(item)) }), +}); +exports.DescribeMaintenanceWindowTargetsResultFilterSensitiveLog = DescribeMaintenanceWindowTargetsResultFilterSensitiveLog; +const MaintenanceWindowTaskParameterValueExpressionFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.Values && { Values: smithy_client_1.SENSITIVE_STRING }), +}); +exports.MaintenanceWindowTaskParameterValueExpressionFilterSensitiveLog = MaintenanceWindowTaskParameterValueExpressionFilterSensitiveLog; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/models/models_1.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/models/models_1.js new file mode 100644 index 00000000..7c7c97e2 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/models/models_1.js @@ -0,0 +1,1135 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.DocumentPermissionLimit = exports.LastResourceDataSyncStatus = exports.OpsItemRelatedItemsFilterOperator = exports.OpsItemRelatedItemsFilterKey = exports.OpsItemEventFilterOperator = exports.OpsItemEventFilterKey = exports.DocumentFilterKey = exports.DocumentReviewCommentType = exports.DocumentMetadataEnum = exports.ComplianceStatus = exports.ComplianceSeverity = exports.ComplianceQueryOperatorType = exports.CommandStatus = exports.CommandPluginStatus = exports.CommandFilterKey = exports.AssociationFilterKey = exports.ParameterVersionLabelLimitExceeded = exports.ServiceSettingNotFound = exports.ParameterVersionNotFound = exports.InvalidKeyId = exports.OpsFilterOperatorType = exports.NotificationType = exports.NotificationEvent = exports.InventoryAttributeDataType = exports.InvalidResultAttributeException = exports.InvalidInventoryGroupException = exports.InvalidAggregatorException = exports.InventoryQueryOperatorType = exports.AttachmentHashType = exports.UnsupportedFeatureRequiredException = exports.ConnectionStatus = exports.InvocationDoesNotExist = exports.InvalidPluginName = exports.CommandInvocationStatus = exports.UnsupportedCalendarException = exports.InvalidDocumentType = exports.CalendarState = exports.OpsItemRelatedItemAssociationNotFoundException = exports.SessionStatus = exports.SessionState = exports.SessionFilterKey = exports.PatchProperty = exports.PatchSet = exports.InvalidFilterOption = exports.ParameterType = exports.ParameterTier = exports.ParametersFilterKey = exports.OpsItemStatus = exports.OpsItemFilterOperator = exports.OpsItemFilterKey = void 0; +exports.MaintenanceWindowStepFunctionsParametersFilterSensitiveLog = exports.MaintenanceWindowRunCommandParametersFilterSensitiveLog = exports.MaintenanceWindowLambdaParametersFilterSensitiveLog = exports.GetMaintenanceWindowExecutionTaskInvocationResultFilterSensitiveLog = exports.GetMaintenanceWindowExecutionTaskResultFilterSensitiveLog = exports.GetMaintenanceWindowResultFilterSensitiveLog = exports.GetDeployablePatchSnapshotForInstanceRequestFilterSensitiveLog = exports.BaselineOverrideFilterSensitiveLog = exports.DescribeMaintenanceWindowTasksResultFilterSensitiveLog = exports.MaintenanceWindowTaskFilterSensitiveLog = exports.StopType = exports.InvalidAutomationStatusUpdateException = exports.TargetNotConnected = exports.AutomationDefinitionNotApprovedException = exports.InvalidAutomationExecutionParametersException = exports.AutomationExecutionLimitExceededException = exports.AutomationDefinitionVersionNotFoundException = exports.AutomationDefinitionNotFoundException = exports.InvalidAssociation = exports.InvalidRole = exports.InvalidOutputFolder = exports.InvalidNotificationConfig = exports.SignalType = exports.InvalidAutomationSignalException = exports.AutomationStepNotFoundException = exports.FeatureNotAvailableException = exports.ResourcePolicyLimitExceededException = exports.UnsupportedParameterType = exports.PoliciesLimitExceededException = exports.ParameterPatternMismatchException = exports.ParameterMaxVersionLimitExceeded = exports.ParameterLimitExceeded = exports.ParameterAlreadyExists = exports.InvalidPolicyTypeException = exports.InvalidPolicyAttributeException = exports.InvalidAllowedPatternException = exports.IncompatiblePolicyException = exports.HierarchyTypeMismatchException = exports.HierarchyLevelLimitExceededException = exports.UnsupportedInventorySchemaVersionException = exports.UnsupportedInventoryItemContextException = exports.SubTypeCountLimitExceededException = exports.ItemContentMismatchException = exports.InvalidInventoryItemContextException = exports.CustomSchemaCountLimitExceededException = exports.TotalSizeLimitExceededException = exports.ComplianceUploadType = exports.ItemSizeLimitExceededException = exports.InvalidItemContentException = exports.ComplianceTypeCountLimitExceededException = void 0; +exports.SendCommandResultFilterSensitiveLog = exports.SendCommandRequestFilterSensitiveLog = exports.RegisterTaskWithMaintenanceWindowRequestFilterSensitiveLog = exports.RegisterTargetWithMaintenanceWindowRequestFilterSensitiveLog = exports.PutParameterRequestFilterSensitiveLog = exports.ListCommandsResultFilterSensitiveLog = exports.CommandFilterSensitiveLog = exports.ListAssociationVersionsResultFilterSensitiveLog = exports.AssociationVersionInfoFilterSensitiveLog = exports.GetPatchBaselineResultFilterSensitiveLog = exports.GetParametersByPathResultFilterSensitiveLog = exports.GetParametersResultFilterSensitiveLog = exports.GetParameterHistoryResultFilterSensitiveLog = exports.ParameterHistoryFilterSensitiveLog = exports.GetParameterResultFilterSensitiveLog = exports.ParameterFilterSensitiveLog = exports.GetMaintenanceWindowTaskResultFilterSensitiveLog = exports.MaintenanceWindowTaskInvocationParametersFilterSensitiveLog = void 0; +const smithy_client_1 = require("@smithy/smithy-client"); +const models_0_1 = require("./models_0"); +const SSMServiceException_1 = require("./SSMServiceException"); +exports.OpsItemFilterKey = { + ACCOUNT_ID: "AccountId", + ACTUAL_END_TIME: "ActualEndTime", + ACTUAL_START_TIME: "ActualStartTime", + AUTOMATION_ID: "AutomationId", + CATEGORY: "Category", + CHANGE_REQUEST_APPROVER_ARN: "ChangeRequestByApproverArn", + CHANGE_REQUEST_APPROVER_NAME: "ChangeRequestByApproverName", + CHANGE_REQUEST_REQUESTER_ARN: "ChangeRequestByRequesterArn", + CHANGE_REQUEST_REQUESTER_NAME: "ChangeRequestByRequesterName", + CHANGE_REQUEST_TARGETS_RESOURCE_GROUP: "ChangeRequestByTargetsResourceGroup", + CHANGE_REQUEST_TEMPLATE: "ChangeRequestByTemplate", + CREATED_BY: "CreatedBy", + CREATED_TIME: "CreatedTime", + INSIGHT_TYPE: "InsightByType", + LAST_MODIFIED_TIME: "LastModifiedTime", + OPERATIONAL_DATA: "OperationalData", + OPERATIONAL_DATA_KEY: "OperationalDataKey", + OPERATIONAL_DATA_VALUE: "OperationalDataValue", + OPSITEM_ID: "OpsItemId", + OPSITEM_TYPE: "OpsItemType", + PLANNED_END_TIME: "PlannedEndTime", + PLANNED_START_TIME: "PlannedStartTime", + PRIORITY: "Priority", + RESOURCE_ID: "ResourceId", + SEVERITY: "Severity", + SOURCE: "Source", + STATUS: "Status", + TITLE: "Title", +}; +exports.OpsItemFilterOperator = { + CONTAINS: "Contains", + EQUAL: "Equal", + GREATER_THAN: "GreaterThan", + LESS_THAN: "LessThan", +}; +exports.OpsItemStatus = { + APPROVED: "Approved", + CANCELLED: "Cancelled", + CANCELLING: "Cancelling", + CHANGE_CALENDAR_OVERRIDE_APPROVED: "ChangeCalendarOverrideApproved", + CHANGE_CALENDAR_OVERRIDE_REJECTED: "ChangeCalendarOverrideRejected", + CLOSED: "Closed", + COMPLETED_WITH_FAILURE: "CompletedWithFailure", + COMPLETED_WITH_SUCCESS: "CompletedWithSuccess", + FAILED: "Failed", + IN_PROGRESS: "InProgress", + OPEN: "Open", + PENDING: "Pending", + PENDING_APPROVAL: "PendingApproval", + PENDING_CHANGE_CALENDAR_OVERRIDE: "PendingChangeCalendarOverride", + REJECTED: "Rejected", + RESOLVED: "Resolved", + RUNBOOK_IN_PROGRESS: "RunbookInProgress", + SCHEDULED: "Scheduled", + TIMED_OUT: "TimedOut", +}; +exports.ParametersFilterKey = { + KEY_ID: "KeyId", + NAME: "Name", + TYPE: "Type", +}; +exports.ParameterTier = { + ADVANCED: "Advanced", + INTELLIGENT_TIERING: "Intelligent-Tiering", + STANDARD: "Standard", +}; +exports.ParameterType = { + SECURE_STRING: "SecureString", + STRING: "String", + STRING_LIST: "StringList", +}; +class InvalidFilterOption extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "InvalidFilterOption", + $fault: "client", + ...opts, + }); + this.name = "InvalidFilterOption"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvalidFilterOption.prototype); + } +} +exports.InvalidFilterOption = InvalidFilterOption; +exports.PatchSet = { + Application: "APPLICATION", + Os: "OS", +}; +exports.PatchProperty = { + PatchClassification: "CLASSIFICATION", + PatchMsrcSeverity: "MSRC_SEVERITY", + PatchPriority: "PRIORITY", + PatchProductFamily: "PRODUCT_FAMILY", + PatchSeverity: "SEVERITY", + Product: "PRODUCT", +}; +exports.SessionFilterKey = { + INVOKED_AFTER: "InvokedAfter", + INVOKED_BEFORE: "InvokedBefore", + OWNER: "Owner", + SESSION_ID: "SessionId", + STATUS: "Status", + TARGET_ID: "Target", +}; +exports.SessionState = { + ACTIVE: "Active", + HISTORY: "History", +}; +exports.SessionStatus = { + CONNECTED: "Connected", + CONNECTING: "Connecting", + DISCONNECTED: "Disconnected", + FAILED: "Failed", + TERMINATED: "Terminated", + TERMINATING: "Terminating", +}; +class OpsItemRelatedItemAssociationNotFoundException extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "OpsItemRelatedItemAssociationNotFoundException", + $fault: "client", + ...opts, + }); + this.name = "OpsItemRelatedItemAssociationNotFoundException"; + this.$fault = "client"; + Object.setPrototypeOf(this, OpsItemRelatedItemAssociationNotFoundException.prototype); + this.Message = opts.Message; + } +} +exports.OpsItemRelatedItemAssociationNotFoundException = OpsItemRelatedItemAssociationNotFoundException; +exports.CalendarState = { + CLOSED: "CLOSED", + OPEN: "OPEN", +}; +class InvalidDocumentType extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "InvalidDocumentType", + $fault: "client", + ...opts, + }); + this.name = "InvalidDocumentType"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvalidDocumentType.prototype); + this.Message = opts.Message; + } +} +exports.InvalidDocumentType = InvalidDocumentType; +class UnsupportedCalendarException extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "UnsupportedCalendarException", + $fault: "client", + ...opts, + }); + this.name = "UnsupportedCalendarException"; + this.$fault = "client"; + Object.setPrototypeOf(this, UnsupportedCalendarException.prototype); + this.Message = opts.Message; + } +} +exports.UnsupportedCalendarException = UnsupportedCalendarException; +exports.CommandInvocationStatus = { + CANCELLED: "Cancelled", + CANCELLING: "Cancelling", + DELAYED: "Delayed", + FAILED: "Failed", + IN_PROGRESS: "InProgress", + PENDING: "Pending", + SUCCESS: "Success", + TIMED_OUT: "TimedOut", +}; +class InvalidPluginName extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "InvalidPluginName", + $fault: "client", + ...opts, + }); + this.name = "InvalidPluginName"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvalidPluginName.prototype); + } +} +exports.InvalidPluginName = InvalidPluginName; +class InvocationDoesNotExist extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "InvocationDoesNotExist", + $fault: "client", + ...opts, + }); + this.name = "InvocationDoesNotExist"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvocationDoesNotExist.prototype); + } +} +exports.InvocationDoesNotExist = InvocationDoesNotExist; +exports.ConnectionStatus = { + CONNECTED: "connected", + NOT_CONNECTED: "notconnected", +}; +class UnsupportedFeatureRequiredException extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "UnsupportedFeatureRequiredException", + $fault: "client", + ...opts, + }); + this.name = "UnsupportedFeatureRequiredException"; + this.$fault = "client"; + Object.setPrototypeOf(this, UnsupportedFeatureRequiredException.prototype); + this.Message = opts.Message; + } +} +exports.UnsupportedFeatureRequiredException = UnsupportedFeatureRequiredException; +exports.AttachmentHashType = { + SHA256: "Sha256", +}; +exports.InventoryQueryOperatorType = { + BEGIN_WITH: "BeginWith", + EQUAL: "Equal", + EXISTS: "Exists", + GREATER_THAN: "GreaterThan", + LESS_THAN: "LessThan", + NOT_EQUAL: "NotEqual", +}; +class InvalidAggregatorException extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "InvalidAggregatorException", + $fault: "client", + ...opts, + }); + this.name = "InvalidAggregatorException"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvalidAggregatorException.prototype); + this.Message = opts.Message; + } +} +exports.InvalidAggregatorException = InvalidAggregatorException; +class InvalidInventoryGroupException extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "InvalidInventoryGroupException", + $fault: "client", + ...opts, + }); + this.name = "InvalidInventoryGroupException"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvalidInventoryGroupException.prototype); + this.Message = opts.Message; + } +} +exports.InvalidInventoryGroupException = InvalidInventoryGroupException; +class InvalidResultAttributeException extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "InvalidResultAttributeException", + $fault: "client", + ...opts, + }); + this.name = "InvalidResultAttributeException"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvalidResultAttributeException.prototype); + this.Message = opts.Message; + } +} +exports.InvalidResultAttributeException = InvalidResultAttributeException; +exports.InventoryAttributeDataType = { + NUMBER: "number", + STRING: "string", +}; +exports.NotificationEvent = { + ALL: "All", + CANCELLED: "Cancelled", + FAILED: "Failed", + IN_PROGRESS: "InProgress", + SUCCESS: "Success", + TIMED_OUT: "TimedOut", +}; +exports.NotificationType = { + Command: "Command", + Invocation: "Invocation", +}; +exports.OpsFilterOperatorType = { + BEGIN_WITH: "BeginWith", + EQUAL: "Equal", + EXISTS: "Exists", + GREATER_THAN: "GreaterThan", + LESS_THAN: "LessThan", + NOT_EQUAL: "NotEqual", +}; +class InvalidKeyId extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "InvalidKeyId", + $fault: "client", + ...opts, + }); + this.name = "InvalidKeyId"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvalidKeyId.prototype); + } +} +exports.InvalidKeyId = InvalidKeyId; +class ParameterVersionNotFound extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "ParameterVersionNotFound", + $fault: "client", + ...opts, + }); + this.name = "ParameterVersionNotFound"; + this.$fault = "client"; + Object.setPrototypeOf(this, ParameterVersionNotFound.prototype); + } +} +exports.ParameterVersionNotFound = ParameterVersionNotFound; +class ServiceSettingNotFound extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "ServiceSettingNotFound", + $fault: "client", + ...opts, + }); + this.name = "ServiceSettingNotFound"; + this.$fault = "client"; + Object.setPrototypeOf(this, ServiceSettingNotFound.prototype); + this.Message = opts.Message; + } +} +exports.ServiceSettingNotFound = ServiceSettingNotFound; +class ParameterVersionLabelLimitExceeded extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "ParameterVersionLabelLimitExceeded", + $fault: "client", + ...opts, + }); + this.name = "ParameterVersionLabelLimitExceeded"; + this.$fault = "client"; + Object.setPrototypeOf(this, ParameterVersionLabelLimitExceeded.prototype); + } +} +exports.ParameterVersionLabelLimitExceeded = ParameterVersionLabelLimitExceeded; +exports.AssociationFilterKey = { + AssociationId: "AssociationId", + AssociationName: "AssociationName", + InstanceId: "InstanceId", + LastExecutedAfter: "LastExecutedAfter", + LastExecutedBefore: "LastExecutedBefore", + Name: "Name", + ResourceGroupName: "ResourceGroupName", + Status: "AssociationStatusName", +}; +exports.CommandFilterKey = { + DOCUMENT_NAME: "DocumentName", + EXECUTION_STAGE: "ExecutionStage", + INVOKED_AFTER: "InvokedAfter", + INVOKED_BEFORE: "InvokedBefore", + STATUS: "Status", +}; +exports.CommandPluginStatus = { + CANCELLED: "Cancelled", + FAILED: "Failed", + IN_PROGRESS: "InProgress", + PENDING: "Pending", + SUCCESS: "Success", + TIMED_OUT: "TimedOut", +}; +exports.CommandStatus = { + CANCELLED: "Cancelled", + CANCELLING: "Cancelling", + FAILED: "Failed", + IN_PROGRESS: "InProgress", + PENDING: "Pending", + SUCCESS: "Success", + TIMED_OUT: "TimedOut", +}; +exports.ComplianceQueryOperatorType = { + BeginWith: "BEGIN_WITH", + Equal: "EQUAL", + GreaterThan: "GREATER_THAN", + LessThan: "LESS_THAN", + NotEqual: "NOT_EQUAL", +}; +exports.ComplianceSeverity = { + Critical: "CRITICAL", + High: "HIGH", + Informational: "INFORMATIONAL", + Low: "LOW", + Medium: "MEDIUM", + Unspecified: "UNSPECIFIED", +}; +exports.ComplianceStatus = { + Compliant: "COMPLIANT", + NonCompliant: "NON_COMPLIANT", +}; +exports.DocumentMetadataEnum = { + DocumentReviews: "DocumentReviews", +}; +exports.DocumentReviewCommentType = { + Comment: "Comment", +}; +exports.DocumentFilterKey = { + DocumentType: "DocumentType", + Name: "Name", + Owner: "Owner", + PlatformTypes: "PlatformTypes", +}; +exports.OpsItemEventFilterKey = { + OPSITEM_ID: "OpsItemId", +}; +exports.OpsItemEventFilterOperator = { + EQUAL: "Equal", +}; +exports.OpsItemRelatedItemsFilterKey = { + ASSOCIATION_ID: "AssociationId", + RESOURCE_TYPE: "ResourceType", + RESOURCE_URI: "ResourceUri", +}; +exports.OpsItemRelatedItemsFilterOperator = { + EQUAL: "Equal", +}; +exports.LastResourceDataSyncStatus = { + FAILED: "Failed", + INPROGRESS: "InProgress", + SUCCESSFUL: "Successful", +}; +class DocumentPermissionLimit extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "DocumentPermissionLimit", + $fault: "client", + ...opts, + }); + this.name = "DocumentPermissionLimit"; + this.$fault = "client"; + Object.setPrototypeOf(this, DocumentPermissionLimit.prototype); + this.Message = opts.Message; + } +} +exports.DocumentPermissionLimit = DocumentPermissionLimit; +class ComplianceTypeCountLimitExceededException extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "ComplianceTypeCountLimitExceededException", + $fault: "client", + ...opts, + }); + this.name = "ComplianceTypeCountLimitExceededException"; + this.$fault = "client"; + Object.setPrototypeOf(this, ComplianceTypeCountLimitExceededException.prototype); + this.Message = opts.Message; + } +} +exports.ComplianceTypeCountLimitExceededException = ComplianceTypeCountLimitExceededException; +class InvalidItemContentException extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "InvalidItemContentException", + $fault: "client", + ...opts, + }); + this.name = "InvalidItemContentException"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvalidItemContentException.prototype); + this.TypeName = opts.TypeName; + this.Message = opts.Message; + } +} +exports.InvalidItemContentException = InvalidItemContentException; +class ItemSizeLimitExceededException extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "ItemSizeLimitExceededException", + $fault: "client", + ...opts, + }); + this.name = "ItemSizeLimitExceededException"; + this.$fault = "client"; + Object.setPrototypeOf(this, ItemSizeLimitExceededException.prototype); + this.TypeName = opts.TypeName; + this.Message = opts.Message; + } +} +exports.ItemSizeLimitExceededException = ItemSizeLimitExceededException; +exports.ComplianceUploadType = { + Complete: "COMPLETE", + Partial: "PARTIAL", +}; +class TotalSizeLimitExceededException extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "TotalSizeLimitExceededException", + $fault: "client", + ...opts, + }); + this.name = "TotalSizeLimitExceededException"; + this.$fault = "client"; + Object.setPrototypeOf(this, TotalSizeLimitExceededException.prototype); + this.Message = opts.Message; + } +} +exports.TotalSizeLimitExceededException = TotalSizeLimitExceededException; +class CustomSchemaCountLimitExceededException extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "CustomSchemaCountLimitExceededException", + $fault: "client", + ...opts, + }); + this.name = "CustomSchemaCountLimitExceededException"; + this.$fault = "client"; + Object.setPrototypeOf(this, CustomSchemaCountLimitExceededException.prototype); + this.Message = opts.Message; + } +} +exports.CustomSchemaCountLimitExceededException = CustomSchemaCountLimitExceededException; +class InvalidInventoryItemContextException extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "InvalidInventoryItemContextException", + $fault: "client", + ...opts, + }); + this.name = "InvalidInventoryItemContextException"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvalidInventoryItemContextException.prototype); + this.Message = opts.Message; + } +} +exports.InvalidInventoryItemContextException = InvalidInventoryItemContextException; +class ItemContentMismatchException extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "ItemContentMismatchException", + $fault: "client", + ...opts, + }); + this.name = "ItemContentMismatchException"; + this.$fault = "client"; + Object.setPrototypeOf(this, ItemContentMismatchException.prototype); + this.TypeName = opts.TypeName; + this.Message = opts.Message; + } +} +exports.ItemContentMismatchException = ItemContentMismatchException; +class SubTypeCountLimitExceededException extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "SubTypeCountLimitExceededException", + $fault: "client", + ...opts, + }); + this.name = "SubTypeCountLimitExceededException"; + this.$fault = "client"; + Object.setPrototypeOf(this, SubTypeCountLimitExceededException.prototype); + this.Message = opts.Message; + } +} +exports.SubTypeCountLimitExceededException = SubTypeCountLimitExceededException; +class UnsupportedInventoryItemContextException extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "UnsupportedInventoryItemContextException", + $fault: "client", + ...opts, + }); + this.name = "UnsupportedInventoryItemContextException"; + this.$fault = "client"; + Object.setPrototypeOf(this, UnsupportedInventoryItemContextException.prototype); + this.TypeName = opts.TypeName; + this.Message = opts.Message; + } +} +exports.UnsupportedInventoryItemContextException = UnsupportedInventoryItemContextException; +class UnsupportedInventorySchemaVersionException extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "UnsupportedInventorySchemaVersionException", + $fault: "client", + ...opts, + }); + this.name = "UnsupportedInventorySchemaVersionException"; + this.$fault = "client"; + Object.setPrototypeOf(this, UnsupportedInventorySchemaVersionException.prototype); + this.Message = opts.Message; + } +} +exports.UnsupportedInventorySchemaVersionException = UnsupportedInventorySchemaVersionException; +class HierarchyLevelLimitExceededException extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "HierarchyLevelLimitExceededException", + $fault: "client", + ...opts, + }); + this.name = "HierarchyLevelLimitExceededException"; + this.$fault = "client"; + Object.setPrototypeOf(this, HierarchyLevelLimitExceededException.prototype); + } +} +exports.HierarchyLevelLimitExceededException = HierarchyLevelLimitExceededException; +class HierarchyTypeMismatchException extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "HierarchyTypeMismatchException", + $fault: "client", + ...opts, + }); + this.name = "HierarchyTypeMismatchException"; + this.$fault = "client"; + Object.setPrototypeOf(this, HierarchyTypeMismatchException.prototype); + } +} +exports.HierarchyTypeMismatchException = HierarchyTypeMismatchException; +class IncompatiblePolicyException extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "IncompatiblePolicyException", + $fault: "client", + ...opts, + }); + this.name = "IncompatiblePolicyException"; + this.$fault = "client"; + Object.setPrototypeOf(this, IncompatiblePolicyException.prototype); + } +} +exports.IncompatiblePolicyException = IncompatiblePolicyException; +class InvalidAllowedPatternException extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "InvalidAllowedPatternException", + $fault: "client", + ...opts, + }); + this.name = "InvalidAllowedPatternException"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvalidAllowedPatternException.prototype); + } +} +exports.InvalidAllowedPatternException = InvalidAllowedPatternException; +class InvalidPolicyAttributeException extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "InvalidPolicyAttributeException", + $fault: "client", + ...opts, + }); + this.name = "InvalidPolicyAttributeException"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvalidPolicyAttributeException.prototype); + } +} +exports.InvalidPolicyAttributeException = InvalidPolicyAttributeException; +class InvalidPolicyTypeException extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "InvalidPolicyTypeException", + $fault: "client", + ...opts, + }); + this.name = "InvalidPolicyTypeException"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvalidPolicyTypeException.prototype); + } +} +exports.InvalidPolicyTypeException = InvalidPolicyTypeException; +class ParameterAlreadyExists extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "ParameterAlreadyExists", + $fault: "client", + ...opts, + }); + this.name = "ParameterAlreadyExists"; + this.$fault = "client"; + Object.setPrototypeOf(this, ParameterAlreadyExists.prototype); + } +} +exports.ParameterAlreadyExists = ParameterAlreadyExists; +class ParameterLimitExceeded extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "ParameterLimitExceeded", + $fault: "client", + ...opts, + }); + this.name = "ParameterLimitExceeded"; + this.$fault = "client"; + Object.setPrototypeOf(this, ParameterLimitExceeded.prototype); + } +} +exports.ParameterLimitExceeded = ParameterLimitExceeded; +class ParameterMaxVersionLimitExceeded extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "ParameterMaxVersionLimitExceeded", + $fault: "client", + ...opts, + }); + this.name = "ParameterMaxVersionLimitExceeded"; + this.$fault = "client"; + Object.setPrototypeOf(this, ParameterMaxVersionLimitExceeded.prototype); + } +} +exports.ParameterMaxVersionLimitExceeded = ParameterMaxVersionLimitExceeded; +class ParameterPatternMismatchException extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "ParameterPatternMismatchException", + $fault: "client", + ...opts, + }); + this.name = "ParameterPatternMismatchException"; + this.$fault = "client"; + Object.setPrototypeOf(this, ParameterPatternMismatchException.prototype); + } +} +exports.ParameterPatternMismatchException = ParameterPatternMismatchException; +class PoliciesLimitExceededException extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "PoliciesLimitExceededException", + $fault: "client", + ...opts, + }); + this.name = "PoliciesLimitExceededException"; + this.$fault = "client"; + Object.setPrototypeOf(this, PoliciesLimitExceededException.prototype); + } +} +exports.PoliciesLimitExceededException = PoliciesLimitExceededException; +class UnsupportedParameterType extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "UnsupportedParameterType", + $fault: "client", + ...opts, + }); + this.name = "UnsupportedParameterType"; + this.$fault = "client"; + Object.setPrototypeOf(this, UnsupportedParameterType.prototype); + } +} +exports.UnsupportedParameterType = UnsupportedParameterType; +class ResourcePolicyLimitExceededException extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "ResourcePolicyLimitExceededException", + $fault: "client", + ...opts, + }); + this.name = "ResourcePolicyLimitExceededException"; + this.$fault = "client"; + Object.setPrototypeOf(this, ResourcePolicyLimitExceededException.prototype); + this.Limit = opts.Limit; + this.LimitType = opts.LimitType; + this.Message = opts.Message; + } +} +exports.ResourcePolicyLimitExceededException = ResourcePolicyLimitExceededException; +class FeatureNotAvailableException extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "FeatureNotAvailableException", + $fault: "client", + ...opts, + }); + this.name = "FeatureNotAvailableException"; + this.$fault = "client"; + Object.setPrototypeOf(this, FeatureNotAvailableException.prototype); + this.Message = opts.Message; + } +} +exports.FeatureNotAvailableException = FeatureNotAvailableException; +class AutomationStepNotFoundException extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "AutomationStepNotFoundException", + $fault: "client", + ...opts, + }); + this.name = "AutomationStepNotFoundException"; + this.$fault = "client"; + Object.setPrototypeOf(this, AutomationStepNotFoundException.prototype); + this.Message = opts.Message; + } +} +exports.AutomationStepNotFoundException = AutomationStepNotFoundException; +class InvalidAutomationSignalException extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "InvalidAutomationSignalException", + $fault: "client", + ...opts, + }); + this.name = "InvalidAutomationSignalException"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvalidAutomationSignalException.prototype); + this.Message = opts.Message; + } +} +exports.InvalidAutomationSignalException = InvalidAutomationSignalException; +exports.SignalType = { + APPROVE: "Approve", + REJECT: "Reject", + RESUME: "Resume", + START_STEP: "StartStep", + STOP_STEP: "StopStep", +}; +class InvalidNotificationConfig extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "InvalidNotificationConfig", + $fault: "client", + ...opts, + }); + this.name = "InvalidNotificationConfig"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvalidNotificationConfig.prototype); + this.Message = opts.Message; + } +} +exports.InvalidNotificationConfig = InvalidNotificationConfig; +class InvalidOutputFolder extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "InvalidOutputFolder", + $fault: "client", + ...opts, + }); + this.name = "InvalidOutputFolder"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvalidOutputFolder.prototype); + } +} +exports.InvalidOutputFolder = InvalidOutputFolder; +class InvalidRole extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "InvalidRole", + $fault: "client", + ...opts, + }); + this.name = "InvalidRole"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvalidRole.prototype); + this.Message = opts.Message; + } +} +exports.InvalidRole = InvalidRole; +class InvalidAssociation extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "InvalidAssociation", + $fault: "client", + ...opts, + }); + this.name = "InvalidAssociation"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvalidAssociation.prototype); + this.Message = opts.Message; + } +} +exports.InvalidAssociation = InvalidAssociation; +class AutomationDefinitionNotFoundException extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "AutomationDefinitionNotFoundException", + $fault: "client", + ...opts, + }); + this.name = "AutomationDefinitionNotFoundException"; + this.$fault = "client"; + Object.setPrototypeOf(this, AutomationDefinitionNotFoundException.prototype); + this.Message = opts.Message; + } +} +exports.AutomationDefinitionNotFoundException = AutomationDefinitionNotFoundException; +class AutomationDefinitionVersionNotFoundException extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "AutomationDefinitionVersionNotFoundException", + $fault: "client", + ...opts, + }); + this.name = "AutomationDefinitionVersionNotFoundException"; + this.$fault = "client"; + Object.setPrototypeOf(this, AutomationDefinitionVersionNotFoundException.prototype); + this.Message = opts.Message; + } +} +exports.AutomationDefinitionVersionNotFoundException = AutomationDefinitionVersionNotFoundException; +class AutomationExecutionLimitExceededException extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "AutomationExecutionLimitExceededException", + $fault: "client", + ...opts, + }); + this.name = "AutomationExecutionLimitExceededException"; + this.$fault = "client"; + Object.setPrototypeOf(this, AutomationExecutionLimitExceededException.prototype); + this.Message = opts.Message; + } +} +exports.AutomationExecutionLimitExceededException = AutomationExecutionLimitExceededException; +class InvalidAutomationExecutionParametersException extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "InvalidAutomationExecutionParametersException", + $fault: "client", + ...opts, + }); + this.name = "InvalidAutomationExecutionParametersException"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvalidAutomationExecutionParametersException.prototype); + this.Message = opts.Message; + } +} +exports.InvalidAutomationExecutionParametersException = InvalidAutomationExecutionParametersException; +class AutomationDefinitionNotApprovedException extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "AutomationDefinitionNotApprovedException", + $fault: "client", + ...opts, + }); + this.name = "AutomationDefinitionNotApprovedException"; + this.$fault = "client"; + Object.setPrototypeOf(this, AutomationDefinitionNotApprovedException.prototype); + this.Message = opts.Message; + } +} +exports.AutomationDefinitionNotApprovedException = AutomationDefinitionNotApprovedException; +class TargetNotConnected extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "TargetNotConnected", + $fault: "client", + ...opts, + }); + this.name = "TargetNotConnected"; + this.$fault = "client"; + Object.setPrototypeOf(this, TargetNotConnected.prototype); + this.Message = opts.Message; + } +} +exports.TargetNotConnected = TargetNotConnected; +class InvalidAutomationStatusUpdateException extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "InvalidAutomationStatusUpdateException", + $fault: "client", + ...opts, + }); + this.name = "InvalidAutomationStatusUpdateException"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvalidAutomationStatusUpdateException.prototype); + this.Message = opts.Message; + } +} +exports.InvalidAutomationStatusUpdateException = InvalidAutomationStatusUpdateException; +exports.StopType = { + CANCEL: "Cancel", + COMPLETE: "Complete", +}; +const MaintenanceWindowTaskFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.TaskParameters && { TaskParameters: smithy_client_1.SENSITIVE_STRING }), + ...(obj.Description && { Description: smithy_client_1.SENSITIVE_STRING }), +}); +exports.MaintenanceWindowTaskFilterSensitiveLog = MaintenanceWindowTaskFilterSensitiveLog; +const DescribeMaintenanceWindowTasksResultFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.Tasks && { Tasks: obj.Tasks.map((item) => (0, exports.MaintenanceWindowTaskFilterSensitiveLog)(item)) }), +}); +exports.DescribeMaintenanceWindowTasksResultFilterSensitiveLog = DescribeMaintenanceWindowTasksResultFilterSensitiveLog; +const BaselineOverrideFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.Sources && { Sources: obj.Sources.map((item) => (0, models_0_1.PatchSourceFilterSensitiveLog)(item)) }), +}); +exports.BaselineOverrideFilterSensitiveLog = BaselineOverrideFilterSensitiveLog; +const GetDeployablePatchSnapshotForInstanceRequestFilterSensitiveLog = (obj) => ({ + ...obj, +}); +exports.GetDeployablePatchSnapshotForInstanceRequestFilterSensitiveLog = GetDeployablePatchSnapshotForInstanceRequestFilterSensitiveLog; +const GetMaintenanceWindowResultFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.Description && { Description: smithy_client_1.SENSITIVE_STRING }), +}); +exports.GetMaintenanceWindowResultFilterSensitiveLog = GetMaintenanceWindowResultFilterSensitiveLog; +const GetMaintenanceWindowExecutionTaskResultFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.TaskParameters && { TaskParameters: smithy_client_1.SENSITIVE_STRING }), +}); +exports.GetMaintenanceWindowExecutionTaskResultFilterSensitiveLog = GetMaintenanceWindowExecutionTaskResultFilterSensitiveLog; +const GetMaintenanceWindowExecutionTaskInvocationResultFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.Parameters && { Parameters: smithy_client_1.SENSITIVE_STRING }), + ...(obj.OwnerInformation && { OwnerInformation: smithy_client_1.SENSITIVE_STRING }), +}); +exports.GetMaintenanceWindowExecutionTaskInvocationResultFilterSensitiveLog = GetMaintenanceWindowExecutionTaskInvocationResultFilterSensitiveLog; +const MaintenanceWindowLambdaParametersFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.Payload && { Payload: smithy_client_1.SENSITIVE_STRING }), +}); +exports.MaintenanceWindowLambdaParametersFilterSensitiveLog = MaintenanceWindowLambdaParametersFilterSensitiveLog; +const MaintenanceWindowRunCommandParametersFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.Parameters && { Parameters: smithy_client_1.SENSITIVE_STRING }), +}); +exports.MaintenanceWindowRunCommandParametersFilterSensitiveLog = MaintenanceWindowRunCommandParametersFilterSensitiveLog; +const MaintenanceWindowStepFunctionsParametersFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.Input && { Input: smithy_client_1.SENSITIVE_STRING }), +}); +exports.MaintenanceWindowStepFunctionsParametersFilterSensitiveLog = MaintenanceWindowStepFunctionsParametersFilterSensitiveLog; +const MaintenanceWindowTaskInvocationParametersFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.RunCommand && { RunCommand: (0, exports.MaintenanceWindowRunCommandParametersFilterSensitiveLog)(obj.RunCommand) }), + ...(obj.StepFunctions && { + StepFunctions: (0, exports.MaintenanceWindowStepFunctionsParametersFilterSensitiveLog)(obj.StepFunctions), + }), + ...(obj.Lambda && { Lambda: (0, exports.MaintenanceWindowLambdaParametersFilterSensitiveLog)(obj.Lambda) }), +}); +exports.MaintenanceWindowTaskInvocationParametersFilterSensitiveLog = MaintenanceWindowTaskInvocationParametersFilterSensitiveLog; +const GetMaintenanceWindowTaskResultFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.TaskParameters && { TaskParameters: smithy_client_1.SENSITIVE_STRING }), + ...(obj.TaskInvocationParameters && { + TaskInvocationParameters: (0, exports.MaintenanceWindowTaskInvocationParametersFilterSensitiveLog)(obj.TaskInvocationParameters), + }), + ...(obj.Description && { Description: smithy_client_1.SENSITIVE_STRING }), +}); +exports.GetMaintenanceWindowTaskResultFilterSensitiveLog = GetMaintenanceWindowTaskResultFilterSensitiveLog; +const ParameterFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.Value && { Value: smithy_client_1.SENSITIVE_STRING }), +}); +exports.ParameterFilterSensitiveLog = ParameterFilterSensitiveLog; +const GetParameterResultFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.Parameter && { Parameter: (0, exports.ParameterFilterSensitiveLog)(obj.Parameter) }), +}); +exports.GetParameterResultFilterSensitiveLog = GetParameterResultFilterSensitiveLog; +const ParameterHistoryFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.Value && { Value: smithy_client_1.SENSITIVE_STRING }), +}); +exports.ParameterHistoryFilterSensitiveLog = ParameterHistoryFilterSensitiveLog; +const GetParameterHistoryResultFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.Parameters && { Parameters: obj.Parameters.map((item) => (0, exports.ParameterHistoryFilterSensitiveLog)(item)) }), +}); +exports.GetParameterHistoryResultFilterSensitiveLog = GetParameterHistoryResultFilterSensitiveLog; +const GetParametersResultFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.Parameters && { Parameters: obj.Parameters.map((item) => (0, exports.ParameterFilterSensitiveLog)(item)) }), +}); +exports.GetParametersResultFilterSensitiveLog = GetParametersResultFilterSensitiveLog; +const GetParametersByPathResultFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.Parameters && { Parameters: obj.Parameters.map((item) => (0, exports.ParameterFilterSensitiveLog)(item)) }), +}); +exports.GetParametersByPathResultFilterSensitiveLog = GetParametersByPathResultFilterSensitiveLog; +const GetPatchBaselineResultFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.Sources && { Sources: obj.Sources.map((item) => (0, models_0_1.PatchSourceFilterSensitiveLog)(item)) }), +}); +exports.GetPatchBaselineResultFilterSensitiveLog = GetPatchBaselineResultFilterSensitiveLog; +const AssociationVersionInfoFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.Parameters && { Parameters: smithy_client_1.SENSITIVE_STRING }), +}); +exports.AssociationVersionInfoFilterSensitiveLog = AssociationVersionInfoFilterSensitiveLog; +const ListAssociationVersionsResultFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.AssociationVersions && { + AssociationVersions: obj.AssociationVersions.map((item) => (0, exports.AssociationVersionInfoFilterSensitiveLog)(item)), + }), +}); +exports.ListAssociationVersionsResultFilterSensitiveLog = ListAssociationVersionsResultFilterSensitiveLog; +const CommandFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.Parameters && { Parameters: smithy_client_1.SENSITIVE_STRING }), +}); +exports.CommandFilterSensitiveLog = CommandFilterSensitiveLog; +const ListCommandsResultFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.Commands && { Commands: obj.Commands.map((item) => (0, exports.CommandFilterSensitiveLog)(item)) }), +}); +exports.ListCommandsResultFilterSensitiveLog = ListCommandsResultFilterSensitiveLog; +const PutParameterRequestFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.Value && { Value: smithy_client_1.SENSITIVE_STRING }), +}); +exports.PutParameterRequestFilterSensitiveLog = PutParameterRequestFilterSensitiveLog; +const RegisterTargetWithMaintenanceWindowRequestFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.OwnerInformation && { OwnerInformation: smithy_client_1.SENSITIVE_STRING }), + ...(obj.Description && { Description: smithy_client_1.SENSITIVE_STRING }), +}); +exports.RegisterTargetWithMaintenanceWindowRequestFilterSensitiveLog = RegisterTargetWithMaintenanceWindowRequestFilterSensitiveLog; +const RegisterTaskWithMaintenanceWindowRequestFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.TaskParameters && { TaskParameters: smithy_client_1.SENSITIVE_STRING }), + ...(obj.TaskInvocationParameters && { + TaskInvocationParameters: (0, exports.MaintenanceWindowTaskInvocationParametersFilterSensitiveLog)(obj.TaskInvocationParameters), + }), + ...(obj.Description && { Description: smithy_client_1.SENSITIVE_STRING }), +}); +exports.RegisterTaskWithMaintenanceWindowRequestFilterSensitiveLog = RegisterTaskWithMaintenanceWindowRequestFilterSensitiveLog; +const SendCommandRequestFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.Parameters && { Parameters: smithy_client_1.SENSITIVE_STRING }), +}); +exports.SendCommandRequestFilterSensitiveLog = SendCommandRequestFilterSensitiveLog; +const SendCommandResultFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.Command && { Command: (0, exports.CommandFilterSensitiveLog)(obj.Command) }), +}); +exports.SendCommandResultFilterSensitiveLog = SendCommandResultFilterSensitiveLog; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/models/models_2.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/models/models_2.js new file mode 100644 index 00000000..9c797ae2 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/models/models_2.js @@ -0,0 +1,192 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.UpdatePatchBaselineResultFilterSensitiveLog = exports.UpdatePatchBaselineRequestFilterSensitiveLog = exports.UpdateMaintenanceWindowTaskResultFilterSensitiveLog = exports.UpdateMaintenanceWindowTaskRequestFilterSensitiveLog = exports.UpdateMaintenanceWindowTargetResultFilterSensitiveLog = exports.UpdateMaintenanceWindowTargetRequestFilterSensitiveLog = exports.UpdateMaintenanceWindowResultFilterSensitiveLog = exports.UpdateMaintenanceWindowRequestFilterSensitiveLog = exports.UpdateAssociationStatusResultFilterSensitiveLog = exports.UpdateAssociationResultFilterSensitiveLog = exports.UpdateAssociationRequestFilterSensitiveLog = exports.ResourceDataSyncConflictException = exports.OpsMetadataKeyLimitExceededException = exports.DocumentReviewAction = exports.DuplicateDocumentVersionName = exports.DuplicateDocumentContent = exports.DocumentVersionLimitExceeded = exports.StatusUnchanged = exports.InvalidUpdate = exports.AssociationVersionLimitExceeded = void 0; +const smithy_client_1 = require("@smithy/smithy-client"); +const models_0_1 = require("./models_0"); +const models_1_1 = require("./models_1"); +const SSMServiceException_1 = require("./SSMServiceException"); +class AssociationVersionLimitExceeded extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "AssociationVersionLimitExceeded", + $fault: "client", + ...opts, + }); + this.name = "AssociationVersionLimitExceeded"; + this.$fault = "client"; + Object.setPrototypeOf(this, AssociationVersionLimitExceeded.prototype); + this.Message = opts.Message; + } +} +exports.AssociationVersionLimitExceeded = AssociationVersionLimitExceeded; +class InvalidUpdate extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "InvalidUpdate", + $fault: "client", + ...opts, + }); + this.name = "InvalidUpdate"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvalidUpdate.prototype); + this.Message = opts.Message; + } +} +exports.InvalidUpdate = InvalidUpdate; +class StatusUnchanged extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "StatusUnchanged", + $fault: "client", + ...opts, + }); + this.name = "StatusUnchanged"; + this.$fault = "client"; + Object.setPrototypeOf(this, StatusUnchanged.prototype); + } +} +exports.StatusUnchanged = StatusUnchanged; +class DocumentVersionLimitExceeded extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "DocumentVersionLimitExceeded", + $fault: "client", + ...opts, + }); + this.name = "DocumentVersionLimitExceeded"; + this.$fault = "client"; + Object.setPrototypeOf(this, DocumentVersionLimitExceeded.prototype); + this.Message = opts.Message; + } +} +exports.DocumentVersionLimitExceeded = DocumentVersionLimitExceeded; +class DuplicateDocumentContent extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "DuplicateDocumentContent", + $fault: "client", + ...opts, + }); + this.name = "DuplicateDocumentContent"; + this.$fault = "client"; + Object.setPrototypeOf(this, DuplicateDocumentContent.prototype); + this.Message = opts.Message; + } +} +exports.DuplicateDocumentContent = DuplicateDocumentContent; +class DuplicateDocumentVersionName extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "DuplicateDocumentVersionName", + $fault: "client", + ...opts, + }); + this.name = "DuplicateDocumentVersionName"; + this.$fault = "client"; + Object.setPrototypeOf(this, DuplicateDocumentVersionName.prototype); + this.Message = opts.Message; + } +} +exports.DuplicateDocumentVersionName = DuplicateDocumentVersionName; +exports.DocumentReviewAction = { + Approve: "Approve", + Reject: "Reject", + SendForReview: "SendForReview", + UpdateReview: "UpdateReview", +}; +class OpsMetadataKeyLimitExceededException extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "OpsMetadataKeyLimitExceededException", + $fault: "client", + ...opts, + }); + this.name = "OpsMetadataKeyLimitExceededException"; + this.$fault = "client"; + Object.setPrototypeOf(this, OpsMetadataKeyLimitExceededException.prototype); + } +} +exports.OpsMetadataKeyLimitExceededException = OpsMetadataKeyLimitExceededException; +class ResourceDataSyncConflictException extends SSMServiceException_1.SSMServiceException { + constructor(opts) { + super({ + name: "ResourceDataSyncConflictException", + $fault: "client", + ...opts, + }); + this.name = "ResourceDataSyncConflictException"; + this.$fault = "client"; + Object.setPrototypeOf(this, ResourceDataSyncConflictException.prototype); + this.Message = opts.Message; + } +} +exports.ResourceDataSyncConflictException = ResourceDataSyncConflictException; +const UpdateAssociationRequestFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.Parameters && { Parameters: smithy_client_1.SENSITIVE_STRING }), +}); +exports.UpdateAssociationRequestFilterSensitiveLog = UpdateAssociationRequestFilterSensitiveLog; +const UpdateAssociationResultFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.AssociationDescription && { + AssociationDescription: (0, models_0_1.AssociationDescriptionFilterSensitiveLog)(obj.AssociationDescription), + }), +}); +exports.UpdateAssociationResultFilterSensitiveLog = UpdateAssociationResultFilterSensitiveLog; +const UpdateAssociationStatusResultFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.AssociationDescription && { + AssociationDescription: (0, models_0_1.AssociationDescriptionFilterSensitiveLog)(obj.AssociationDescription), + }), +}); +exports.UpdateAssociationStatusResultFilterSensitiveLog = UpdateAssociationStatusResultFilterSensitiveLog; +const UpdateMaintenanceWindowRequestFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.Description && { Description: smithy_client_1.SENSITIVE_STRING }), +}); +exports.UpdateMaintenanceWindowRequestFilterSensitiveLog = UpdateMaintenanceWindowRequestFilterSensitiveLog; +const UpdateMaintenanceWindowResultFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.Description && { Description: smithy_client_1.SENSITIVE_STRING }), +}); +exports.UpdateMaintenanceWindowResultFilterSensitiveLog = UpdateMaintenanceWindowResultFilterSensitiveLog; +const UpdateMaintenanceWindowTargetRequestFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.OwnerInformation && { OwnerInformation: smithy_client_1.SENSITIVE_STRING }), + ...(obj.Description && { Description: smithy_client_1.SENSITIVE_STRING }), +}); +exports.UpdateMaintenanceWindowTargetRequestFilterSensitiveLog = UpdateMaintenanceWindowTargetRequestFilterSensitiveLog; +const UpdateMaintenanceWindowTargetResultFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.OwnerInformation && { OwnerInformation: smithy_client_1.SENSITIVE_STRING }), + ...(obj.Description && { Description: smithy_client_1.SENSITIVE_STRING }), +}); +exports.UpdateMaintenanceWindowTargetResultFilterSensitiveLog = UpdateMaintenanceWindowTargetResultFilterSensitiveLog; +const UpdateMaintenanceWindowTaskRequestFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.TaskParameters && { TaskParameters: smithy_client_1.SENSITIVE_STRING }), + ...(obj.TaskInvocationParameters && { + TaskInvocationParameters: (0, models_1_1.MaintenanceWindowTaskInvocationParametersFilterSensitiveLog)(obj.TaskInvocationParameters), + }), + ...(obj.Description && { Description: smithy_client_1.SENSITIVE_STRING }), +}); +exports.UpdateMaintenanceWindowTaskRequestFilterSensitiveLog = UpdateMaintenanceWindowTaskRequestFilterSensitiveLog; +const UpdateMaintenanceWindowTaskResultFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.TaskParameters && { TaskParameters: smithy_client_1.SENSITIVE_STRING }), + ...(obj.TaskInvocationParameters && { + TaskInvocationParameters: (0, models_1_1.MaintenanceWindowTaskInvocationParametersFilterSensitiveLog)(obj.TaskInvocationParameters), + }), + ...(obj.Description && { Description: smithy_client_1.SENSITIVE_STRING }), +}); +exports.UpdateMaintenanceWindowTaskResultFilterSensitiveLog = UpdateMaintenanceWindowTaskResultFilterSensitiveLog; +const UpdatePatchBaselineRequestFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.Sources && { Sources: obj.Sources.map((item) => (0, models_0_1.PatchSourceFilterSensitiveLog)(item)) }), +}); +exports.UpdatePatchBaselineRequestFilterSensitiveLog = UpdatePatchBaselineRequestFilterSensitiveLog; +const UpdatePatchBaselineResultFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.Sources && { Sources: obj.Sources.map((item) => (0, models_0_1.PatchSourceFilterSensitiveLog)(item)) }), +}); +exports.UpdatePatchBaselineResultFilterSensitiveLog = UpdatePatchBaselineResultFilterSensitiveLog; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeActivationsPaginator.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeActivationsPaginator.js new file mode 100644 index 00000000..fb15cda0 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeActivationsPaginator.js @@ -0,0 +1,29 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.paginateDescribeActivations = void 0; +const DescribeActivationsCommand_1 = require("../commands/DescribeActivationsCommand"); +const SSMClient_1 = require("../SSMClient"); +const makePagedClientRequest = async (client, input, ...args) => { + return await client.send(new DescribeActivationsCommand_1.DescribeActivationsCommand(input), ...args); +}; +async function* paginateDescribeActivations(config, input, ...additionalArguments) { + let token = config.startingToken || undefined; + let hasNext = true; + let page; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof SSMClient_1.SSMClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } + else { + throw new Error("Invalid client, expected SSM | SSMClient"); + } + yield page; + const prevToken = token; + token = page.NextToken; + hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); + } + return undefined; +} +exports.paginateDescribeActivations = paginateDescribeActivations; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeAssociationExecutionTargetsPaginator.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeAssociationExecutionTargetsPaginator.js new file mode 100644 index 00000000..2501278a --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeAssociationExecutionTargetsPaginator.js @@ -0,0 +1,29 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.paginateDescribeAssociationExecutionTargets = void 0; +const DescribeAssociationExecutionTargetsCommand_1 = require("../commands/DescribeAssociationExecutionTargetsCommand"); +const SSMClient_1 = require("../SSMClient"); +const makePagedClientRequest = async (client, input, ...args) => { + return await client.send(new DescribeAssociationExecutionTargetsCommand_1.DescribeAssociationExecutionTargetsCommand(input), ...args); +}; +async function* paginateDescribeAssociationExecutionTargets(config, input, ...additionalArguments) { + let token = config.startingToken || undefined; + let hasNext = true; + let page; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof SSMClient_1.SSMClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } + else { + throw new Error("Invalid client, expected SSM | SSMClient"); + } + yield page; + const prevToken = token; + token = page.NextToken; + hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); + } + return undefined; +} +exports.paginateDescribeAssociationExecutionTargets = paginateDescribeAssociationExecutionTargets; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeAssociationExecutionsPaginator.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeAssociationExecutionsPaginator.js new file mode 100644 index 00000000..94614450 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeAssociationExecutionsPaginator.js @@ -0,0 +1,29 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.paginateDescribeAssociationExecutions = void 0; +const DescribeAssociationExecutionsCommand_1 = require("../commands/DescribeAssociationExecutionsCommand"); +const SSMClient_1 = require("../SSMClient"); +const makePagedClientRequest = async (client, input, ...args) => { + return await client.send(new DescribeAssociationExecutionsCommand_1.DescribeAssociationExecutionsCommand(input), ...args); +}; +async function* paginateDescribeAssociationExecutions(config, input, ...additionalArguments) { + let token = config.startingToken || undefined; + let hasNext = true; + let page; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof SSMClient_1.SSMClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } + else { + throw new Error("Invalid client, expected SSM | SSMClient"); + } + yield page; + const prevToken = token; + token = page.NextToken; + hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); + } + return undefined; +} +exports.paginateDescribeAssociationExecutions = paginateDescribeAssociationExecutions; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeAutomationExecutionsPaginator.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeAutomationExecutionsPaginator.js new file mode 100644 index 00000000..0f1c7abe --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeAutomationExecutionsPaginator.js @@ -0,0 +1,29 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.paginateDescribeAutomationExecutions = void 0; +const DescribeAutomationExecutionsCommand_1 = require("../commands/DescribeAutomationExecutionsCommand"); +const SSMClient_1 = require("../SSMClient"); +const makePagedClientRequest = async (client, input, ...args) => { + return await client.send(new DescribeAutomationExecutionsCommand_1.DescribeAutomationExecutionsCommand(input), ...args); +}; +async function* paginateDescribeAutomationExecutions(config, input, ...additionalArguments) { + let token = config.startingToken || undefined; + let hasNext = true; + let page; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof SSMClient_1.SSMClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } + else { + throw new Error("Invalid client, expected SSM | SSMClient"); + } + yield page; + const prevToken = token; + token = page.NextToken; + hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); + } + return undefined; +} +exports.paginateDescribeAutomationExecutions = paginateDescribeAutomationExecutions; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeAutomationStepExecutionsPaginator.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeAutomationStepExecutionsPaginator.js new file mode 100644 index 00000000..55371e0d --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeAutomationStepExecutionsPaginator.js @@ -0,0 +1,29 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.paginateDescribeAutomationStepExecutions = void 0; +const DescribeAutomationStepExecutionsCommand_1 = require("../commands/DescribeAutomationStepExecutionsCommand"); +const SSMClient_1 = require("../SSMClient"); +const makePagedClientRequest = async (client, input, ...args) => { + return await client.send(new DescribeAutomationStepExecutionsCommand_1.DescribeAutomationStepExecutionsCommand(input), ...args); +}; +async function* paginateDescribeAutomationStepExecutions(config, input, ...additionalArguments) { + let token = config.startingToken || undefined; + let hasNext = true; + let page; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof SSMClient_1.SSMClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } + else { + throw new Error("Invalid client, expected SSM | SSMClient"); + } + yield page; + const prevToken = token; + token = page.NextToken; + hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); + } + return undefined; +} +exports.paginateDescribeAutomationStepExecutions = paginateDescribeAutomationStepExecutions; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeAvailablePatchesPaginator.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeAvailablePatchesPaginator.js new file mode 100644 index 00000000..1eeef4ce --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeAvailablePatchesPaginator.js @@ -0,0 +1,29 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.paginateDescribeAvailablePatches = void 0; +const DescribeAvailablePatchesCommand_1 = require("../commands/DescribeAvailablePatchesCommand"); +const SSMClient_1 = require("../SSMClient"); +const makePagedClientRequest = async (client, input, ...args) => { + return await client.send(new DescribeAvailablePatchesCommand_1.DescribeAvailablePatchesCommand(input), ...args); +}; +async function* paginateDescribeAvailablePatches(config, input, ...additionalArguments) { + let token = config.startingToken || undefined; + let hasNext = true; + let page; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof SSMClient_1.SSMClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } + else { + throw new Error("Invalid client, expected SSM | SSMClient"); + } + yield page; + const prevToken = token; + token = page.NextToken; + hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); + } + return undefined; +} +exports.paginateDescribeAvailablePatches = paginateDescribeAvailablePatches; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeEffectiveInstanceAssociationsPaginator.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeEffectiveInstanceAssociationsPaginator.js new file mode 100644 index 00000000..d656bbaf --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeEffectiveInstanceAssociationsPaginator.js @@ -0,0 +1,29 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.paginateDescribeEffectiveInstanceAssociations = void 0; +const DescribeEffectiveInstanceAssociationsCommand_1 = require("../commands/DescribeEffectiveInstanceAssociationsCommand"); +const SSMClient_1 = require("../SSMClient"); +const makePagedClientRequest = async (client, input, ...args) => { + return await client.send(new DescribeEffectiveInstanceAssociationsCommand_1.DescribeEffectiveInstanceAssociationsCommand(input), ...args); +}; +async function* paginateDescribeEffectiveInstanceAssociations(config, input, ...additionalArguments) { + let token = config.startingToken || undefined; + let hasNext = true; + let page; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof SSMClient_1.SSMClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } + else { + throw new Error("Invalid client, expected SSM | SSMClient"); + } + yield page; + const prevToken = token; + token = page.NextToken; + hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); + } + return undefined; +} +exports.paginateDescribeEffectiveInstanceAssociations = paginateDescribeEffectiveInstanceAssociations; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeEffectivePatchesForPatchBaselinePaginator.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeEffectivePatchesForPatchBaselinePaginator.js new file mode 100644 index 00000000..a98f9ac1 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeEffectivePatchesForPatchBaselinePaginator.js @@ -0,0 +1,29 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.paginateDescribeEffectivePatchesForPatchBaseline = void 0; +const DescribeEffectivePatchesForPatchBaselineCommand_1 = require("../commands/DescribeEffectivePatchesForPatchBaselineCommand"); +const SSMClient_1 = require("../SSMClient"); +const makePagedClientRequest = async (client, input, ...args) => { + return await client.send(new DescribeEffectivePatchesForPatchBaselineCommand_1.DescribeEffectivePatchesForPatchBaselineCommand(input), ...args); +}; +async function* paginateDescribeEffectivePatchesForPatchBaseline(config, input, ...additionalArguments) { + let token = config.startingToken || undefined; + let hasNext = true; + let page; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof SSMClient_1.SSMClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } + else { + throw new Error("Invalid client, expected SSM | SSMClient"); + } + yield page; + const prevToken = token; + token = page.NextToken; + hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); + } + return undefined; +} +exports.paginateDescribeEffectivePatchesForPatchBaseline = paginateDescribeEffectivePatchesForPatchBaseline; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeInstanceAssociationsStatusPaginator.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeInstanceAssociationsStatusPaginator.js new file mode 100644 index 00000000..415152ed --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeInstanceAssociationsStatusPaginator.js @@ -0,0 +1,29 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.paginateDescribeInstanceAssociationsStatus = void 0; +const DescribeInstanceAssociationsStatusCommand_1 = require("../commands/DescribeInstanceAssociationsStatusCommand"); +const SSMClient_1 = require("../SSMClient"); +const makePagedClientRequest = async (client, input, ...args) => { + return await client.send(new DescribeInstanceAssociationsStatusCommand_1.DescribeInstanceAssociationsStatusCommand(input), ...args); +}; +async function* paginateDescribeInstanceAssociationsStatus(config, input, ...additionalArguments) { + let token = config.startingToken || undefined; + let hasNext = true; + let page; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof SSMClient_1.SSMClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } + else { + throw new Error("Invalid client, expected SSM | SSMClient"); + } + yield page; + const prevToken = token; + token = page.NextToken; + hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); + } + return undefined; +} +exports.paginateDescribeInstanceAssociationsStatus = paginateDescribeInstanceAssociationsStatus; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeInstanceInformationPaginator.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeInstanceInformationPaginator.js new file mode 100644 index 00000000..3f613f89 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeInstanceInformationPaginator.js @@ -0,0 +1,29 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.paginateDescribeInstanceInformation = void 0; +const DescribeInstanceInformationCommand_1 = require("../commands/DescribeInstanceInformationCommand"); +const SSMClient_1 = require("../SSMClient"); +const makePagedClientRequest = async (client, input, ...args) => { + return await client.send(new DescribeInstanceInformationCommand_1.DescribeInstanceInformationCommand(input), ...args); +}; +async function* paginateDescribeInstanceInformation(config, input, ...additionalArguments) { + let token = config.startingToken || undefined; + let hasNext = true; + let page; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof SSMClient_1.SSMClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } + else { + throw new Error("Invalid client, expected SSM | SSMClient"); + } + yield page; + const prevToken = token; + token = page.NextToken; + hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); + } + return undefined; +} +exports.paginateDescribeInstanceInformation = paginateDescribeInstanceInformation; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeInstancePatchStatesForPatchGroupPaginator.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeInstancePatchStatesForPatchGroupPaginator.js new file mode 100644 index 00000000..7af661eb --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeInstancePatchStatesForPatchGroupPaginator.js @@ -0,0 +1,29 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.paginateDescribeInstancePatchStatesForPatchGroup = void 0; +const DescribeInstancePatchStatesForPatchGroupCommand_1 = require("../commands/DescribeInstancePatchStatesForPatchGroupCommand"); +const SSMClient_1 = require("../SSMClient"); +const makePagedClientRequest = async (client, input, ...args) => { + return await client.send(new DescribeInstancePatchStatesForPatchGroupCommand_1.DescribeInstancePatchStatesForPatchGroupCommand(input), ...args); +}; +async function* paginateDescribeInstancePatchStatesForPatchGroup(config, input, ...additionalArguments) { + let token = config.startingToken || undefined; + let hasNext = true; + let page; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof SSMClient_1.SSMClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } + else { + throw new Error("Invalid client, expected SSM | SSMClient"); + } + yield page; + const prevToken = token; + token = page.NextToken; + hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); + } + return undefined; +} +exports.paginateDescribeInstancePatchStatesForPatchGroup = paginateDescribeInstancePatchStatesForPatchGroup; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeInstancePatchStatesPaginator.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeInstancePatchStatesPaginator.js new file mode 100644 index 00000000..881a49d3 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeInstancePatchStatesPaginator.js @@ -0,0 +1,29 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.paginateDescribeInstancePatchStates = void 0; +const DescribeInstancePatchStatesCommand_1 = require("../commands/DescribeInstancePatchStatesCommand"); +const SSMClient_1 = require("../SSMClient"); +const makePagedClientRequest = async (client, input, ...args) => { + return await client.send(new DescribeInstancePatchStatesCommand_1.DescribeInstancePatchStatesCommand(input), ...args); +}; +async function* paginateDescribeInstancePatchStates(config, input, ...additionalArguments) { + let token = config.startingToken || undefined; + let hasNext = true; + let page; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof SSMClient_1.SSMClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } + else { + throw new Error("Invalid client, expected SSM | SSMClient"); + } + yield page; + const prevToken = token; + token = page.NextToken; + hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); + } + return undefined; +} +exports.paginateDescribeInstancePatchStates = paginateDescribeInstancePatchStates; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeInstancePatchesPaginator.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeInstancePatchesPaginator.js new file mode 100644 index 00000000..7abce4ea --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeInstancePatchesPaginator.js @@ -0,0 +1,29 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.paginateDescribeInstancePatches = void 0; +const DescribeInstancePatchesCommand_1 = require("../commands/DescribeInstancePatchesCommand"); +const SSMClient_1 = require("../SSMClient"); +const makePagedClientRequest = async (client, input, ...args) => { + return await client.send(new DescribeInstancePatchesCommand_1.DescribeInstancePatchesCommand(input), ...args); +}; +async function* paginateDescribeInstancePatches(config, input, ...additionalArguments) { + let token = config.startingToken || undefined; + let hasNext = true; + let page; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof SSMClient_1.SSMClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } + else { + throw new Error("Invalid client, expected SSM | SSMClient"); + } + yield page; + const prevToken = token; + token = page.NextToken; + hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); + } + return undefined; +} +exports.paginateDescribeInstancePatches = paginateDescribeInstancePatches; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeInventoryDeletionsPaginator.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeInventoryDeletionsPaginator.js new file mode 100644 index 00000000..8aa8aee7 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeInventoryDeletionsPaginator.js @@ -0,0 +1,29 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.paginateDescribeInventoryDeletions = void 0; +const DescribeInventoryDeletionsCommand_1 = require("../commands/DescribeInventoryDeletionsCommand"); +const SSMClient_1 = require("../SSMClient"); +const makePagedClientRequest = async (client, input, ...args) => { + return await client.send(new DescribeInventoryDeletionsCommand_1.DescribeInventoryDeletionsCommand(input), ...args); +}; +async function* paginateDescribeInventoryDeletions(config, input, ...additionalArguments) { + let token = config.startingToken || undefined; + let hasNext = true; + let page; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof SSMClient_1.SSMClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } + else { + throw new Error("Invalid client, expected SSM | SSMClient"); + } + yield page; + const prevToken = token; + token = page.NextToken; + hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); + } + return undefined; +} +exports.paginateDescribeInventoryDeletions = paginateDescribeInventoryDeletions; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeMaintenanceWindowExecutionTaskInvocationsPaginator.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeMaintenanceWindowExecutionTaskInvocationsPaginator.js new file mode 100644 index 00000000..300a7e14 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeMaintenanceWindowExecutionTaskInvocationsPaginator.js @@ -0,0 +1,29 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.paginateDescribeMaintenanceWindowExecutionTaskInvocations = void 0; +const DescribeMaintenanceWindowExecutionTaskInvocationsCommand_1 = require("../commands/DescribeMaintenanceWindowExecutionTaskInvocationsCommand"); +const SSMClient_1 = require("../SSMClient"); +const makePagedClientRequest = async (client, input, ...args) => { + return await client.send(new DescribeMaintenanceWindowExecutionTaskInvocationsCommand_1.DescribeMaintenanceWindowExecutionTaskInvocationsCommand(input), ...args); +}; +async function* paginateDescribeMaintenanceWindowExecutionTaskInvocations(config, input, ...additionalArguments) { + let token = config.startingToken || undefined; + let hasNext = true; + let page; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof SSMClient_1.SSMClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } + else { + throw new Error("Invalid client, expected SSM | SSMClient"); + } + yield page; + const prevToken = token; + token = page.NextToken; + hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); + } + return undefined; +} +exports.paginateDescribeMaintenanceWindowExecutionTaskInvocations = paginateDescribeMaintenanceWindowExecutionTaskInvocations; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeMaintenanceWindowExecutionTasksPaginator.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeMaintenanceWindowExecutionTasksPaginator.js new file mode 100644 index 00000000..17e13603 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeMaintenanceWindowExecutionTasksPaginator.js @@ -0,0 +1,29 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.paginateDescribeMaintenanceWindowExecutionTasks = void 0; +const DescribeMaintenanceWindowExecutionTasksCommand_1 = require("../commands/DescribeMaintenanceWindowExecutionTasksCommand"); +const SSMClient_1 = require("../SSMClient"); +const makePagedClientRequest = async (client, input, ...args) => { + return await client.send(new DescribeMaintenanceWindowExecutionTasksCommand_1.DescribeMaintenanceWindowExecutionTasksCommand(input), ...args); +}; +async function* paginateDescribeMaintenanceWindowExecutionTasks(config, input, ...additionalArguments) { + let token = config.startingToken || undefined; + let hasNext = true; + let page; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof SSMClient_1.SSMClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } + else { + throw new Error("Invalid client, expected SSM | SSMClient"); + } + yield page; + const prevToken = token; + token = page.NextToken; + hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); + } + return undefined; +} +exports.paginateDescribeMaintenanceWindowExecutionTasks = paginateDescribeMaintenanceWindowExecutionTasks; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeMaintenanceWindowExecutionsPaginator.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeMaintenanceWindowExecutionsPaginator.js new file mode 100644 index 00000000..f6b33662 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeMaintenanceWindowExecutionsPaginator.js @@ -0,0 +1,29 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.paginateDescribeMaintenanceWindowExecutions = void 0; +const DescribeMaintenanceWindowExecutionsCommand_1 = require("../commands/DescribeMaintenanceWindowExecutionsCommand"); +const SSMClient_1 = require("../SSMClient"); +const makePagedClientRequest = async (client, input, ...args) => { + return await client.send(new DescribeMaintenanceWindowExecutionsCommand_1.DescribeMaintenanceWindowExecutionsCommand(input), ...args); +}; +async function* paginateDescribeMaintenanceWindowExecutions(config, input, ...additionalArguments) { + let token = config.startingToken || undefined; + let hasNext = true; + let page; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof SSMClient_1.SSMClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } + else { + throw new Error("Invalid client, expected SSM | SSMClient"); + } + yield page; + const prevToken = token; + token = page.NextToken; + hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); + } + return undefined; +} +exports.paginateDescribeMaintenanceWindowExecutions = paginateDescribeMaintenanceWindowExecutions; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeMaintenanceWindowSchedulePaginator.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeMaintenanceWindowSchedulePaginator.js new file mode 100644 index 00000000..6029440a --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeMaintenanceWindowSchedulePaginator.js @@ -0,0 +1,29 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.paginateDescribeMaintenanceWindowSchedule = void 0; +const DescribeMaintenanceWindowScheduleCommand_1 = require("../commands/DescribeMaintenanceWindowScheduleCommand"); +const SSMClient_1 = require("../SSMClient"); +const makePagedClientRequest = async (client, input, ...args) => { + return await client.send(new DescribeMaintenanceWindowScheduleCommand_1.DescribeMaintenanceWindowScheduleCommand(input), ...args); +}; +async function* paginateDescribeMaintenanceWindowSchedule(config, input, ...additionalArguments) { + let token = config.startingToken || undefined; + let hasNext = true; + let page; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof SSMClient_1.SSMClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } + else { + throw new Error("Invalid client, expected SSM | SSMClient"); + } + yield page; + const prevToken = token; + token = page.NextToken; + hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); + } + return undefined; +} +exports.paginateDescribeMaintenanceWindowSchedule = paginateDescribeMaintenanceWindowSchedule; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeMaintenanceWindowTargetsPaginator.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeMaintenanceWindowTargetsPaginator.js new file mode 100644 index 00000000..f290bdaa --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeMaintenanceWindowTargetsPaginator.js @@ -0,0 +1,29 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.paginateDescribeMaintenanceWindowTargets = void 0; +const DescribeMaintenanceWindowTargetsCommand_1 = require("../commands/DescribeMaintenanceWindowTargetsCommand"); +const SSMClient_1 = require("../SSMClient"); +const makePagedClientRequest = async (client, input, ...args) => { + return await client.send(new DescribeMaintenanceWindowTargetsCommand_1.DescribeMaintenanceWindowTargetsCommand(input), ...args); +}; +async function* paginateDescribeMaintenanceWindowTargets(config, input, ...additionalArguments) { + let token = config.startingToken || undefined; + let hasNext = true; + let page; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof SSMClient_1.SSMClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } + else { + throw new Error("Invalid client, expected SSM | SSMClient"); + } + yield page; + const prevToken = token; + token = page.NextToken; + hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); + } + return undefined; +} +exports.paginateDescribeMaintenanceWindowTargets = paginateDescribeMaintenanceWindowTargets; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeMaintenanceWindowTasksPaginator.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeMaintenanceWindowTasksPaginator.js new file mode 100644 index 00000000..706e0290 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeMaintenanceWindowTasksPaginator.js @@ -0,0 +1,29 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.paginateDescribeMaintenanceWindowTasks = void 0; +const DescribeMaintenanceWindowTasksCommand_1 = require("../commands/DescribeMaintenanceWindowTasksCommand"); +const SSMClient_1 = require("../SSMClient"); +const makePagedClientRequest = async (client, input, ...args) => { + return await client.send(new DescribeMaintenanceWindowTasksCommand_1.DescribeMaintenanceWindowTasksCommand(input), ...args); +}; +async function* paginateDescribeMaintenanceWindowTasks(config, input, ...additionalArguments) { + let token = config.startingToken || undefined; + let hasNext = true; + let page; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof SSMClient_1.SSMClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } + else { + throw new Error("Invalid client, expected SSM | SSMClient"); + } + yield page; + const prevToken = token; + token = page.NextToken; + hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); + } + return undefined; +} +exports.paginateDescribeMaintenanceWindowTasks = paginateDescribeMaintenanceWindowTasks; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeMaintenanceWindowsForTargetPaginator.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeMaintenanceWindowsForTargetPaginator.js new file mode 100644 index 00000000..e7d6fd7f --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeMaintenanceWindowsForTargetPaginator.js @@ -0,0 +1,29 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.paginateDescribeMaintenanceWindowsForTarget = void 0; +const DescribeMaintenanceWindowsForTargetCommand_1 = require("../commands/DescribeMaintenanceWindowsForTargetCommand"); +const SSMClient_1 = require("../SSMClient"); +const makePagedClientRequest = async (client, input, ...args) => { + return await client.send(new DescribeMaintenanceWindowsForTargetCommand_1.DescribeMaintenanceWindowsForTargetCommand(input), ...args); +}; +async function* paginateDescribeMaintenanceWindowsForTarget(config, input, ...additionalArguments) { + let token = config.startingToken || undefined; + let hasNext = true; + let page; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof SSMClient_1.SSMClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } + else { + throw new Error("Invalid client, expected SSM | SSMClient"); + } + yield page; + const prevToken = token; + token = page.NextToken; + hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); + } + return undefined; +} +exports.paginateDescribeMaintenanceWindowsForTarget = paginateDescribeMaintenanceWindowsForTarget; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeMaintenanceWindowsPaginator.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeMaintenanceWindowsPaginator.js new file mode 100644 index 00000000..1a6988ea --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeMaintenanceWindowsPaginator.js @@ -0,0 +1,29 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.paginateDescribeMaintenanceWindows = void 0; +const DescribeMaintenanceWindowsCommand_1 = require("../commands/DescribeMaintenanceWindowsCommand"); +const SSMClient_1 = require("../SSMClient"); +const makePagedClientRequest = async (client, input, ...args) => { + return await client.send(new DescribeMaintenanceWindowsCommand_1.DescribeMaintenanceWindowsCommand(input), ...args); +}; +async function* paginateDescribeMaintenanceWindows(config, input, ...additionalArguments) { + let token = config.startingToken || undefined; + let hasNext = true; + let page; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof SSMClient_1.SSMClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } + else { + throw new Error("Invalid client, expected SSM | SSMClient"); + } + yield page; + const prevToken = token; + token = page.NextToken; + hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); + } + return undefined; +} +exports.paginateDescribeMaintenanceWindows = paginateDescribeMaintenanceWindows; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeOpsItemsPaginator.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeOpsItemsPaginator.js new file mode 100644 index 00000000..d86eab28 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeOpsItemsPaginator.js @@ -0,0 +1,29 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.paginateDescribeOpsItems = void 0; +const DescribeOpsItemsCommand_1 = require("../commands/DescribeOpsItemsCommand"); +const SSMClient_1 = require("../SSMClient"); +const makePagedClientRequest = async (client, input, ...args) => { + return await client.send(new DescribeOpsItemsCommand_1.DescribeOpsItemsCommand(input), ...args); +}; +async function* paginateDescribeOpsItems(config, input, ...additionalArguments) { + let token = config.startingToken || undefined; + let hasNext = true; + let page; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof SSMClient_1.SSMClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } + else { + throw new Error("Invalid client, expected SSM | SSMClient"); + } + yield page; + const prevToken = token; + token = page.NextToken; + hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); + } + return undefined; +} +exports.paginateDescribeOpsItems = paginateDescribeOpsItems; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeParametersPaginator.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeParametersPaginator.js new file mode 100644 index 00000000..8065d5d8 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeParametersPaginator.js @@ -0,0 +1,29 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.paginateDescribeParameters = void 0; +const DescribeParametersCommand_1 = require("../commands/DescribeParametersCommand"); +const SSMClient_1 = require("../SSMClient"); +const makePagedClientRequest = async (client, input, ...args) => { + return await client.send(new DescribeParametersCommand_1.DescribeParametersCommand(input), ...args); +}; +async function* paginateDescribeParameters(config, input, ...additionalArguments) { + let token = config.startingToken || undefined; + let hasNext = true; + let page; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof SSMClient_1.SSMClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } + else { + throw new Error("Invalid client, expected SSM | SSMClient"); + } + yield page; + const prevToken = token; + token = page.NextToken; + hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); + } + return undefined; +} +exports.paginateDescribeParameters = paginateDescribeParameters; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribePatchBaselinesPaginator.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribePatchBaselinesPaginator.js new file mode 100644 index 00000000..1a6ecb08 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribePatchBaselinesPaginator.js @@ -0,0 +1,29 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.paginateDescribePatchBaselines = void 0; +const DescribePatchBaselinesCommand_1 = require("../commands/DescribePatchBaselinesCommand"); +const SSMClient_1 = require("../SSMClient"); +const makePagedClientRequest = async (client, input, ...args) => { + return await client.send(new DescribePatchBaselinesCommand_1.DescribePatchBaselinesCommand(input), ...args); +}; +async function* paginateDescribePatchBaselines(config, input, ...additionalArguments) { + let token = config.startingToken || undefined; + let hasNext = true; + let page; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof SSMClient_1.SSMClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } + else { + throw new Error("Invalid client, expected SSM | SSMClient"); + } + yield page; + const prevToken = token; + token = page.NextToken; + hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); + } + return undefined; +} +exports.paginateDescribePatchBaselines = paginateDescribePatchBaselines; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribePatchGroupsPaginator.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribePatchGroupsPaginator.js new file mode 100644 index 00000000..05cf3eff --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribePatchGroupsPaginator.js @@ -0,0 +1,29 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.paginateDescribePatchGroups = void 0; +const DescribePatchGroupsCommand_1 = require("../commands/DescribePatchGroupsCommand"); +const SSMClient_1 = require("../SSMClient"); +const makePagedClientRequest = async (client, input, ...args) => { + return await client.send(new DescribePatchGroupsCommand_1.DescribePatchGroupsCommand(input), ...args); +}; +async function* paginateDescribePatchGroups(config, input, ...additionalArguments) { + let token = config.startingToken || undefined; + let hasNext = true; + let page; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof SSMClient_1.SSMClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } + else { + throw new Error("Invalid client, expected SSM | SSMClient"); + } + yield page; + const prevToken = token; + token = page.NextToken; + hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); + } + return undefined; +} +exports.paginateDescribePatchGroups = paginateDescribePatchGroups; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribePatchPropertiesPaginator.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribePatchPropertiesPaginator.js new file mode 100644 index 00000000..9e59bf68 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribePatchPropertiesPaginator.js @@ -0,0 +1,29 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.paginateDescribePatchProperties = void 0; +const DescribePatchPropertiesCommand_1 = require("../commands/DescribePatchPropertiesCommand"); +const SSMClient_1 = require("../SSMClient"); +const makePagedClientRequest = async (client, input, ...args) => { + return await client.send(new DescribePatchPropertiesCommand_1.DescribePatchPropertiesCommand(input), ...args); +}; +async function* paginateDescribePatchProperties(config, input, ...additionalArguments) { + let token = config.startingToken || undefined; + let hasNext = true; + let page; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof SSMClient_1.SSMClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } + else { + throw new Error("Invalid client, expected SSM | SSMClient"); + } + yield page; + const prevToken = token; + token = page.NextToken; + hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); + } + return undefined; +} +exports.paginateDescribePatchProperties = paginateDescribePatchProperties; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeSessionsPaginator.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeSessionsPaginator.js new file mode 100644 index 00000000..a434c581 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/DescribeSessionsPaginator.js @@ -0,0 +1,29 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.paginateDescribeSessions = void 0; +const DescribeSessionsCommand_1 = require("../commands/DescribeSessionsCommand"); +const SSMClient_1 = require("../SSMClient"); +const makePagedClientRequest = async (client, input, ...args) => { + return await client.send(new DescribeSessionsCommand_1.DescribeSessionsCommand(input), ...args); +}; +async function* paginateDescribeSessions(config, input, ...additionalArguments) { + let token = config.startingToken || undefined; + let hasNext = true; + let page; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof SSMClient_1.SSMClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } + else { + throw new Error("Invalid client, expected SSM | SSMClient"); + } + yield page; + const prevToken = token; + token = page.NextToken; + hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); + } + return undefined; +} +exports.paginateDescribeSessions = paginateDescribeSessions; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/GetInventoryPaginator.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/GetInventoryPaginator.js new file mode 100644 index 00000000..78c92e26 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/GetInventoryPaginator.js @@ -0,0 +1,29 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.paginateGetInventory = void 0; +const GetInventoryCommand_1 = require("../commands/GetInventoryCommand"); +const SSMClient_1 = require("../SSMClient"); +const makePagedClientRequest = async (client, input, ...args) => { + return await client.send(new GetInventoryCommand_1.GetInventoryCommand(input), ...args); +}; +async function* paginateGetInventory(config, input, ...additionalArguments) { + let token = config.startingToken || undefined; + let hasNext = true; + let page; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof SSMClient_1.SSMClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } + else { + throw new Error("Invalid client, expected SSM | SSMClient"); + } + yield page; + const prevToken = token; + token = page.NextToken; + hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); + } + return undefined; +} +exports.paginateGetInventory = paginateGetInventory; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/GetInventorySchemaPaginator.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/GetInventorySchemaPaginator.js new file mode 100644 index 00000000..a94cff58 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/GetInventorySchemaPaginator.js @@ -0,0 +1,29 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.paginateGetInventorySchema = void 0; +const GetInventorySchemaCommand_1 = require("../commands/GetInventorySchemaCommand"); +const SSMClient_1 = require("../SSMClient"); +const makePagedClientRequest = async (client, input, ...args) => { + return await client.send(new GetInventorySchemaCommand_1.GetInventorySchemaCommand(input), ...args); +}; +async function* paginateGetInventorySchema(config, input, ...additionalArguments) { + let token = config.startingToken || undefined; + let hasNext = true; + let page; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof SSMClient_1.SSMClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } + else { + throw new Error("Invalid client, expected SSM | SSMClient"); + } + yield page; + const prevToken = token; + token = page.NextToken; + hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); + } + return undefined; +} +exports.paginateGetInventorySchema = paginateGetInventorySchema; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/GetOpsSummaryPaginator.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/GetOpsSummaryPaginator.js new file mode 100644 index 00000000..6b979a20 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/GetOpsSummaryPaginator.js @@ -0,0 +1,29 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.paginateGetOpsSummary = void 0; +const GetOpsSummaryCommand_1 = require("../commands/GetOpsSummaryCommand"); +const SSMClient_1 = require("../SSMClient"); +const makePagedClientRequest = async (client, input, ...args) => { + return await client.send(new GetOpsSummaryCommand_1.GetOpsSummaryCommand(input), ...args); +}; +async function* paginateGetOpsSummary(config, input, ...additionalArguments) { + let token = config.startingToken || undefined; + let hasNext = true; + let page; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof SSMClient_1.SSMClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } + else { + throw new Error("Invalid client, expected SSM | SSMClient"); + } + yield page; + const prevToken = token; + token = page.NextToken; + hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); + } + return undefined; +} +exports.paginateGetOpsSummary = paginateGetOpsSummary; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/GetParameterHistoryPaginator.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/GetParameterHistoryPaginator.js new file mode 100644 index 00000000..df77b061 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/GetParameterHistoryPaginator.js @@ -0,0 +1,29 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.paginateGetParameterHistory = void 0; +const GetParameterHistoryCommand_1 = require("../commands/GetParameterHistoryCommand"); +const SSMClient_1 = require("../SSMClient"); +const makePagedClientRequest = async (client, input, ...args) => { + return await client.send(new GetParameterHistoryCommand_1.GetParameterHistoryCommand(input), ...args); +}; +async function* paginateGetParameterHistory(config, input, ...additionalArguments) { + let token = config.startingToken || undefined; + let hasNext = true; + let page; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof SSMClient_1.SSMClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } + else { + throw new Error("Invalid client, expected SSM | SSMClient"); + } + yield page; + const prevToken = token; + token = page.NextToken; + hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); + } + return undefined; +} +exports.paginateGetParameterHistory = paginateGetParameterHistory; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/GetParametersByPathPaginator.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/GetParametersByPathPaginator.js new file mode 100644 index 00000000..ff852214 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/GetParametersByPathPaginator.js @@ -0,0 +1,29 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.paginateGetParametersByPath = void 0; +const GetParametersByPathCommand_1 = require("../commands/GetParametersByPathCommand"); +const SSMClient_1 = require("../SSMClient"); +const makePagedClientRequest = async (client, input, ...args) => { + return await client.send(new GetParametersByPathCommand_1.GetParametersByPathCommand(input), ...args); +}; +async function* paginateGetParametersByPath(config, input, ...additionalArguments) { + let token = config.startingToken || undefined; + let hasNext = true; + let page; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof SSMClient_1.SSMClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } + else { + throw new Error("Invalid client, expected SSM | SSMClient"); + } + yield page; + const prevToken = token; + token = page.NextToken; + hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); + } + return undefined; +} +exports.paginateGetParametersByPath = paginateGetParametersByPath; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/GetResourcePoliciesPaginator.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/GetResourcePoliciesPaginator.js new file mode 100644 index 00000000..54395938 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/GetResourcePoliciesPaginator.js @@ -0,0 +1,29 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.paginateGetResourcePolicies = void 0; +const GetResourcePoliciesCommand_1 = require("../commands/GetResourcePoliciesCommand"); +const SSMClient_1 = require("../SSMClient"); +const makePagedClientRequest = async (client, input, ...args) => { + return await client.send(new GetResourcePoliciesCommand_1.GetResourcePoliciesCommand(input), ...args); +}; +async function* paginateGetResourcePolicies(config, input, ...additionalArguments) { + let token = config.startingToken || undefined; + let hasNext = true; + let page; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof SSMClient_1.SSMClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } + else { + throw new Error("Invalid client, expected SSM | SSMClient"); + } + yield page; + const prevToken = token; + token = page.NextToken; + hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); + } + return undefined; +} +exports.paginateGetResourcePolicies = paginateGetResourcePolicies; diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/pagination/Interfaces.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/Interfaces.js similarity index 100% rename from node_modules/@aws-sdk/client-lambda/dist-cjs/pagination/Interfaces.js rename to node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/Interfaces.js diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/ListAssociationVersionsPaginator.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/ListAssociationVersionsPaginator.js new file mode 100644 index 00000000..2e5c5a4b --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/ListAssociationVersionsPaginator.js @@ -0,0 +1,29 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.paginateListAssociationVersions = void 0; +const ListAssociationVersionsCommand_1 = require("../commands/ListAssociationVersionsCommand"); +const SSMClient_1 = require("../SSMClient"); +const makePagedClientRequest = async (client, input, ...args) => { + return await client.send(new ListAssociationVersionsCommand_1.ListAssociationVersionsCommand(input), ...args); +}; +async function* paginateListAssociationVersions(config, input, ...additionalArguments) { + let token = config.startingToken || undefined; + let hasNext = true; + let page; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof SSMClient_1.SSMClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } + else { + throw new Error("Invalid client, expected SSM | SSMClient"); + } + yield page; + const prevToken = token; + token = page.NextToken; + hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); + } + return undefined; +} +exports.paginateListAssociationVersions = paginateListAssociationVersions; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/ListAssociationsPaginator.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/ListAssociationsPaginator.js new file mode 100644 index 00000000..0e1f33c9 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/ListAssociationsPaginator.js @@ -0,0 +1,29 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.paginateListAssociations = void 0; +const ListAssociationsCommand_1 = require("../commands/ListAssociationsCommand"); +const SSMClient_1 = require("../SSMClient"); +const makePagedClientRequest = async (client, input, ...args) => { + return await client.send(new ListAssociationsCommand_1.ListAssociationsCommand(input), ...args); +}; +async function* paginateListAssociations(config, input, ...additionalArguments) { + let token = config.startingToken || undefined; + let hasNext = true; + let page; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof SSMClient_1.SSMClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } + else { + throw new Error("Invalid client, expected SSM | SSMClient"); + } + yield page; + const prevToken = token; + token = page.NextToken; + hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); + } + return undefined; +} +exports.paginateListAssociations = paginateListAssociations; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/ListCommandInvocationsPaginator.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/ListCommandInvocationsPaginator.js new file mode 100644 index 00000000..3ef40c1c --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/ListCommandInvocationsPaginator.js @@ -0,0 +1,29 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.paginateListCommandInvocations = void 0; +const ListCommandInvocationsCommand_1 = require("../commands/ListCommandInvocationsCommand"); +const SSMClient_1 = require("../SSMClient"); +const makePagedClientRequest = async (client, input, ...args) => { + return await client.send(new ListCommandInvocationsCommand_1.ListCommandInvocationsCommand(input), ...args); +}; +async function* paginateListCommandInvocations(config, input, ...additionalArguments) { + let token = config.startingToken || undefined; + let hasNext = true; + let page; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof SSMClient_1.SSMClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } + else { + throw new Error("Invalid client, expected SSM | SSMClient"); + } + yield page; + const prevToken = token; + token = page.NextToken; + hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); + } + return undefined; +} +exports.paginateListCommandInvocations = paginateListCommandInvocations; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/ListCommandsPaginator.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/ListCommandsPaginator.js new file mode 100644 index 00000000..5d9eab80 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/ListCommandsPaginator.js @@ -0,0 +1,29 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.paginateListCommands = void 0; +const ListCommandsCommand_1 = require("../commands/ListCommandsCommand"); +const SSMClient_1 = require("../SSMClient"); +const makePagedClientRequest = async (client, input, ...args) => { + return await client.send(new ListCommandsCommand_1.ListCommandsCommand(input), ...args); +}; +async function* paginateListCommands(config, input, ...additionalArguments) { + let token = config.startingToken || undefined; + let hasNext = true; + let page; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof SSMClient_1.SSMClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } + else { + throw new Error("Invalid client, expected SSM | SSMClient"); + } + yield page; + const prevToken = token; + token = page.NextToken; + hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); + } + return undefined; +} +exports.paginateListCommands = paginateListCommands; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/ListComplianceItemsPaginator.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/ListComplianceItemsPaginator.js new file mode 100644 index 00000000..688d40e9 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/ListComplianceItemsPaginator.js @@ -0,0 +1,29 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.paginateListComplianceItems = void 0; +const ListComplianceItemsCommand_1 = require("../commands/ListComplianceItemsCommand"); +const SSMClient_1 = require("../SSMClient"); +const makePagedClientRequest = async (client, input, ...args) => { + return await client.send(new ListComplianceItemsCommand_1.ListComplianceItemsCommand(input), ...args); +}; +async function* paginateListComplianceItems(config, input, ...additionalArguments) { + let token = config.startingToken || undefined; + let hasNext = true; + let page; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof SSMClient_1.SSMClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } + else { + throw new Error("Invalid client, expected SSM | SSMClient"); + } + yield page; + const prevToken = token; + token = page.NextToken; + hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); + } + return undefined; +} +exports.paginateListComplianceItems = paginateListComplianceItems; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/ListComplianceSummariesPaginator.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/ListComplianceSummariesPaginator.js new file mode 100644 index 00000000..25c2c2db --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/ListComplianceSummariesPaginator.js @@ -0,0 +1,29 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.paginateListComplianceSummaries = void 0; +const ListComplianceSummariesCommand_1 = require("../commands/ListComplianceSummariesCommand"); +const SSMClient_1 = require("../SSMClient"); +const makePagedClientRequest = async (client, input, ...args) => { + return await client.send(new ListComplianceSummariesCommand_1.ListComplianceSummariesCommand(input), ...args); +}; +async function* paginateListComplianceSummaries(config, input, ...additionalArguments) { + let token = config.startingToken || undefined; + let hasNext = true; + let page; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof SSMClient_1.SSMClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } + else { + throw new Error("Invalid client, expected SSM | SSMClient"); + } + yield page; + const prevToken = token; + token = page.NextToken; + hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); + } + return undefined; +} +exports.paginateListComplianceSummaries = paginateListComplianceSummaries; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/ListDocumentVersionsPaginator.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/ListDocumentVersionsPaginator.js new file mode 100644 index 00000000..111c52ab --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/ListDocumentVersionsPaginator.js @@ -0,0 +1,29 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.paginateListDocumentVersions = void 0; +const ListDocumentVersionsCommand_1 = require("../commands/ListDocumentVersionsCommand"); +const SSMClient_1 = require("../SSMClient"); +const makePagedClientRequest = async (client, input, ...args) => { + return await client.send(new ListDocumentVersionsCommand_1.ListDocumentVersionsCommand(input), ...args); +}; +async function* paginateListDocumentVersions(config, input, ...additionalArguments) { + let token = config.startingToken || undefined; + let hasNext = true; + let page; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof SSMClient_1.SSMClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } + else { + throw new Error("Invalid client, expected SSM | SSMClient"); + } + yield page; + const prevToken = token; + token = page.NextToken; + hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); + } + return undefined; +} +exports.paginateListDocumentVersions = paginateListDocumentVersions; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/ListDocumentsPaginator.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/ListDocumentsPaginator.js new file mode 100644 index 00000000..44fe13ed --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/ListDocumentsPaginator.js @@ -0,0 +1,29 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.paginateListDocuments = void 0; +const ListDocumentsCommand_1 = require("../commands/ListDocumentsCommand"); +const SSMClient_1 = require("../SSMClient"); +const makePagedClientRequest = async (client, input, ...args) => { + return await client.send(new ListDocumentsCommand_1.ListDocumentsCommand(input), ...args); +}; +async function* paginateListDocuments(config, input, ...additionalArguments) { + let token = config.startingToken || undefined; + let hasNext = true; + let page; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof SSMClient_1.SSMClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } + else { + throw new Error("Invalid client, expected SSM | SSMClient"); + } + yield page; + const prevToken = token; + token = page.NextToken; + hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); + } + return undefined; +} +exports.paginateListDocuments = paginateListDocuments; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/ListOpsItemEventsPaginator.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/ListOpsItemEventsPaginator.js new file mode 100644 index 00000000..29aa830e --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/ListOpsItemEventsPaginator.js @@ -0,0 +1,29 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.paginateListOpsItemEvents = void 0; +const ListOpsItemEventsCommand_1 = require("../commands/ListOpsItemEventsCommand"); +const SSMClient_1 = require("../SSMClient"); +const makePagedClientRequest = async (client, input, ...args) => { + return await client.send(new ListOpsItemEventsCommand_1.ListOpsItemEventsCommand(input), ...args); +}; +async function* paginateListOpsItemEvents(config, input, ...additionalArguments) { + let token = config.startingToken || undefined; + let hasNext = true; + let page; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof SSMClient_1.SSMClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } + else { + throw new Error("Invalid client, expected SSM | SSMClient"); + } + yield page; + const prevToken = token; + token = page.NextToken; + hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); + } + return undefined; +} +exports.paginateListOpsItemEvents = paginateListOpsItemEvents; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/ListOpsItemRelatedItemsPaginator.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/ListOpsItemRelatedItemsPaginator.js new file mode 100644 index 00000000..6269ac24 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/ListOpsItemRelatedItemsPaginator.js @@ -0,0 +1,29 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.paginateListOpsItemRelatedItems = void 0; +const ListOpsItemRelatedItemsCommand_1 = require("../commands/ListOpsItemRelatedItemsCommand"); +const SSMClient_1 = require("../SSMClient"); +const makePagedClientRequest = async (client, input, ...args) => { + return await client.send(new ListOpsItemRelatedItemsCommand_1.ListOpsItemRelatedItemsCommand(input), ...args); +}; +async function* paginateListOpsItemRelatedItems(config, input, ...additionalArguments) { + let token = config.startingToken || undefined; + let hasNext = true; + let page; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof SSMClient_1.SSMClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } + else { + throw new Error("Invalid client, expected SSM | SSMClient"); + } + yield page; + const prevToken = token; + token = page.NextToken; + hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); + } + return undefined; +} +exports.paginateListOpsItemRelatedItems = paginateListOpsItemRelatedItems; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/ListOpsMetadataPaginator.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/ListOpsMetadataPaginator.js new file mode 100644 index 00000000..cd212209 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/ListOpsMetadataPaginator.js @@ -0,0 +1,29 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.paginateListOpsMetadata = void 0; +const ListOpsMetadataCommand_1 = require("../commands/ListOpsMetadataCommand"); +const SSMClient_1 = require("../SSMClient"); +const makePagedClientRequest = async (client, input, ...args) => { + return await client.send(new ListOpsMetadataCommand_1.ListOpsMetadataCommand(input), ...args); +}; +async function* paginateListOpsMetadata(config, input, ...additionalArguments) { + let token = config.startingToken || undefined; + let hasNext = true; + let page; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof SSMClient_1.SSMClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } + else { + throw new Error("Invalid client, expected SSM | SSMClient"); + } + yield page; + const prevToken = token; + token = page.NextToken; + hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); + } + return undefined; +} +exports.paginateListOpsMetadata = paginateListOpsMetadata; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/ListResourceComplianceSummariesPaginator.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/ListResourceComplianceSummariesPaginator.js new file mode 100644 index 00000000..2977902d --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/ListResourceComplianceSummariesPaginator.js @@ -0,0 +1,29 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.paginateListResourceComplianceSummaries = void 0; +const ListResourceComplianceSummariesCommand_1 = require("../commands/ListResourceComplianceSummariesCommand"); +const SSMClient_1 = require("../SSMClient"); +const makePagedClientRequest = async (client, input, ...args) => { + return await client.send(new ListResourceComplianceSummariesCommand_1.ListResourceComplianceSummariesCommand(input), ...args); +}; +async function* paginateListResourceComplianceSummaries(config, input, ...additionalArguments) { + let token = config.startingToken || undefined; + let hasNext = true; + let page; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof SSMClient_1.SSMClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } + else { + throw new Error("Invalid client, expected SSM | SSMClient"); + } + yield page; + const prevToken = token; + token = page.NextToken; + hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); + } + return undefined; +} +exports.paginateListResourceComplianceSummaries = paginateListResourceComplianceSummaries; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/ListResourceDataSyncPaginator.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/ListResourceDataSyncPaginator.js new file mode 100644 index 00000000..619274bc --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/ListResourceDataSyncPaginator.js @@ -0,0 +1,29 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.paginateListResourceDataSync = void 0; +const ListResourceDataSyncCommand_1 = require("../commands/ListResourceDataSyncCommand"); +const SSMClient_1 = require("../SSMClient"); +const makePagedClientRequest = async (client, input, ...args) => { + return await client.send(new ListResourceDataSyncCommand_1.ListResourceDataSyncCommand(input), ...args); +}; +async function* paginateListResourceDataSync(config, input, ...additionalArguments) { + let token = config.startingToken || undefined; + let hasNext = true; + let page; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof SSMClient_1.SSMClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } + else { + throw new Error("Invalid client, expected SSM | SSMClient"); + } + yield page; + const prevToken = token; + token = page.NextToken; + hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); + } + return undefined; +} +exports.paginateListResourceDataSync = paginateListResourceDataSync; diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/index.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/index.js new file mode 100644 index 00000000..4624e8fb --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/pagination/index.js @@ -0,0 +1,51 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +const tslib_1 = require("tslib"); +tslib_1.__exportStar(require("./DescribeActivationsPaginator"), exports); +tslib_1.__exportStar(require("./DescribeAssociationExecutionTargetsPaginator"), exports); +tslib_1.__exportStar(require("./DescribeAssociationExecutionsPaginator"), exports); +tslib_1.__exportStar(require("./DescribeAutomationExecutionsPaginator"), exports); +tslib_1.__exportStar(require("./DescribeAutomationStepExecutionsPaginator"), exports); +tslib_1.__exportStar(require("./DescribeAvailablePatchesPaginator"), exports); +tslib_1.__exportStar(require("./DescribeEffectiveInstanceAssociationsPaginator"), exports); +tslib_1.__exportStar(require("./DescribeEffectivePatchesForPatchBaselinePaginator"), exports); +tslib_1.__exportStar(require("./DescribeInstanceAssociationsStatusPaginator"), exports); +tslib_1.__exportStar(require("./DescribeInstanceInformationPaginator"), exports); +tslib_1.__exportStar(require("./Interfaces"), exports); +tslib_1.__exportStar(require("./DescribeInstancePatchStatesForPatchGroupPaginator"), exports); +tslib_1.__exportStar(require("./DescribeInstancePatchStatesPaginator"), exports); +tslib_1.__exportStar(require("./DescribeInstancePatchesPaginator"), exports); +tslib_1.__exportStar(require("./DescribeInventoryDeletionsPaginator"), exports); +tslib_1.__exportStar(require("./DescribeMaintenanceWindowExecutionTaskInvocationsPaginator"), exports); +tslib_1.__exportStar(require("./DescribeMaintenanceWindowExecutionTasksPaginator"), exports); +tslib_1.__exportStar(require("./DescribeMaintenanceWindowExecutionsPaginator"), exports); +tslib_1.__exportStar(require("./DescribeMaintenanceWindowSchedulePaginator"), exports); +tslib_1.__exportStar(require("./DescribeMaintenanceWindowTargetsPaginator"), exports); +tslib_1.__exportStar(require("./DescribeMaintenanceWindowTasksPaginator"), exports); +tslib_1.__exportStar(require("./DescribeMaintenanceWindowsForTargetPaginator"), exports); +tslib_1.__exportStar(require("./DescribeMaintenanceWindowsPaginator"), exports); +tslib_1.__exportStar(require("./DescribeOpsItemsPaginator"), exports); +tslib_1.__exportStar(require("./DescribeParametersPaginator"), exports); +tslib_1.__exportStar(require("./DescribePatchBaselinesPaginator"), exports); +tslib_1.__exportStar(require("./DescribePatchGroupsPaginator"), exports); +tslib_1.__exportStar(require("./DescribePatchPropertiesPaginator"), exports); +tslib_1.__exportStar(require("./DescribeSessionsPaginator"), exports); +tslib_1.__exportStar(require("./GetInventoryPaginator"), exports); +tslib_1.__exportStar(require("./GetInventorySchemaPaginator"), exports); +tslib_1.__exportStar(require("./GetOpsSummaryPaginator"), exports); +tslib_1.__exportStar(require("./GetParameterHistoryPaginator"), exports); +tslib_1.__exportStar(require("./GetParametersByPathPaginator"), exports); +tslib_1.__exportStar(require("./GetResourcePoliciesPaginator"), exports); +tslib_1.__exportStar(require("./ListAssociationVersionsPaginator"), exports); +tslib_1.__exportStar(require("./ListAssociationsPaginator"), exports); +tslib_1.__exportStar(require("./ListCommandInvocationsPaginator"), exports); +tslib_1.__exportStar(require("./ListCommandsPaginator"), exports); +tslib_1.__exportStar(require("./ListComplianceItemsPaginator"), exports); +tslib_1.__exportStar(require("./ListComplianceSummariesPaginator"), exports); +tslib_1.__exportStar(require("./ListDocumentVersionsPaginator"), exports); +tslib_1.__exportStar(require("./ListDocumentsPaginator"), exports); +tslib_1.__exportStar(require("./ListOpsItemEventsPaginator"), exports); +tslib_1.__exportStar(require("./ListOpsItemRelatedItemsPaginator"), exports); +tslib_1.__exportStar(require("./ListOpsMetadataPaginator"), exports); +tslib_1.__exportStar(require("./ListResourceComplianceSummariesPaginator"), exports); +tslib_1.__exportStar(require("./ListResourceDataSyncPaginator"), exports); diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/protocols/Aws_json1_1.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/protocols/Aws_json1_1.js new file mode 100644 index 00000000..82503877 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/protocols/Aws_json1_1.js @@ -0,0 +1,9692 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.se_DescribeMaintenanceWindowsCommand = exports.se_DescribeMaintenanceWindowExecutionTasksCommand = exports.se_DescribeMaintenanceWindowExecutionTaskInvocationsCommand = exports.se_DescribeMaintenanceWindowExecutionsCommand = exports.se_DescribeInventoryDeletionsCommand = exports.se_DescribeInstancePatchStatesForPatchGroupCommand = exports.se_DescribeInstancePatchStatesCommand = exports.se_DescribeInstancePatchesCommand = exports.se_DescribeInstanceInformationCommand = exports.se_DescribeInstanceAssociationsStatusCommand = exports.se_DescribeEffectivePatchesForPatchBaselineCommand = exports.se_DescribeEffectiveInstanceAssociationsCommand = exports.se_DescribeDocumentPermissionCommand = exports.se_DescribeDocumentCommand = exports.se_DescribeAvailablePatchesCommand = exports.se_DescribeAutomationStepExecutionsCommand = exports.se_DescribeAutomationExecutionsCommand = exports.se_DescribeAssociationExecutionTargetsCommand = exports.se_DescribeAssociationExecutionsCommand = exports.se_DescribeAssociationCommand = exports.se_DescribeActivationsCommand = exports.se_DeregisterTaskFromMaintenanceWindowCommand = exports.se_DeregisterTargetFromMaintenanceWindowCommand = exports.se_DeregisterPatchBaselineForPatchGroupCommand = exports.se_DeregisterManagedInstanceCommand = exports.se_DeleteResourcePolicyCommand = exports.se_DeleteResourceDataSyncCommand = exports.se_DeletePatchBaselineCommand = exports.se_DeleteParametersCommand = exports.se_DeleteParameterCommand = exports.se_DeleteOpsMetadataCommand = exports.se_DeleteOpsItemCommand = exports.se_DeleteMaintenanceWindowCommand = exports.se_DeleteInventoryCommand = exports.se_DeleteDocumentCommand = exports.se_DeleteAssociationCommand = exports.se_DeleteActivationCommand = exports.se_CreateResourceDataSyncCommand = exports.se_CreatePatchBaselineCommand = exports.se_CreateOpsMetadataCommand = exports.se_CreateOpsItemCommand = exports.se_CreateMaintenanceWindowCommand = exports.se_CreateDocumentCommand = exports.se_CreateAssociationBatchCommand = exports.se_CreateAssociationCommand = exports.se_CreateActivationCommand = exports.se_CancelMaintenanceWindowExecutionCommand = exports.se_CancelCommandCommand = exports.se_AssociateOpsItemRelatedItemCommand = exports.se_AddTagsToResourceCommand = void 0; +exports.se_ListOpsItemRelatedItemsCommand = exports.se_ListOpsItemEventsCommand = exports.se_ListInventoryEntriesCommand = exports.se_ListDocumentVersionsCommand = exports.se_ListDocumentsCommand = exports.se_ListDocumentMetadataHistoryCommand = exports.se_ListComplianceSummariesCommand = exports.se_ListComplianceItemsCommand = exports.se_ListCommandsCommand = exports.se_ListCommandInvocationsCommand = exports.se_ListAssociationVersionsCommand = exports.se_ListAssociationsCommand = exports.se_LabelParameterVersionCommand = exports.se_GetServiceSettingCommand = exports.se_GetResourcePoliciesCommand = exports.se_GetPatchBaselineForPatchGroupCommand = exports.se_GetPatchBaselineCommand = exports.se_GetParametersByPathCommand = exports.se_GetParametersCommand = exports.se_GetParameterHistoryCommand = exports.se_GetParameterCommand = exports.se_GetOpsSummaryCommand = exports.se_GetOpsMetadataCommand = exports.se_GetOpsItemCommand = exports.se_GetMaintenanceWindowTaskCommand = exports.se_GetMaintenanceWindowExecutionTaskInvocationCommand = exports.se_GetMaintenanceWindowExecutionTaskCommand = exports.se_GetMaintenanceWindowExecutionCommand = exports.se_GetMaintenanceWindowCommand = exports.se_GetInventorySchemaCommand = exports.se_GetInventoryCommand = exports.se_GetDocumentCommand = exports.se_GetDeployablePatchSnapshotForInstanceCommand = exports.se_GetDefaultPatchBaselineCommand = exports.se_GetConnectionStatusCommand = exports.se_GetCommandInvocationCommand = exports.se_GetCalendarStateCommand = exports.se_GetAutomationExecutionCommand = exports.se_DisassociateOpsItemRelatedItemCommand = exports.se_DescribeSessionsCommand = exports.se_DescribePatchPropertiesCommand = exports.se_DescribePatchGroupStateCommand = exports.se_DescribePatchGroupsCommand = exports.se_DescribePatchBaselinesCommand = exports.se_DescribeParametersCommand = exports.se_DescribeOpsItemsCommand = exports.se_DescribeMaintenanceWindowTasksCommand = exports.se_DescribeMaintenanceWindowTargetsCommand = exports.se_DescribeMaintenanceWindowsForTargetCommand = exports.se_DescribeMaintenanceWindowScheduleCommand = void 0; +exports.de_CreateOpsMetadataCommand = exports.de_CreateOpsItemCommand = exports.de_CreateMaintenanceWindowCommand = exports.de_CreateDocumentCommand = exports.de_CreateAssociationBatchCommand = exports.de_CreateAssociationCommand = exports.de_CreateActivationCommand = exports.de_CancelMaintenanceWindowExecutionCommand = exports.de_CancelCommandCommand = exports.de_AssociateOpsItemRelatedItemCommand = exports.de_AddTagsToResourceCommand = exports.se_UpdateServiceSettingCommand = exports.se_UpdateResourceDataSyncCommand = exports.se_UpdatePatchBaselineCommand = exports.se_UpdateOpsMetadataCommand = exports.se_UpdateOpsItemCommand = exports.se_UpdateManagedInstanceRoleCommand = exports.se_UpdateMaintenanceWindowTaskCommand = exports.se_UpdateMaintenanceWindowTargetCommand = exports.se_UpdateMaintenanceWindowCommand = exports.se_UpdateDocumentMetadataCommand = exports.se_UpdateDocumentDefaultVersionCommand = exports.se_UpdateDocumentCommand = exports.se_UpdateAssociationStatusCommand = exports.se_UpdateAssociationCommand = exports.se_UnlabelParameterVersionCommand = exports.se_TerminateSessionCommand = exports.se_StopAutomationExecutionCommand = exports.se_StartSessionCommand = exports.se_StartChangeRequestExecutionCommand = exports.se_StartAutomationExecutionCommand = exports.se_StartAssociationsOnceCommand = exports.se_SendCommandCommand = exports.se_SendAutomationSignalCommand = exports.se_ResumeSessionCommand = exports.se_ResetServiceSettingCommand = exports.se_RemoveTagsFromResourceCommand = exports.se_RegisterTaskWithMaintenanceWindowCommand = exports.se_RegisterTargetWithMaintenanceWindowCommand = exports.se_RegisterPatchBaselineForPatchGroupCommand = exports.se_RegisterDefaultPatchBaselineCommand = exports.se_PutResourcePolicyCommand = exports.se_PutParameterCommand = exports.se_PutInventoryCommand = exports.se_PutComplianceItemsCommand = exports.se_ModifyDocumentPermissionCommand = exports.se_ListTagsForResourceCommand = exports.se_ListResourceDataSyncCommand = exports.se_ListResourceComplianceSummariesCommand = exports.se_ListOpsMetadataCommand = void 0; +exports.de_DescribeSessionsCommand = exports.de_DescribePatchPropertiesCommand = exports.de_DescribePatchGroupStateCommand = exports.de_DescribePatchGroupsCommand = exports.de_DescribePatchBaselinesCommand = exports.de_DescribeParametersCommand = exports.de_DescribeOpsItemsCommand = exports.de_DescribeMaintenanceWindowTasksCommand = exports.de_DescribeMaintenanceWindowTargetsCommand = exports.de_DescribeMaintenanceWindowsForTargetCommand = exports.de_DescribeMaintenanceWindowScheduleCommand = exports.de_DescribeMaintenanceWindowsCommand = exports.de_DescribeMaintenanceWindowExecutionTasksCommand = exports.de_DescribeMaintenanceWindowExecutionTaskInvocationsCommand = exports.de_DescribeMaintenanceWindowExecutionsCommand = exports.de_DescribeInventoryDeletionsCommand = exports.de_DescribeInstancePatchStatesForPatchGroupCommand = exports.de_DescribeInstancePatchStatesCommand = exports.de_DescribeInstancePatchesCommand = exports.de_DescribeInstanceInformationCommand = exports.de_DescribeInstanceAssociationsStatusCommand = exports.de_DescribeEffectivePatchesForPatchBaselineCommand = exports.de_DescribeEffectiveInstanceAssociationsCommand = exports.de_DescribeDocumentPermissionCommand = exports.de_DescribeDocumentCommand = exports.de_DescribeAvailablePatchesCommand = exports.de_DescribeAutomationStepExecutionsCommand = exports.de_DescribeAutomationExecutionsCommand = exports.de_DescribeAssociationExecutionTargetsCommand = exports.de_DescribeAssociationExecutionsCommand = exports.de_DescribeAssociationCommand = exports.de_DescribeActivationsCommand = exports.de_DeregisterTaskFromMaintenanceWindowCommand = exports.de_DeregisterTargetFromMaintenanceWindowCommand = exports.de_DeregisterPatchBaselineForPatchGroupCommand = exports.de_DeregisterManagedInstanceCommand = exports.de_DeleteResourcePolicyCommand = exports.de_DeleteResourceDataSyncCommand = exports.de_DeletePatchBaselineCommand = exports.de_DeleteParametersCommand = exports.de_DeleteParameterCommand = exports.de_DeleteOpsMetadataCommand = exports.de_DeleteOpsItemCommand = exports.de_DeleteMaintenanceWindowCommand = exports.de_DeleteInventoryCommand = exports.de_DeleteDocumentCommand = exports.de_DeleteAssociationCommand = exports.de_DeleteActivationCommand = exports.de_CreateResourceDataSyncCommand = exports.de_CreatePatchBaselineCommand = void 0; +exports.de_RegisterPatchBaselineForPatchGroupCommand = exports.de_RegisterDefaultPatchBaselineCommand = exports.de_PutResourcePolicyCommand = exports.de_PutParameterCommand = exports.de_PutInventoryCommand = exports.de_PutComplianceItemsCommand = exports.de_ModifyDocumentPermissionCommand = exports.de_ListTagsForResourceCommand = exports.de_ListResourceDataSyncCommand = exports.de_ListResourceComplianceSummariesCommand = exports.de_ListOpsMetadataCommand = exports.de_ListOpsItemRelatedItemsCommand = exports.de_ListOpsItemEventsCommand = exports.de_ListInventoryEntriesCommand = exports.de_ListDocumentVersionsCommand = exports.de_ListDocumentsCommand = exports.de_ListDocumentMetadataHistoryCommand = exports.de_ListComplianceSummariesCommand = exports.de_ListComplianceItemsCommand = exports.de_ListCommandsCommand = exports.de_ListCommandInvocationsCommand = exports.de_ListAssociationVersionsCommand = exports.de_ListAssociationsCommand = exports.de_LabelParameterVersionCommand = exports.de_GetServiceSettingCommand = exports.de_GetResourcePoliciesCommand = exports.de_GetPatchBaselineForPatchGroupCommand = exports.de_GetPatchBaselineCommand = exports.de_GetParametersByPathCommand = exports.de_GetParametersCommand = exports.de_GetParameterHistoryCommand = exports.de_GetParameterCommand = exports.de_GetOpsSummaryCommand = exports.de_GetOpsMetadataCommand = exports.de_GetOpsItemCommand = exports.de_GetMaintenanceWindowTaskCommand = exports.de_GetMaintenanceWindowExecutionTaskInvocationCommand = exports.de_GetMaintenanceWindowExecutionTaskCommand = exports.de_GetMaintenanceWindowExecutionCommand = exports.de_GetMaintenanceWindowCommand = exports.de_GetInventorySchemaCommand = exports.de_GetInventoryCommand = exports.de_GetDocumentCommand = exports.de_GetDeployablePatchSnapshotForInstanceCommand = exports.de_GetDefaultPatchBaselineCommand = exports.de_GetConnectionStatusCommand = exports.de_GetCommandInvocationCommand = exports.de_GetCalendarStateCommand = exports.de_GetAutomationExecutionCommand = exports.de_DisassociateOpsItemRelatedItemCommand = void 0; +exports.de_UpdateServiceSettingCommand = exports.de_UpdateResourceDataSyncCommand = exports.de_UpdatePatchBaselineCommand = exports.de_UpdateOpsMetadataCommand = exports.de_UpdateOpsItemCommand = exports.de_UpdateManagedInstanceRoleCommand = exports.de_UpdateMaintenanceWindowTaskCommand = exports.de_UpdateMaintenanceWindowTargetCommand = exports.de_UpdateMaintenanceWindowCommand = exports.de_UpdateDocumentMetadataCommand = exports.de_UpdateDocumentDefaultVersionCommand = exports.de_UpdateDocumentCommand = exports.de_UpdateAssociationStatusCommand = exports.de_UpdateAssociationCommand = exports.de_UnlabelParameterVersionCommand = exports.de_TerminateSessionCommand = exports.de_StopAutomationExecutionCommand = exports.de_StartSessionCommand = exports.de_StartChangeRequestExecutionCommand = exports.de_StartAutomationExecutionCommand = exports.de_StartAssociationsOnceCommand = exports.de_SendCommandCommand = exports.de_SendAutomationSignalCommand = exports.de_ResumeSessionCommand = exports.de_ResetServiceSettingCommand = exports.de_RemoveTagsFromResourceCommand = exports.de_RegisterTaskWithMaintenanceWindowCommand = exports.de_RegisterTargetWithMaintenanceWindowCommand = void 0; +const protocol_http_1 = require("@smithy/protocol-http"); +const smithy_client_1 = require("@smithy/smithy-client"); +const uuid_1 = require("uuid"); +const models_0_1 = require("../models/models_0"); +const models_1_1 = require("../models/models_1"); +const models_2_1 = require("../models/models_2"); +const SSMServiceException_1 = require("../models/SSMServiceException"); +const se_AddTagsToResourceCommand = async (input, context) => { + const headers = sharedHeaders("AddTagsToResource"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_AddTagsToResourceCommand = se_AddTagsToResourceCommand; +const se_AssociateOpsItemRelatedItemCommand = async (input, context) => { + const headers = sharedHeaders("AssociateOpsItemRelatedItem"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_AssociateOpsItemRelatedItemCommand = se_AssociateOpsItemRelatedItemCommand; +const se_CancelCommandCommand = async (input, context) => { + const headers = sharedHeaders("CancelCommand"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_CancelCommandCommand = se_CancelCommandCommand; +const se_CancelMaintenanceWindowExecutionCommand = async (input, context) => { + const headers = sharedHeaders("CancelMaintenanceWindowExecution"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_CancelMaintenanceWindowExecutionCommand = se_CancelMaintenanceWindowExecutionCommand; +const se_CreateActivationCommand = async (input, context) => { + const headers = sharedHeaders("CreateActivation"); + let body; + body = JSON.stringify(se_CreateActivationRequest(input, context)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_CreateActivationCommand = se_CreateActivationCommand; +const se_CreateAssociationCommand = async (input, context) => { + const headers = sharedHeaders("CreateAssociation"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_CreateAssociationCommand = se_CreateAssociationCommand; +const se_CreateAssociationBatchCommand = async (input, context) => { + const headers = sharedHeaders("CreateAssociationBatch"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_CreateAssociationBatchCommand = se_CreateAssociationBatchCommand; +const se_CreateDocumentCommand = async (input, context) => { + const headers = sharedHeaders("CreateDocument"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_CreateDocumentCommand = se_CreateDocumentCommand; +const se_CreateMaintenanceWindowCommand = async (input, context) => { + const headers = sharedHeaders("CreateMaintenanceWindow"); + let body; + body = JSON.stringify(se_CreateMaintenanceWindowRequest(input, context)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_CreateMaintenanceWindowCommand = se_CreateMaintenanceWindowCommand; +const se_CreateOpsItemCommand = async (input, context) => { + const headers = sharedHeaders("CreateOpsItem"); + let body; + body = JSON.stringify(se_CreateOpsItemRequest(input, context)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_CreateOpsItemCommand = se_CreateOpsItemCommand; +const se_CreateOpsMetadataCommand = async (input, context) => { + const headers = sharedHeaders("CreateOpsMetadata"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_CreateOpsMetadataCommand = se_CreateOpsMetadataCommand; +const se_CreatePatchBaselineCommand = async (input, context) => { + const headers = sharedHeaders("CreatePatchBaseline"); + let body; + body = JSON.stringify(se_CreatePatchBaselineRequest(input, context)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_CreatePatchBaselineCommand = se_CreatePatchBaselineCommand; +const se_CreateResourceDataSyncCommand = async (input, context) => { + const headers = sharedHeaders("CreateResourceDataSync"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_CreateResourceDataSyncCommand = se_CreateResourceDataSyncCommand; +const se_DeleteActivationCommand = async (input, context) => { + const headers = sharedHeaders("DeleteActivation"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_DeleteActivationCommand = se_DeleteActivationCommand; +const se_DeleteAssociationCommand = async (input, context) => { + const headers = sharedHeaders("DeleteAssociation"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_DeleteAssociationCommand = se_DeleteAssociationCommand; +const se_DeleteDocumentCommand = async (input, context) => { + const headers = sharedHeaders("DeleteDocument"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_DeleteDocumentCommand = se_DeleteDocumentCommand; +const se_DeleteInventoryCommand = async (input, context) => { + const headers = sharedHeaders("DeleteInventory"); + let body; + body = JSON.stringify(se_DeleteInventoryRequest(input, context)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_DeleteInventoryCommand = se_DeleteInventoryCommand; +const se_DeleteMaintenanceWindowCommand = async (input, context) => { + const headers = sharedHeaders("DeleteMaintenanceWindow"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_DeleteMaintenanceWindowCommand = se_DeleteMaintenanceWindowCommand; +const se_DeleteOpsItemCommand = async (input, context) => { + const headers = sharedHeaders("DeleteOpsItem"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_DeleteOpsItemCommand = se_DeleteOpsItemCommand; +const se_DeleteOpsMetadataCommand = async (input, context) => { + const headers = sharedHeaders("DeleteOpsMetadata"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_DeleteOpsMetadataCommand = se_DeleteOpsMetadataCommand; +const se_DeleteParameterCommand = async (input, context) => { + const headers = sharedHeaders("DeleteParameter"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_DeleteParameterCommand = se_DeleteParameterCommand; +const se_DeleteParametersCommand = async (input, context) => { + const headers = sharedHeaders("DeleteParameters"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_DeleteParametersCommand = se_DeleteParametersCommand; +const se_DeletePatchBaselineCommand = async (input, context) => { + const headers = sharedHeaders("DeletePatchBaseline"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_DeletePatchBaselineCommand = se_DeletePatchBaselineCommand; +const se_DeleteResourceDataSyncCommand = async (input, context) => { + const headers = sharedHeaders("DeleteResourceDataSync"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_DeleteResourceDataSyncCommand = se_DeleteResourceDataSyncCommand; +const se_DeleteResourcePolicyCommand = async (input, context) => { + const headers = sharedHeaders("DeleteResourcePolicy"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_DeleteResourcePolicyCommand = se_DeleteResourcePolicyCommand; +const se_DeregisterManagedInstanceCommand = async (input, context) => { + const headers = sharedHeaders("DeregisterManagedInstance"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_DeregisterManagedInstanceCommand = se_DeregisterManagedInstanceCommand; +const se_DeregisterPatchBaselineForPatchGroupCommand = async (input, context) => { + const headers = sharedHeaders("DeregisterPatchBaselineForPatchGroup"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_DeregisterPatchBaselineForPatchGroupCommand = se_DeregisterPatchBaselineForPatchGroupCommand; +const se_DeregisterTargetFromMaintenanceWindowCommand = async (input, context) => { + const headers = sharedHeaders("DeregisterTargetFromMaintenanceWindow"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_DeregisterTargetFromMaintenanceWindowCommand = se_DeregisterTargetFromMaintenanceWindowCommand; +const se_DeregisterTaskFromMaintenanceWindowCommand = async (input, context) => { + const headers = sharedHeaders("DeregisterTaskFromMaintenanceWindow"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_DeregisterTaskFromMaintenanceWindowCommand = se_DeregisterTaskFromMaintenanceWindowCommand; +const se_DescribeActivationsCommand = async (input, context) => { + const headers = sharedHeaders("DescribeActivations"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_DescribeActivationsCommand = se_DescribeActivationsCommand; +const se_DescribeAssociationCommand = async (input, context) => { + const headers = sharedHeaders("DescribeAssociation"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_DescribeAssociationCommand = se_DescribeAssociationCommand; +const se_DescribeAssociationExecutionsCommand = async (input, context) => { + const headers = sharedHeaders("DescribeAssociationExecutions"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_DescribeAssociationExecutionsCommand = se_DescribeAssociationExecutionsCommand; +const se_DescribeAssociationExecutionTargetsCommand = async (input, context) => { + const headers = sharedHeaders("DescribeAssociationExecutionTargets"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_DescribeAssociationExecutionTargetsCommand = se_DescribeAssociationExecutionTargetsCommand; +const se_DescribeAutomationExecutionsCommand = async (input, context) => { + const headers = sharedHeaders("DescribeAutomationExecutions"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_DescribeAutomationExecutionsCommand = se_DescribeAutomationExecutionsCommand; +const se_DescribeAutomationStepExecutionsCommand = async (input, context) => { + const headers = sharedHeaders("DescribeAutomationStepExecutions"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_DescribeAutomationStepExecutionsCommand = se_DescribeAutomationStepExecutionsCommand; +const se_DescribeAvailablePatchesCommand = async (input, context) => { + const headers = sharedHeaders("DescribeAvailablePatches"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_DescribeAvailablePatchesCommand = se_DescribeAvailablePatchesCommand; +const se_DescribeDocumentCommand = async (input, context) => { + const headers = sharedHeaders("DescribeDocument"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_DescribeDocumentCommand = se_DescribeDocumentCommand; +const se_DescribeDocumentPermissionCommand = async (input, context) => { + const headers = sharedHeaders("DescribeDocumentPermission"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_DescribeDocumentPermissionCommand = se_DescribeDocumentPermissionCommand; +const se_DescribeEffectiveInstanceAssociationsCommand = async (input, context) => { + const headers = sharedHeaders("DescribeEffectiveInstanceAssociations"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_DescribeEffectiveInstanceAssociationsCommand = se_DescribeEffectiveInstanceAssociationsCommand; +const se_DescribeEffectivePatchesForPatchBaselineCommand = async (input, context) => { + const headers = sharedHeaders("DescribeEffectivePatchesForPatchBaseline"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_DescribeEffectivePatchesForPatchBaselineCommand = se_DescribeEffectivePatchesForPatchBaselineCommand; +const se_DescribeInstanceAssociationsStatusCommand = async (input, context) => { + const headers = sharedHeaders("DescribeInstanceAssociationsStatus"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_DescribeInstanceAssociationsStatusCommand = se_DescribeInstanceAssociationsStatusCommand; +const se_DescribeInstanceInformationCommand = async (input, context) => { + const headers = sharedHeaders("DescribeInstanceInformation"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_DescribeInstanceInformationCommand = se_DescribeInstanceInformationCommand; +const se_DescribeInstancePatchesCommand = async (input, context) => { + const headers = sharedHeaders("DescribeInstancePatches"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_DescribeInstancePatchesCommand = se_DescribeInstancePatchesCommand; +const se_DescribeInstancePatchStatesCommand = async (input, context) => { + const headers = sharedHeaders("DescribeInstancePatchStates"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_DescribeInstancePatchStatesCommand = se_DescribeInstancePatchStatesCommand; +const se_DescribeInstancePatchStatesForPatchGroupCommand = async (input, context) => { + const headers = sharedHeaders("DescribeInstancePatchStatesForPatchGroup"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_DescribeInstancePatchStatesForPatchGroupCommand = se_DescribeInstancePatchStatesForPatchGroupCommand; +const se_DescribeInventoryDeletionsCommand = async (input, context) => { + const headers = sharedHeaders("DescribeInventoryDeletions"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_DescribeInventoryDeletionsCommand = se_DescribeInventoryDeletionsCommand; +const se_DescribeMaintenanceWindowExecutionsCommand = async (input, context) => { + const headers = sharedHeaders("DescribeMaintenanceWindowExecutions"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_DescribeMaintenanceWindowExecutionsCommand = se_DescribeMaintenanceWindowExecutionsCommand; +const se_DescribeMaintenanceWindowExecutionTaskInvocationsCommand = async (input, context) => { + const headers = sharedHeaders("DescribeMaintenanceWindowExecutionTaskInvocations"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_DescribeMaintenanceWindowExecutionTaskInvocationsCommand = se_DescribeMaintenanceWindowExecutionTaskInvocationsCommand; +const se_DescribeMaintenanceWindowExecutionTasksCommand = async (input, context) => { + const headers = sharedHeaders("DescribeMaintenanceWindowExecutionTasks"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_DescribeMaintenanceWindowExecutionTasksCommand = se_DescribeMaintenanceWindowExecutionTasksCommand; +const se_DescribeMaintenanceWindowsCommand = async (input, context) => { + const headers = sharedHeaders("DescribeMaintenanceWindows"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_DescribeMaintenanceWindowsCommand = se_DescribeMaintenanceWindowsCommand; +const se_DescribeMaintenanceWindowScheduleCommand = async (input, context) => { + const headers = sharedHeaders("DescribeMaintenanceWindowSchedule"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_DescribeMaintenanceWindowScheduleCommand = se_DescribeMaintenanceWindowScheduleCommand; +const se_DescribeMaintenanceWindowsForTargetCommand = async (input, context) => { + const headers = sharedHeaders("DescribeMaintenanceWindowsForTarget"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_DescribeMaintenanceWindowsForTargetCommand = se_DescribeMaintenanceWindowsForTargetCommand; +const se_DescribeMaintenanceWindowTargetsCommand = async (input, context) => { + const headers = sharedHeaders("DescribeMaintenanceWindowTargets"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_DescribeMaintenanceWindowTargetsCommand = se_DescribeMaintenanceWindowTargetsCommand; +const se_DescribeMaintenanceWindowTasksCommand = async (input, context) => { + const headers = sharedHeaders("DescribeMaintenanceWindowTasks"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_DescribeMaintenanceWindowTasksCommand = se_DescribeMaintenanceWindowTasksCommand; +const se_DescribeOpsItemsCommand = async (input, context) => { + const headers = sharedHeaders("DescribeOpsItems"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_DescribeOpsItemsCommand = se_DescribeOpsItemsCommand; +const se_DescribeParametersCommand = async (input, context) => { + const headers = sharedHeaders("DescribeParameters"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_DescribeParametersCommand = se_DescribeParametersCommand; +const se_DescribePatchBaselinesCommand = async (input, context) => { + const headers = sharedHeaders("DescribePatchBaselines"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_DescribePatchBaselinesCommand = se_DescribePatchBaselinesCommand; +const se_DescribePatchGroupsCommand = async (input, context) => { + const headers = sharedHeaders("DescribePatchGroups"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_DescribePatchGroupsCommand = se_DescribePatchGroupsCommand; +const se_DescribePatchGroupStateCommand = async (input, context) => { + const headers = sharedHeaders("DescribePatchGroupState"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_DescribePatchGroupStateCommand = se_DescribePatchGroupStateCommand; +const se_DescribePatchPropertiesCommand = async (input, context) => { + const headers = sharedHeaders("DescribePatchProperties"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_DescribePatchPropertiesCommand = se_DescribePatchPropertiesCommand; +const se_DescribeSessionsCommand = async (input, context) => { + const headers = sharedHeaders("DescribeSessions"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_DescribeSessionsCommand = se_DescribeSessionsCommand; +const se_DisassociateOpsItemRelatedItemCommand = async (input, context) => { + const headers = sharedHeaders("DisassociateOpsItemRelatedItem"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_DisassociateOpsItemRelatedItemCommand = se_DisassociateOpsItemRelatedItemCommand; +const se_GetAutomationExecutionCommand = async (input, context) => { + const headers = sharedHeaders("GetAutomationExecution"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_GetAutomationExecutionCommand = se_GetAutomationExecutionCommand; +const se_GetCalendarStateCommand = async (input, context) => { + const headers = sharedHeaders("GetCalendarState"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_GetCalendarStateCommand = se_GetCalendarStateCommand; +const se_GetCommandInvocationCommand = async (input, context) => { + const headers = sharedHeaders("GetCommandInvocation"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_GetCommandInvocationCommand = se_GetCommandInvocationCommand; +const se_GetConnectionStatusCommand = async (input, context) => { + const headers = sharedHeaders("GetConnectionStatus"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_GetConnectionStatusCommand = se_GetConnectionStatusCommand; +const se_GetDefaultPatchBaselineCommand = async (input, context) => { + const headers = sharedHeaders("GetDefaultPatchBaseline"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_GetDefaultPatchBaselineCommand = se_GetDefaultPatchBaselineCommand; +const se_GetDeployablePatchSnapshotForInstanceCommand = async (input, context) => { + const headers = sharedHeaders("GetDeployablePatchSnapshotForInstance"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_GetDeployablePatchSnapshotForInstanceCommand = se_GetDeployablePatchSnapshotForInstanceCommand; +const se_GetDocumentCommand = async (input, context) => { + const headers = sharedHeaders("GetDocument"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_GetDocumentCommand = se_GetDocumentCommand; +const se_GetInventoryCommand = async (input, context) => { + const headers = sharedHeaders("GetInventory"); + let body; + body = JSON.stringify(se_GetInventoryRequest(input, context)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_GetInventoryCommand = se_GetInventoryCommand; +const se_GetInventorySchemaCommand = async (input, context) => { + const headers = sharedHeaders("GetInventorySchema"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_GetInventorySchemaCommand = se_GetInventorySchemaCommand; +const se_GetMaintenanceWindowCommand = async (input, context) => { + const headers = sharedHeaders("GetMaintenanceWindow"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_GetMaintenanceWindowCommand = se_GetMaintenanceWindowCommand; +const se_GetMaintenanceWindowExecutionCommand = async (input, context) => { + const headers = sharedHeaders("GetMaintenanceWindowExecution"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_GetMaintenanceWindowExecutionCommand = se_GetMaintenanceWindowExecutionCommand; +const se_GetMaintenanceWindowExecutionTaskCommand = async (input, context) => { + const headers = sharedHeaders("GetMaintenanceWindowExecutionTask"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_GetMaintenanceWindowExecutionTaskCommand = se_GetMaintenanceWindowExecutionTaskCommand; +const se_GetMaintenanceWindowExecutionTaskInvocationCommand = async (input, context) => { + const headers = sharedHeaders("GetMaintenanceWindowExecutionTaskInvocation"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_GetMaintenanceWindowExecutionTaskInvocationCommand = se_GetMaintenanceWindowExecutionTaskInvocationCommand; +const se_GetMaintenanceWindowTaskCommand = async (input, context) => { + const headers = sharedHeaders("GetMaintenanceWindowTask"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_GetMaintenanceWindowTaskCommand = se_GetMaintenanceWindowTaskCommand; +const se_GetOpsItemCommand = async (input, context) => { + const headers = sharedHeaders("GetOpsItem"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_GetOpsItemCommand = se_GetOpsItemCommand; +const se_GetOpsMetadataCommand = async (input, context) => { + const headers = sharedHeaders("GetOpsMetadata"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_GetOpsMetadataCommand = se_GetOpsMetadataCommand; +const se_GetOpsSummaryCommand = async (input, context) => { + const headers = sharedHeaders("GetOpsSummary"); + let body; + body = JSON.stringify(se_GetOpsSummaryRequest(input, context)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_GetOpsSummaryCommand = se_GetOpsSummaryCommand; +const se_GetParameterCommand = async (input, context) => { + const headers = sharedHeaders("GetParameter"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_GetParameterCommand = se_GetParameterCommand; +const se_GetParameterHistoryCommand = async (input, context) => { + const headers = sharedHeaders("GetParameterHistory"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_GetParameterHistoryCommand = se_GetParameterHistoryCommand; +const se_GetParametersCommand = async (input, context) => { + const headers = sharedHeaders("GetParameters"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_GetParametersCommand = se_GetParametersCommand; +const se_GetParametersByPathCommand = async (input, context) => { + const headers = sharedHeaders("GetParametersByPath"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_GetParametersByPathCommand = se_GetParametersByPathCommand; +const se_GetPatchBaselineCommand = async (input, context) => { + const headers = sharedHeaders("GetPatchBaseline"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_GetPatchBaselineCommand = se_GetPatchBaselineCommand; +const se_GetPatchBaselineForPatchGroupCommand = async (input, context) => { + const headers = sharedHeaders("GetPatchBaselineForPatchGroup"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_GetPatchBaselineForPatchGroupCommand = se_GetPatchBaselineForPatchGroupCommand; +const se_GetResourcePoliciesCommand = async (input, context) => { + const headers = sharedHeaders("GetResourcePolicies"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_GetResourcePoliciesCommand = se_GetResourcePoliciesCommand; +const se_GetServiceSettingCommand = async (input, context) => { + const headers = sharedHeaders("GetServiceSetting"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_GetServiceSettingCommand = se_GetServiceSettingCommand; +const se_LabelParameterVersionCommand = async (input, context) => { + const headers = sharedHeaders("LabelParameterVersion"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_LabelParameterVersionCommand = se_LabelParameterVersionCommand; +const se_ListAssociationsCommand = async (input, context) => { + const headers = sharedHeaders("ListAssociations"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_ListAssociationsCommand = se_ListAssociationsCommand; +const se_ListAssociationVersionsCommand = async (input, context) => { + const headers = sharedHeaders("ListAssociationVersions"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_ListAssociationVersionsCommand = se_ListAssociationVersionsCommand; +const se_ListCommandInvocationsCommand = async (input, context) => { + const headers = sharedHeaders("ListCommandInvocations"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_ListCommandInvocationsCommand = se_ListCommandInvocationsCommand; +const se_ListCommandsCommand = async (input, context) => { + const headers = sharedHeaders("ListCommands"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_ListCommandsCommand = se_ListCommandsCommand; +const se_ListComplianceItemsCommand = async (input, context) => { + const headers = sharedHeaders("ListComplianceItems"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_ListComplianceItemsCommand = se_ListComplianceItemsCommand; +const se_ListComplianceSummariesCommand = async (input, context) => { + const headers = sharedHeaders("ListComplianceSummaries"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_ListComplianceSummariesCommand = se_ListComplianceSummariesCommand; +const se_ListDocumentMetadataHistoryCommand = async (input, context) => { + const headers = sharedHeaders("ListDocumentMetadataHistory"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_ListDocumentMetadataHistoryCommand = se_ListDocumentMetadataHistoryCommand; +const se_ListDocumentsCommand = async (input, context) => { + const headers = sharedHeaders("ListDocuments"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_ListDocumentsCommand = se_ListDocumentsCommand; +const se_ListDocumentVersionsCommand = async (input, context) => { + const headers = sharedHeaders("ListDocumentVersions"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_ListDocumentVersionsCommand = se_ListDocumentVersionsCommand; +const se_ListInventoryEntriesCommand = async (input, context) => { + const headers = sharedHeaders("ListInventoryEntries"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_ListInventoryEntriesCommand = se_ListInventoryEntriesCommand; +const se_ListOpsItemEventsCommand = async (input, context) => { + const headers = sharedHeaders("ListOpsItemEvents"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_ListOpsItemEventsCommand = se_ListOpsItemEventsCommand; +const se_ListOpsItemRelatedItemsCommand = async (input, context) => { + const headers = sharedHeaders("ListOpsItemRelatedItems"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_ListOpsItemRelatedItemsCommand = se_ListOpsItemRelatedItemsCommand; +const se_ListOpsMetadataCommand = async (input, context) => { + const headers = sharedHeaders("ListOpsMetadata"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_ListOpsMetadataCommand = se_ListOpsMetadataCommand; +const se_ListResourceComplianceSummariesCommand = async (input, context) => { + const headers = sharedHeaders("ListResourceComplianceSummaries"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_ListResourceComplianceSummariesCommand = se_ListResourceComplianceSummariesCommand; +const se_ListResourceDataSyncCommand = async (input, context) => { + const headers = sharedHeaders("ListResourceDataSync"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_ListResourceDataSyncCommand = se_ListResourceDataSyncCommand; +const se_ListTagsForResourceCommand = async (input, context) => { + const headers = sharedHeaders("ListTagsForResource"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_ListTagsForResourceCommand = se_ListTagsForResourceCommand; +const se_ModifyDocumentPermissionCommand = async (input, context) => { + const headers = sharedHeaders("ModifyDocumentPermission"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_ModifyDocumentPermissionCommand = se_ModifyDocumentPermissionCommand; +const se_PutComplianceItemsCommand = async (input, context) => { + const headers = sharedHeaders("PutComplianceItems"); + let body; + body = JSON.stringify(se_PutComplianceItemsRequest(input, context)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_PutComplianceItemsCommand = se_PutComplianceItemsCommand; +const se_PutInventoryCommand = async (input, context) => { + const headers = sharedHeaders("PutInventory"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_PutInventoryCommand = se_PutInventoryCommand; +const se_PutParameterCommand = async (input, context) => { + const headers = sharedHeaders("PutParameter"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_PutParameterCommand = se_PutParameterCommand; +const se_PutResourcePolicyCommand = async (input, context) => { + const headers = sharedHeaders("PutResourcePolicy"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_PutResourcePolicyCommand = se_PutResourcePolicyCommand; +const se_RegisterDefaultPatchBaselineCommand = async (input, context) => { + const headers = sharedHeaders("RegisterDefaultPatchBaseline"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_RegisterDefaultPatchBaselineCommand = se_RegisterDefaultPatchBaselineCommand; +const se_RegisterPatchBaselineForPatchGroupCommand = async (input, context) => { + const headers = sharedHeaders("RegisterPatchBaselineForPatchGroup"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_RegisterPatchBaselineForPatchGroupCommand = se_RegisterPatchBaselineForPatchGroupCommand; +const se_RegisterTargetWithMaintenanceWindowCommand = async (input, context) => { + const headers = sharedHeaders("RegisterTargetWithMaintenanceWindow"); + let body; + body = JSON.stringify(se_RegisterTargetWithMaintenanceWindowRequest(input, context)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_RegisterTargetWithMaintenanceWindowCommand = se_RegisterTargetWithMaintenanceWindowCommand; +const se_RegisterTaskWithMaintenanceWindowCommand = async (input, context) => { + const headers = sharedHeaders("RegisterTaskWithMaintenanceWindow"); + let body; + body = JSON.stringify(se_RegisterTaskWithMaintenanceWindowRequest(input, context)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_RegisterTaskWithMaintenanceWindowCommand = se_RegisterTaskWithMaintenanceWindowCommand; +const se_RemoveTagsFromResourceCommand = async (input, context) => { + const headers = sharedHeaders("RemoveTagsFromResource"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_RemoveTagsFromResourceCommand = se_RemoveTagsFromResourceCommand; +const se_ResetServiceSettingCommand = async (input, context) => { + const headers = sharedHeaders("ResetServiceSetting"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_ResetServiceSettingCommand = se_ResetServiceSettingCommand; +const se_ResumeSessionCommand = async (input, context) => { + const headers = sharedHeaders("ResumeSession"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_ResumeSessionCommand = se_ResumeSessionCommand; +const se_SendAutomationSignalCommand = async (input, context) => { + const headers = sharedHeaders("SendAutomationSignal"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_SendAutomationSignalCommand = se_SendAutomationSignalCommand; +const se_SendCommandCommand = async (input, context) => { + const headers = sharedHeaders("SendCommand"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_SendCommandCommand = se_SendCommandCommand; +const se_StartAssociationsOnceCommand = async (input, context) => { + const headers = sharedHeaders("StartAssociationsOnce"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_StartAssociationsOnceCommand = se_StartAssociationsOnceCommand; +const se_StartAutomationExecutionCommand = async (input, context) => { + const headers = sharedHeaders("StartAutomationExecution"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_StartAutomationExecutionCommand = se_StartAutomationExecutionCommand; +const se_StartChangeRequestExecutionCommand = async (input, context) => { + const headers = sharedHeaders("StartChangeRequestExecution"); + let body; + body = JSON.stringify(se_StartChangeRequestExecutionRequest(input, context)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_StartChangeRequestExecutionCommand = se_StartChangeRequestExecutionCommand; +const se_StartSessionCommand = async (input, context) => { + const headers = sharedHeaders("StartSession"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_StartSessionCommand = se_StartSessionCommand; +const se_StopAutomationExecutionCommand = async (input, context) => { + const headers = sharedHeaders("StopAutomationExecution"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_StopAutomationExecutionCommand = se_StopAutomationExecutionCommand; +const se_TerminateSessionCommand = async (input, context) => { + const headers = sharedHeaders("TerminateSession"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_TerminateSessionCommand = se_TerminateSessionCommand; +const se_UnlabelParameterVersionCommand = async (input, context) => { + const headers = sharedHeaders("UnlabelParameterVersion"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_UnlabelParameterVersionCommand = se_UnlabelParameterVersionCommand; +const se_UpdateAssociationCommand = async (input, context) => { + const headers = sharedHeaders("UpdateAssociation"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_UpdateAssociationCommand = se_UpdateAssociationCommand; +const se_UpdateAssociationStatusCommand = async (input, context) => { + const headers = sharedHeaders("UpdateAssociationStatus"); + let body; + body = JSON.stringify(se_UpdateAssociationStatusRequest(input, context)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_UpdateAssociationStatusCommand = se_UpdateAssociationStatusCommand; +const se_UpdateDocumentCommand = async (input, context) => { + const headers = sharedHeaders("UpdateDocument"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_UpdateDocumentCommand = se_UpdateDocumentCommand; +const se_UpdateDocumentDefaultVersionCommand = async (input, context) => { + const headers = sharedHeaders("UpdateDocumentDefaultVersion"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_UpdateDocumentDefaultVersionCommand = se_UpdateDocumentDefaultVersionCommand; +const se_UpdateDocumentMetadataCommand = async (input, context) => { + const headers = sharedHeaders("UpdateDocumentMetadata"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_UpdateDocumentMetadataCommand = se_UpdateDocumentMetadataCommand; +const se_UpdateMaintenanceWindowCommand = async (input, context) => { + const headers = sharedHeaders("UpdateMaintenanceWindow"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_UpdateMaintenanceWindowCommand = se_UpdateMaintenanceWindowCommand; +const se_UpdateMaintenanceWindowTargetCommand = async (input, context) => { + const headers = sharedHeaders("UpdateMaintenanceWindowTarget"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_UpdateMaintenanceWindowTargetCommand = se_UpdateMaintenanceWindowTargetCommand; +const se_UpdateMaintenanceWindowTaskCommand = async (input, context) => { + const headers = sharedHeaders("UpdateMaintenanceWindowTask"); + let body; + body = JSON.stringify(se_UpdateMaintenanceWindowTaskRequest(input, context)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_UpdateMaintenanceWindowTaskCommand = se_UpdateMaintenanceWindowTaskCommand; +const se_UpdateManagedInstanceRoleCommand = async (input, context) => { + const headers = sharedHeaders("UpdateManagedInstanceRole"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_UpdateManagedInstanceRoleCommand = se_UpdateManagedInstanceRoleCommand; +const se_UpdateOpsItemCommand = async (input, context) => { + const headers = sharedHeaders("UpdateOpsItem"); + let body; + body = JSON.stringify(se_UpdateOpsItemRequest(input, context)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_UpdateOpsItemCommand = se_UpdateOpsItemCommand; +const se_UpdateOpsMetadataCommand = async (input, context) => { + const headers = sharedHeaders("UpdateOpsMetadata"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_UpdateOpsMetadataCommand = se_UpdateOpsMetadataCommand; +const se_UpdatePatchBaselineCommand = async (input, context) => { + const headers = sharedHeaders("UpdatePatchBaseline"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_UpdatePatchBaselineCommand = se_UpdatePatchBaselineCommand; +const se_UpdateResourceDataSyncCommand = async (input, context) => { + const headers = sharedHeaders("UpdateResourceDataSync"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_UpdateResourceDataSyncCommand = se_UpdateResourceDataSyncCommand; +const se_UpdateServiceSettingCommand = async (input, context) => { + const headers = sharedHeaders("UpdateServiceSetting"); + let body; + body = JSON.stringify((0, smithy_client_1._json)(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +exports.se_UpdateServiceSettingCommand = se_UpdateServiceSettingCommand; +const de_AddTagsToResourceCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_AddTagsToResourceCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = (0, smithy_client_1._json)(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_AddTagsToResourceCommand = de_AddTagsToResourceCommand; +const de_AddTagsToResourceCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidResourceId": + case "com.amazonaws.ssm#InvalidResourceId": + throw await de_InvalidResourceIdRes(parsedOutput, context); + case "InvalidResourceType": + case "com.amazonaws.ssm#InvalidResourceType": + throw await de_InvalidResourceTypeRes(parsedOutput, context); + case "TooManyTagsError": + case "com.amazonaws.ssm#TooManyTagsError": + throw await de_TooManyTagsErrorRes(parsedOutput, context); + case "TooManyUpdates": + case "com.amazonaws.ssm#TooManyUpdates": + throw await de_TooManyUpdatesRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_AssociateOpsItemRelatedItemCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_AssociateOpsItemRelatedItemCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = (0, smithy_client_1._json)(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_AssociateOpsItemRelatedItemCommand = de_AssociateOpsItemRelatedItemCommand; +const de_AssociateOpsItemRelatedItemCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "OpsItemConflictException": + case "com.amazonaws.ssm#OpsItemConflictException": + throw await de_OpsItemConflictExceptionRes(parsedOutput, context); + case "OpsItemInvalidParameterException": + case "com.amazonaws.ssm#OpsItemInvalidParameterException": + throw await de_OpsItemInvalidParameterExceptionRes(parsedOutput, context); + case "OpsItemLimitExceededException": + case "com.amazonaws.ssm#OpsItemLimitExceededException": + throw await de_OpsItemLimitExceededExceptionRes(parsedOutput, context); + case "OpsItemNotFoundException": + case "com.amazonaws.ssm#OpsItemNotFoundException": + throw await de_OpsItemNotFoundExceptionRes(parsedOutput, context); + case "OpsItemRelatedItemAlreadyExistsException": + case "com.amazonaws.ssm#OpsItemRelatedItemAlreadyExistsException": + throw await de_OpsItemRelatedItemAlreadyExistsExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_CancelCommandCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_CancelCommandCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = (0, smithy_client_1._json)(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_CancelCommandCommand = de_CancelCommandCommand; +const de_CancelCommandCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "DuplicateInstanceId": + case "com.amazonaws.ssm#DuplicateInstanceId": + throw await de_DuplicateInstanceIdRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidCommandId": + case "com.amazonaws.ssm#InvalidCommandId": + throw await de_InvalidCommandIdRes(parsedOutput, context); + case "InvalidInstanceId": + case "com.amazonaws.ssm#InvalidInstanceId": + throw await de_InvalidInstanceIdRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_CancelMaintenanceWindowExecutionCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_CancelMaintenanceWindowExecutionCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = (0, smithy_client_1._json)(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_CancelMaintenanceWindowExecutionCommand = de_CancelMaintenanceWindowExecutionCommand; +const de_CancelMaintenanceWindowExecutionCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "DoesNotExistException": + case "com.amazonaws.ssm#DoesNotExistException": + throw await de_DoesNotExistExceptionRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_CreateActivationCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_CreateActivationCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = (0, smithy_client_1._json)(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_CreateActivationCommand = de_CreateActivationCommand; +const de_CreateActivationCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidParameters": + case "com.amazonaws.ssm#InvalidParameters": + throw await de_InvalidParametersRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_CreateAssociationCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_CreateAssociationCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_CreateAssociationResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_CreateAssociationCommand = de_CreateAssociationCommand; +const de_CreateAssociationCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AssociationAlreadyExists": + case "com.amazonaws.ssm#AssociationAlreadyExists": + throw await de_AssociationAlreadyExistsRes(parsedOutput, context); + case "AssociationLimitExceeded": + case "com.amazonaws.ssm#AssociationLimitExceeded": + throw await de_AssociationLimitExceededRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidDocument": + case "com.amazonaws.ssm#InvalidDocument": + throw await de_InvalidDocumentRes(parsedOutput, context); + case "InvalidDocumentVersion": + case "com.amazonaws.ssm#InvalidDocumentVersion": + throw await de_InvalidDocumentVersionRes(parsedOutput, context); + case "InvalidInstanceId": + case "com.amazonaws.ssm#InvalidInstanceId": + throw await de_InvalidInstanceIdRes(parsedOutput, context); + case "InvalidOutputLocation": + case "com.amazonaws.ssm#InvalidOutputLocation": + throw await de_InvalidOutputLocationRes(parsedOutput, context); + case "InvalidParameters": + case "com.amazonaws.ssm#InvalidParameters": + throw await de_InvalidParametersRes(parsedOutput, context); + case "InvalidSchedule": + case "com.amazonaws.ssm#InvalidSchedule": + throw await de_InvalidScheduleRes(parsedOutput, context); + case "InvalidTag": + case "com.amazonaws.ssm#InvalidTag": + throw await de_InvalidTagRes(parsedOutput, context); + case "InvalidTarget": + case "com.amazonaws.ssm#InvalidTarget": + throw await de_InvalidTargetRes(parsedOutput, context); + case "InvalidTargetMaps": + case "com.amazonaws.ssm#InvalidTargetMaps": + throw await de_InvalidTargetMapsRes(parsedOutput, context); + case "UnsupportedPlatformType": + case "com.amazonaws.ssm#UnsupportedPlatformType": + throw await de_UnsupportedPlatformTypeRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_CreateAssociationBatchCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_CreateAssociationBatchCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_CreateAssociationBatchResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_CreateAssociationBatchCommand = de_CreateAssociationBatchCommand; +const de_CreateAssociationBatchCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AssociationLimitExceeded": + case "com.amazonaws.ssm#AssociationLimitExceeded": + throw await de_AssociationLimitExceededRes(parsedOutput, context); + case "DuplicateInstanceId": + case "com.amazonaws.ssm#DuplicateInstanceId": + throw await de_DuplicateInstanceIdRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidDocument": + case "com.amazonaws.ssm#InvalidDocument": + throw await de_InvalidDocumentRes(parsedOutput, context); + case "InvalidDocumentVersion": + case "com.amazonaws.ssm#InvalidDocumentVersion": + throw await de_InvalidDocumentVersionRes(parsedOutput, context); + case "InvalidInstanceId": + case "com.amazonaws.ssm#InvalidInstanceId": + throw await de_InvalidInstanceIdRes(parsedOutput, context); + case "InvalidOutputLocation": + case "com.amazonaws.ssm#InvalidOutputLocation": + throw await de_InvalidOutputLocationRes(parsedOutput, context); + case "InvalidParameters": + case "com.amazonaws.ssm#InvalidParameters": + throw await de_InvalidParametersRes(parsedOutput, context); + case "InvalidSchedule": + case "com.amazonaws.ssm#InvalidSchedule": + throw await de_InvalidScheduleRes(parsedOutput, context); + case "InvalidTarget": + case "com.amazonaws.ssm#InvalidTarget": + throw await de_InvalidTargetRes(parsedOutput, context); + case "InvalidTargetMaps": + case "com.amazonaws.ssm#InvalidTargetMaps": + throw await de_InvalidTargetMapsRes(parsedOutput, context); + case "UnsupportedPlatformType": + case "com.amazonaws.ssm#UnsupportedPlatformType": + throw await de_UnsupportedPlatformTypeRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_CreateDocumentCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_CreateDocumentCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_CreateDocumentResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_CreateDocumentCommand = de_CreateDocumentCommand; +const de_CreateDocumentCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "DocumentAlreadyExists": + case "com.amazonaws.ssm#DocumentAlreadyExists": + throw await de_DocumentAlreadyExistsRes(parsedOutput, context); + case "DocumentLimitExceeded": + case "com.amazonaws.ssm#DocumentLimitExceeded": + throw await de_DocumentLimitExceededRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidDocumentContent": + case "com.amazonaws.ssm#InvalidDocumentContent": + throw await de_InvalidDocumentContentRes(parsedOutput, context); + case "InvalidDocumentSchemaVersion": + case "com.amazonaws.ssm#InvalidDocumentSchemaVersion": + throw await de_InvalidDocumentSchemaVersionRes(parsedOutput, context); + case "MaxDocumentSizeExceeded": + case "com.amazonaws.ssm#MaxDocumentSizeExceeded": + throw await de_MaxDocumentSizeExceededRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_CreateMaintenanceWindowCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_CreateMaintenanceWindowCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = (0, smithy_client_1._json)(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_CreateMaintenanceWindowCommand = de_CreateMaintenanceWindowCommand; +const de_CreateMaintenanceWindowCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "IdempotentParameterMismatch": + case "com.amazonaws.ssm#IdempotentParameterMismatch": + throw await de_IdempotentParameterMismatchRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "ResourceLimitExceededException": + case "com.amazonaws.ssm#ResourceLimitExceededException": + throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_CreateOpsItemCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_CreateOpsItemCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = (0, smithy_client_1._json)(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_CreateOpsItemCommand = de_CreateOpsItemCommand; +const de_CreateOpsItemCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "OpsItemAccessDeniedException": + case "com.amazonaws.ssm#OpsItemAccessDeniedException": + throw await de_OpsItemAccessDeniedExceptionRes(parsedOutput, context); + case "OpsItemAlreadyExistsException": + case "com.amazonaws.ssm#OpsItemAlreadyExistsException": + throw await de_OpsItemAlreadyExistsExceptionRes(parsedOutput, context); + case "OpsItemInvalidParameterException": + case "com.amazonaws.ssm#OpsItemInvalidParameterException": + throw await de_OpsItemInvalidParameterExceptionRes(parsedOutput, context); + case "OpsItemLimitExceededException": + case "com.amazonaws.ssm#OpsItemLimitExceededException": + throw await de_OpsItemLimitExceededExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_CreateOpsMetadataCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_CreateOpsMetadataCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = (0, smithy_client_1._json)(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_CreateOpsMetadataCommand = de_CreateOpsMetadataCommand; +const de_CreateOpsMetadataCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "OpsMetadataAlreadyExistsException": + case "com.amazonaws.ssm#OpsMetadataAlreadyExistsException": + throw await de_OpsMetadataAlreadyExistsExceptionRes(parsedOutput, context); + case "OpsMetadataInvalidArgumentException": + case "com.amazonaws.ssm#OpsMetadataInvalidArgumentException": + throw await de_OpsMetadataInvalidArgumentExceptionRes(parsedOutput, context); + case "OpsMetadataLimitExceededException": + case "com.amazonaws.ssm#OpsMetadataLimitExceededException": + throw await de_OpsMetadataLimitExceededExceptionRes(parsedOutput, context); + case "OpsMetadataTooManyUpdatesException": + case "com.amazonaws.ssm#OpsMetadataTooManyUpdatesException": + throw await de_OpsMetadataTooManyUpdatesExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_CreatePatchBaselineCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_CreatePatchBaselineCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = (0, smithy_client_1._json)(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_CreatePatchBaselineCommand = de_CreatePatchBaselineCommand; +const de_CreatePatchBaselineCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "IdempotentParameterMismatch": + case "com.amazonaws.ssm#IdempotentParameterMismatch": + throw await de_IdempotentParameterMismatchRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "ResourceLimitExceededException": + case "com.amazonaws.ssm#ResourceLimitExceededException": + throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_CreateResourceDataSyncCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_CreateResourceDataSyncCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = (0, smithy_client_1._json)(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_CreateResourceDataSyncCommand = de_CreateResourceDataSyncCommand; +const de_CreateResourceDataSyncCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "ResourceDataSyncAlreadyExistsException": + case "com.amazonaws.ssm#ResourceDataSyncAlreadyExistsException": + throw await de_ResourceDataSyncAlreadyExistsExceptionRes(parsedOutput, context); + case "ResourceDataSyncCountExceededException": + case "com.amazonaws.ssm#ResourceDataSyncCountExceededException": + throw await de_ResourceDataSyncCountExceededExceptionRes(parsedOutput, context); + case "ResourceDataSyncInvalidConfigurationException": + case "com.amazonaws.ssm#ResourceDataSyncInvalidConfigurationException": + throw await de_ResourceDataSyncInvalidConfigurationExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_DeleteActivationCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DeleteActivationCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = (0, smithy_client_1._json)(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_DeleteActivationCommand = de_DeleteActivationCommand; +const de_DeleteActivationCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidActivation": + case "com.amazonaws.ssm#InvalidActivation": + throw await de_InvalidActivationRes(parsedOutput, context); + case "InvalidActivationId": + case "com.amazonaws.ssm#InvalidActivationId": + throw await de_InvalidActivationIdRes(parsedOutput, context); + case "TooManyUpdates": + case "com.amazonaws.ssm#TooManyUpdates": + throw await de_TooManyUpdatesRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_DeleteAssociationCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DeleteAssociationCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = (0, smithy_client_1._json)(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_DeleteAssociationCommand = de_DeleteAssociationCommand; +const de_DeleteAssociationCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AssociationDoesNotExist": + case "com.amazonaws.ssm#AssociationDoesNotExist": + throw await de_AssociationDoesNotExistRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidDocument": + case "com.amazonaws.ssm#InvalidDocument": + throw await de_InvalidDocumentRes(parsedOutput, context); + case "InvalidInstanceId": + case "com.amazonaws.ssm#InvalidInstanceId": + throw await de_InvalidInstanceIdRes(parsedOutput, context); + case "TooManyUpdates": + case "com.amazonaws.ssm#TooManyUpdates": + throw await de_TooManyUpdatesRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_DeleteDocumentCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DeleteDocumentCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = (0, smithy_client_1._json)(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_DeleteDocumentCommand = de_DeleteDocumentCommand; +const de_DeleteDocumentCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AssociatedInstances": + case "com.amazonaws.ssm#AssociatedInstances": + throw await de_AssociatedInstancesRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidDocument": + case "com.amazonaws.ssm#InvalidDocument": + throw await de_InvalidDocumentRes(parsedOutput, context); + case "InvalidDocumentOperation": + case "com.amazonaws.ssm#InvalidDocumentOperation": + throw await de_InvalidDocumentOperationRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_DeleteInventoryCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DeleteInventoryCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = (0, smithy_client_1._json)(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_DeleteInventoryCommand = de_DeleteInventoryCommand; +const de_DeleteInventoryCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidDeleteInventoryParametersException": + case "com.amazonaws.ssm#InvalidDeleteInventoryParametersException": + throw await de_InvalidDeleteInventoryParametersExceptionRes(parsedOutput, context); + case "InvalidInventoryRequestException": + case "com.amazonaws.ssm#InvalidInventoryRequestException": + throw await de_InvalidInventoryRequestExceptionRes(parsedOutput, context); + case "InvalidOptionException": + case "com.amazonaws.ssm#InvalidOptionException": + throw await de_InvalidOptionExceptionRes(parsedOutput, context); + case "InvalidTypeNameException": + case "com.amazonaws.ssm#InvalidTypeNameException": + throw await de_InvalidTypeNameExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_DeleteMaintenanceWindowCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DeleteMaintenanceWindowCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = (0, smithy_client_1._json)(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_DeleteMaintenanceWindowCommand = de_DeleteMaintenanceWindowCommand; +const de_DeleteMaintenanceWindowCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_DeleteOpsItemCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DeleteOpsItemCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = (0, smithy_client_1._json)(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_DeleteOpsItemCommand = de_DeleteOpsItemCommand; +const de_DeleteOpsItemCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "OpsItemInvalidParameterException": + case "com.amazonaws.ssm#OpsItemInvalidParameterException": + throw await de_OpsItemInvalidParameterExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_DeleteOpsMetadataCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DeleteOpsMetadataCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = (0, smithy_client_1._json)(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_DeleteOpsMetadataCommand = de_DeleteOpsMetadataCommand; +const de_DeleteOpsMetadataCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "OpsMetadataInvalidArgumentException": + case "com.amazonaws.ssm#OpsMetadataInvalidArgumentException": + throw await de_OpsMetadataInvalidArgumentExceptionRes(parsedOutput, context); + case "OpsMetadataNotFoundException": + case "com.amazonaws.ssm#OpsMetadataNotFoundException": + throw await de_OpsMetadataNotFoundExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_DeleteParameterCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DeleteParameterCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = (0, smithy_client_1._json)(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_DeleteParameterCommand = de_DeleteParameterCommand; +const de_DeleteParameterCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "ParameterNotFound": + case "com.amazonaws.ssm#ParameterNotFound": + throw await de_ParameterNotFoundRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_DeleteParametersCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DeleteParametersCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = (0, smithy_client_1._json)(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_DeleteParametersCommand = de_DeleteParametersCommand; +const de_DeleteParametersCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_DeletePatchBaselineCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DeletePatchBaselineCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = (0, smithy_client_1._json)(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_DeletePatchBaselineCommand = de_DeletePatchBaselineCommand; +const de_DeletePatchBaselineCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "ResourceInUseException": + case "com.amazonaws.ssm#ResourceInUseException": + throw await de_ResourceInUseExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_DeleteResourceDataSyncCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DeleteResourceDataSyncCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = (0, smithy_client_1._json)(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_DeleteResourceDataSyncCommand = de_DeleteResourceDataSyncCommand; +const de_DeleteResourceDataSyncCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "ResourceDataSyncInvalidConfigurationException": + case "com.amazonaws.ssm#ResourceDataSyncInvalidConfigurationException": + throw await de_ResourceDataSyncInvalidConfigurationExceptionRes(parsedOutput, context); + case "ResourceDataSyncNotFoundException": + case "com.amazonaws.ssm#ResourceDataSyncNotFoundException": + throw await de_ResourceDataSyncNotFoundExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_DeleteResourcePolicyCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DeleteResourcePolicyCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = (0, smithy_client_1._json)(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_DeleteResourcePolicyCommand = de_DeleteResourcePolicyCommand; +const de_DeleteResourcePolicyCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "ResourcePolicyConflictException": + case "com.amazonaws.ssm#ResourcePolicyConflictException": + throw await de_ResourcePolicyConflictExceptionRes(parsedOutput, context); + case "ResourcePolicyInvalidParameterException": + case "com.amazonaws.ssm#ResourcePolicyInvalidParameterException": + throw await de_ResourcePolicyInvalidParameterExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_DeregisterManagedInstanceCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DeregisterManagedInstanceCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = (0, smithy_client_1._json)(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_DeregisterManagedInstanceCommand = de_DeregisterManagedInstanceCommand; +const de_DeregisterManagedInstanceCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidInstanceId": + case "com.amazonaws.ssm#InvalidInstanceId": + throw await de_InvalidInstanceIdRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_DeregisterPatchBaselineForPatchGroupCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DeregisterPatchBaselineForPatchGroupCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = (0, smithy_client_1._json)(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_DeregisterPatchBaselineForPatchGroupCommand = de_DeregisterPatchBaselineForPatchGroupCommand; +const de_DeregisterPatchBaselineForPatchGroupCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidResourceId": + case "com.amazonaws.ssm#InvalidResourceId": + throw await de_InvalidResourceIdRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_DeregisterTargetFromMaintenanceWindowCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DeregisterTargetFromMaintenanceWindowCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = (0, smithy_client_1._json)(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_DeregisterTargetFromMaintenanceWindowCommand = de_DeregisterTargetFromMaintenanceWindowCommand; +const de_DeregisterTargetFromMaintenanceWindowCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "DoesNotExistException": + case "com.amazonaws.ssm#DoesNotExistException": + throw await de_DoesNotExistExceptionRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "TargetInUseException": + case "com.amazonaws.ssm#TargetInUseException": + throw await de_TargetInUseExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_DeregisterTaskFromMaintenanceWindowCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DeregisterTaskFromMaintenanceWindowCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = (0, smithy_client_1._json)(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_DeregisterTaskFromMaintenanceWindowCommand = de_DeregisterTaskFromMaintenanceWindowCommand; +const de_DeregisterTaskFromMaintenanceWindowCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "DoesNotExistException": + case "com.amazonaws.ssm#DoesNotExistException": + throw await de_DoesNotExistExceptionRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_DescribeActivationsCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DescribeActivationsCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_DescribeActivationsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_DescribeActivationsCommand = de_DescribeActivationsCommand; +const de_DescribeActivationsCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidFilter": + case "com.amazonaws.ssm#InvalidFilter": + throw await de_InvalidFilterRes(parsedOutput, context); + case "InvalidNextToken": + case "com.amazonaws.ssm#InvalidNextToken": + throw await de_InvalidNextTokenRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_DescribeAssociationCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DescribeAssociationCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_DescribeAssociationResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_DescribeAssociationCommand = de_DescribeAssociationCommand; +const de_DescribeAssociationCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AssociationDoesNotExist": + case "com.amazonaws.ssm#AssociationDoesNotExist": + throw await de_AssociationDoesNotExistRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidAssociationVersion": + case "com.amazonaws.ssm#InvalidAssociationVersion": + throw await de_InvalidAssociationVersionRes(parsedOutput, context); + case "InvalidDocument": + case "com.amazonaws.ssm#InvalidDocument": + throw await de_InvalidDocumentRes(parsedOutput, context); + case "InvalidInstanceId": + case "com.amazonaws.ssm#InvalidInstanceId": + throw await de_InvalidInstanceIdRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_DescribeAssociationExecutionsCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DescribeAssociationExecutionsCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_DescribeAssociationExecutionsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_DescribeAssociationExecutionsCommand = de_DescribeAssociationExecutionsCommand; +const de_DescribeAssociationExecutionsCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AssociationDoesNotExist": + case "com.amazonaws.ssm#AssociationDoesNotExist": + throw await de_AssociationDoesNotExistRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidNextToken": + case "com.amazonaws.ssm#InvalidNextToken": + throw await de_InvalidNextTokenRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_DescribeAssociationExecutionTargetsCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DescribeAssociationExecutionTargetsCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_DescribeAssociationExecutionTargetsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_DescribeAssociationExecutionTargetsCommand = de_DescribeAssociationExecutionTargetsCommand; +const de_DescribeAssociationExecutionTargetsCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AssociationDoesNotExist": + case "com.amazonaws.ssm#AssociationDoesNotExist": + throw await de_AssociationDoesNotExistRes(parsedOutput, context); + case "AssociationExecutionDoesNotExist": + case "com.amazonaws.ssm#AssociationExecutionDoesNotExist": + throw await de_AssociationExecutionDoesNotExistRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidNextToken": + case "com.amazonaws.ssm#InvalidNextToken": + throw await de_InvalidNextTokenRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_DescribeAutomationExecutionsCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DescribeAutomationExecutionsCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_DescribeAutomationExecutionsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_DescribeAutomationExecutionsCommand = de_DescribeAutomationExecutionsCommand; +const de_DescribeAutomationExecutionsCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidFilterKey": + case "com.amazonaws.ssm#InvalidFilterKey": + throw await de_InvalidFilterKeyRes(parsedOutput, context); + case "InvalidFilterValue": + case "com.amazonaws.ssm#InvalidFilterValue": + throw await de_InvalidFilterValueRes(parsedOutput, context); + case "InvalidNextToken": + case "com.amazonaws.ssm#InvalidNextToken": + throw await de_InvalidNextTokenRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_DescribeAutomationStepExecutionsCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DescribeAutomationStepExecutionsCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_DescribeAutomationStepExecutionsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_DescribeAutomationStepExecutionsCommand = de_DescribeAutomationStepExecutionsCommand; +const de_DescribeAutomationStepExecutionsCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AutomationExecutionNotFoundException": + case "com.amazonaws.ssm#AutomationExecutionNotFoundException": + throw await de_AutomationExecutionNotFoundExceptionRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidFilterKey": + case "com.amazonaws.ssm#InvalidFilterKey": + throw await de_InvalidFilterKeyRes(parsedOutput, context); + case "InvalidFilterValue": + case "com.amazonaws.ssm#InvalidFilterValue": + throw await de_InvalidFilterValueRes(parsedOutput, context); + case "InvalidNextToken": + case "com.amazonaws.ssm#InvalidNextToken": + throw await de_InvalidNextTokenRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_DescribeAvailablePatchesCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DescribeAvailablePatchesCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_DescribeAvailablePatchesResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_DescribeAvailablePatchesCommand = de_DescribeAvailablePatchesCommand; +const de_DescribeAvailablePatchesCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_DescribeDocumentCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DescribeDocumentCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_DescribeDocumentResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_DescribeDocumentCommand = de_DescribeDocumentCommand; +const de_DescribeDocumentCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidDocument": + case "com.amazonaws.ssm#InvalidDocument": + throw await de_InvalidDocumentRes(parsedOutput, context); + case "InvalidDocumentVersion": + case "com.amazonaws.ssm#InvalidDocumentVersion": + throw await de_InvalidDocumentVersionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_DescribeDocumentPermissionCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DescribeDocumentPermissionCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = (0, smithy_client_1._json)(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_DescribeDocumentPermissionCommand = de_DescribeDocumentPermissionCommand; +const de_DescribeDocumentPermissionCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidDocument": + case "com.amazonaws.ssm#InvalidDocument": + throw await de_InvalidDocumentRes(parsedOutput, context); + case "InvalidDocumentOperation": + case "com.amazonaws.ssm#InvalidDocumentOperation": + throw await de_InvalidDocumentOperationRes(parsedOutput, context); + case "InvalidNextToken": + case "com.amazonaws.ssm#InvalidNextToken": + throw await de_InvalidNextTokenRes(parsedOutput, context); + case "InvalidPermissionType": + case "com.amazonaws.ssm#InvalidPermissionType": + throw await de_InvalidPermissionTypeRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_DescribeEffectiveInstanceAssociationsCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DescribeEffectiveInstanceAssociationsCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = (0, smithy_client_1._json)(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_DescribeEffectiveInstanceAssociationsCommand = de_DescribeEffectiveInstanceAssociationsCommand; +const de_DescribeEffectiveInstanceAssociationsCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidInstanceId": + case "com.amazonaws.ssm#InvalidInstanceId": + throw await de_InvalidInstanceIdRes(parsedOutput, context); + case "InvalidNextToken": + case "com.amazonaws.ssm#InvalidNextToken": + throw await de_InvalidNextTokenRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_DescribeEffectivePatchesForPatchBaselineCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DescribeEffectivePatchesForPatchBaselineCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_DescribeEffectivePatchesForPatchBaselineResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_DescribeEffectivePatchesForPatchBaselineCommand = de_DescribeEffectivePatchesForPatchBaselineCommand; +const de_DescribeEffectivePatchesForPatchBaselineCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "DoesNotExistException": + case "com.amazonaws.ssm#DoesNotExistException": + throw await de_DoesNotExistExceptionRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidResourceId": + case "com.amazonaws.ssm#InvalidResourceId": + throw await de_InvalidResourceIdRes(parsedOutput, context); + case "UnsupportedOperatingSystem": + case "com.amazonaws.ssm#UnsupportedOperatingSystem": + throw await de_UnsupportedOperatingSystemRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_DescribeInstanceAssociationsStatusCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DescribeInstanceAssociationsStatusCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_DescribeInstanceAssociationsStatusResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_DescribeInstanceAssociationsStatusCommand = de_DescribeInstanceAssociationsStatusCommand; +const de_DescribeInstanceAssociationsStatusCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidInstanceId": + case "com.amazonaws.ssm#InvalidInstanceId": + throw await de_InvalidInstanceIdRes(parsedOutput, context); + case "InvalidNextToken": + case "com.amazonaws.ssm#InvalidNextToken": + throw await de_InvalidNextTokenRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_DescribeInstanceInformationCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DescribeInstanceInformationCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_DescribeInstanceInformationResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_DescribeInstanceInformationCommand = de_DescribeInstanceInformationCommand; +const de_DescribeInstanceInformationCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidFilterKey": + case "com.amazonaws.ssm#InvalidFilterKey": + throw await de_InvalidFilterKeyRes(parsedOutput, context); + case "InvalidInstanceId": + case "com.amazonaws.ssm#InvalidInstanceId": + throw await de_InvalidInstanceIdRes(parsedOutput, context); + case "InvalidInstanceInformationFilterValue": + case "com.amazonaws.ssm#InvalidInstanceInformationFilterValue": + throw await de_InvalidInstanceInformationFilterValueRes(parsedOutput, context); + case "InvalidNextToken": + case "com.amazonaws.ssm#InvalidNextToken": + throw await de_InvalidNextTokenRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_DescribeInstancePatchesCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DescribeInstancePatchesCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_DescribeInstancePatchesResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_DescribeInstancePatchesCommand = de_DescribeInstancePatchesCommand; +const de_DescribeInstancePatchesCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidFilter": + case "com.amazonaws.ssm#InvalidFilter": + throw await de_InvalidFilterRes(parsedOutput, context); + case "InvalidInstanceId": + case "com.amazonaws.ssm#InvalidInstanceId": + throw await de_InvalidInstanceIdRes(parsedOutput, context); + case "InvalidNextToken": + case "com.amazonaws.ssm#InvalidNextToken": + throw await de_InvalidNextTokenRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_DescribeInstancePatchStatesCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DescribeInstancePatchStatesCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_DescribeInstancePatchStatesResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_DescribeInstancePatchStatesCommand = de_DescribeInstancePatchStatesCommand; +const de_DescribeInstancePatchStatesCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidNextToken": + case "com.amazonaws.ssm#InvalidNextToken": + throw await de_InvalidNextTokenRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_DescribeInstancePatchStatesForPatchGroupCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DescribeInstancePatchStatesForPatchGroupCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_DescribeInstancePatchStatesForPatchGroupResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_DescribeInstancePatchStatesForPatchGroupCommand = de_DescribeInstancePatchStatesForPatchGroupCommand; +const de_DescribeInstancePatchStatesForPatchGroupCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidFilter": + case "com.amazonaws.ssm#InvalidFilter": + throw await de_InvalidFilterRes(parsedOutput, context); + case "InvalidNextToken": + case "com.amazonaws.ssm#InvalidNextToken": + throw await de_InvalidNextTokenRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_DescribeInventoryDeletionsCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DescribeInventoryDeletionsCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_DescribeInventoryDeletionsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_DescribeInventoryDeletionsCommand = de_DescribeInventoryDeletionsCommand; +const de_DescribeInventoryDeletionsCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidDeletionIdException": + case "com.amazonaws.ssm#InvalidDeletionIdException": + throw await de_InvalidDeletionIdExceptionRes(parsedOutput, context); + case "InvalidNextToken": + case "com.amazonaws.ssm#InvalidNextToken": + throw await de_InvalidNextTokenRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_DescribeMaintenanceWindowExecutionsCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DescribeMaintenanceWindowExecutionsCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_DescribeMaintenanceWindowExecutionsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_DescribeMaintenanceWindowExecutionsCommand = de_DescribeMaintenanceWindowExecutionsCommand; +const de_DescribeMaintenanceWindowExecutionsCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_DescribeMaintenanceWindowExecutionTaskInvocationsCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DescribeMaintenanceWindowExecutionTaskInvocationsCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_DescribeMaintenanceWindowExecutionTaskInvocationsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_DescribeMaintenanceWindowExecutionTaskInvocationsCommand = de_DescribeMaintenanceWindowExecutionTaskInvocationsCommand; +const de_DescribeMaintenanceWindowExecutionTaskInvocationsCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "DoesNotExistException": + case "com.amazonaws.ssm#DoesNotExistException": + throw await de_DoesNotExistExceptionRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_DescribeMaintenanceWindowExecutionTasksCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DescribeMaintenanceWindowExecutionTasksCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_DescribeMaintenanceWindowExecutionTasksResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_DescribeMaintenanceWindowExecutionTasksCommand = de_DescribeMaintenanceWindowExecutionTasksCommand; +const de_DescribeMaintenanceWindowExecutionTasksCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "DoesNotExistException": + case "com.amazonaws.ssm#DoesNotExistException": + throw await de_DoesNotExistExceptionRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_DescribeMaintenanceWindowsCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DescribeMaintenanceWindowsCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = (0, smithy_client_1._json)(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_DescribeMaintenanceWindowsCommand = de_DescribeMaintenanceWindowsCommand; +const de_DescribeMaintenanceWindowsCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_DescribeMaintenanceWindowScheduleCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DescribeMaintenanceWindowScheduleCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = (0, smithy_client_1._json)(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_DescribeMaintenanceWindowScheduleCommand = de_DescribeMaintenanceWindowScheduleCommand; +const de_DescribeMaintenanceWindowScheduleCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "DoesNotExistException": + case "com.amazonaws.ssm#DoesNotExistException": + throw await de_DoesNotExistExceptionRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_DescribeMaintenanceWindowsForTargetCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DescribeMaintenanceWindowsForTargetCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = (0, smithy_client_1._json)(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_DescribeMaintenanceWindowsForTargetCommand = de_DescribeMaintenanceWindowsForTargetCommand; +const de_DescribeMaintenanceWindowsForTargetCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_DescribeMaintenanceWindowTargetsCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DescribeMaintenanceWindowTargetsCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = (0, smithy_client_1._json)(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_DescribeMaintenanceWindowTargetsCommand = de_DescribeMaintenanceWindowTargetsCommand; +const de_DescribeMaintenanceWindowTargetsCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "DoesNotExistException": + case "com.amazonaws.ssm#DoesNotExistException": + throw await de_DoesNotExistExceptionRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_DescribeMaintenanceWindowTasksCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DescribeMaintenanceWindowTasksCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = (0, smithy_client_1._json)(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_DescribeMaintenanceWindowTasksCommand = de_DescribeMaintenanceWindowTasksCommand; +const de_DescribeMaintenanceWindowTasksCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "DoesNotExistException": + case "com.amazonaws.ssm#DoesNotExistException": + throw await de_DoesNotExistExceptionRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_DescribeOpsItemsCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DescribeOpsItemsCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_DescribeOpsItemsResponse(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_DescribeOpsItemsCommand = de_DescribeOpsItemsCommand; +const de_DescribeOpsItemsCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_DescribeParametersCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DescribeParametersCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_DescribeParametersResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_DescribeParametersCommand = de_DescribeParametersCommand; +const de_DescribeParametersCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidFilterKey": + case "com.amazonaws.ssm#InvalidFilterKey": + throw await de_InvalidFilterKeyRes(parsedOutput, context); + case "InvalidFilterOption": + case "com.amazonaws.ssm#InvalidFilterOption": + throw await de_InvalidFilterOptionRes(parsedOutput, context); + case "InvalidFilterValue": + case "com.amazonaws.ssm#InvalidFilterValue": + throw await de_InvalidFilterValueRes(parsedOutput, context); + case "InvalidNextToken": + case "com.amazonaws.ssm#InvalidNextToken": + throw await de_InvalidNextTokenRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_DescribePatchBaselinesCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DescribePatchBaselinesCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = (0, smithy_client_1._json)(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_DescribePatchBaselinesCommand = de_DescribePatchBaselinesCommand; +const de_DescribePatchBaselinesCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_DescribePatchGroupsCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DescribePatchGroupsCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = (0, smithy_client_1._json)(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_DescribePatchGroupsCommand = de_DescribePatchGroupsCommand; +const de_DescribePatchGroupsCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_DescribePatchGroupStateCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DescribePatchGroupStateCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = (0, smithy_client_1._json)(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_DescribePatchGroupStateCommand = de_DescribePatchGroupStateCommand; +const de_DescribePatchGroupStateCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidNextToken": + case "com.amazonaws.ssm#InvalidNextToken": + throw await de_InvalidNextTokenRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_DescribePatchPropertiesCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DescribePatchPropertiesCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = (0, smithy_client_1._json)(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_DescribePatchPropertiesCommand = de_DescribePatchPropertiesCommand; +const de_DescribePatchPropertiesCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_DescribeSessionsCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DescribeSessionsCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_DescribeSessionsResponse(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_DescribeSessionsCommand = de_DescribeSessionsCommand; +const de_DescribeSessionsCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidFilterKey": + case "com.amazonaws.ssm#InvalidFilterKey": + throw await de_InvalidFilterKeyRes(parsedOutput, context); + case "InvalidNextToken": + case "com.amazonaws.ssm#InvalidNextToken": + throw await de_InvalidNextTokenRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_DisassociateOpsItemRelatedItemCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DisassociateOpsItemRelatedItemCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = (0, smithy_client_1._json)(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_DisassociateOpsItemRelatedItemCommand = de_DisassociateOpsItemRelatedItemCommand; +const de_DisassociateOpsItemRelatedItemCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "OpsItemConflictException": + case "com.amazonaws.ssm#OpsItemConflictException": + throw await de_OpsItemConflictExceptionRes(parsedOutput, context); + case "OpsItemInvalidParameterException": + case "com.amazonaws.ssm#OpsItemInvalidParameterException": + throw await de_OpsItemInvalidParameterExceptionRes(parsedOutput, context); + case "OpsItemNotFoundException": + case "com.amazonaws.ssm#OpsItemNotFoundException": + throw await de_OpsItemNotFoundExceptionRes(parsedOutput, context); + case "OpsItemRelatedItemAssociationNotFoundException": + case "com.amazonaws.ssm#OpsItemRelatedItemAssociationNotFoundException": + throw await de_OpsItemRelatedItemAssociationNotFoundExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_GetAutomationExecutionCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_GetAutomationExecutionCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_GetAutomationExecutionResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_GetAutomationExecutionCommand = de_GetAutomationExecutionCommand; +const de_GetAutomationExecutionCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AutomationExecutionNotFoundException": + case "com.amazonaws.ssm#AutomationExecutionNotFoundException": + throw await de_AutomationExecutionNotFoundExceptionRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_GetCalendarStateCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_GetCalendarStateCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = (0, smithy_client_1._json)(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_GetCalendarStateCommand = de_GetCalendarStateCommand; +const de_GetCalendarStateCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidDocument": + case "com.amazonaws.ssm#InvalidDocument": + throw await de_InvalidDocumentRes(parsedOutput, context); + case "InvalidDocumentType": + case "com.amazonaws.ssm#InvalidDocumentType": + throw await de_InvalidDocumentTypeRes(parsedOutput, context); + case "UnsupportedCalendarException": + case "com.amazonaws.ssm#UnsupportedCalendarException": + throw await de_UnsupportedCalendarExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_GetCommandInvocationCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_GetCommandInvocationCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = (0, smithy_client_1._json)(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_GetCommandInvocationCommand = de_GetCommandInvocationCommand; +const de_GetCommandInvocationCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidCommandId": + case "com.amazonaws.ssm#InvalidCommandId": + throw await de_InvalidCommandIdRes(parsedOutput, context); + case "InvalidInstanceId": + case "com.amazonaws.ssm#InvalidInstanceId": + throw await de_InvalidInstanceIdRes(parsedOutput, context); + case "InvalidPluginName": + case "com.amazonaws.ssm#InvalidPluginName": + throw await de_InvalidPluginNameRes(parsedOutput, context); + case "InvocationDoesNotExist": + case "com.amazonaws.ssm#InvocationDoesNotExist": + throw await de_InvocationDoesNotExistRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_GetConnectionStatusCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_GetConnectionStatusCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = (0, smithy_client_1._json)(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_GetConnectionStatusCommand = de_GetConnectionStatusCommand; +const de_GetConnectionStatusCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_GetDefaultPatchBaselineCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_GetDefaultPatchBaselineCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = (0, smithy_client_1._json)(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_GetDefaultPatchBaselineCommand = de_GetDefaultPatchBaselineCommand; +const de_GetDefaultPatchBaselineCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_GetDeployablePatchSnapshotForInstanceCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_GetDeployablePatchSnapshotForInstanceCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = (0, smithy_client_1._json)(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_GetDeployablePatchSnapshotForInstanceCommand = de_GetDeployablePatchSnapshotForInstanceCommand; +const de_GetDeployablePatchSnapshotForInstanceCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "UnsupportedFeatureRequiredException": + case "com.amazonaws.ssm#UnsupportedFeatureRequiredException": + throw await de_UnsupportedFeatureRequiredExceptionRes(parsedOutput, context); + case "UnsupportedOperatingSystem": + case "com.amazonaws.ssm#UnsupportedOperatingSystem": + throw await de_UnsupportedOperatingSystemRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_GetDocumentCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_GetDocumentCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_GetDocumentResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_GetDocumentCommand = de_GetDocumentCommand; +const de_GetDocumentCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidDocument": + case "com.amazonaws.ssm#InvalidDocument": + throw await de_InvalidDocumentRes(parsedOutput, context); + case "InvalidDocumentVersion": + case "com.amazonaws.ssm#InvalidDocumentVersion": + throw await de_InvalidDocumentVersionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_GetInventoryCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_GetInventoryCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = (0, smithy_client_1._json)(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_GetInventoryCommand = de_GetInventoryCommand; +const de_GetInventoryCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidAggregatorException": + case "com.amazonaws.ssm#InvalidAggregatorException": + throw await de_InvalidAggregatorExceptionRes(parsedOutput, context); + case "InvalidFilter": + case "com.amazonaws.ssm#InvalidFilter": + throw await de_InvalidFilterRes(parsedOutput, context); + case "InvalidInventoryGroupException": + case "com.amazonaws.ssm#InvalidInventoryGroupException": + throw await de_InvalidInventoryGroupExceptionRes(parsedOutput, context); + case "InvalidNextToken": + case "com.amazonaws.ssm#InvalidNextToken": + throw await de_InvalidNextTokenRes(parsedOutput, context); + case "InvalidResultAttributeException": + case "com.amazonaws.ssm#InvalidResultAttributeException": + throw await de_InvalidResultAttributeExceptionRes(parsedOutput, context); + case "InvalidTypeNameException": + case "com.amazonaws.ssm#InvalidTypeNameException": + throw await de_InvalidTypeNameExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_GetInventorySchemaCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_GetInventorySchemaCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = (0, smithy_client_1._json)(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_GetInventorySchemaCommand = de_GetInventorySchemaCommand; +const de_GetInventorySchemaCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidNextToken": + case "com.amazonaws.ssm#InvalidNextToken": + throw await de_InvalidNextTokenRes(parsedOutput, context); + case "InvalidTypeNameException": + case "com.amazonaws.ssm#InvalidTypeNameException": + throw await de_InvalidTypeNameExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_GetMaintenanceWindowCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_GetMaintenanceWindowCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_GetMaintenanceWindowResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_GetMaintenanceWindowCommand = de_GetMaintenanceWindowCommand; +const de_GetMaintenanceWindowCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "DoesNotExistException": + case "com.amazonaws.ssm#DoesNotExistException": + throw await de_DoesNotExistExceptionRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_GetMaintenanceWindowExecutionCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_GetMaintenanceWindowExecutionCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_GetMaintenanceWindowExecutionResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_GetMaintenanceWindowExecutionCommand = de_GetMaintenanceWindowExecutionCommand; +const de_GetMaintenanceWindowExecutionCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "DoesNotExistException": + case "com.amazonaws.ssm#DoesNotExistException": + throw await de_DoesNotExistExceptionRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_GetMaintenanceWindowExecutionTaskCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_GetMaintenanceWindowExecutionTaskCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_GetMaintenanceWindowExecutionTaskResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_GetMaintenanceWindowExecutionTaskCommand = de_GetMaintenanceWindowExecutionTaskCommand; +const de_GetMaintenanceWindowExecutionTaskCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "DoesNotExistException": + case "com.amazonaws.ssm#DoesNotExistException": + throw await de_DoesNotExistExceptionRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_GetMaintenanceWindowExecutionTaskInvocationCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_GetMaintenanceWindowExecutionTaskInvocationCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_GetMaintenanceWindowExecutionTaskInvocationResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_GetMaintenanceWindowExecutionTaskInvocationCommand = de_GetMaintenanceWindowExecutionTaskInvocationCommand; +const de_GetMaintenanceWindowExecutionTaskInvocationCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "DoesNotExistException": + case "com.amazonaws.ssm#DoesNotExistException": + throw await de_DoesNotExistExceptionRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_GetMaintenanceWindowTaskCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_GetMaintenanceWindowTaskCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_GetMaintenanceWindowTaskResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_GetMaintenanceWindowTaskCommand = de_GetMaintenanceWindowTaskCommand; +const de_GetMaintenanceWindowTaskCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "DoesNotExistException": + case "com.amazonaws.ssm#DoesNotExistException": + throw await de_DoesNotExistExceptionRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_GetOpsItemCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_GetOpsItemCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_GetOpsItemResponse(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_GetOpsItemCommand = de_GetOpsItemCommand; +const de_GetOpsItemCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "OpsItemAccessDeniedException": + case "com.amazonaws.ssm#OpsItemAccessDeniedException": + throw await de_OpsItemAccessDeniedExceptionRes(parsedOutput, context); + case "OpsItemNotFoundException": + case "com.amazonaws.ssm#OpsItemNotFoundException": + throw await de_OpsItemNotFoundExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_GetOpsMetadataCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_GetOpsMetadataCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = (0, smithy_client_1._json)(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_GetOpsMetadataCommand = de_GetOpsMetadataCommand; +const de_GetOpsMetadataCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "OpsMetadataInvalidArgumentException": + case "com.amazonaws.ssm#OpsMetadataInvalidArgumentException": + throw await de_OpsMetadataInvalidArgumentExceptionRes(parsedOutput, context); + case "OpsMetadataNotFoundException": + case "com.amazonaws.ssm#OpsMetadataNotFoundException": + throw await de_OpsMetadataNotFoundExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_GetOpsSummaryCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_GetOpsSummaryCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = (0, smithy_client_1._json)(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_GetOpsSummaryCommand = de_GetOpsSummaryCommand; +const de_GetOpsSummaryCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidAggregatorException": + case "com.amazonaws.ssm#InvalidAggregatorException": + throw await de_InvalidAggregatorExceptionRes(parsedOutput, context); + case "InvalidFilter": + case "com.amazonaws.ssm#InvalidFilter": + throw await de_InvalidFilterRes(parsedOutput, context); + case "InvalidNextToken": + case "com.amazonaws.ssm#InvalidNextToken": + throw await de_InvalidNextTokenRes(parsedOutput, context); + case "InvalidTypeNameException": + case "com.amazonaws.ssm#InvalidTypeNameException": + throw await de_InvalidTypeNameExceptionRes(parsedOutput, context); + case "ResourceDataSyncNotFoundException": + case "com.amazonaws.ssm#ResourceDataSyncNotFoundException": + throw await de_ResourceDataSyncNotFoundExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_GetParameterCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_GetParameterCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_GetParameterResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_GetParameterCommand = de_GetParameterCommand; +const de_GetParameterCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidKeyId": + case "com.amazonaws.ssm#InvalidKeyId": + throw await de_InvalidKeyIdRes(parsedOutput, context); + case "ParameterNotFound": + case "com.amazonaws.ssm#ParameterNotFound": + throw await de_ParameterNotFoundRes(parsedOutput, context); + case "ParameterVersionNotFound": + case "com.amazonaws.ssm#ParameterVersionNotFound": + throw await de_ParameterVersionNotFoundRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_GetParameterHistoryCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_GetParameterHistoryCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_GetParameterHistoryResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_GetParameterHistoryCommand = de_GetParameterHistoryCommand; +const de_GetParameterHistoryCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidKeyId": + case "com.amazonaws.ssm#InvalidKeyId": + throw await de_InvalidKeyIdRes(parsedOutput, context); + case "InvalidNextToken": + case "com.amazonaws.ssm#InvalidNextToken": + throw await de_InvalidNextTokenRes(parsedOutput, context); + case "ParameterNotFound": + case "com.amazonaws.ssm#ParameterNotFound": + throw await de_ParameterNotFoundRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_GetParametersCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_GetParametersCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_GetParametersResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_GetParametersCommand = de_GetParametersCommand; +const de_GetParametersCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidKeyId": + case "com.amazonaws.ssm#InvalidKeyId": + throw await de_InvalidKeyIdRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_GetParametersByPathCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_GetParametersByPathCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_GetParametersByPathResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_GetParametersByPathCommand = de_GetParametersByPathCommand; +const de_GetParametersByPathCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidFilterKey": + case "com.amazonaws.ssm#InvalidFilterKey": + throw await de_InvalidFilterKeyRes(parsedOutput, context); + case "InvalidFilterOption": + case "com.amazonaws.ssm#InvalidFilterOption": + throw await de_InvalidFilterOptionRes(parsedOutput, context); + case "InvalidFilterValue": + case "com.amazonaws.ssm#InvalidFilterValue": + throw await de_InvalidFilterValueRes(parsedOutput, context); + case "InvalidKeyId": + case "com.amazonaws.ssm#InvalidKeyId": + throw await de_InvalidKeyIdRes(parsedOutput, context); + case "InvalidNextToken": + case "com.amazonaws.ssm#InvalidNextToken": + throw await de_InvalidNextTokenRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_GetPatchBaselineCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_GetPatchBaselineCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_GetPatchBaselineResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_GetPatchBaselineCommand = de_GetPatchBaselineCommand; +const de_GetPatchBaselineCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "DoesNotExistException": + case "com.amazonaws.ssm#DoesNotExistException": + throw await de_DoesNotExistExceptionRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidResourceId": + case "com.amazonaws.ssm#InvalidResourceId": + throw await de_InvalidResourceIdRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_GetPatchBaselineForPatchGroupCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_GetPatchBaselineForPatchGroupCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = (0, smithy_client_1._json)(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_GetPatchBaselineForPatchGroupCommand = de_GetPatchBaselineForPatchGroupCommand; +const de_GetPatchBaselineForPatchGroupCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_GetResourcePoliciesCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_GetResourcePoliciesCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = (0, smithy_client_1._json)(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_GetResourcePoliciesCommand = de_GetResourcePoliciesCommand; +const de_GetResourcePoliciesCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "ResourcePolicyInvalidParameterException": + case "com.amazonaws.ssm#ResourcePolicyInvalidParameterException": + throw await de_ResourcePolicyInvalidParameterExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_GetServiceSettingCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_GetServiceSettingCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_GetServiceSettingResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_GetServiceSettingCommand = de_GetServiceSettingCommand; +const de_GetServiceSettingCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "ServiceSettingNotFound": + case "com.amazonaws.ssm#ServiceSettingNotFound": + throw await de_ServiceSettingNotFoundRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_LabelParameterVersionCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_LabelParameterVersionCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = (0, smithy_client_1._json)(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_LabelParameterVersionCommand = de_LabelParameterVersionCommand; +const de_LabelParameterVersionCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "ParameterNotFound": + case "com.amazonaws.ssm#ParameterNotFound": + throw await de_ParameterNotFoundRes(parsedOutput, context); + case "ParameterVersionLabelLimitExceeded": + case "com.amazonaws.ssm#ParameterVersionLabelLimitExceeded": + throw await de_ParameterVersionLabelLimitExceededRes(parsedOutput, context); + case "ParameterVersionNotFound": + case "com.amazonaws.ssm#ParameterVersionNotFound": + throw await de_ParameterVersionNotFoundRes(parsedOutput, context); + case "TooManyUpdates": + case "com.amazonaws.ssm#TooManyUpdates": + throw await de_TooManyUpdatesRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_ListAssociationsCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_ListAssociationsCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_ListAssociationsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_ListAssociationsCommand = de_ListAssociationsCommand; +const de_ListAssociationsCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidNextToken": + case "com.amazonaws.ssm#InvalidNextToken": + throw await de_InvalidNextTokenRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_ListAssociationVersionsCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_ListAssociationVersionsCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_ListAssociationVersionsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_ListAssociationVersionsCommand = de_ListAssociationVersionsCommand; +const de_ListAssociationVersionsCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AssociationDoesNotExist": + case "com.amazonaws.ssm#AssociationDoesNotExist": + throw await de_AssociationDoesNotExistRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidNextToken": + case "com.amazonaws.ssm#InvalidNextToken": + throw await de_InvalidNextTokenRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_ListCommandInvocationsCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_ListCommandInvocationsCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_ListCommandInvocationsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_ListCommandInvocationsCommand = de_ListCommandInvocationsCommand; +const de_ListCommandInvocationsCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidCommandId": + case "com.amazonaws.ssm#InvalidCommandId": + throw await de_InvalidCommandIdRes(parsedOutput, context); + case "InvalidFilterKey": + case "com.amazonaws.ssm#InvalidFilterKey": + throw await de_InvalidFilterKeyRes(parsedOutput, context); + case "InvalidInstanceId": + case "com.amazonaws.ssm#InvalidInstanceId": + throw await de_InvalidInstanceIdRes(parsedOutput, context); + case "InvalidNextToken": + case "com.amazonaws.ssm#InvalidNextToken": + throw await de_InvalidNextTokenRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_ListCommandsCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_ListCommandsCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_ListCommandsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_ListCommandsCommand = de_ListCommandsCommand; +const de_ListCommandsCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidCommandId": + case "com.amazonaws.ssm#InvalidCommandId": + throw await de_InvalidCommandIdRes(parsedOutput, context); + case "InvalidFilterKey": + case "com.amazonaws.ssm#InvalidFilterKey": + throw await de_InvalidFilterKeyRes(parsedOutput, context); + case "InvalidInstanceId": + case "com.amazonaws.ssm#InvalidInstanceId": + throw await de_InvalidInstanceIdRes(parsedOutput, context); + case "InvalidNextToken": + case "com.amazonaws.ssm#InvalidNextToken": + throw await de_InvalidNextTokenRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_ListComplianceItemsCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_ListComplianceItemsCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_ListComplianceItemsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_ListComplianceItemsCommand = de_ListComplianceItemsCommand; +const de_ListComplianceItemsCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidFilter": + case "com.amazonaws.ssm#InvalidFilter": + throw await de_InvalidFilterRes(parsedOutput, context); + case "InvalidNextToken": + case "com.amazonaws.ssm#InvalidNextToken": + throw await de_InvalidNextTokenRes(parsedOutput, context); + case "InvalidResourceId": + case "com.amazonaws.ssm#InvalidResourceId": + throw await de_InvalidResourceIdRes(parsedOutput, context); + case "InvalidResourceType": + case "com.amazonaws.ssm#InvalidResourceType": + throw await de_InvalidResourceTypeRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_ListComplianceSummariesCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_ListComplianceSummariesCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = (0, smithy_client_1._json)(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_ListComplianceSummariesCommand = de_ListComplianceSummariesCommand; +const de_ListComplianceSummariesCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidFilter": + case "com.amazonaws.ssm#InvalidFilter": + throw await de_InvalidFilterRes(parsedOutput, context); + case "InvalidNextToken": + case "com.amazonaws.ssm#InvalidNextToken": + throw await de_InvalidNextTokenRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_ListDocumentMetadataHistoryCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_ListDocumentMetadataHistoryCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_ListDocumentMetadataHistoryResponse(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_ListDocumentMetadataHistoryCommand = de_ListDocumentMetadataHistoryCommand; +const de_ListDocumentMetadataHistoryCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidDocument": + case "com.amazonaws.ssm#InvalidDocument": + throw await de_InvalidDocumentRes(parsedOutput, context); + case "InvalidDocumentVersion": + case "com.amazonaws.ssm#InvalidDocumentVersion": + throw await de_InvalidDocumentVersionRes(parsedOutput, context); + case "InvalidNextToken": + case "com.amazonaws.ssm#InvalidNextToken": + throw await de_InvalidNextTokenRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_ListDocumentsCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_ListDocumentsCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_ListDocumentsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_ListDocumentsCommand = de_ListDocumentsCommand; +const de_ListDocumentsCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidFilterKey": + case "com.amazonaws.ssm#InvalidFilterKey": + throw await de_InvalidFilterKeyRes(parsedOutput, context); + case "InvalidNextToken": + case "com.amazonaws.ssm#InvalidNextToken": + throw await de_InvalidNextTokenRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_ListDocumentVersionsCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_ListDocumentVersionsCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_ListDocumentVersionsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_ListDocumentVersionsCommand = de_ListDocumentVersionsCommand; +const de_ListDocumentVersionsCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidDocument": + case "com.amazonaws.ssm#InvalidDocument": + throw await de_InvalidDocumentRes(parsedOutput, context); + case "InvalidNextToken": + case "com.amazonaws.ssm#InvalidNextToken": + throw await de_InvalidNextTokenRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_ListInventoryEntriesCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_ListInventoryEntriesCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = (0, smithy_client_1._json)(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_ListInventoryEntriesCommand = de_ListInventoryEntriesCommand; +const de_ListInventoryEntriesCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidFilter": + case "com.amazonaws.ssm#InvalidFilter": + throw await de_InvalidFilterRes(parsedOutput, context); + case "InvalidInstanceId": + case "com.amazonaws.ssm#InvalidInstanceId": + throw await de_InvalidInstanceIdRes(parsedOutput, context); + case "InvalidNextToken": + case "com.amazonaws.ssm#InvalidNextToken": + throw await de_InvalidNextTokenRes(parsedOutput, context); + case "InvalidTypeNameException": + case "com.amazonaws.ssm#InvalidTypeNameException": + throw await de_InvalidTypeNameExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_ListOpsItemEventsCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_ListOpsItemEventsCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_ListOpsItemEventsResponse(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_ListOpsItemEventsCommand = de_ListOpsItemEventsCommand; +const de_ListOpsItemEventsCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "OpsItemInvalidParameterException": + case "com.amazonaws.ssm#OpsItemInvalidParameterException": + throw await de_OpsItemInvalidParameterExceptionRes(parsedOutput, context); + case "OpsItemLimitExceededException": + case "com.amazonaws.ssm#OpsItemLimitExceededException": + throw await de_OpsItemLimitExceededExceptionRes(parsedOutput, context); + case "OpsItemNotFoundException": + case "com.amazonaws.ssm#OpsItemNotFoundException": + throw await de_OpsItemNotFoundExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_ListOpsItemRelatedItemsCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_ListOpsItemRelatedItemsCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_ListOpsItemRelatedItemsResponse(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_ListOpsItemRelatedItemsCommand = de_ListOpsItemRelatedItemsCommand; +const de_ListOpsItemRelatedItemsCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "OpsItemInvalidParameterException": + case "com.amazonaws.ssm#OpsItemInvalidParameterException": + throw await de_OpsItemInvalidParameterExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_ListOpsMetadataCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_ListOpsMetadataCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_ListOpsMetadataResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_ListOpsMetadataCommand = de_ListOpsMetadataCommand; +const de_ListOpsMetadataCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "OpsMetadataInvalidArgumentException": + case "com.amazonaws.ssm#OpsMetadataInvalidArgumentException": + throw await de_OpsMetadataInvalidArgumentExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_ListResourceComplianceSummariesCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_ListResourceComplianceSummariesCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_ListResourceComplianceSummariesResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_ListResourceComplianceSummariesCommand = de_ListResourceComplianceSummariesCommand; +const de_ListResourceComplianceSummariesCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidFilter": + case "com.amazonaws.ssm#InvalidFilter": + throw await de_InvalidFilterRes(parsedOutput, context); + case "InvalidNextToken": + case "com.amazonaws.ssm#InvalidNextToken": + throw await de_InvalidNextTokenRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_ListResourceDataSyncCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_ListResourceDataSyncCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_ListResourceDataSyncResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_ListResourceDataSyncCommand = de_ListResourceDataSyncCommand; +const de_ListResourceDataSyncCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidNextToken": + case "com.amazonaws.ssm#InvalidNextToken": + throw await de_InvalidNextTokenRes(parsedOutput, context); + case "ResourceDataSyncInvalidConfigurationException": + case "com.amazonaws.ssm#ResourceDataSyncInvalidConfigurationException": + throw await de_ResourceDataSyncInvalidConfigurationExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_ListTagsForResourceCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_ListTagsForResourceCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = (0, smithy_client_1._json)(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_ListTagsForResourceCommand = de_ListTagsForResourceCommand; +const de_ListTagsForResourceCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidResourceId": + case "com.amazonaws.ssm#InvalidResourceId": + throw await de_InvalidResourceIdRes(parsedOutput, context); + case "InvalidResourceType": + case "com.amazonaws.ssm#InvalidResourceType": + throw await de_InvalidResourceTypeRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_ModifyDocumentPermissionCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_ModifyDocumentPermissionCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = (0, smithy_client_1._json)(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_ModifyDocumentPermissionCommand = de_ModifyDocumentPermissionCommand; +const de_ModifyDocumentPermissionCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "DocumentLimitExceeded": + case "com.amazonaws.ssm#DocumentLimitExceeded": + throw await de_DocumentLimitExceededRes(parsedOutput, context); + case "DocumentPermissionLimit": + case "com.amazonaws.ssm#DocumentPermissionLimit": + throw await de_DocumentPermissionLimitRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidDocument": + case "com.amazonaws.ssm#InvalidDocument": + throw await de_InvalidDocumentRes(parsedOutput, context); + case "InvalidPermissionType": + case "com.amazonaws.ssm#InvalidPermissionType": + throw await de_InvalidPermissionTypeRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_PutComplianceItemsCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_PutComplianceItemsCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = (0, smithy_client_1._json)(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_PutComplianceItemsCommand = de_PutComplianceItemsCommand; +const de_PutComplianceItemsCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "ComplianceTypeCountLimitExceededException": + case "com.amazonaws.ssm#ComplianceTypeCountLimitExceededException": + throw await de_ComplianceTypeCountLimitExceededExceptionRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidItemContentException": + case "com.amazonaws.ssm#InvalidItemContentException": + throw await de_InvalidItemContentExceptionRes(parsedOutput, context); + case "InvalidResourceId": + case "com.amazonaws.ssm#InvalidResourceId": + throw await de_InvalidResourceIdRes(parsedOutput, context); + case "InvalidResourceType": + case "com.amazonaws.ssm#InvalidResourceType": + throw await de_InvalidResourceTypeRes(parsedOutput, context); + case "ItemSizeLimitExceededException": + case "com.amazonaws.ssm#ItemSizeLimitExceededException": + throw await de_ItemSizeLimitExceededExceptionRes(parsedOutput, context); + case "TotalSizeLimitExceededException": + case "com.amazonaws.ssm#TotalSizeLimitExceededException": + throw await de_TotalSizeLimitExceededExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_PutInventoryCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_PutInventoryCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = (0, smithy_client_1._json)(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_PutInventoryCommand = de_PutInventoryCommand; +const de_PutInventoryCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "CustomSchemaCountLimitExceededException": + case "com.amazonaws.ssm#CustomSchemaCountLimitExceededException": + throw await de_CustomSchemaCountLimitExceededExceptionRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidInstanceId": + case "com.amazonaws.ssm#InvalidInstanceId": + throw await de_InvalidInstanceIdRes(parsedOutput, context); + case "InvalidInventoryItemContextException": + case "com.amazonaws.ssm#InvalidInventoryItemContextException": + throw await de_InvalidInventoryItemContextExceptionRes(parsedOutput, context); + case "InvalidItemContentException": + case "com.amazonaws.ssm#InvalidItemContentException": + throw await de_InvalidItemContentExceptionRes(parsedOutput, context); + case "InvalidTypeNameException": + case "com.amazonaws.ssm#InvalidTypeNameException": + throw await de_InvalidTypeNameExceptionRes(parsedOutput, context); + case "ItemContentMismatchException": + case "com.amazonaws.ssm#ItemContentMismatchException": + throw await de_ItemContentMismatchExceptionRes(parsedOutput, context); + case "ItemSizeLimitExceededException": + case "com.amazonaws.ssm#ItemSizeLimitExceededException": + throw await de_ItemSizeLimitExceededExceptionRes(parsedOutput, context); + case "SubTypeCountLimitExceededException": + case "com.amazonaws.ssm#SubTypeCountLimitExceededException": + throw await de_SubTypeCountLimitExceededExceptionRes(parsedOutput, context); + case "TotalSizeLimitExceededException": + case "com.amazonaws.ssm#TotalSizeLimitExceededException": + throw await de_TotalSizeLimitExceededExceptionRes(parsedOutput, context); + case "UnsupportedInventoryItemContextException": + case "com.amazonaws.ssm#UnsupportedInventoryItemContextException": + throw await de_UnsupportedInventoryItemContextExceptionRes(parsedOutput, context); + case "UnsupportedInventorySchemaVersionException": + case "com.amazonaws.ssm#UnsupportedInventorySchemaVersionException": + throw await de_UnsupportedInventorySchemaVersionExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_PutParameterCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_PutParameterCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = (0, smithy_client_1._json)(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_PutParameterCommand = de_PutParameterCommand; +const de_PutParameterCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "HierarchyLevelLimitExceededException": + case "com.amazonaws.ssm#HierarchyLevelLimitExceededException": + throw await de_HierarchyLevelLimitExceededExceptionRes(parsedOutput, context); + case "HierarchyTypeMismatchException": + case "com.amazonaws.ssm#HierarchyTypeMismatchException": + throw await de_HierarchyTypeMismatchExceptionRes(parsedOutput, context); + case "IncompatiblePolicyException": + case "com.amazonaws.ssm#IncompatiblePolicyException": + throw await de_IncompatiblePolicyExceptionRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidAllowedPatternException": + case "com.amazonaws.ssm#InvalidAllowedPatternException": + throw await de_InvalidAllowedPatternExceptionRes(parsedOutput, context); + case "InvalidKeyId": + case "com.amazonaws.ssm#InvalidKeyId": + throw await de_InvalidKeyIdRes(parsedOutput, context); + case "InvalidPolicyAttributeException": + case "com.amazonaws.ssm#InvalidPolicyAttributeException": + throw await de_InvalidPolicyAttributeExceptionRes(parsedOutput, context); + case "InvalidPolicyTypeException": + case "com.amazonaws.ssm#InvalidPolicyTypeException": + throw await de_InvalidPolicyTypeExceptionRes(parsedOutput, context); + case "ParameterAlreadyExists": + case "com.amazonaws.ssm#ParameterAlreadyExists": + throw await de_ParameterAlreadyExistsRes(parsedOutput, context); + case "ParameterLimitExceeded": + case "com.amazonaws.ssm#ParameterLimitExceeded": + throw await de_ParameterLimitExceededRes(parsedOutput, context); + case "ParameterMaxVersionLimitExceeded": + case "com.amazonaws.ssm#ParameterMaxVersionLimitExceeded": + throw await de_ParameterMaxVersionLimitExceededRes(parsedOutput, context); + case "ParameterPatternMismatchException": + case "com.amazonaws.ssm#ParameterPatternMismatchException": + throw await de_ParameterPatternMismatchExceptionRes(parsedOutput, context); + case "PoliciesLimitExceededException": + case "com.amazonaws.ssm#PoliciesLimitExceededException": + throw await de_PoliciesLimitExceededExceptionRes(parsedOutput, context); + case "TooManyUpdates": + case "com.amazonaws.ssm#TooManyUpdates": + throw await de_TooManyUpdatesRes(parsedOutput, context); + case "UnsupportedParameterType": + case "com.amazonaws.ssm#UnsupportedParameterType": + throw await de_UnsupportedParameterTypeRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_PutResourcePolicyCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_PutResourcePolicyCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = (0, smithy_client_1._json)(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_PutResourcePolicyCommand = de_PutResourcePolicyCommand; +const de_PutResourcePolicyCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "ResourcePolicyConflictException": + case "com.amazonaws.ssm#ResourcePolicyConflictException": + throw await de_ResourcePolicyConflictExceptionRes(parsedOutput, context); + case "ResourcePolicyInvalidParameterException": + case "com.amazonaws.ssm#ResourcePolicyInvalidParameterException": + throw await de_ResourcePolicyInvalidParameterExceptionRes(parsedOutput, context); + case "ResourcePolicyLimitExceededException": + case "com.amazonaws.ssm#ResourcePolicyLimitExceededException": + throw await de_ResourcePolicyLimitExceededExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_RegisterDefaultPatchBaselineCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_RegisterDefaultPatchBaselineCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = (0, smithy_client_1._json)(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_RegisterDefaultPatchBaselineCommand = de_RegisterDefaultPatchBaselineCommand; +const de_RegisterDefaultPatchBaselineCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "DoesNotExistException": + case "com.amazonaws.ssm#DoesNotExistException": + throw await de_DoesNotExistExceptionRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidResourceId": + case "com.amazonaws.ssm#InvalidResourceId": + throw await de_InvalidResourceIdRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_RegisterPatchBaselineForPatchGroupCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_RegisterPatchBaselineForPatchGroupCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = (0, smithy_client_1._json)(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_RegisterPatchBaselineForPatchGroupCommand = de_RegisterPatchBaselineForPatchGroupCommand; +const de_RegisterPatchBaselineForPatchGroupCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AlreadyExistsException": + case "com.amazonaws.ssm#AlreadyExistsException": + throw await de_AlreadyExistsExceptionRes(parsedOutput, context); + case "DoesNotExistException": + case "com.amazonaws.ssm#DoesNotExistException": + throw await de_DoesNotExistExceptionRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidResourceId": + case "com.amazonaws.ssm#InvalidResourceId": + throw await de_InvalidResourceIdRes(parsedOutput, context); + case "ResourceLimitExceededException": + case "com.amazonaws.ssm#ResourceLimitExceededException": + throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_RegisterTargetWithMaintenanceWindowCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_RegisterTargetWithMaintenanceWindowCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = (0, smithy_client_1._json)(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_RegisterTargetWithMaintenanceWindowCommand = de_RegisterTargetWithMaintenanceWindowCommand; +const de_RegisterTargetWithMaintenanceWindowCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "DoesNotExistException": + case "com.amazonaws.ssm#DoesNotExistException": + throw await de_DoesNotExistExceptionRes(parsedOutput, context); + case "IdempotentParameterMismatch": + case "com.amazonaws.ssm#IdempotentParameterMismatch": + throw await de_IdempotentParameterMismatchRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "ResourceLimitExceededException": + case "com.amazonaws.ssm#ResourceLimitExceededException": + throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_RegisterTaskWithMaintenanceWindowCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_RegisterTaskWithMaintenanceWindowCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = (0, smithy_client_1._json)(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_RegisterTaskWithMaintenanceWindowCommand = de_RegisterTaskWithMaintenanceWindowCommand; +const de_RegisterTaskWithMaintenanceWindowCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "DoesNotExistException": + case "com.amazonaws.ssm#DoesNotExistException": + throw await de_DoesNotExistExceptionRes(parsedOutput, context); + case "FeatureNotAvailableException": + case "com.amazonaws.ssm#FeatureNotAvailableException": + throw await de_FeatureNotAvailableExceptionRes(parsedOutput, context); + case "IdempotentParameterMismatch": + case "com.amazonaws.ssm#IdempotentParameterMismatch": + throw await de_IdempotentParameterMismatchRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "ResourceLimitExceededException": + case "com.amazonaws.ssm#ResourceLimitExceededException": + throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_RemoveTagsFromResourceCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_RemoveTagsFromResourceCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = (0, smithy_client_1._json)(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_RemoveTagsFromResourceCommand = de_RemoveTagsFromResourceCommand; +const de_RemoveTagsFromResourceCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidResourceId": + case "com.amazonaws.ssm#InvalidResourceId": + throw await de_InvalidResourceIdRes(parsedOutput, context); + case "InvalidResourceType": + case "com.amazonaws.ssm#InvalidResourceType": + throw await de_InvalidResourceTypeRes(parsedOutput, context); + case "TooManyUpdates": + case "com.amazonaws.ssm#TooManyUpdates": + throw await de_TooManyUpdatesRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_ResetServiceSettingCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_ResetServiceSettingCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_ResetServiceSettingResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_ResetServiceSettingCommand = de_ResetServiceSettingCommand; +const de_ResetServiceSettingCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "ServiceSettingNotFound": + case "com.amazonaws.ssm#ServiceSettingNotFound": + throw await de_ServiceSettingNotFoundRes(parsedOutput, context); + case "TooManyUpdates": + case "com.amazonaws.ssm#TooManyUpdates": + throw await de_TooManyUpdatesRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_ResumeSessionCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_ResumeSessionCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = (0, smithy_client_1._json)(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_ResumeSessionCommand = de_ResumeSessionCommand; +const de_ResumeSessionCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "DoesNotExistException": + case "com.amazonaws.ssm#DoesNotExistException": + throw await de_DoesNotExistExceptionRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_SendAutomationSignalCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_SendAutomationSignalCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = (0, smithy_client_1._json)(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_SendAutomationSignalCommand = de_SendAutomationSignalCommand; +const de_SendAutomationSignalCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AutomationExecutionNotFoundException": + case "com.amazonaws.ssm#AutomationExecutionNotFoundException": + throw await de_AutomationExecutionNotFoundExceptionRes(parsedOutput, context); + case "AutomationStepNotFoundException": + case "com.amazonaws.ssm#AutomationStepNotFoundException": + throw await de_AutomationStepNotFoundExceptionRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidAutomationSignalException": + case "com.amazonaws.ssm#InvalidAutomationSignalException": + throw await de_InvalidAutomationSignalExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_SendCommandCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_SendCommandCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_SendCommandResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_SendCommandCommand = de_SendCommandCommand; +const de_SendCommandCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "DuplicateInstanceId": + case "com.amazonaws.ssm#DuplicateInstanceId": + throw await de_DuplicateInstanceIdRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidDocument": + case "com.amazonaws.ssm#InvalidDocument": + throw await de_InvalidDocumentRes(parsedOutput, context); + case "InvalidDocumentVersion": + case "com.amazonaws.ssm#InvalidDocumentVersion": + throw await de_InvalidDocumentVersionRes(parsedOutput, context); + case "InvalidInstanceId": + case "com.amazonaws.ssm#InvalidInstanceId": + throw await de_InvalidInstanceIdRes(parsedOutput, context); + case "InvalidNotificationConfig": + case "com.amazonaws.ssm#InvalidNotificationConfig": + throw await de_InvalidNotificationConfigRes(parsedOutput, context); + case "InvalidOutputFolder": + case "com.amazonaws.ssm#InvalidOutputFolder": + throw await de_InvalidOutputFolderRes(parsedOutput, context); + case "InvalidParameters": + case "com.amazonaws.ssm#InvalidParameters": + throw await de_InvalidParametersRes(parsedOutput, context); + case "InvalidRole": + case "com.amazonaws.ssm#InvalidRole": + throw await de_InvalidRoleRes(parsedOutput, context); + case "MaxDocumentSizeExceeded": + case "com.amazonaws.ssm#MaxDocumentSizeExceeded": + throw await de_MaxDocumentSizeExceededRes(parsedOutput, context); + case "UnsupportedPlatformType": + case "com.amazonaws.ssm#UnsupportedPlatformType": + throw await de_UnsupportedPlatformTypeRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_StartAssociationsOnceCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_StartAssociationsOnceCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = (0, smithy_client_1._json)(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_StartAssociationsOnceCommand = de_StartAssociationsOnceCommand; +const de_StartAssociationsOnceCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AssociationDoesNotExist": + case "com.amazonaws.ssm#AssociationDoesNotExist": + throw await de_AssociationDoesNotExistRes(parsedOutput, context); + case "InvalidAssociation": + case "com.amazonaws.ssm#InvalidAssociation": + throw await de_InvalidAssociationRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_StartAutomationExecutionCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_StartAutomationExecutionCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = (0, smithy_client_1._json)(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_StartAutomationExecutionCommand = de_StartAutomationExecutionCommand; +const de_StartAutomationExecutionCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AutomationDefinitionNotFoundException": + case "com.amazonaws.ssm#AutomationDefinitionNotFoundException": + throw await de_AutomationDefinitionNotFoundExceptionRes(parsedOutput, context); + case "AutomationDefinitionVersionNotFoundException": + case "com.amazonaws.ssm#AutomationDefinitionVersionNotFoundException": + throw await de_AutomationDefinitionVersionNotFoundExceptionRes(parsedOutput, context); + case "AutomationExecutionLimitExceededException": + case "com.amazonaws.ssm#AutomationExecutionLimitExceededException": + throw await de_AutomationExecutionLimitExceededExceptionRes(parsedOutput, context); + case "IdempotentParameterMismatch": + case "com.amazonaws.ssm#IdempotentParameterMismatch": + throw await de_IdempotentParameterMismatchRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidAutomationExecutionParametersException": + case "com.amazonaws.ssm#InvalidAutomationExecutionParametersException": + throw await de_InvalidAutomationExecutionParametersExceptionRes(parsedOutput, context); + case "InvalidTarget": + case "com.amazonaws.ssm#InvalidTarget": + throw await de_InvalidTargetRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_StartChangeRequestExecutionCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_StartChangeRequestExecutionCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = (0, smithy_client_1._json)(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_StartChangeRequestExecutionCommand = de_StartChangeRequestExecutionCommand; +const de_StartChangeRequestExecutionCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AutomationDefinitionNotApprovedException": + case "com.amazonaws.ssm#AutomationDefinitionNotApprovedException": + throw await de_AutomationDefinitionNotApprovedExceptionRes(parsedOutput, context); + case "AutomationDefinitionNotFoundException": + case "com.amazonaws.ssm#AutomationDefinitionNotFoundException": + throw await de_AutomationDefinitionNotFoundExceptionRes(parsedOutput, context); + case "AutomationDefinitionVersionNotFoundException": + case "com.amazonaws.ssm#AutomationDefinitionVersionNotFoundException": + throw await de_AutomationDefinitionVersionNotFoundExceptionRes(parsedOutput, context); + case "AutomationExecutionLimitExceededException": + case "com.amazonaws.ssm#AutomationExecutionLimitExceededException": + throw await de_AutomationExecutionLimitExceededExceptionRes(parsedOutput, context); + case "IdempotentParameterMismatch": + case "com.amazonaws.ssm#IdempotentParameterMismatch": + throw await de_IdempotentParameterMismatchRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidAutomationExecutionParametersException": + case "com.amazonaws.ssm#InvalidAutomationExecutionParametersException": + throw await de_InvalidAutomationExecutionParametersExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_StartSessionCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_StartSessionCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = (0, smithy_client_1._json)(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_StartSessionCommand = de_StartSessionCommand; +const de_StartSessionCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidDocument": + case "com.amazonaws.ssm#InvalidDocument": + throw await de_InvalidDocumentRes(parsedOutput, context); + case "TargetNotConnected": + case "com.amazonaws.ssm#TargetNotConnected": + throw await de_TargetNotConnectedRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_StopAutomationExecutionCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_StopAutomationExecutionCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = (0, smithy_client_1._json)(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_StopAutomationExecutionCommand = de_StopAutomationExecutionCommand; +const de_StopAutomationExecutionCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AutomationExecutionNotFoundException": + case "com.amazonaws.ssm#AutomationExecutionNotFoundException": + throw await de_AutomationExecutionNotFoundExceptionRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidAutomationStatusUpdateException": + case "com.amazonaws.ssm#InvalidAutomationStatusUpdateException": + throw await de_InvalidAutomationStatusUpdateExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_TerminateSessionCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_TerminateSessionCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = (0, smithy_client_1._json)(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_TerminateSessionCommand = de_TerminateSessionCommand; +const de_TerminateSessionCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_UnlabelParameterVersionCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_UnlabelParameterVersionCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = (0, smithy_client_1._json)(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_UnlabelParameterVersionCommand = de_UnlabelParameterVersionCommand; +const de_UnlabelParameterVersionCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "ParameterNotFound": + case "com.amazonaws.ssm#ParameterNotFound": + throw await de_ParameterNotFoundRes(parsedOutput, context); + case "ParameterVersionNotFound": + case "com.amazonaws.ssm#ParameterVersionNotFound": + throw await de_ParameterVersionNotFoundRes(parsedOutput, context); + case "TooManyUpdates": + case "com.amazonaws.ssm#TooManyUpdates": + throw await de_TooManyUpdatesRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_UpdateAssociationCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_UpdateAssociationCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_UpdateAssociationResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_UpdateAssociationCommand = de_UpdateAssociationCommand; +const de_UpdateAssociationCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AssociationDoesNotExist": + case "com.amazonaws.ssm#AssociationDoesNotExist": + throw await de_AssociationDoesNotExistRes(parsedOutput, context); + case "AssociationVersionLimitExceeded": + case "com.amazonaws.ssm#AssociationVersionLimitExceeded": + throw await de_AssociationVersionLimitExceededRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidAssociationVersion": + case "com.amazonaws.ssm#InvalidAssociationVersion": + throw await de_InvalidAssociationVersionRes(parsedOutput, context); + case "InvalidDocument": + case "com.amazonaws.ssm#InvalidDocument": + throw await de_InvalidDocumentRes(parsedOutput, context); + case "InvalidDocumentVersion": + case "com.amazonaws.ssm#InvalidDocumentVersion": + throw await de_InvalidDocumentVersionRes(parsedOutput, context); + case "InvalidOutputLocation": + case "com.amazonaws.ssm#InvalidOutputLocation": + throw await de_InvalidOutputLocationRes(parsedOutput, context); + case "InvalidParameters": + case "com.amazonaws.ssm#InvalidParameters": + throw await de_InvalidParametersRes(parsedOutput, context); + case "InvalidSchedule": + case "com.amazonaws.ssm#InvalidSchedule": + throw await de_InvalidScheduleRes(parsedOutput, context); + case "InvalidTarget": + case "com.amazonaws.ssm#InvalidTarget": + throw await de_InvalidTargetRes(parsedOutput, context); + case "InvalidTargetMaps": + case "com.amazonaws.ssm#InvalidTargetMaps": + throw await de_InvalidTargetMapsRes(parsedOutput, context); + case "InvalidUpdate": + case "com.amazonaws.ssm#InvalidUpdate": + throw await de_InvalidUpdateRes(parsedOutput, context); + case "TooManyUpdates": + case "com.amazonaws.ssm#TooManyUpdates": + throw await de_TooManyUpdatesRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_UpdateAssociationStatusCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_UpdateAssociationStatusCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_UpdateAssociationStatusResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_UpdateAssociationStatusCommand = de_UpdateAssociationStatusCommand; +const de_UpdateAssociationStatusCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AssociationDoesNotExist": + case "com.amazonaws.ssm#AssociationDoesNotExist": + throw await de_AssociationDoesNotExistRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidDocument": + case "com.amazonaws.ssm#InvalidDocument": + throw await de_InvalidDocumentRes(parsedOutput, context); + case "InvalidInstanceId": + case "com.amazonaws.ssm#InvalidInstanceId": + throw await de_InvalidInstanceIdRes(parsedOutput, context); + case "StatusUnchanged": + case "com.amazonaws.ssm#StatusUnchanged": + throw await de_StatusUnchangedRes(parsedOutput, context); + case "TooManyUpdates": + case "com.amazonaws.ssm#TooManyUpdates": + throw await de_TooManyUpdatesRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_UpdateDocumentCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_UpdateDocumentCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_UpdateDocumentResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_UpdateDocumentCommand = de_UpdateDocumentCommand; +const de_UpdateDocumentCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "DocumentVersionLimitExceeded": + case "com.amazonaws.ssm#DocumentVersionLimitExceeded": + throw await de_DocumentVersionLimitExceededRes(parsedOutput, context); + case "DuplicateDocumentContent": + case "com.amazonaws.ssm#DuplicateDocumentContent": + throw await de_DuplicateDocumentContentRes(parsedOutput, context); + case "DuplicateDocumentVersionName": + case "com.amazonaws.ssm#DuplicateDocumentVersionName": + throw await de_DuplicateDocumentVersionNameRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidDocument": + case "com.amazonaws.ssm#InvalidDocument": + throw await de_InvalidDocumentRes(parsedOutput, context); + case "InvalidDocumentContent": + case "com.amazonaws.ssm#InvalidDocumentContent": + throw await de_InvalidDocumentContentRes(parsedOutput, context); + case "InvalidDocumentOperation": + case "com.amazonaws.ssm#InvalidDocumentOperation": + throw await de_InvalidDocumentOperationRes(parsedOutput, context); + case "InvalidDocumentSchemaVersion": + case "com.amazonaws.ssm#InvalidDocumentSchemaVersion": + throw await de_InvalidDocumentSchemaVersionRes(parsedOutput, context); + case "InvalidDocumentVersion": + case "com.amazonaws.ssm#InvalidDocumentVersion": + throw await de_InvalidDocumentVersionRes(parsedOutput, context); + case "MaxDocumentSizeExceeded": + case "com.amazonaws.ssm#MaxDocumentSizeExceeded": + throw await de_MaxDocumentSizeExceededRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_UpdateDocumentDefaultVersionCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_UpdateDocumentDefaultVersionCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = (0, smithy_client_1._json)(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_UpdateDocumentDefaultVersionCommand = de_UpdateDocumentDefaultVersionCommand; +const de_UpdateDocumentDefaultVersionCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidDocument": + case "com.amazonaws.ssm#InvalidDocument": + throw await de_InvalidDocumentRes(parsedOutput, context); + case "InvalidDocumentSchemaVersion": + case "com.amazonaws.ssm#InvalidDocumentSchemaVersion": + throw await de_InvalidDocumentSchemaVersionRes(parsedOutput, context); + case "InvalidDocumentVersion": + case "com.amazonaws.ssm#InvalidDocumentVersion": + throw await de_InvalidDocumentVersionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_UpdateDocumentMetadataCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_UpdateDocumentMetadataCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = (0, smithy_client_1._json)(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_UpdateDocumentMetadataCommand = de_UpdateDocumentMetadataCommand; +const de_UpdateDocumentMetadataCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidDocument": + case "com.amazonaws.ssm#InvalidDocument": + throw await de_InvalidDocumentRes(parsedOutput, context); + case "InvalidDocumentOperation": + case "com.amazonaws.ssm#InvalidDocumentOperation": + throw await de_InvalidDocumentOperationRes(parsedOutput, context); + case "InvalidDocumentVersion": + case "com.amazonaws.ssm#InvalidDocumentVersion": + throw await de_InvalidDocumentVersionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_UpdateMaintenanceWindowCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_UpdateMaintenanceWindowCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = (0, smithy_client_1._json)(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_UpdateMaintenanceWindowCommand = de_UpdateMaintenanceWindowCommand; +const de_UpdateMaintenanceWindowCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "DoesNotExistException": + case "com.amazonaws.ssm#DoesNotExistException": + throw await de_DoesNotExistExceptionRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_UpdateMaintenanceWindowTargetCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_UpdateMaintenanceWindowTargetCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = (0, smithy_client_1._json)(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_UpdateMaintenanceWindowTargetCommand = de_UpdateMaintenanceWindowTargetCommand; +const de_UpdateMaintenanceWindowTargetCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "DoesNotExistException": + case "com.amazonaws.ssm#DoesNotExistException": + throw await de_DoesNotExistExceptionRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_UpdateMaintenanceWindowTaskCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_UpdateMaintenanceWindowTaskCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_UpdateMaintenanceWindowTaskResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_UpdateMaintenanceWindowTaskCommand = de_UpdateMaintenanceWindowTaskCommand; +const de_UpdateMaintenanceWindowTaskCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "DoesNotExistException": + case "com.amazonaws.ssm#DoesNotExistException": + throw await de_DoesNotExistExceptionRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_UpdateManagedInstanceRoleCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_UpdateManagedInstanceRoleCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = (0, smithy_client_1._json)(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_UpdateManagedInstanceRoleCommand = de_UpdateManagedInstanceRoleCommand; +const de_UpdateManagedInstanceRoleCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidInstanceId": + case "com.amazonaws.ssm#InvalidInstanceId": + throw await de_InvalidInstanceIdRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_UpdateOpsItemCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_UpdateOpsItemCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = (0, smithy_client_1._json)(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_UpdateOpsItemCommand = de_UpdateOpsItemCommand; +const de_UpdateOpsItemCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "OpsItemAccessDeniedException": + case "com.amazonaws.ssm#OpsItemAccessDeniedException": + throw await de_OpsItemAccessDeniedExceptionRes(parsedOutput, context); + case "OpsItemAlreadyExistsException": + case "com.amazonaws.ssm#OpsItemAlreadyExistsException": + throw await de_OpsItemAlreadyExistsExceptionRes(parsedOutput, context); + case "OpsItemConflictException": + case "com.amazonaws.ssm#OpsItemConflictException": + throw await de_OpsItemConflictExceptionRes(parsedOutput, context); + case "OpsItemInvalidParameterException": + case "com.amazonaws.ssm#OpsItemInvalidParameterException": + throw await de_OpsItemInvalidParameterExceptionRes(parsedOutput, context); + case "OpsItemLimitExceededException": + case "com.amazonaws.ssm#OpsItemLimitExceededException": + throw await de_OpsItemLimitExceededExceptionRes(parsedOutput, context); + case "OpsItemNotFoundException": + case "com.amazonaws.ssm#OpsItemNotFoundException": + throw await de_OpsItemNotFoundExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_UpdateOpsMetadataCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_UpdateOpsMetadataCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = (0, smithy_client_1._json)(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_UpdateOpsMetadataCommand = de_UpdateOpsMetadataCommand; +const de_UpdateOpsMetadataCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "OpsMetadataInvalidArgumentException": + case "com.amazonaws.ssm#OpsMetadataInvalidArgumentException": + throw await de_OpsMetadataInvalidArgumentExceptionRes(parsedOutput, context); + case "OpsMetadataKeyLimitExceededException": + case "com.amazonaws.ssm#OpsMetadataKeyLimitExceededException": + throw await de_OpsMetadataKeyLimitExceededExceptionRes(parsedOutput, context); + case "OpsMetadataNotFoundException": + case "com.amazonaws.ssm#OpsMetadataNotFoundException": + throw await de_OpsMetadataNotFoundExceptionRes(parsedOutput, context); + case "OpsMetadataTooManyUpdatesException": + case "com.amazonaws.ssm#OpsMetadataTooManyUpdatesException": + throw await de_OpsMetadataTooManyUpdatesExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_UpdatePatchBaselineCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_UpdatePatchBaselineCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_UpdatePatchBaselineResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_UpdatePatchBaselineCommand = de_UpdatePatchBaselineCommand; +const de_UpdatePatchBaselineCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "DoesNotExistException": + case "com.amazonaws.ssm#DoesNotExistException": + throw await de_DoesNotExistExceptionRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_UpdateResourceDataSyncCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_UpdateResourceDataSyncCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = (0, smithy_client_1._json)(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_UpdateResourceDataSyncCommand = de_UpdateResourceDataSyncCommand; +const de_UpdateResourceDataSyncCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "ResourceDataSyncConflictException": + case "com.amazonaws.ssm#ResourceDataSyncConflictException": + throw await de_ResourceDataSyncConflictExceptionRes(parsedOutput, context); + case "ResourceDataSyncInvalidConfigurationException": + case "com.amazonaws.ssm#ResourceDataSyncInvalidConfigurationException": + throw await de_ResourceDataSyncInvalidConfigurationExceptionRes(parsedOutput, context); + case "ResourceDataSyncNotFoundException": + case "com.amazonaws.ssm#ResourceDataSyncNotFoundException": + throw await de_ResourceDataSyncNotFoundExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_UpdateServiceSettingCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_UpdateServiceSettingCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = (0, smithy_client_1._json)(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +exports.de_UpdateServiceSettingCommand = de_UpdateServiceSettingCommand; +const de_UpdateServiceSettingCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "ServiceSettingNotFound": + case "com.amazonaws.ssm#ServiceSettingNotFound": + throw await de_ServiceSettingNotFoundRes(parsedOutput, context); + case "TooManyUpdates": + case "com.amazonaws.ssm#TooManyUpdates": + throw await de_TooManyUpdatesRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_AlreadyExistsExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_0_1.AlreadyExistsException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_AssociatedInstancesRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_0_1.AssociatedInstances({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_AssociationAlreadyExistsRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_0_1.AssociationAlreadyExists({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_AssociationDoesNotExistRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_0_1.AssociationDoesNotExist({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_AssociationExecutionDoesNotExistRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_0_1.AssociationExecutionDoesNotExist({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_AssociationLimitExceededRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_0_1.AssociationLimitExceeded({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_AssociationVersionLimitExceededRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_2_1.AssociationVersionLimitExceeded({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_AutomationDefinitionNotApprovedExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_1_1.AutomationDefinitionNotApprovedException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_AutomationDefinitionNotFoundExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_1_1.AutomationDefinitionNotFoundException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_AutomationDefinitionVersionNotFoundExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_1_1.AutomationDefinitionVersionNotFoundException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_AutomationExecutionLimitExceededExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_1_1.AutomationExecutionLimitExceededException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_AutomationExecutionNotFoundExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_0_1.AutomationExecutionNotFoundException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_AutomationStepNotFoundExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_1_1.AutomationStepNotFoundException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_ComplianceTypeCountLimitExceededExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_1_1.ComplianceTypeCountLimitExceededException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_CustomSchemaCountLimitExceededExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_1_1.CustomSchemaCountLimitExceededException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_DocumentAlreadyExistsRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_0_1.DocumentAlreadyExists({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_DocumentLimitExceededRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_0_1.DocumentLimitExceeded({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_DocumentPermissionLimitRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_1_1.DocumentPermissionLimit({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_DocumentVersionLimitExceededRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_2_1.DocumentVersionLimitExceeded({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_DoesNotExistExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_0_1.DoesNotExistException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_DuplicateDocumentContentRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_2_1.DuplicateDocumentContent({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_DuplicateDocumentVersionNameRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_2_1.DuplicateDocumentVersionName({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_DuplicateInstanceIdRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_0_1.DuplicateInstanceId({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_FeatureNotAvailableExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_1_1.FeatureNotAvailableException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_HierarchyLevelLimitExceededExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_1_1.HierarchyLevelLimitExceededException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_HierarchyTypeMismatchExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_1_1.HierarchyTypeMismatchException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_IdempotentParameterMismatchRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_0_1.IdempotentParameterMismatch({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_IncompatiblePolicyExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_1_1.IncompatiblePolicyException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_InternalServerErrorRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_0_1.InternalServerError({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_InvalidActivationRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_0_1.InvalidActivation({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_InvalidActivationIdRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_0_1.InvalidActivationId({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_InvalidAggregatorExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_1_1.InvalidAggregatorException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_InvalidAllowedPatternExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_1_1.InvalidAllowedPatternException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_InvalidAssociationRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_1_1.InvalidAssociation({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_InvalidAssociationVersionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_0_1.InvalidAssociationVersion({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_InvalidAutomationExecutionParametersExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_1_1.InvalidAutomationExecutionParametersException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_InvalidAutomationSignalExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_1_1.InvalidAutomationSignalException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_InvalidAutomationStatusUpdateExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_1_1.InvalidAutomationStatusUpdateException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_InvalidCommandIdRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_0_1.InvalidCommandId({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_InvalidDeleteInventoryParametersExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_0_1.InvalidDeleteInventoryParametersException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_InvalidDeletionIdExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_0_1.InvalidDeletionIdException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_InvalidDocumentRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_0_1.InvalidDocument({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_InvalidDocumentContentRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_0_1.InvalidDocumentContent({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_InvalidDocumentOperationRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_0_1.InvalidDocumentOperation({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_InvalidDocumentSchemaVersionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_0_1.InvalidDocumentSchemaVersion({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_InvalidDocumentTypeRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_1_1.InvalidDocumentType({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_InvalidDocumentVersionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_0_1.InvalidDocumentVersion({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_InvalidFilterRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_0_1.InvalidFilter({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_InvalidFilterKeyRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_0_1.InvalidFilterKey({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_InvalidFilterOptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_1_1.InvalidFilterOption({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_InvalidFilterValueRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_0_1.InvalidFilterValue({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_InvalidInstanceIdRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_0_1.InvalidInstanceId({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_InvalidInstanceInformationFilterValueRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_0_1.InvalidInstanceInformationFilterValue({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_InvalidInventoryGroupExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_1_1.InvalidInventoryGroupException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_InvalidInventoryItemContextExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_1_1.InvalidInventoryItemContextException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_InvalidInventoryRequestExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_0_1.InvalidInventoryRequestException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_InvalidItemContentExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_1_1.InvalidItemContentException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_InvalidKeyIdRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_1_1.InvalidKeyId({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_InvalidNextTokenRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_0_1.InvalidNextToken({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_InvalidNotificationConfigRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_1_1.InvalidNotificationConfig({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_InvalidOptionExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_0_1.InvalidOptionException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_InvalidOutputFolderRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_1_1.InvalidOutputFolder({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_InvalidOutputLocationRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_0_1.InvalidOutputLocation({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_InvalidParametersRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_0_1.InvalidParameters({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_InvalidPermissionTypeRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_0_1.InvalidPermissionType({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_InvalidPluginNameRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_1_1.InvalidPluginName({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_InvalidPolicyAttributeExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_1_1.InvalidPolicyAttributeException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_InvalidPolicyTypeExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_1_1.InvalidPolicyTypeException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_InvalidResourceIdRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_0_1.InvalidResourceId({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_InvalidResourceTypeRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_0_1.InvalidResourceType({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_InvalidResultAttributeExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_1_1.InvalidResultAttributeException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_InvalidRoleRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_1_1.InvalidRole({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_InvalidScheduleRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_0_1.InvalidSchedule({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_InvalidTagRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_0_1.InvalidTag({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_InvalidTargetRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_0_1.InvalidTarget({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_InvalidTargetMapsRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_0_1.InvalidTargetMaps({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_InvalidTypeNameExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_0_1.InvalidTypeNameException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_InvalidUpdateRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_2_1.InvalidUpdate({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_InvocationDoesNotExistRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_1_1.InvocationDoesNotExist({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_ItemContentMismatchExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_1_1.ItemContentMismatchException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_ItemSizeLimitExceededExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_1_1.ItemSizeLimitExceededException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_MaxDocumentSizeExceededRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_0_1.MaxDocumentSizeExceeded({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_OpsItemAccessDeniedExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_0_1.OpsItemAccessDeniedException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_OpsItemAlreadyExistsExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_0_1.OpsItemAlreadyExistsException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_OpsItemConflictExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_0_1.OpsItemConflictException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_OpsItemInvalidParameterExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_0_1.OpsItemInvalidParameterException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_OpsItemLimitExceededExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_0_1.OpsItemLimitExceededException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_OpsItemNotFoundExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_0_1.OpsItemNotFoundException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_OpsItemRelatedItemAlreadyExistsExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_0_1.OpsItemRelatedItemAlreadyExistsException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_OpsItemRelatedItemAssociationNotFoundExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_1_1.OpsItemRelatedItemAssociationNotFoundException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_OpsMetadataAlreadyExistsExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_0_1.OpsMetadataAlreadyExistsException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_OpsMetadataInvalidArgumentExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_0_1.OpsMetadataInvalidArgumentException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_OpsMetadataKeyLimitExceededExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_2_1.OpsMetadataKeyLimitExceededException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_OpsMetadataLimitExceededExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_0_1.OpsMetadataLimitExceededException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_OpsMetadataNotFoundExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_0_1.OpsMetadataNotFoundException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_OpsMetadataTooManyUpdatesExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_0_1.OpsMetadataTooManyUpdatesException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_ParameterAlreadyExistsRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_1_1.ParameterAlreadyExists({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_ParameterLimitExceededRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_1_1.ParameterLimitExceeded({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_ParameterMaxVersionLimitExceededRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_1_1.ParameterMaxVersionLimitExceeded({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_ParameterNotFoundRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_0_1.ParameterNotFound({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_ParameterPatternMismatchExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_1_1.ParameterPatternMismatchException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_ParameterVersionLabelLimitExceededRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_1_1.ParameterVersionLabelLimitExceeded({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_ParameterVersionNotFoundRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_1_1.ParameterVersionNotFound({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_PoliciesLimitExceededExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_1_1.PoliciesLimitExceededException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_ResourceDataSyncAlreadyExistsExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_0_1.ResourceDataSyncAlreadyExistsException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_ResourceDataSyncConflictExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_2_1.ResourceDataSyncConflictException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_ResourceDataSyncCountExceededExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_0_1.ResourceDataSyncCountExceededException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_ResourceDataSyncInvalidConfigurationExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_0_1.ResourceDataSyncInvalidConfigurationException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_ResourceDataSyncNotFoundExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_0_1.ResourceDataSyncNotFoundException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_ResourceInUseExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_0_1.ResourceInUseException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_ResourceLimitExceededExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_0_1.ResourceLimitExceededException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_ResourcePolicyConflictExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_0_1.ResourcePolicyConflictException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_ResourcePolicyInvalidParameterExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_0_1.ResourcePolicyInvalidParameterException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_ResourcePolicyLimitExceededExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_1_1.ResourcePolicyLimitExceededException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_ServiceSettingNotFoundRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_1_1.ServiceSettingNotFound({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_StatusUnchangedRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_2_1.StatusUnchanged({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_SubTypeCountLimitExceededExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_1_1.SubTypeCountLimitExceededException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_TargetInUseExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_0_1.TargetInUseException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_TargetNotConnectedRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_1_1.TargetNotConnected({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_TooManyTagsErrorRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_0_1.TooManyTagsError({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_TooManyUpdatesRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_0_1.TooManyUpdates({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_TotalSizeLimitExceededExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_1_1.TotalSizeLimitExceededException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_UnsupportedCalendarExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_1_1.UnsupportedCalendarException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_UnsupportedFeatureRequiredExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_1_1.UnsupportedFeatureRequiredException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_UnsupportedInventoryItemContextExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_1_1.UnsupportedInventoryItemContextException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_UnsupportedInventorySchemaVersionExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_1_1.UnsupportedInventorySchemaVersionException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_UnsupportedOperatingSystemRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_0_1.UnsupportedOperatingSystem({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_UnsupportedParameterTypeRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_1_1.UnsupportedParameterType({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const de_UnsupportedPlatformTypeRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = (0, smithy_client_1._json)(body); + const exception = new models_0_1.UnsupportedPlatformType({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return (0, smithy_client_1.decorateServiceException)(exception, body); +}; +const se_AssociationStatus = (input, context) => { + return (0, smithy_client_1.take)(input, { + AdditionalInfo: [], + Date: (_) => Math.round(_.getTime() / 1000), + Message: [], + Name: [], + }); +}; +const se_ComplianceExecutionSummary = (input, context) => { + return (0, smithy_client_1.take)(input, { + ExecutionId: [], + ExecutionTime: (_) => Math.round(_.getTime() / 1000), + ExecutionType: [], + }); +}; +const se_CreateActivationRequest = (input, context) => { + return (0, smithy_client_1.take)(input, { + DefaultInstanceName: [], + Description: [], + ExpirationDate: (_) => Math.round(_.getTime() / 1000), + IamRole: [], + RegistrationLimit: [], + RegistrationMetadata: smithy_client_1._json, + Tags: smithy_client_1._json, + }); +}; +const se_CreateMaintenanceWindowRequest = (input, context) => { + return (0, smithy_client_1.take)(input, { + AllowUnassociatedTargets: [], + ClientToken: [true, (_) => _ ?? (0, uuid_1.v4)()], + Cutoff: [], + Description: [], + Duration: [], + EndDate: [], + Name: [], + Schedule: [], + ScheduleOffset: [], + ScheduleTimezone: [], + StartDate: [], + Tags: smithy_client_1._json, + }); +}; +const se_CreateOpsItemRequest = (input, context) => { + return (0, smithy_client_1.take)(input, { + AccountId: [], + ActualEndTime: (_) => Math.round(_.getTime() / 1000), + ActualStartTime: (_) => Math.round(_.getTime() / 1000), + Category: [], + Description: [], + Notifications: smithy_client_1._json, + OperationalData: smithy_client_1._json, + OpsItemType: [], + PlannedEndTime: (_) => Math.round(_.getTime() / 1000), + PlannedStartTime: (_) => Math.round(_.getTime() / 1000), + Priority: [], + RelatedOpsItems: smithy_client_1._json, + Severity: [], + Source: [], + Tags: smithy_client_1._json, + Title: [], + }); +}; +const se_CreatePatchBaselineRequest = (input, context) => { + return (0, smithy_client_1.take)(input, { + ApprovalRules: smithy_client_1._json, + ApprovedPatches: smithy_client_1._json, + ApprovedPatchesComplianceLevel: [], + ApprovedPatchesEnableNonSecurity: [], + ClientToken: [true, (_) => _ ?? (0, uuid_1.v4)()], + Description: [], + GlobalFilters: smithy_client_1._json, + Name: [], + OperatingSystem: [], + RejectedPatches: smithy_client_1._json, + RejectedPatchesAction: [], + Sources: smithy_client_1._json, + Tags: smithy_client_1._json, + }); +}; +const se_DeleteInventoryRequest = (input, context) => { + return (0, smithy_client_1.take)(input, { + ClientToken: [true, (_) => _ ?? (0, uuid_1.v4)()], + DryRun: [], + SchemaDeleteOption: [], + TypeName: [], + }); +}; +const se_GetInventoryRequest = (input, context) => { + return (0, smithy_client_1.take)(input, { + Aggregators: (_) => se_InventoryAggregatorList(_, context), + Filters: smithy_client_1._json, + MaxResults: [], + NextToken: [], + ResultAttributes: smithy_client_1._json, + }); +}; +const se_GetOpsSummaryRequest = (input, context) => { + return (0, smithy_client_1.take)(input, { + Aggregators: (_) => se_OpsAggregatorList(_, context), + Filters: smithy_client_1._json, + MaxResults: [], + NextToken: [], + ResultAttributes: smithy_client_1._json, + SyncName: [], + }); +}; +const se_InventoryAggregator = (input, context) => { + return (0, smithy_client_1.take)(input, { + Aggregators: (_) => se_InventoryAggregatorList(_, context), + Expression: [], + Groups: smithy_client_1._json, + }); +}; +const se_InventoryAggregatorList = (input, context) => { + return input + .filter((e) => e != null) + .map((entry) => { + return se_InventoryAggregator(entry, context); + }); +}; +const se_MaintenanceWindowLambdaParameters = (input, context) => { + return (0, smithy_client_1.take)(input, { + ClientContext: [], + Payload: context.base64Encoder, + Qualifier: [], + }); +}; +const se_MaintenanceWindowTaskInvocationParameters = (input, context) => { + return (0, smithy_client_1.take)(input, { + Automation: smithy_client_1._json, + Lambda: (_) => se_MaintenanceWindowLambdaParameters(_, context), + RunCommand: smithy_client_1._json, + StepFunctions: smithy_client_1._json, + }); +}; +const se_OpsAggregator = (input, context) => { + return (0, smithy_client_1.take)(input, { + AggregatorType: [], + Aggregators: (_) => se_OpsAggregatorList(_, context), + AttributeName: [], + Filters: smithy_client_1._json, + TypeName: [], + Values: smithy_client_1._json, + }); +}; +const se_OpsAggregatorList = (input, context) => { + return input + .filter((e) => e != null) + .map((entry) => { + return se_OpsAggregator(entry, context); + }); +}; +const se_PutComplianceItemsRequest = (input, context) => { + return (0, smithy_client_1.take)(input, { + ComplianceType: [], + ExecutionSummary: (_) => se_ComplianceExecutionSummary(_, context), + ItemContentHash: [], + Items: smithy_client_1._json, + ResourceId: [], + ResourceType: [], + UploadType: [], + }); +}; +const se_RegisterTargetWithMaintenanceWindowRequest = (input, context) => { + return (0, smithy_client_1.take)(input, { + ClientToken: [true, (_) => _ ?? (0, uuid_1.v4)()], + Description: [], + Name: [], + OwnerInformation: [], + ResourceType: [], + Targets: smithy_client_1._json, + WindowId: [], + }); +}; +const se_RegisterTaskWithMaintenanceWindowRequest = (input, context) => { + return (0, smithy_client_1.take)(input, { + AlarmConfiguration: smithy_client_1._json, + ClientToken: [true, (_) => _ ?? (0, uuid_1.v4)()], + CutoffBehavior: [], + Description: [], + LoggingInfo: smithy_client_1._json, + MaxConcurrency: [], + MaxErrors: [], + Name: [], + Priority: [], + ServiceRoleArn: [], + Targets: smithy_client_1._json, + TaskArn: [], + TaskInvocationParameters: (_) => se_MaintenanceWindowTaskInvocationParameters(_, context), + TaskParameters: smithy_client_1._json, + TaskType: [], + WindowId: [], + }); +}; +const se_StartChangeRequestExecutionRequest = (input, context) => { + return (0, smithy_client_1.take)(input, { + AutoApprove: [], + ChangeDetails: [], + ChangeRequestName: [], + ClientToken: [], + DocumentName: [], + DocumentVersion: [], + Parameters: smithy_client_1._json, + Runbooks: smithy_client_1._json, + ScheduledEndTime: (_) => Math.round(_.getTime() / 1000), + ScheduledTime: (_) => Math.round(_.getTime() / 1000), + Tags: smithy_client_1._json, + }); +}; +const se_UpdateAssociationStatusRequest = (input, context) => { + return (0, smithy_client_1.take)(input, { + AssociationStatus: (_) => se_AssociationStatus(_, context), + InstanceId: [], + Name: [], + }); +}; +const se_UpdateMaintenanceWindowTaskRequest = (input, context) => { + return (0, smithy_client_1.take)(input, { + AlarmConfiguration: smithy_client_1._json, + CutoffBehavior: [], + Description: [], + LoggingInfo: smithy_client_1._json, + MaxConcurrency: [], + MaxErrors: [], + Name: [], + Priority: [], + Replace: [], + ServiceRoleArn: [], + Targets: smithy_client_1._json, + TaskArn: [], + TaskInvocationParameters: (_) => se_MaintenanceWindowTaskInvocationParameters(_, context), + TaskParameters: smithy_client_1._json, + WindowId: [], + WindowTaskId: [], + }); +}; +const se_UpdateOpsItemRequest = (input, context) => { + return (0, smithy_client_1.take)(input, { + ActualEndTime: (_) => Math.round(_.getTime() / 1000), + ActualStartTime: (_) => Math.round(_.getTime() / 1000), + Category: [], + Description: [], + Notifications: smithy_client_1._json, + OperationalData: smithy_client_1._json, + OperationalDataToDelete: smithy_client_1._json, + OpsItemArn: [], + OpsItemId: [], + PlannedEndTime: (_) => Math.round(_.getTime() / 1000), + PlannedStartTime: (_) => Math.round(_.getTime() / 1000), + Priority: [], + RelatedOpsItems: smithy_client_1._json, + Severity: [], + Status: [], + Title: [], + }); +}; +const de_Activation = (output, context) => { + return (0, smithy_client_1.take)(output, { + ActivationId: smithy_client_1.expectString, + CreatedDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + DefaultInstanceName: smithy_client_1.expectString, + Description: smithy_client_1.expectString, + ExpirationDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + Expired: smithy_client_1.expectBoolean, + IamRole: smithy_client_1.expectString, + RegistrationLimit: smithy_client_1.expectInt32, + RegistrationsCount: smithy_client_1.expectInt32, + Tags: smithy_client_1._json, + }); +}; +const de_ActivationList = (output, context) => { + const retVal = (output || []) + .filter((e) => e != null) + .map((entry) => { + return de_Activation(entry, context); + }); + return retVal; +}; +const de_Association = (output, context) => { + return (0, smithy_client_1.take)(output, { + AssociationId: smithy_client_1.expectString, + AssociationName: smithy_client_1.expectString, + AssociationVersion: smithy_client_1.expectString, + DocumentVersion: smithy_client_1.expectString, + InstanceId: smithy_client_1.expectString, + LastExecutionDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + Name: smithy_client_1.expectString, + Overview: smithy_client_1._json, + ScheduleExpression: smithy_client_1.expectString, + ScheduleOffset: smithy_client_1.expectInt32, + TargetMaps: smithy_client_1._json, + Targets: smithy_client_1._json, + }); +}; +const de_AssociationDescription = (output, context) => { + return (0, smithy_client_1.take)(output, { + AlarmConfiguration: smithy_client_1._json, + ApplyOnlyAtCronInterval: smithy_client_1.expectBoolean, + AssociationId: smithy_client_1.expectString, + AssociationName: smithy_client_1.expectString, + AssociationVersion: smithy_client_1.expectString, + AutomationTargetParameterName: smithy_client_1.expectString, + CalendarNames: smithy_client_1._json, + ComplianceSeverity: smithy_client_1.expectString, + Date: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + DocumentVersion: smithy_client_1.expectString, + InstanceId: smithy_client_1.expectString, + LastExecutionDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + LastSuccessfulExecutionDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + LastUpdateAssociationDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + MaxConcurrency: smithy_client_1.expectString, + MaxErrors: smithy_client_1.expectString, + Name: smithy_client_1.expectString, + OutputLocation: smithy_client_1._json, + Overview: smithy_client_1._json, + Parameters: smithy_client_1._json, + ScheduleExpression: smithy_client_1.expectString, + ScheduleOffset: smithy_client_1.expectInt32, + Status: (_) => de_AssociationStatus(_, context), + SyncCompliance: smithy_client_1.expectString, + TargetLocations: smithy_client_1._json, + TargetMaps: smithy_client_1._json, + Targets: smithy_client_1._json, + TriggeredAlarms: smithy_client_1._json, + }); +}; +const de_AssociationDescriptionList = (output, context) => { + const retVal = (output || []) + .filter((e) => e != null) + .map((entry) => { + return de_AssociationDescription(entry, context); + }); + return retVal; +}; +const de_AssociationExecution = (output, context) => { + return (0, smithy_client_1.take)(output, { + AlarmConfiguration: smithy_client_1._json, + AssociationId: smithy_client_1.expectString, + AssociationVersion: smithy_client_1.expectString, + CreatedTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + DetailedStatus: smithy_client_1.expectString, + ExecutionId: smithy_client_1.expectString, + LastExecutionDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + ResourceCountByStatus: smithy_client_1.expectString, + Status: smithy_client_1.expectString, + TriggeredAlarms: smithy_client_1._json, + }); +}; +const de_AssociationExecutionsList = (output, context) => { + const retVal = (output || []) + .filter((e) => e != null) + .map((entry) => { + return de_AssociationExecution(entry, context); + }); + return retVal; +}; +const de_AssociationExecutionTarget = (output, context) => { + return (0, smithy_client_1.take)(output, { + AssociationId: smithy_client_1.expectString, + AssociationVersion: smithy_client_1.expectString, + DetailedStatus: smithy_client_1.expectString, + ExecutionId: smithy_client_1.expectString, + LastExecutionDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + OutputSource: smithy_client_1._json, + ResourceId: smithy_client_1.expectString, + ResourceType: smithy_client_1.expectString, + Status: smithy_client_1.expectString, + }); +}; +const de_AssociationExecutionTargetsList = (output, context) => { + const retVal = (output || []) + .filter((e) => e != null) + .map((entry) => { + return de_AssociationExecutionTarget(entry, context); + }); + return retVal; +}; +const de_AssociationList = (output, context) => { + const retVal = (output || []) + .filter((e) => e != null) + .map((entry) => { + return de_Association(entry, context); + }); + return retVal; +}; +const de_AssociationStatus = (output, context) => { + return (0, smithy_client_1.take)(output, { + AdditionalInfo: smithy_client_1.expectString, + Date: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + Message: smithy_client_1.expectString, + Name: smithy_client_1.expectString, + }); +}; +const de_AssociationVersionInfo = (output, context) => { + return (0, smithy_client_1.take)(output, { + ApplyOnlyAtCronInterval: smithy_client_1.expectBoolean, + AssociationId: smithy_client_1.expectString, + AssociationName: smithy_client_1.expectString, + AssociationVersion: smithy_client_1.expectString, + CalendarNames: smithy_client_1._json, + ComplianceSeverity: smithy_client_1.expectString, + CreatedDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + DocumentVersion: smithy_client_1.expectString, + MaxConcurrency: smithy_client_1.expectString, + MaxErrors: smithy_client_1.expectString, + Name: smithy_client_1.expectString, + OutputLocation: smithy_client_1._json, + Parameters: smithy_client_1._json, + ScheduleExpression: smithy_client_1.expectString, + ScheduleOffset: smithy_client_1.expectInt32, + SyncCompliance: smithy_client_1.expectString, + TargetLocations: smithy_client_1._json, + TargetMaps: smithy_client_1._json, + Targets: smithy_client_1._json, + }); +}; +const de_AssociationVersionList = (output, context) => { + const retVal = (output || []) + .filter((e) => e != null) + .map((entry) => { + return de_AssociationVersionInfo(entry, context); + }); + return retVal; +}; +const de_AutomationExecution = (output, context) => { + return (0, smithy_client_1.take)(output, { + AlarmConfiguration: smithy_client_1._json, + AssociationId: smithy_client_1.expectString, + AutomationExecutionId: smithy_client_1.expectString, + AutomationExecutionStatus: smithy_client_1.expectString, + AutomationSubtype: smithy_client_1.expectString, + ChangeRequestName: smithy_client_1.expectString, + CurrentAction: smithy_client_1.expectString, + CurrentStepName: smithy_client_1.expectString, + DocumentName: smithy_client_1.expectString, + DocumentVersion: smithy_client_1.expectString, + ExecutedBy: smithy_client_1.expectString, + ExecutionEndTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + ExecutionStartTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + FailureMessage: smithy_client_1.expectString, + MaxConcurrency: smithy_client_1.expectString, + MaxErrors: smithy_client_1.expectString, + Mode: smithy_client_1.expectString, + OpsItemId: smithy_client_1.expectString, + Outputs: smithy_client_1._json, + Parameters: smithy_client_1._json, + ParentAutomationExecutionId: smithy_client_1.expectString, + ProgressCounters: smithy_client_1._json, + ResolvedTargets: smithy_client_1._json, + Runbooks: smithy_client_1._json, + ScheduledTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + StepExecutions: (_) => de_StepExecutionList(_, context), + StepExecutionsTruncated: smithy_client_1.expectBoolean, + Target: smithy_client_1.expectString, + TargetLocations: smithy_client_1._json, + TargetMaps: smithy_client_1._json, + TargetParameterName: smithy_client_1.expectString, + Targets: smithy_client_1._json, + TriggeredAlarms: smithy_client_1._json, + Variables: smithy_client_1._json, + }); +}; +const de_AutomationExecutionMetadata = (output, context) => { + return (0, smithy_client_1.take)(output, { + AlarmConfiguration: smithy_client_1._json, + AssociationId: smithy_client_1.expectString, + AutomationExecutionId: smithy_client_1.expectString, + AutomationExecutionStatus: smithy_client_1.expectString, + AutomationSubtype: smithy_client_1.expectString, + AutomationType: smithy_client_1.expectString, + ChangeRequestName: smithy_client_1.expectString, + CurrentAction: smithy_client_1.expectString, + CurrentStepName: smithy_client_1.expectString, + DocumentName: smithy_client_1.expectString, + DocumentVersion: smithy_client_1.expectString, + ExecutedBy: smithy_client_1.expectString, + ExecutionEndTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + ExecutionStartTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + FailureMessage: smithy_client_1.expectString, + LogFile: smithy_client_1.expectString, + MaxConcurrency: smithy_client_1.expectString, + MaxErrors: smithy_client_1.expectString, + Mode: smithy_client_1.expectString, + OpsItemId: smithy_client_1.expectString, + Outputs: smithy_client_1._json, + ParentAutomationExecutionId: smithy_client_1.expectString, + ResolvedTargets: smithy_client_1._json, + Runbooks: smithy_client_1._json, + ScheduledTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + Target: smithy_client_1.expectString, + TargetMaps: smithy_client_1._json, + TargetParameterName: smithy_client_1.expectString, + Targets: smithy_client_1._json, + TriggeredAlarms: smithy_client_1._json, + }); +}; +const de_AutomationExecutionMetadataList = (output, context) => { + const retVal = (output || []) + .filter((e) => e != null) + .map((entry) => { + return de_AutomationExecutionMetadata(entry, context); + }); + return retVal; +}; +const de_Command = (output, context) => { + return (0, smithy_client_1.take)(output, { + AlarmConfiguration: smithy_client_1._json, + CloudWatchOutputConfig: smithy_client_1._json, + CommandId: smithy_client_1.expectString, + Comment: smithy_client_1.expectString, + CompletedCount: smithy_client_1.expectInt32, + DeliveryTimedOutCount: smithy_client_1.expectInt32, + DocumentName: smithy_client_1.expectString, + DocumentVersion: smithy_client_1.expectString, + ErrorCount: smithy_client_1.expectInt32, + ExpiresAfter: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + InstanceIds: smithy_client_1._json, + MaxConcurrency: smithy_client_1.expectString, + MaxErrors: smithy_client_1.expectString, + NotificationConfig: smithy_client_1._json, + OutputS3BucketName: smithy_client_1.expectString, + OutputS3KeyPrefix: smithy_client_1.expectString, + OutputS3Region: smithy_client_1.expectString, + Parameters: smithy_client_1._json, + RequestedDateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + ServiceRole: smithy_client_1.expectString, + Status: smithy_client_1.expectString, + StatusDetails: smithy_client_1.expectString, + TargetCount: smithy_client_1.expectInt32, + Targets: smithy_client_1._json, + TimeoutSeconds: smithy_client_1.expectInt32, + TriggeredAlarms: smithy_client_1._json, + }); +}; +const de_CommandInvocation = (output, context) => { + return (0, smithy_client_1.take)(output, { + CloudWatchOutputConfig: smithy_client_1._json, + CommandId: smithy_client_1.expectString, + CommandPlugins: (_) => de_CommandPluginList(_, context), + Comment: smithy_client_1.expectString, + DocumentName: smithy_client_1.expectString, + DocumentVersion: smithy_client_1.expectString, + InstanceId: smithy_client_1.expectString, + InstanceName: smithy_client_1.expectString, + NotificationConfig: smithy_client_1._json, + RequestedDateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + ServiceRole: smithy_client_1.expectString, + StandardErrorUrl: smithy_client_1.expectString, + StandardOutputUrl: smithy_client_1.expectString, + Status: smithy_client_1.expectString, + StatusDetails: smithy_client_1.expectString, + TraceOutput: smithy_client_1.expectString, + }); +}; +const de_CommandInvocationList = (output, context) => { + const retVal = (output || []) + .filter((e) => e != null) + .map((entry) => { + return de_CommandInvocation(entry, context); + }); + return retVal; +}; +const de_CommandList = (output, context) => { + const retVal = (output || []) + .filter((e) => e != null) + .map((entry) => { + return de_Command(entry, context); + }); + return retVal; +}; +const de_CommandPlugin = (output, context) => { + return (0, smithy_client_1.take)(output, { + Name: smithy_client_1.expectString, + Output: smithy_client_1.expectString, + OutputS3BucketName: smithy_client_1.expectString, + OutputS3KeyPrefix: smithy_client_1.expectString, + OutputS3Region: smithy_client_1.expectString, + ResponseCode: smithy_client_1.expectInt32, + ResponseFinishDateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + ResponseStartDateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + StandardErrorUrl: smithy_client_1.expectString, + StandardOutputUrl: smithy_client_1.expectString, + Status: smithy_client_1.expectString, + StatusDetails: smithy_client_1.expectString, + }); +}; +const de_CommandPluginList = (output, context) => { + const retVal = (output || []) + .filter((e) => e != null) + .map((entry) => { + return de_CommandPlugin(entry, context); + }); + return retVal; +}; +const de_ComplianceExecutionSummary = (output, context) => { + return (0, smithy_client_1.take)(output, { + ExecutionId: smithy_client_1.expectString, + ExecutionTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + ExecutionType: smithy_client_1.expectString, + }); +}; +const de_ComplianceItem = (output, context) => { + return (0, smithy_client_1.take)(output, { + ComplianceType: smithy_client_1.expectString, + Details: smithy_client_1._json, + ExecutionSummary: (_) => de_ComplianceExecutionSummary(_, context), + Id: smithy_client_1.expectString, + ResourceId: smithy_client_1.expectString, + ResourceType: smithy_client_1.expectString, + Severity: smithy_client_1.expectString, + Status: smithy_client_1.expectString, + Title: smithy_client_1.expectString, + }); +}; +const de_ComplianceItemList = (output, context) => { + const retVal = (output || []) + .filter((e) => e != null) + .map((entry) => { + return de_ComplianceItem(entry, context); + }); + return retVal; +}; +const de_CreateAssociationBatchResult = (output, context) => { + return (0, smithy_client_1.take)(output, { + Failed: smithy_client_1._json, + Successful: (_) => de_AssociationDescriptionList(_, context), + }); +}; +const de_CreateAssociationResult = (output, context) => { + return (0, smithy_client_1.take)(output, { + AssociationDescription: (_) => de_AssociationDescription(_, context), + }); +}; +const de_CreateDocumentResult = (output, context) => { + return (0, smithy_client_1.take)(output, { + DocumentDescription: (_) => de_DocumentDescription(_, context), + }); +}; +const de_DescribeActivationsResult = (output, context) => { + return (0, smithy_client_1.take)(output, { + ActivationList: (_) => de_ActivationList(_, context), + NextToken: smithy_client_1.expectString, + }); +}; +const de_DescribeAssociationExecutionsResult = (output, context) => { + return (0, smithy_client_1.take)(output, { + AssociationExecutions: (_) => de_AssociationExecutionsList(_, context), + NextToken: smithy_client_1.expectString, + }); +}; +const de_DescribeAssociationExecutionTargetsResult = (output, context) => { + return (0, smithy_client_1.take)(output, { + AssociationExecutionTargets: (_) => de_AssociationExecutionTargetsList(_, context), + NextToken: smithy_client_1.expectString, + }); +}; +const de_DescribeAssociationResult = (output, context) => { + return (0, smithy_client_1.take)(output, { + AssociationDescription: (_) => de_AssociationDescription(_, context), + }); +}; +const de_DescribeAutomationExecutionsResult = (output, context) => { + return (0, smithy_client_1.take)(output, { + AutomationExecutionMetadataList: (_) => de_AutomationExecutionMetadataList(_, context), + NextToken: smithy_client_1.expectString, + }); +}; +const de_DescribeAutomationStepExecutionsResult = (output, context) => { + return (0, smithy_client_1.take)(output, { + NextToken: smithy_client_1.expectString, + StepExecutions: (_) => de_StepExecutionList(_, context), + }); +}; +const de_DescribeAvailablePatchesResult = (output, context) => { + return (0, smithy_client_1.take)(output, { + NextToken: smithy_client_1.expectString, + Patches: (_) => de_PatchList(_, context), + }); +}; +const de_DescribeDocumentResult = (output, context) => { + return (0, smithy_client_1.take)(output, { + Document: (_) => de_DocumentDescription(_, context), + }); +}; +const de_DescribeEffectivePatchesForPatchBaselineResult = (output, context) => { + return (0, smithy_client_1.take)(output, { + EffectivePatches: (_) => de_EffectivePatchList(_, context), + NextToken: smithy_client_1.expectString, + }); +}; +const de_DescribeInstanceAssociationsStatusResult = (output, context) => { + return (0, smithy_client_1.take)(output, { + InstanceAssociationStatusInfos: (_) => de_InstanceAssociationStatusInfos(_, context), + NextToken: smithy_client_1.expectString, + }); +}; +const de_DescribeInstanceInformationResult = (output, context) => { + return (0, smithy_client_1.take)(output, { + InstanceInformationList: (_) => de_InstanceInformationList(_, context), + NextToken: smithy_client_1.expectString, + }); +}; +const de_DescribeInstancePatchesResult = (output, context) => { + return (0, smithy_client_1.take)(output, { + NextToken: smithy_client_1.expectString, + Patches: (_) => de_PatchComplianceDataList(_, context), + }); +}; +const de_DescribeInstancePatchStatesForPatchGroupResult = (output, context) => { + return (0, smithy_client_1.take)(output, { + InstancePatchStates: (_) => de_InstancePatchStatesList(_, context), + NextToken: smithy_client_1.expectString, + }); +}; +const de_DescribeInstancePatchStatesResult = (output, context) => { + return (0, smithy_client_1.take)(output, { + InstancePatchStates: (_) => de_InstancePatchStateList(_, context), + NextToken: smithy_client_1.expectString, + }); +}; +const de_DescribeInventoryDeletionsResult = (output, context) => { + return (0, smithy_client_1.take)(output, { + InventoryDeletions: (_) => de_InventoryDeletionsList(_, context), + NextToken: smithy_client_1.expectString, + }); +}; +const de_DescribeMaintenanceWindowExecutionsResult = (output, context) => { + return (0, smithy_client_1.take)(output, { + NextToken: smithy_client_1.expectString, + WindowExecutions: (_) => de_MaintenanceWindowExecutionList(_, context), + }); +}; +const de_DescribeMaintenanceWindowExecutionTaskInvocationsResult = (output, context) => { + return (0, smithy_client_1.take)(output, { + NextToken: smithy_client_1.expectString, + WindowExecutionTaskInvocationIdentities: (_) => de_MaintenanceWindowExecutionTaskInvocationIdentityList(_, context), + }); +}; +const de_DescribeMaintenanceWindowExecutionTasksResult = (output, context) => { + return (0, smithy_client_1.take)(output, { + NextToken: smithy_client_1.expectString, + WindowExecutionTaskIdentities: (_) => de_MaintenanceWindowExecutionTaskIdentityList(_, context), + }); +}; +const de_DescribeOpsItemsResponse = (output, context) => { + return (0, smithy_client_1.take)(output, { + NextToken: smithy_client_1.expectString, + OpsItemSummaries: (_) => de_OpsItemSummaries(_, context), + }); +}; +const de_DescribeParametersResult = (output, context) => { + return (0, smithy_client_1.take)(output, { + NextToken: smithy_client_1.expectString, + Parameters: (_) => de_ParameterMetadataList(_, context), + }); +}; +const de_DescribeSessionsResponse = (output, context) => { + return (0, smithy_client_1.take)(output, { + NextToken: smithy_client_1.expectString, + Sessions: (_) => de_SessionList(_, context), + }); +}; +const de_DocumentDescription = (output, context) => { + return (0, smithy_client_1.take)(output, { + ApprovedVersion: smithy_client_1.expectString, + AttachmentsInformation: smithy_client_1._json, + Author: smithy_client_1.expectString, + Category: smithy_client_1._json, + CategoryEnum: smithy_client_1._json, + CreatedDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + DefaultVersion: smithy_client_1.expectString, + Description: smithy_client_1.expectString, + DisplayName: smithy_client_1.expectString, + DocumentFormat: smithy_client_1.expectString, + DocumentType: smithy_client_1.expectString, + DocumentVersion: smithy_client_1.expectString, + Hash: smithy_client_1.expectString, + HashType: smithy_client_1.expectString, + LatestVersion: smithy_client_1.expectString, + Name: smithy_client_1.expectString, + Owner: smithy_client_1.expectString, + Parameters: smithy_client_1._json, + PendingReviewVersion: smithy_client_1.expectString, + PlatformTypes: smithy_client_1._json, + Requires: smithy_client_1._json, + ReviewInformation: (_) => de_ReviewInformationList(_, context), + ReviewStatus: smithy_client_1.expectString, + SchemaVersion: smithy_client_1.expectString, + Sha1: smithy_client_1.expectString, + Status: smithy_client_1.expectString, + StatusInformation: smithy_client_1.expectString, + Tags: smithy_client_1._json, + TargetType: smithy_client_1.expectString, + VersionName: smithy_client_1.expectString, + }); +}; +const de_DocumentIdentifier = (output, context) => { + return (0, smithy_client_1.take)(output, { + Author: smithy_client_1.expectString, + CreatedDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + DisplayName: smithy_client_1.expectString, + DocumentFormat: smithy_client_1.expectString, + DocumentType: smithy_client_1.expectString, + DocumentVersion: smithy_client_1.expectString, + Name: smithy_client_1.expectString, + Owner: smithy_client_1.expectString, + PlatformTypes: smithy_client_1._json, + Requires: smithy_client_1._json, + ReviewStatus: smithy_client_1.expectString, + SchemaVersion: smithy_client_1.expectString, + Tags: smithy_client_1._json, + TargetType: smithy_client_1.expectString, + VersionName: smithy_client_1.expectString, + }); +}; +const de_DocumentIdentifierList = (output, context) => { + const retVal = (output || []) + .filter((e) => e != null) + .map((entry) => { + return de_DocumentIdentifier(entry, context); + }); + return retVal; +}; +const de_DocumentMetadataResponseInfo = (output, context) => { + return (0, smithy_client_1.take)(output, { + ReviewerResponse: (_) => de_DocumentReviewerResponseList(_, context), + }); +}; +const de_DocumentReviewerResponseList = (output, context) => { + const retVal = (output || []) + .filter((e) => e != null) + .map((entry) => { + return de_DocumentReviewerResponseSource(entry, context); + }); + return retVal; +}; +const de_DocumentReviewerResponseSource = (output, context) => { + return (0, smithy_client_1.take)(output, { + Comment: smithy_client_1._json, + CreateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + ReviewStatus: smithy_client_1.expectString, + Reviewer: smithy_client_1.expectString, + UpdatedTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + }); +}; +const de_DocumentVersionInfo = (output, context) => { + return (0, smithy_client_1.take)(output, { + CreatedDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + DisplayName: smithy_client_1.expectString, + DocumentFormat: smithy_client_1.expectString, + DocumentVersion: smithy_client_1.expectString, + IsDefaultVersion: smithy_client_1.expectBoolean, + Name: smithy_client_1.expectString, + ReviewStatus: smithy_client_1.expectString, + Status: smithy_client_1.expectString, + StatusInformation: smithy_client_1.expectString, + VersionName: smithy_client_1.expectString, + }); +}; +const de_DocumentVersionList = (output, context) => { + const retVal = (output || []) + .filter((e) => e != null) + .map((entry) => { + return de_DocumentVersionInfo(entry, context); + }); + return retVal; +}; +const de_EffectivePatch = (output, context) => { + return (0, smithy_client_1.take)(output, { + Patch: (_) => de_Patch(_, context), + PatchStatus: (_) => de_PatchStatus(_, context), + }); +}; +const de_EffectivePatchList = (output, context) => { + const retVal = (output || []) + .filter((e) => e != null) + .map((entry) => { + return de_EffectivePatch(entry, context); + }); + return retVal; +}; +const de_GetAutomationExecutionResult = (output, context) => { + return (0, smithy_client_1.take)(output, { + AutomationExecution: (_) => de_AutomationExecution(_, context), + }); +}; +const de_GetDocumentResult = (output, context) => { + return (0, smithy_client_1.take)(output, { + AttachmentsContent: smithy_client_1._json, + Content: smithy_client_1.expectString, + CreatedDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + DisplayName: smithy_client_1.expectString, + DocumentFormat: smithy_client_1.expectString, + DocumentType: smithy_client_1.expectString, + DocumentVersion: smithy_client_1.expectString, + Name: smithy_client_1.expectString, + Requires: smithy_client_1._json, + ReviewStatus: smithy_client_1.expectString, + Status: smithy_client_1.expectString, + StatusInformation: smithy_client_1.expectString, + VersionName: smithy_client_1.expectString, + }); +}; +const de_GetMaintenanceWindowExecutionResult = (output, context) => { + return (0, smithy_client_1.take)(output, { + EndTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + StartTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + Status: smithy_client_1.expectString, + StatusDetails: smithy_client_1.expectString, + TaskIds: smithy_client_1._json, + WindowExecutionId: smithy_client_1.expectString, + }); +}; +const de_GetMaintenanceWindowExecutionTaskInvocationResult = (output, context) => { + return (0, smithy_client_1.take)(output, { + EndTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + ExecutionId: smithy_client_1.expectString, + InvocationId: smithy_client_1.expectString, + OwnerInformation: smithy_client_1.expectString, + Parameters: smithy_client_1.expectString, + StartTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + Status: smithy_client_1.expectString, + StatusDetails: smithy_client_1.expectString, + TaskExecutionId: smithy_client_1.expectString, + TaskType: smithy_client_1.expectString, + WindowExecutionId: smithy_client_1.expectString, + WindowTargetId: smithy_client_1.expectString, + }); +}; +const de_GetMaintenanceWindowExecutionTaskResult = (output, context) => { + return (0, smithy_client_1.take)(output, { + AlarmConfiguration: smithy_client_1._json, + EndTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + MaxConcurrency: smithy_client_1.expectString, + MaxErrors: smithy_client_1.expectString, + Priority: smithy_client_1.expectInt32, + ServiceRole: smithy_client_1.expectString, + StartTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + Status: smithy_client_1.expectString, + StatusDetails: smithy_client_1.expectString, + TaskArn: smithy_client_1.expectString, + TaskExecutionId: smithy_client_1.expectString, + TaskParameters: smithy_client_1._json, + TriggeredAlarms: smithy_client_1._json, + Type: smithy_client_1.expectString, + WindowExecutionId: smithy_client_1.expectString, + }); +}; +const de_GetMaintenanceWindowResult = (output, context) => { + return (0, smithy_client_1.take)(output, { + AllowUnassociatedTargets: smithy_client_1.expectBoolean, + CreatedDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + Cutoff: smithy_client_1.expectInt32, + Description: smithy_client_1.expectString, + Duration: smithy_client_1.expectInt32, + Enabled: smithy_client_1.expectBoolean, + EndDate: smithy_client_1.expectString, + ModifiedDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + Name: smithy_client_1.expectString, + NextExecutionTime: smithy_client_1.expectString, + Schedule: smithy_client_1.expectString, + ScheduleOffset: smithy_client_1.expectInt32, + ScheduleTimezone: smithy_client_1.expectString, + StartDate: smithy_client_1.expectString, + WindowId: smithy_client_1.expectString, + }); +}; +const de_GetMaintenanceWindowTaskResult = (output, context) => { + return (0, smithy_client_1.take)(output, { + AlarmConfiguration: smithy_client_1._json, + CutoffBehavior: smithy_client_1.expectString, + Description: smithy_client_1.expectString, + LoggingInfo: smithy_client_1._json, + MaxConcurrency: smithy_client_1.expectString, + MaxErrors: smithy_client_1.expectString, + Name: smithy_client_1.expectString, + Priority: smithy_client_1.expectInt32, + ServiceRoleArn: smithy_client_1.expectString, + Targets: smithy_client_1._json, + TaskArn: smithy_client_1.expectString, + TaskInvocationParameters: (_) => de_MaintenanceWindowTaskInvocationParameters(_, context), + TaskParameters: smithy_client_1._json, + TaskType: smithy_client_1.expectString, + WindowId: smithy_client_1.expectString, + WindowTaskId: smithy_client_1.expectString, + }); +}; +const de_GetOpsItemResponse = (output, context) => { + return (0, smithy_client_1.take)(output, { + OpsItem: (_) => de_OpsItem(_, context), + }); +}; +const de_GetParameterHistoryResult = (output, context) => { + return (0, smithy_client_1.take)(output, { + NextToken: smithy_client_1.expectString, + Parameters: (_) => de_ParameterHistoryList(_, context), + }); +}; +const de_GetParameterResult = (output, context) => { + return (0, smithy_client_1.take)(output, { + Parameter: (_) => de_Parameter(_, context), + }); +}; +const de_GetParametersByPathResult = (output, context) => { + return (0, smithy_client_1.take)(output, { + NextToken: smithy_client_1.expectString, + Parameters: (_) => de_ParameterList(_, context), + }); +}; +const de_GetParametersResult = (output, context) => { + return (0, smithy_client_1.take)(output, { + InvalidParameters: smithy_client_1._json, + Parameters: (_) => de_ParameterList(_, context), + }); +}; +const de_GetPatchBaselineResult = (output, context) => { + return (0, smithy_client_1.take)(output, { + ApprovalRules: smithy_client_1._json, + ApprovedPatches: smithy_client_1._json, + ApprovedPatchesComplianceLevel: smithy_client_1.expectString, + ApprovedPatchesEnableNonSecurity: smithy_client_1.expectBoolean, + BaselineId: smithy_client_1.expectString, + CreatedDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + Description: smithy_client_1.expectString, + GlobalFilters: smithy_client_1._json, + ModifiedDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + Name: smithy_client_1.expectString, + OperatingSystem: smithy_client_1.expectString, + PatchGroups: smithy_client_1._json, + RejectedPatches: smithy_client_1._json, + RejectedPatchesAction: smithy_client_1.expectString, + Sources: smithy_client_1._json, + }); +}; +const de_GetServiceSettingResult = (output, context) => { + return (0, smithy_client_1.take)(output, { + ServiceSetting: (_) => de_ServiceSetting(_, context), + }); +}; +const de_InstanceAssociationStatusInfo = (output, context) => { + return (0, smithy_client_1.take)(output, { + AssociationId: smithy_client_1.expectString, + AssociationName: smithy_client_1.expectString, + AssociationVersion: smithy_client_1.expectString, + DetailedStatus: smithy_client_1.expectString, + DocumentVersion: smithy_client_1.expectString, + ErrorCode: smithy_client_1.expectString, + ExecutionDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + ExecutionSummary: smithy_client_1.expectString, + InstanceId: smithy_client_1.expectString, + Name: smithy_client_1.expectString, + OutputUrl: smithy_client_1._json, + Status: smithy_client_1.expectString, + }); +}; +const de_InstanceAssociationStatusInfos = (output, context) => { + const retVal = (output || []) + .filter((e) => e != null) + .map((entry) => { + return de_InstanceAssociationStatusInfo(entry, context); + }); + return retVal; +}; +const de_InstanceInformation = (output, context) => { + return (0, smithy_client_1.take)(output, { + ActivationId: smithy_client_1.expectString, + AgentVersion: smithy_client_1.expectString, + AssociationOverview: smithy_client_1._json, + AssociationStatus: smithy_client_1.expectString, + ComputerName: smithy_client_1.expectString, + IPAddress: smithy_client_1.expectString, + IamRole: smithy_client_1.expectString, + InstanceId: smithy_client_1.expectString, + IsLatestVersion: smithy_client_1.expectBoolean, + LastAssociationExecutionDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + LastPingDateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + LastSuccessfulAssociationExecutionDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + Name: smithy_client_1.expectString, + PingStatus: smithy_client_1.expectString, + PlatformName: smithy_client_1.expectString, + PlatformType: smithy_client_1.expectString, + PlatformVersion: smithy_client_1.expectString, + RegistrationDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + ResourceType: smithy_client_1.expectString, + SourceId: smithy_client_1.expectString, + SourceType: smithy_client_1.expectString, + }); +}; +const de_InstanceInformationList = (output, context) => { + const retVal = (output || []) + .filter((e) => e != null) + .map((entry) => { + return de_InstanceInformation(entry, context); + }); + return retVal; +}; +const de_InstancePatchState = (output, context) => { + return (0, smithy_client_1.take)(output, { + BaselineId: smithy_client_1.expectString, + CriticalNonCompliantCount: smithy_client_1.expectInt32, + FailedCount: smithy_client_1.expectInt32, + InstallOverrideList: smithy_client_1.expectString, + InstalledCount: smithy_client_1.expectInt32, + InstalledOtherCount: smithy_client_1.expectInt32, + InstalledPendingRebootCount: smithy_client_1.expectInt32, + InstalledRejectedCount: smithy_client_1.expectInt32, + InstanceId: smithy_client_1.expectString, + LastNoRebootInstallOperationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + MissingCount: smithy_client_1.expectInt32, + NotApplicableCount: smithy_client_1.expectInt32, + Operation: smithy_client_1.expectString, + OperationEndTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + OperationStartTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + OtherNonCompliantCount: smithy_client_1.expectInt32, + OwnerInformation: smithy_client_1.expectString, + PatchGroup: smithy_client_1.expectString, + RebootOption: smithy_client_1.expectString, + SecurityNonCompliantCount: smithy_client_1.expectInt32, + SnapshotId: smithy_client_1.expectString, + UnreportedNotApplicableCount: smithy_client_1.expectInt32, + }); +}; +const de_InstancePatchStateList = (output, context) => { + const retVal = (output || []) + .filter((e) => e != null) + .map((entry) => { + return de_InstancePatchState(entry, context); + }); + return retVal; +}; +const de_InstancePatchStatesList = (output, context) => { + const retVal = (output || []) + .filter((e) => e != null) + .map((entry) => { + return de_InstancePatchState(entry, context); + }); + return retVal; +}; +const de_InventoryDeletionsList = (output, context) => { + const retVal = (output || []) + .filter((e) => e != null) + .map((entry) => { + return de_InventoryDeletionStatusItem(entry, context); + }); + return retVal; +}; +const de_InventoryDeletionStatusItem = (output, context) => { + return (0, smithy_client_1.take)(output, { + DeletionId: smithy_client_1.expectString, + DeletionStartTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + DeletionSummary: smithy_client_1._json, + LastStatus: smithy_client_1.expectString, + LastStatusMessage: smithy_client_1.expectString, + LastStatusUpdateTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + TypeName: smithy_client_1.expectString, + }); +}; +const de_ListAssociationsResult = (output, context) => { + return (0, smithy_client_1.take)(output, { + Associations: (_) => de_AssociationList(_, context), + NextToken: smithy_client_1.expectString, + }); +}; +const de_ListAssociationVersionsResult = (output, context) => { + return (0, smithy_client_1.take)(output, { + AssociationVersions: (_) => de_AssociationVersionList(_, context), + NextToken: smithy_client_1.expectString, + }); +}; +const de_ListCommandInvocationsResult = (output, context) => { + return (0, smithy_client_1.take)(output, { + CommandInvocations: (_) => de_CommandInvocationList(_, context), + NextToken: smithy_client_1.expectString, + }); +}; +const de_ListCommandsResult = (output, context) => { + return (0, smithy_client_1.take)(output, { + Commands: (_) => de_CommandList(_, context), + NextToken: smithy_client_1.expectString, + }); +}; +const de_ListComplianceItemsResult = (output, context) => { + return (0, smithy_client_1.take)(output, { + ComplianceItems: (_) => de_ComplianceItemList(_, context), + NextToken: smithy_client_1.expectString, + }); +}; +const de_ListDocumentMetadataHistoryResponse = (output, context) => { + return (0, smithy_client_1.take)(output, { + Author: smithy_client_1.expectString, + DocumentVersion: smithy_client_1.expectString, + Metadata: (_) => de_DocumentMetadataResponseInfo(_, context), + Name: smithy_client_1.expectString, + NextToken: smithy_client_1.expectString, + }); +}; +const de_ListDocumentsResult = (output, context) => { + return (0, smithy_client_1.take)(output, { + DocumentIdentifiers: (_) => de_DocumentIdentifierList(_, context), + NextToken: smithy_client_1.expectString, + }); +}; +const de_ListDocumentVersionsResult = (output, context) => { + return (0, smithy_client_1.take)(output, { + DocumentVersions: (_) => de_DocumentVersionList(_, context), + NextToken: smithy_client_1.expectString, + }); +}; +const de_ListOpsItemEventsResponse = (output, context) => { + return (0, smithy_client_1.take)(output, { + NextToken: smithy_client_1.expectString, + Summaries: (_) => de_OpsItemEventSummaries(_, context), + }); +}; +const de_ListOpsItemRelatedItemsResponse = (output, context) => { + return (0, smithy_client_1.take)(output, { + NextToken: smithy_client_1.expectString, + Summaries: (_) => de_OpsItemRelatedItemSummaries(_, context), + }); +}; +const de_ListOpsMetadataResult = (output, context) => { + return (0, smithy_client_1.take)(output, { + NextToken: smithy_client_1.expectString, + OpsMetadataList: (_) => de_OpsMetadataList(_, context), + }); +}; +const de_ListResourceComplianceSummariesResult = (output, context) => { + return (0, smithy_client_1.take)(output, { + NextToken: smithy_client_1.expectString, + ResourceComplianceSummaryItems: (_) => de_ResourceComplianceSummaryItemList(_, context), + }); +}; +const de_ListResourceDataSyncResult = (output, context) => { + return (0, smithy_client_1.take)(output, { + NextToken: smithy_client_1.expectString, + ResourceDataSyncItems: (_) => de_ResourceDataSyncItemList(_, context), + }); +}; +const de_MaintenanceWindowExecution = (output, context) => { + return (0, smithy_client_1.take)(output, { + EndTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + StartTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + Status: smithy_client_1.expectString, + StatusDetails: smithy_client_1.expectString, + WindowExecutionId: smithy_client_1.expectString, + WindowId: smithy_client_1.expectString, + }); +}; +const de_MaintenanceWindowExecutionList = (output, context) => { + const retVal = (output || []) + .filter((e) => e != null) + .map((entry) => { + return de_MaintenanceWindowExecution(entry, context); + }); + return retVal; +}; +const de_MaintenanceWindowExecutionTaskIdentity = (output, context) => { + return (0, smithy_client_1.take)(output, { + AlarmConfiguration: smithy_client_1._json, + EndTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + StartTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + Status: smithy_client_1.expectString, + StatusDetails: smithy_client_1.expectString, + TaskArn: smithy_client_1.expectString, + TaskExecutionId: smithy_client_1.expectString, + TaskType: smithy_client_1.expectString, + TriggeredAlarms: smithy_client_1._json, + WindowExecutionId: smithy_client_1.expectString, + }); +}; +const de_MaintenanceWindowExecutionTaskIdentityList = (output, context) => { + const retVal = (output || []) + .filter((e) => e != null) + .map((entry) => { + return de_MaintenanceWindowExecutionTaskIdentity(entry, context); + }); + return retVal; +}; +const de_MaintenanceWindowExecutionTaskInvocationIdentity = (output, context) => { + return (0, smithy_client_1.take)(output, { + EndTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + ExecutionId: smithy_client_1.expectString, + InvocationId: smithy_client_1.expectString, + OwnerInformation: smithy_client_1.expectString, + Parameters: smithy_client_1.expectString, + StartTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + Status: smithy_client_1.expectString, + StatusDetails: smithy_client_1.expectString, + TaskExecutionId: smithy_client_1.expectString, + TaskType: smithy_client_1.expectString, + WindowExecutionId: smithy_client_1.expectString, + WindowTargetId: smithy_client_1.expectString, + }); +}; +const de_MaintenanceWindowExecutionTaskInvocationIdentityList = (output, context) => { + const retVal = (output || []) + .filter((e) => e != null) + .map((entry) => { + return de_MaintenanceWindowExecutionTaskInvocationIdentity(entry, context); + }); + return retVal; +}; +const de_MaintenanceWindowLambdaParameters = (output, context) => { + return (0, smithy_client_1.take)(output, { + ClientContext: smithy_client_1.expectString, + Payload: context.base64Decoder, + Qualifier: smithy_client_1.expectString, + }); +}; +const de_MaintenanceWindowTaskInvocationParameters = (output, context) => { + return (0, smithy_client_1.take)(output, { + Automation: smithy_client_1._json, + Lambda: (_) => de_MaintenanceWindowLambdaParameters(_, context), + RunCommand: smithy_client_1._json, + StepFunctions: smithy_client_1._json, + }); +}; +const de_OpsItem = (output, context) => { + return (0, smithy_client_1.take)(output, { + ActualEndTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + ActualStartTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + Category: smithy_client_1.expectString, + CreatedBy: smithy_client_1.expectString, + CreatedTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + Description: smithy_client_1.expectString, + LastModifiedBy: smithy_client_1.expectString, + LastModifiedTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + Notifications: smithy_client_1._json, + OperationalData: smithy_client_1._json, + OpsItemArn: smithy_client_1.expectString, + OpsItemId: smithy_client_1.expectString, + OpsItemType: smithy_client_1.expectString, + PlannedEndTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + PlannedStartTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + Priority: smithy_client_1.expectInt32, + RelatedOpsItems: smithy_client_1._json, + Severity: smithy_client_1.expectString, + Source: smithy_client_1.expectString, + Status: smithy_client_1.expectString, + Title: smithy_client_1.expectString, + Version: smithy_client_1.expectString, + }); +}; +const de_OpsItemEventSummaries = (output, context) => { + const retVal = (output || []) + .filter((e) => e != null) + .map((entry) => { + return de_OpsItemEventSummary(entry, context); + }); + return retVal; +}; +const de_OpsItemEventSummary = (output, context) => { + return (0, smithy_client_1.take)(output, { + CreatedBy: smithy_client_1._json, + CreatedTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + Detail: smithy_client_1.expectString, + DetailType: smithy_client_1.expectString, + EventId: smithy_client_1.expectString, + OpsItemId: smithy_client_1.expectString, + Source: smithy_client_1.expectString, + }); +}; +const de_OpsItemRelatedItemSummaries = (output, context) => { + const retVal = (output || []) + .filter((e) => e != null) + .map((entry) => { + return de_OpsItemRelatedItemSummary(entry, context); + }); + return retVal; +}; +const de_OpsItemRelatedItemSummary = (output, context) => { + return (0, smithy_client_1.take)(output, { + AssociationId: smithy_client_1.expectString, + AssociationType: smithy_client_1.expectString, + CreatedBy: smithy_client_1._json, + CreatedTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + LastModifiedBy: smithy_client_1._json, + LastModifiedTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + OpsItemId: smithy_client_1.expectString, + ResourceType: smithy_client_1.expectString, + ResourceUri: smithy_client_1.expectString, + }); +}; +const de_OpsItemSummaries = (output, context) => { + const retVal = (output || []) + .filter((e) => e != null) + .map((entry) => { + return de_OpsItemSummary(entry, context); + }); + return retVal; +}; +const de_OpsItemSummary = (output, context) => { + return (0, smithy_client_1.take)(output, { + ActualEndTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + ActualStartTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + Category: smithy_client_1.expectString, + CreatedBy: smithy_client_1.expectString, + CreatedTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + LastModifiedBy: smithy_client_1.expectString, + LastModifiedTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + OperationalData: smithy_client_1._json, + OpsItemId: smithy_client_1.expectString, + OpsItemType: smithy_client_1.expectString, + PlannedEndTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + PlannedStartTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + Priority: smithy_client_1.expectInt32, + Severity: smithy_client_1.expectString, + Source: smithy_client_1.expectString, + Status: smithy_client_1.expectString, + Title: smithy_client_1.expectString, + }); +}; +const de_OpsMetadata = (output, context) => { + return (0, smithy_client_1.take)(output, { + CreationDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + LastModifiedDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + LastModifiedUser: smithy_client_1.expectString, + OpsMetadataArn: smithy_client_1.expectString, + ResourceId: smithy_client_1.expectString, + }); +}; +const de_OpsMetadataList = (output, context) => { + const retVal = (output || []) + .filter((e) => e != null) + .map((entry) => { + return de_OpsMetadata(entry, context); + }); + return retVal; +}; +const de_Parameter = (output, context) => { + return (0, smithy_client_1.take)(output, { + ARN: smithy_client_1.expectString, + DataType: smithy_client_1.expectString, + LastModifiedDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + Name: smithy_client_1.expectString, + Selector: smithy_client_1.expectString, + SourceResult: smithy_client_1.expectString, + Type: smithy_client_1.expectString, + Value: smithy_client_1.expectString, + Version: smithy_client_1.expectLong, + }); +}; +const de_ParameterHistory = (output, context) => { + return (0, smithy_client_1.take)(output, { + AllowedPattern: smithy_client_1.expectString, + DataType: smithy_client_1.expectString, + Description: smithy_client_1.expectString, + KeyId: smithy_client_1.expectString, + Labels: smithy_client_1._json, + LastModifiedDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + LastModifiedUser: smithy_client_1.expectString, + Name: smithy_client_1.expectString, + Policies: smithy_client_1._json, + Tier: smithy_client_1.expectString, + Type: smithy_client_1.expectString, + Value: smithy_client_1.expectString, + Version: smithy_client_1.expectLong, + }); +}; +const de_ParameterHistoryList = (output, context) => { + const retVal = (output || []) + .filter((e) => e != null) + .map((entry) => { + return de_ParameterHistory(entry, context); + }); + return retVal; +}; +const de_ParameterList = (output, context) => { + const retVal = (output || []) + .filter((e) => e != null) + .map((entry) => { + return de_Parameter(entry, context); + }); + return retVal; +}; +const de_ParameterMetadata = (output, context) => { + return (0, smithy_client_1.take)(output, { + AllowedPattern: smithy_client_1.expectString, + DataType: smithy_client_1.expectString, + Description: smithy_client_1.expectString, + KeyId: smithy_client_1.expectString, + LastModifiedDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + LastModifiedUser: smithy_client_1.expectString, + Name: smithy_client_1.expectString, + Policies: smithy_client_1._json, + Tier: smithy_client_1.expectString, + Type: smithy_client_1.expectString, + Version: smithy_client_1.expectLong, + }); +}; +const de_ParameterMetadataList = (output, context) => { + const retVal = (output || []) + .filter((e) => e != null) + .map((entry) => { + return de_ParameterMetadata(entry, context); + }); + return retVal; +}; +const de_Patch = (output, context) => { + return (0, smithy_client_1.take)(output, { + AdvisoryIds: smithy_client_1._json, + Arch: smithy_client_1.expectString, + BugzillaIds: smithy_client_1._json, + CVEIds: smithy_client_1._json, + Classification: smithy_client_1.expectString, + ContentUrl: smithy_client_1.expectString, + Description: smithy_client_1.expectString, + Epoch: smithy_client_1.expectInt32, + Id: smithy_client_1.expectString, + KbNumber: smithy_client_1.expectString, + Language: smithy_client_1.expectString, + MsrcNumber: smithy_client_1.expectString, + MsrcSeverity: smithy_client_1.expectString, + Name: smithy_client_1.expectString, + Product: smithy_client_1.expectString, + ProductFamily: smithy_client_1.expectString, + Release: smithy_client_1.expectString, + ReleaseDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + Repository: smithy_client_1.expectString, + Severity: smithy_client_1.expectString, + Title: smithy_client_1.expectString, + Vendor: smithy_client_1.expectString, + Version: smithy_client_1.expectString, + }); +}; +const de_PatchComplianceData = (output, context) => { + return (0, smithy_client_1.take)(output, { + CVEIds: smithy_client_1.expectString, + Classification: smithy_client_1.expectString, + InstalledTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + KBId: smithy_client_1.expectString, + Severity: smithy_client_1.expectString, + State: smithy_client_1.expectString, + Title: smithy_client_1.expectString, + }); +}; +const de_PatchComplianceDataList = (output, context) => { + const retVal = (output || []) + .filter((e) => e != null) + .map((entry) => { + return de_PatchComplianceData(entry, context); + }); + return retVal; +}; +const de_PatchList = (output, context) => { + const retVal = (output || []) + .filter((e) => e != null) + .map((entry) => { + return de_Patch(entry, context); + }); + return retVal; +}; +const de_PatchStatus = (output, context) => { + return (0, smithy_client_1.take)(output, { + ApprovalDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + ComplianceLevel: smithy_client_1.expectString, + DeploymentStatus: smithy_client_1.expectString, + }); +}; +const de_ResetServiceSettingResult = (output, context) => { + return (0, smithy_client_1.take)(output, { + ServiceSetting: (_) => de_ServiceSetting(_, context), + }); +}; +const de_ResourceComplianceSummaryItem = (output, context) => { + return (0, smithy_client_1.take)(output, { + ComplianceType: smithy_client_1.expectString, + CompliantSummary: smithy_client_1._json, + ExecutionSummary: (_) => de_ComplianceExecutionSummary(_, context), + NonCompliantSummary: smithy_client_1._json, + OverallSeverity: smithy_client_1.expectString, + ResourceId: smithy_client_1.expectString, + ResourceType: smithy_client_1.expectString, + Status: smithy_client_1.expectString, + }); +}; +const de_ResourceComplianceSummaryItemList = (output, context) => { + const retVal = (output || []) + .filter((e) => e != null) + .map((entry) => { + return de_ResourceComplianceSummaryItem(entry, context); + }); + return retVal; +}; +const de_ResourceDataSyncItem = (output, context) => { + return (0, smithy_client_1.take)(output, { + LastStatus: smithy_client_1.expectString, + LastSuccessfulSyncTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + LastSyncStatusMessage: smithy_client_1.expectString, + LastSyncTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + S3Destination: smithy_client_1._json, + SyncCreatedTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + SyncLastModifiedTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + SyncName: smithy_client_1.expectString, + SyncSource: smithy_client_1._json, + SyncType: smithy_client_1.expectString, + }); +}; +const de_ResourceDataSyncItemList = (output, context) => { + const retVal = (output || []) + .filter((e) => e != null) + .map((entry) => { + return de_ResourceDataSyncItem(entry, context); + }); + return retVal; +}; +const de_ReviewInformation = (output, context) => { + return (0, smithy_client_1.take)(output, { + ReviewedTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + Reviewer: smithy_client_1.expectString, + Status: smithy_client_1.expectString, + }); +}; +const de_ReviewInformationList = (output, context) => { + const retVal = (output || []) + .filter((e) => e != null) + .map((entry) => { + return de_ReviewInformation(entry, context); + }); + return retVal; +}; +const de_SendCommandResult = (output, context) => { + return (0, smithy_client_1.take)(output, { + Command: (_) => de_Command(_, context), + }); +}; +const de_ServiceSetting = (output, context) => { + return (0, smithy_client_1.take)(output, { + ARN: smithy_client_1.expectString, + LastModifiedDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + LastModifiedUser: smithy_client_1.expectString, + SettingId: smithy_client_1.expectString, + SettingValue: smithy_client_1.expectString, + Status: smithy_client_1.expectString, + }); +}; +const de_Session = (output, context) => { + return (0, smithy_client_1.take)(output, { + Details: smithy_client_1.expectString, + DocumentName: smithy_client_1.expectString, + EndDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + MaxSessionDuration: smithy_client_1.expectString, + OutputUrl: smithy_client_1._json, + Owner: smithy_client_1.expectString, + Reason: smithy_client_1.expectString, + SessionId: smithy_client_1.expectString, + StartDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + Status: smithy_client_1.expectString, + Target: smithy_client_1.expectString, + }); +}; +const de_SessionList = (output, context) => { + const retVal = (output || []) + .filter((e) => e != null) + .map((entry) => { + return de_Session(entry, context); + }); + return retVal; +}; +const de_StepExecution = (output, context) => { + return (0, smithy_client_1.take)(output, { + Action: smithy_client_1.expectString, + ExecutionEndTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + ExecutionStartTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + FailureDetails: smithy_client_1._json, + FailureMessage: smithy_client_1.expectString, + Inputs: smithy_client_1._json, + IsCritical: smithy_client_1.expectBoolean, + IsEnd: smithy_client_1.expectBoolean, + MaxAttempts: smithy_client_1.expectInt32, + NextStep: smithy_client_1.expectString, + OnFailure: smithy_client_1.expectString, + Outputs: smithy_client_1._json, + OverriddenParameters: smithy_client_1._json, + ParentStepDetails: smithy_client_1._json, + Response: smithy_client_1.expectString, + ResponseCode: smithy_client_1.expectString, + StepExecutionId: smithy_client_1.expectString, + StepName: smithy_client_1.expectString, + StepStatus: smithy_client_1.expectString, + TargetLocation: smithy_client_1._json, + Targets: smithy_client_1._json, + TimeoutSeconds: smithy_client_1.expectLong, + TriggeredAlarms: smithy_client_1._json, + ValidNextSteps: smithy_client_1._json, + }); +}; +const de_StepExecutionList = (output, context) => { + const retVal = (output || []) + .filter((e) => e != null) + .map((entry) => { + return de_StepExecution(entry, context); + }); + return retVal; +}; +const de_UpdateAssociationResult = (output, context) => { + return (0, smithy_client_1.take)(output, { + AssociationDescription: (_) => de_AssociationDescription(_, context), + }); +}; +const de_UpdateAssociationStatusResult = (output, context) => { + return (0, smithy_client_1.take)(output, { + AssociationDescription: (_) => de_AssociationDescription(_, context), + }); +}; +const de_UpdateDocumentResult = (output, context) => { + return (0, smithy_client_1.take)(output, { + DocumentDescription: (_) => de_DocumentDescription(_, context), + }); +}; +const de_UpdateMaintenanceWindowTaskResult = (output, context) => { + return (0, smithy_client_1.take)(output, { + AlarmConfiguration: smithy_client_1._json, + CutoffBehavior: smithy_client_1.expectString, + Description: smithy_client_1.expectString, + LoggingInfo: smithy_client_1._json, + MaxConcurrency: smithy_client_1.expectString, + MaxErrors: smithy_client_1.expectString, + Name: smithy_client_1.expectString, + Priority: smithy_client_1.expectInt32, + ServiceRoleArn: smithy_client_1.expectString, + Targets: smithy_client_1._json, + TaskArn: smithy_client_1.expectString, + TaskInvocationParameters: (_) => de_MaintenanceWindowTaskInvocationParameters(_, context), + TaskParameters: smithy_client_1._json, + WindowId: smithy_client_1.expectString, + WindowTaskId: smithy_client_1.expectString, + }); +}; +const de_UpdatePatchBaselineResult = (output, context) => { + return (0, smithy_client_1.take)(output, { + ApprovalRules: smithy_client_1._json, + ApprovedPatches: smithy_client_1._json, + ApprovedPatchesComplianceLevel: smithy_client_1.expectString, + ApprovedPatchesEnableNonSecurity: smithy_client_1.expectBoolean, + BaselineId: smithy_client_1.expectString, + CreatedDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + Description: smithy_client_1.expectString, + GlobalFilters: smithy_client_1._json, + ModifiedDate: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))), + Name: smithy_client_1.expectString, + OperatingSystem: smithy_client_1.expectString, + RejectedPatches: smithy_client_1._json, + RejectedPatchesAction: smithy_client_1.expectString, + Sources: smithy_client_1._json, + }); +}; +const deserializeMetadata = (output) => ({ + httpStatusCode: output.statusCode, + requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"], + extendedRequestId: output.headers["x-amz-id-2"], + cfId: output.headers["x-amz-cf-id"], +}); +const collectBodyString = (streamBody, context) => (0, smithy_client_1.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)); +const throwDefaultError = (0, smithy_client_1.withBaseException)(SSMServiceException_1.SSMServiceException); +const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => { + const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); + const contents = { + protocol, + hostname, + port, + method: "POST", + path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path, + headers, + }; + if (resolvedHostname !== undefined) { + contents.hostname = resolvedHostname; + } + if (body !== undefined) { + contents.body = body; + } + return new protocol_http_1.HttpRequest(contents); +}; +function sharedHeaders(operation) { + return { + "content-type": "application/x-amz-json-1.1", + "x-amz-target": `AmazonSSM.${operation}`, + }; +} +const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => { + if (encoded.length) { + return JSON.parse(encoded); + } + return {}; +}); +const parseErrorBody = async (errorBody, context) => { + const value = await parseBody(errorBody, context); + value.message = value.message ?? value.Message; + return value; +}; +const loadRestJsonErrorCode = (output, data) => { + const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase()); + const sanitizeErrorCode = (rawValue) => { + let cleanValue = rawValue; + if (typeof cleanValue === "number") { + cleanValue = cleanValue.toString(); + } + if (cleanValue.indexOf(",") >= 0) { + cleanValue = cleanValue.split(",")[0]; + } + if (cleanValue.indexOf(":") >= 0) { + cleanValue = cleanValue.split(":")[0]; + } + if (cleanValue.indexOf("#") >= 0) { + cleanValue = cleanValue.split("#")[1]; + } + return cleanValue; + }; + const headerKey = findKey(output.headers, "x-amzn-errortype"); + if (headerKey !== undefined) { + return sanitizeErrorCode(output.headers[headerKey]); + } + if (data.code !== undefined) { + return sanitizeErrorCode(data.code); + } + if (data["__type"] !== undefined) { + return sanitizeErrorCode(data["__type"]); + } +}; diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/runtimeConfig.browser.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/runtimeConfig.browser.js similarity index 92% rename from node_modules/@aws-sdk/client-lambda/dist-cjs/runtimeConfig.browser.js rename to node_modules/@aws-sdk/client-ssm/dist-cjs/runtimeConfig.browser.js index 5fa16152..1dbf1cc6 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-cjs/runtimeConfig.browser.js +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/runtimeConfig.browser.js @@ -6,7 +6,6 @@ const package_json_1 = tslib_1.__importDefault(require("../package.json")); const sha256_browser_1 = require("@aws-crypto/sha256-browser"); const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser"); const config_resolver_1 = require("@smithy/config-resolver"); -const eventstream_serde_browser_1 = require("@smithy/eventstream-serde-browser"); const fetch_http_handler_1 = require("@smithy/fetch-http-handler"); const invalid_dependency_1 = require("@smithy/invalid-dependency"); const util_body_length_browser_1 = require("@smithy/util-body-length-browser"); @@ -27,7 +26,6 @@ const getRuntimeConfig = (config) => { credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))), defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_browser_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }), - eventStreamSerdeProvider: config?.eventStreamSerdeProvider ?? eventstream_serde_browser_1.eventStreamSerdeProvider, maxAttempts: config?.maxAttempts ?? util_retry_1.DEFAULT_MAX_ATTEMPTS, region: config?.region ?? (0, invalid_dependency_1.invalidProvider)("Region is missing"), requestHandler: config?.requestHandler ?? new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider), diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/runtimeConfig.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/runtimeConfig.js similarity index 94% rename from node_modules/@aws-sdk/client-lambda/dist-cjs/runtimeConfig.js rename to node_modules/@aws-sdk/client-ssm/dist-cjs/runtimeConfig.js index f9d249f1..6cff6353 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-cjs/runtimeConfig.js +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/runtimeConfig.js @@ -8,7 +8,6 @@ const core_1 = require("@aws-sdk/core"); const credential_provider_node_1 = require("@aws-sdk/credential-provider-node"); const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node"); const config_resolver_1 = require("@smithy/config-resolver"); -const eventstream_serde_node_1 = require("@smithy/eventstream-serde-node"); const hash_node_1 = require("@smithy/hash-node"); const middleware_retry_1 = require("@smithy/middleware-retry"); const node_config_provider_1 = require("@smithy/node-config-provider"); @@ -34,7 +33,6 @@ const getRuntimeConfig = (config) => { credentialDefaultProvider: config?.credentialDefaultProvider ?? (0, client_sts_1.decorateDefaultCredentialProvider)(credential_provider_node_1.defaultProvider), defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_node_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }), - eventStreamSerdeProvider: config?.eventStreamSerdeProvider ?? eventstream_serde_node_1.eventStreamSerdeProvider, maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: config?.region ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: config?.requestHandler ?? new node_http_handler_1.NodeHttpHandler(defaultConfigProvider), diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/runtimeConfig.native.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/runtimeConfig.native.js similarity index 100% rename from node_modules/@aws-sdk/client-lambda/dist-cjs/runtimeConfig.native.js rename to node_modules/@aws-sdk/client-ssm/dist-cjs/runtimeConfig.native.js diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/runtimeConfig.shared.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/runtimeConfig.shared.js similarity index 92% rename from node_modules/@aws-sdk/client-lambda/dist-cjs/runtimeConfig.shared.js rename to node_modules/@aws-sdk/client-ssm/dist-cjs/runtimeConfig.shared.js index 1e422a54..af3ab92a 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-cjs/runtimeConfig.shared.js +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/runtimeConfig.shared.js @@ -8,14 +8,14 @@ const util_utf8_1 = require("@smithy/util-utf8"); const endpointResolver_1 = require("./endpoint/endpointResolver"); const getRuntimeConfig = (config) => { return { - apiVersion: "2015-03-31", + apiVersion: "2014-11-06", base64Decoder: config?.base64Decoder ?? util_base64_1.fromBase64, base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64, disableHostPrefix: config?.disableHostPrefix ?? false, endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver, extensions: config?.extensions ?? [], logger: config?.logger ?? new smithy_client_1.NoOpLogger(), - serviceId: config?.serviceId ?? "Lambda", + serviceId: config?.serviceId ?? "SSM", urlParser: config?.urlParser ?? url_parser_1.parseUrl, utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8, utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8, diff --git a/node_modules/@aws-sdk/client-lambda/dist-cjs/runtimeExtensions.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/runtimeExtensions.js similarity index 100% rename from node_modules/@aws-sdk/client-lambda/dist-cjs/runtimeExtensions.js rename to node_modules/@aws-sdk/client-ssm/dist-cjs/runtimeExtensions.js diff --git a/node_modules/@smithy/eventstream-serde-config-resolver/dist-cjs/index.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/waiters/index.js similarity index 64% rename from node_modules/@smithy/eventstream-serde-config-resolver/dist-cjs/index.js rename to node_modules/@aws-sdk/client-ssm/dist-cjs/waiters/index.js index 4da0afbd..13ee2052 100644 --- a/node_modules/@smithy/eventstream-serde-config-resolver/dist-cjs/index.js +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/waiters/index.js @@ -1,4 +1,4 @@ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const tslib_1 = require("tslib"); -tslib_1.__exportStar(require("./EventStreamSerdeConfig"), exports); +tslib_1.__exportStar(require("./waitForCommandExecuted"), exports); diff --git a/node_modules/@aws-sdk/client-ssm/dist-cjs/waiters/waitForCommandExecuted.js b/node_modules/@aws-sdk/client-ssm/dist-cjs/waiters/waitForCommandExecuted.js new file mode 100644 index 00000000..a2e79fda --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-cjs/waiters/waitForCommandExecuted.js @@ -0,0 +1,102 @@ +"use strict"; +Object.defineProperty(exports, "__esModule", { value: true }); +exports.waitUntilCommandExecuted = exports.waitForCommandExecuted = void 0; +const util_waiter_1 = require("@smithy/util-waiter"); +const GetCommandInvocationCommand_1 = require("../commands/GetCommandInvocationCommand"); +const checkState = async (client, input) => { + let reason; + try { + const result = await client.send(new GetCommandInvocationCommand_1.GetCommandInvocationCommand(input)); + reason = result; + try { + const returnComparator = () => { + return result.Status; + }; + if (returnComparator() === "Pending") { + return { state: util_waiter_1.WaiterState.RETRY, reason }; + } + } + catch (e) { } + try { + const returnComparator = () => { + return result.Status; + }; + if (returnComparator() === "InProgress") { + return { state: util_waiter_1.WaiterState.RETRY, reason }; + } + } + catch (e) { } + try { + const returnComparator = () => { + return result.Status; + }; + if (returnComparator() === "Delayed") { + return { state: util_waiter_1.WaiterState.RETRY, reason }; + } + } + catch (e) { } + try { + const returnComparator = () => { + return result.Status; + }; + if (returnComparator() === "Success") { + return { state: util_waiter_1.WaiterState.SUCCESS, reason }; + } + } + catch (e) { } + try { + const returnComparator = () => { + return result.Status; + }; + if (returnComparator() === "Cancelled") { + return { state: util_waiter_1.WaiterState.FAILURE, reason }; + } + } + catch (e) { } + try { + const returnComparator = () => { + return result.Status; + }; + if (returnComparator() === "TimedOut") { + return { state: util_waiter_1.WaiterState.FAILURE, reason }; + } + } + catch (e) { } + try { + const returnComparator = () => { + return result.Status; + }; + if (returnComparator() === "Failed") { + return { state: util_waiter_1.WaiterState.FAILURE, reason }; + } + } + catch (e) { } + try { + const returnComparator = () => { + return result.Status; + }; + if (returnComparator() === "Cancelling") { + return { state: util_waiter_1.WaiterState.FAILURE, reason }; + } + } + catch (e) { } + } + catch (exception) { + reason = exception; + if (exception.name && exception.name == "InvocationDoesNotExist") { + return { state: util_waiter_1.WaiterState.RETRY, reason }; + } + } + return { state: util_waiter_1.WaiterState.RETRY, reason }; +}; +const waitForCommandExecuted = async (params, input) => { + const serviceDefaults = { minDelay: 5, maxDelay: 120 }; + return (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState); +}; +exports.waitForCommandExecuted = waitForCommandExecuted; +const waitUntilCommandExecuted = async (params, input) => { + const serviceDefaults = { minDelay: 5, maxDelay: 120 }; + const result = await (0, util_waiter_1.createWaiter)({ ...serviceDefaults, ...params }, input, checkState); + return (0, util_waiter_1.checkExceptions)(result); +}; +exports.waitUntilCommandExecuted = waitUntilCommandExecuted; diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/SSM.js b/node_modules/@aws-sdk/client-ssm/dist-es/SSM.js new file mode 100644 index 00000000..962d7258 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/SSM.js @@ -0,0 +1,285 @@ +import { createAggregatedClient } from "@smithy/smithy-client"; +import { AddTagsToResourceCommand, } from "./commands/AddTagsToResourceCommand"; +import { AssociateOpsItemRelatedItemCommand, } from "./commands/AssociateOpsItemRelatedItemCommand"; +import { CancelCommandCommand, } from "./commands/CancelCommandCommand"; +import { CancelMaintenanceWindowExecutionCommand, } from "./commands/CancelMaintenanceWindowExecutionCommand"; +import { CreateActivationCommand, } from "./commands/CreateActivationCommand"; +import { CreateAssociationBatchCommand, } from "./commands/CreateAssociationBatchCommand"; +import { CreateAssociationCommand, } from "./commands/CreateAssociationCommand"; +import { CreateDocumentCommand, } from "./commands/CreateDocumentCommand"; +import { CreateMaintenanceWindowCommand, } from "./commands/CreateMaintenanceWindowCommand"; +import { CreateOpsItemCommand, } from "./commands/CreateOpsItemCommand"; +import { CreateOpsMetadataCommand, } from "./commands/CreateOpsMetadataCommand"; +import { CreatePatchBaselineCommand, } from "./commands/CreatePatchBaselineCommand"; +import { CreateResourceDataSyncCommand, } from "./commands/CreateResourceDataSyncCommand"; +import { DeleteActivationCommand, } from "./commands/DeleteActivationCommand"; +import { DeleteAssociationCommand, } from "./commands/DeleteAssociationCommand"; +import { DeleteDocumentCommand, } from "./commands/DeleteDocumentCommand"; +import { DeleteInventoryCommand, } from "./commands/DeleteInventoryCommand"; +import { DeleteMaintenanceWindowCommand, } from "./commands/DeleteMaintenanceWindowCommand"; +import { DeleteOpsItemCommand, } from "./commands/DeleteOpsItemCommand"; +import { DeleteOpsMetadataCommand, } from "./commands/DeleteOpsMetadataCommand"; +import { DeleteParameterCommand, } from "./commands/DeleteParameterCommand"; +import { DeleteParametersCommand, } from "./commands/DeleteParametersCommand"; +import { DeletePatchBaselineCommand, } from "./commands/DeletePatchBaselineCommand"; +import { DeleteResourceDataSyncCommand, } from "./commands/DeleteResourceDataSyncCommand"; +import { DeleteResourcePolicyCommand, } from "./commands/DeleteResourcePolicyCommand"; +import { DeregisterManagedInstanceCommand, } from "./commands/DeregisterManagedInstanceCommand"; +import { DeregisterPatchBaselineForPatchGroupCommand, } from "./commands/DeregisterPatchBaselineForPatchGroupCommand"; +import { DeregisterTargetFromMaintenanceWindowCommand, } from "./commands/DeregisterTargetFromMaintenanceWindowCommand"; +import { DeregisterTaskFromMaintenanceWindowCommand, } from "./commands/DeregisterTaskFromMaintenanceWindowCommand"; +import { DescribeActivationsCommand, } from "./commands/DescribeActivationsCommand"; +import { DescribeAssociationCommand, } from "./commands/DescribeAssociationCommand"; +import { DescribeAssociationExecutionsCommand, } from "./commands/DescribeAssociationExecutionsCommand"; +import { DescribeAssociationExecutionTargetsCommand, } from "./commands/DescribeAssociationExecutionTargetsCommand"; +import { DescribeAutomationExecutionsCommand, } from "./commands/DescribeAutomationExecutionsCommand"; +import { DescribeAutomationStepExecutionsCommand, } from "./commands/DescribeAutomationStepExecutionsCommand"; +import { DescribeAvailablePatchesCommand, } from "./commands/DescribeAvailablePatchesCommand"; +import { DescribeDocumentCommand, } from "./commands/DescribeDocumentCommand"; +import { DescribeDocumentPermissionCommand, } from "./commands/DescribeDocumentPermissionCommand"; +import { DescribeEffectiveInstanceAssociationsCommand, } from "./commands/DescribeEffectiveInstanceAssociationsCommand"; +import { DescribeEffectivePatchesForPatchBaselineCommand, } from "./commands/DescribeEffectivePatchesForPatchBaselineCommand"; +import { DescribeInstanceAssociationsStatusCommand, } from "./commands/DescribeInstanceAssociationsStatusCommand"; +import { DescribeInstanceInformationCommand, } from "./commands/DescribeInstanceInformationCommand"; +import { DescribeInstancePatchesCommand, } from "./commands/DescribeInstancePatchesCommand"; +import { DescribeInstancePatchStatesCommand, } from "./commands/DescribeInstancePatchStatesCommand"; +import { DescribeInstancePatchStatesForPatchGroupCommand, } from "./commands/DescribeInstancePatchStatesForPatchGroupCommand"; +import { DescribeInventoryDeletionsCommand, } from "./commands/DescribeInventoryDeletionsCommand"; +import { DescribeMaintenanceWindowExecutionsCommand, } from "./commands/DescribeMaintenanceWindowExecutionsCommand"; +import { DescribeMaintenanceWindowExecutionTaskInvocationsCommand, } from "./commands/DescribeMaintenanceWindowExecutionTaskInvocationsCommand"; +import { DescribeMaintenanceWindowExecutionTasksCommand, } from "./commands/DescribeMaintenanceWindowExecutionTasksCommand"; +import { DescribeMaintenanceWindowScheduleCommand, } from "./commands/DescribeMaintenanceWindowScheduleCommand"; +import { DescribeMaintenanceWindowsCommand, } from "./commands/DescribeMaintenanceWindowsCommand"; +import { DescribeMaintenanceWindowsForTargetCommand, } from "./commands/DescribeMaintenanceWindowsForTargetCommand"; +import { DescribeMaintenanceWindowTargetsCommand, } from "./commands/DescribeMaintenanceWindowTargetsCommand"; +import { DescribeMaintenanceWindowTasksCommand, } from "./commands/DescribeMaintenanceWindowTasksCommand"; +import { DescribeOpsItemsCommand, } from "./commands/DescribeOpsItemsCommand"; +import { DescribeParametersCommand, } from "./commands/DescribeParametersCommand"; +import { DescribePatchBaselinesCommand, } from "./commands/DescribePatchBaselinesCommand"; +import { DescribePatchGroupsCommand, } from "./commands/DescribePatchGroupsCommand"; +import { DescribePatchGroupStateCommand, } from "./commands/DescribePatchGroupStateCommand"; +import { DescribePatchPropertiesCommand, } from "./commands/DescribePatchPropertiesCommand"; +import { DescribeSessionsCommand, } from "./commands/DescribeSessionsCommand"; +import { DisassociateOpsItemRelatedItemCommand, } from "./commands/DisassociateOpsItemRelatedItemCommand"; +import { GetAutomationExecutionCommand, } from "./commands/GetAutomationExecutionCommand"; +import { GetCalendarStateCommand, } from "./commands/GetCalendarStateCommand"; +import { GetCommandInvocationCommand, } from "./commands/GetCommandInvocationCommand"; +import { GetConnectionStatusCommand, } from "./commands/GetConnectionStatusCommand"; +import { GetDefaultPatchBaselineCommand, } from "./commands/GetDefaultPatchBaselineCommand"; +import { GetDeployablePatchSnapshotForInstanceCommand, } from "./commands/GetDeployablePatchSnapshotForInstanceCommand"; +import { GetDocumentCommand } from "./commands/GetDocumentCommand"; +import { GetInventoryCommand, } from "./commands/GetInventoryCommand"; +import { GetInventorySchemaCommand, } from "./commands/GetInventorySchemaCommand"; +import { GetMaintenanceWindowCommand, } from "./commands/GetMaintenanceWindowCommand"; +import { GetMaintenanceWindowExecutionCommand, } from "./commands/GetMaintenanceWindowExecutionCommand"; +import { GetMaintenanceWindowExecutionTaskCommand, } from "./commands/GetMaintenanceWindowExecutionTaskCommand"; +import { GetMaintenanceWindowExecutionTaskInvocationCommand, } from "./commands/GetMaintenanceWindowExecutionTaskInvocationCommand"; +import { GetMaintenanceWindowTaskCommand, } from "./commands/GetMaintenanceWindowTaskCommand"; +import { GetOpsItemCommand } from "./commands/GetOpsItemCommand"; +import { GetOpsMetadataCommand, } from "./commands/GetOpsMetadataCommand"; +import { GetOpsSummaryCommand, } from "./commands/GetOpsSummaryCommand"; +import { GetParameterCommand, } from "./commands/GetParameterCommand"; +import { GetParameterHistoryCommand, } from "./commands/GetParameterHistoryCommand"; +import { GetParametersByPathCommand, } from "./commands/GetParametersByPathCommand"; +import { GetParametersCommand, } from "./commands/GetParametersCommand"; +import { GetPatchBaselineCommand, } from "./commands/GetPatchBaselineCommand"; +import { GetPatchBaselineForPatchGroupCommand, } from "./commands/GetPatchBaselineForPatchGroupCommand"; +import { GetResourcePoliciesCommand, } from "./commands/GetResourcePoliciesCommand"; +import { GetServiceSettingCommand, } from "./commands/GetServiceSettingCommand"; +import { LabelParameterVersionCommand, } from "./commands/LabelParameterVersionCommand"; +import { ListAssociationsCommand, } from "./commands/ListAssociationsCommand"; +import { ListAssociationVersionsCommand, } from "./commands/ListAssociationVersionsCommand"; +import { ListCommandInvocationsCommand, } from "./commands/ListCommandInvocationsCommand"; +import { ListCommandsCommand, } from "./commands/ListCommandsCommand"; +import { ListComplianceItemsCommand, } from "./commands/ListComplianceItemsCommand"; +import { ListComplianceSummariesCommand, } from "./commands/ListComplianceSummariesCommand"; +import { ListDocumentMetadataHistoryCommand, } from "./commands/ListDocumentMetadataHistoryCommand"; +import { ListDocumentsCommand, } from "./commands/ListDocumentsCommand"; +import { ListDocumentVersionsCommand, } from "./commands/ListDocumentVersionsCommand"; +import { ListInventoryEntriesCommand, } from "./commands/ListInventoryEntriesCommand"; +import { ListOpsItemEventsCommand, } from "./commands/ListOpsItemEventsCommand"; +import { ListOpsItemRelatedItemsCommand, } from "./commands/ListOpsItemRelatedItemsCommand"; +import { ListOpsMetadataCommand, } from "./commands/ListOpsMetadataCommand"; +import { ListResourceComplianceSummariesCommand, } from "./commands/ListResourceComplianceSummariesCommand"; +import { ListResourceDataSyncCommand, } from "./commands/ListResourceDataSyncCommand"; +import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand"; +import { ModifyDocumentPermissionCommand, } from "./commands/ModifyDocumentPermissionCommand"; +import { PutComplianceItemsCommand, } from "./commands/PutComplianceItemsCommand"; +import { PutInventoryCommand, } from "./commands/PutInventoryCommand"; +import { PutParameterCommand, } from "./commands/PutParameterCommand"; +import { PutResourcePolicyCommand, } from "./commands/PutResourcePolicyCommand"; +import { RegisterDefaultPatchBaselineCommand, } from "./commands/RegisterDefaultPatchBaselineCommand"; +import { RegisterPatchBaselineForPatchGroupCommand, } from "./commands/RegisterPatchBaselineForPatchGroupCommand"; +import { RegisterTargetWithMaintenanceWindowCommand, } from "./commands/RegisterTargetWithMaintenanceWindowCommand"; +import { RegisterTaskWithMaintenanceWindowCommand, } from "./commands/RegisterTaskWithMaintenanceWindowCommand"; +import { RemoveTagsFromResourceCommand, } from "./commands/RemoveTagsFromResourceCommand"; +import { ResetServiceSettingCommand, } from "./commands/ResetServiceSettingCommand"; +import { ResumeSessionCommand, } from "./commands/ResumeSessionCommand"; +import { SendAutomationSignalCommand, } from "./commands/SendAutomationSignalCommand"; +import { SendCommandCommand } from "./commands/SendCommandCommand"; +import { StartAssociationsOnceCommand, } from "./commands/StartAssociationsOnceCommand"; +import { StartAutomationExecutionCommand, } from "./commands/StartAutomationExecutionCommand"; +import { StartChangeRequestExecutionCommand, } from "./commands/StartChangeRequestExecutionCommand"; +import { StartSessionCommand, } from "./commands/StartSessionCommand"; +import { StopAutomationExecutionCommand, } from "./commands/StopAutomationExecutionCommand"; +import { TerminateSessionCommand, } from "./commands/TerminateSessionCommand"; +import { UnlabelParameterVersionCommand, } from "./commands/UnlabelParameterVersionCommand"; +import { UpdateAssociationCommand, } from "./commands/UpdateAssociationCommand"; +import { UpdateAssociationStatusCommand, } from "./commands/UpdateAssociationStatusCommand"; +import { UpdateDocumentCommand, } from "./commands/UpdateDocumentCommand"; +import { UpdateDocumentDefaultVersionCommand, } from "./commands/UpdateDocumentDefaultVersionCommand"; +import { UpdateDocumentMetadataCommand, } from "./commands/UpdateDocumentMetadataCommand"; +import { UpdateMaintenanceWindowCommand, } from "./commands/UpdateMaintenanceWindowCommand"; +import { UpdateMaintenanceWindowTargetCommand, } from "./commands/UpdateMaintenanceWindowTargetCommand"; +import { UpdateMaintenanceWindowTaskCommand, } from "./commands/UpdateMaintenanceWindowTaskCommand"; +import { UpdateManagedInstanceRoleCommand, } from "./commands/UpdateManagedInstanceRoleCommand"; +import { UpdateOpsItemCommand, } from "./commands/UpdateOpsItemCommand"; +import { UpdateOpsMetadataCommand, } from "./commands/UpdateOpsMetadataCommand"; +import { UpdatePatchBaselineCommand, } from "./commands/UpdatePatchBaselineCommand"; +import { UpdateResourceDataSyncCommand, } from "./commands/UpdateResourceDataSyncCommand"; +import { UpdateServiceSettingCommand, } from "./commands/UpdateServiceSettingCommand"; +import { SSMClient } from "./SSMClient"; +const commands = { + AddTagsToResourceCommand, + AssociateOpsItemRelatedItemCommand, + CancelCommandCommand, + CancelMaintenanceWindowExecutionCommand, + CreateActivationCommand, + CreateAssociationCommand, + CreateAssociationBatchCommand, + CreateDocumentCommand, + CreateMaintenanceWindowCommand, + CreateOpsItemCommand, + CreateOpsMetadataCommand, + CreatePatchBaselineCommand, + CreateResourceDataSyncCommand, + DeleteActivationCommand, + DeleteAssociationCommand, + DeleteDocumentCommand, + DeleteInventoryCommand, + DeleteMaintenanceWindowCommand, + DeleteOpsItemCommand, + DeleteOpsMetadataCommand, + DeleteParameterCommand, + DeleteParametersCommand, + DeletePatchBaselineCommand, + DeleteResourceDataSyncCommand, + DeleteResourcePolicyCommand, + DeregisterManagedInstanceCommand, + DeregisterPatchBaselineForPatchGroupCommand, + DeregisterTargetFromMaintenanceWindowCommand, + DeregisterTaskFromMaintenanceWindowCommand, + DescribeActivationsCommand, + DescribeAssociationCommand, + DescribeAssociationExecutionsCommand, + DescribeAssociationExecutionTargetsCommand, + DescribeAutomationExecutionsCommand, + DescribeAutomationStepExecutionsCommand, + DescribeAvailablePatchesCommand, + DescribeDocumentCommand, + DescribeDocumentPermissionCommand, + DescribeEffectiveInstanceAssociationsCommand, + DescribeEffectivePatchesForPatchBaselineCommand, + DescribeInstanceAssociationsStatusCommand, + DescribeInstanceInformationCommand, + DescribeInstancePatchesCommand, + DescribeInstancePatchStatesCommand, + DescribeInstancePatchStatesForPatchGroupCommand, + DescribeInventoryDeletionsCommand, + DescribeMaintenanceWindowExecutionsCommand, + DescribeMaintenanceWindowExecutionTaskInvocationsCommand, + DescribeMaintenanceWindowExecutionTasksCommand, + DescribeMaintenanceWindowsCommand, + DescribeMaintenanceWindowScheduleCommand, + DescribeMaintenanceWindowsForTargetCommand, + DescribeMaintenanceWindowTargetsCommand, + DescribeMaintenanceWindowTasksCommand, + DescribeOpsItemsCommand, + DescribeParametersCommand, + DescribePatchBaselinesCommand, + DescribePatchGroupsCommand, + DescribePatchGroupStateCommand, + DescribePatchPropertiesCommand, + DescribeSessionsCommand, + DisassociateOpsItemRelatedItemCommand, + GetAutomationExecutionCommand, + GetCalendarStateCommand, + GetCommandInvocationCommand, + GetConnectionStatusCommand, + GetDefaultPatchBaselineCommand, + GetDeployablePatchSnapshotForInstanceCommand, + GetDocumentCommand, + GetInventoryCommand, + GetInventorySchemaCommand, + GetMaintenanceWindowCommand, + GetMaintenanceWindowExecutionCommand, + GetMaintenanceWindowExecutionTaskCommand, + GetMaintenanceWindowExecutionTaskInvocationCommand, + GetMaintenanceWindowTaskCommand, + GetOpsItemCommand, + GetOpsMetadataCommand, + GetOpsSummaryCommand, + GetParameterCommand, + GetParameterHistoryCommand, + GetParametersCommand, + GetParametersByPathCommand, + GetPatchBaselineCommand, + GetPatchBaselineForPatchGroupCommand, + GetResourcePoliciesCommand, + GetServiceSettingCommand, + LabelParameterVersionCommand, + ListAssociationsCommand, + ListAssociationVersionsCommand, + ListCommandInvocationsCommand, + ListCommandsCommand, + ListComplianceItemsCommand, + ListComplianceSummariesCommand, + ListDocumentMetadataHistoryCommand, + ListDocumentsCommand, + ListDocumentVersionsCommand, + ListInventoryEntriesCommand, + ListOpsItemEventsCommand, + ListOpsItemRelatedItemsCommand, + ListOpsMetadataCommand, + ListResourceComplianceSummariesCommand, + ListResourceDataSyncCommand, + ListTagsForResourceCommand, + ModifyDocumentPermissionCommand, + PutComplianceItemsCommand, + PutInventoryCommand, + PutParameterCommand, + PutResourcePolicyCommand, + RegisterDefaultPatchBaselineCommand, + RegisterPatchBaselineForPatchGroupCommand, + RegisterTargetWithMaintenanceWindowCommand, + RegisterTaskWithMaintenanceWindowCommand, + RemoveTagsFromResourceCommand, + ResetServiceSettingCommand, + ResumeSessionCommand, + SendAutomationSignalCommand, + SendCommandCommand, + StartAssociationsOnceCommand, + StartAutomationExecutionCommand, + StartChangeRequestExecutionCommand, + StartSessionCommand, + StopAutomationExecutionCommand, + TerminateSessionCommand, + UnlabelParameterVersionCommand, + UpdateAssociationCommand, + UpdateAssociationStatusCommand, + UpdateDocumentCommand, + UpdateDocumentDefaultVersionCommand, + UpdateDocumentMetadataCommand, + UpdateMaintenanceWindowCommand, + UpdateMaintenanceWindowTargetCommand, + UpdateMaintenanceWindowTaskCommand, + UpdateManagedInstanceRoleCommand, + UpdateOpsItemCommand, + UpdateOpsMetadataCommand, + UpdatePatchBaselineCommand, + UpdateResourceDataSyncCommand, + UpdateServiceSettingCommand, +}; +export class SSM extends SSMClient { +} +createAggregatedClient(commands, SSM); diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/LambdaClient.js b/node_modules/@aws-sdk/client-ssm/dist-es/SSMClient.js similarity index 86% rename from node_modules/@aws-sdk/client-lambda/dist-es/LambdaClient.js rename to node_modules/@aws-sdk/client-ssm/dist-es/SSMClient.js index be22a519..ecffc5a7 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-es/LambdaClient.js +++ b/node_modules/@aws-sdk/client-ssm/dist-es/SSMClient.js @@ -4,7 +4,6 @@ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detec import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-signing"; import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent"; import { resolveRegionConfig } from "@smithy/config-resolver"; -import { resolveEventStreamSerdeConfig, } from "@smithy/eventstream-serde-config-resolver"; import { getContentLengthPlugin } from "@smithy/middleware-content-length"; import { resolveEndpointConfig } from "@smithy/middleware-endpoint"; import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry"; @@ -13,7 +12,7 @@ import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters" import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig"; import { resolveRuntimeExtensions } from "./runtimeExtensions"; export { __Client }; -export class LambdaClient extends __Client { +export class SSMClient extends __Client { constructor(...[configuration]) { const _config_0 = __getRuntimeConfig(configuration || {}); const _config_1 = resolveClientEndpointParameters(_config_0); @@ -23,10 +22,9 @@ export class LambdaClient extends __Client { const _config_5 = resolveHostHeaderConfig(_config_4); const _config_6 = resolveAwsAuthConfig(_config_5); const _config_7 = resolveUserAgentConfig(_config_6); - const _config_8 = resolveEventStreamSerdeConfig(_config_7); - const _config_9 = resolveRuntimeExtensions(_config_8, configuration?.extensions || []); - super(_config_9); - this.config = _config_9; + const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []); + super(_config_8); + this.config = _config_8; this.middlewareStack.use(getRetryPlugin(this.config)); this.middlewareStack.use(getContentLengthPlugin(this.config)); this.middlewareStack.use(getHostHeaderPlugin(this.config)); diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/commands/AddTagsToResourceCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/AddTagsToResourceCommand.js new file mode 100644 index 00000000..5b621694 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/AddTagsToResourceCommand.js @@ -0,0 +1,47 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; +import { de_AddTagsToResourceCommand, se_AddTagsToResourceCommand } from "../protocols/Aws_json1_1"; +export { $Command }; +export class AddTagsToResourceCommand extends $Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getEndpointPlugin(configuration, AddTagsToResourceCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "AddTagsToResourceCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "AddTagsToResource", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_AddTagsToResourceCommand(input, context); + } + deserialize(output, context) { + return de_AddTagsToResourceCommand(output, context); + } +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/commands/AssociateOpsItemRelatedItemCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/AssociateOpsItemRelatedItemCommand.js new file mode 100644 index 00000000..82297ab3 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/AssociateOpsItemRelatedItemCommand.js @@ -0,0 +1,47 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; +import { de_AssociateOpsItemRelatedItemCommand, se_AssociateOpsItemRelatedItemCommand } from "../protocols/Aws_json1_1"; +export { $Command }; +export class AssociateOpsItemRelatedItemCommand extends $Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getEndpointPlugin(configuration, AssociateOpsItemRelatedItemCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "AssociateOpsItemRelatedItemCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "AssociateOpsItemRelatedItem", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_AssociateOpsItemRelatedItemCommand(input, context); + } + deserialize(output, context) { + return de_AssociateOpsItemRelatedItemCommand(output, context); + } +} diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/commands/DeleteAliasCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/CancelCommandCommand.js similarity index 75% rename from node_modules/@aws-sdk/client-lambda/dist-es/commands/DeleteAliasCommand.js rename to node_modules/@aws-sdk/client-ssm/dist-es/commands/CancelCommandCommand.js index 752ccd12..360edd9d 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-es/commands/DeleteAliasCommand.js +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/CancelCommandCommand.js @@ -2,9 +2,9 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint"; import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; -import { de_DeleteAliasCommand, se_DeleteAliasCommand } from "../protocols/Aws_restJson1"; +import { de_CancelCommandCommand, se_CancelCommandCommand } from "../protocols/Aws_json1_1"; export { $Command }; -export class DeleteAliasCommand extends $Command { +export class CancelCommandCommand extends $Command { static getEndpointParameterInstructions() { return { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, @@ -19,11 +19,11 @@ export class DeleteAliasCommand extends $Command { } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getEndpointPlugin(configuration, DeleteAliasCommand.getEndpointParameterInstructions())); + this.middlewareStack.use(getEndpointPlugin(configuration, CancelCommandCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "DeleteAliasCommand"; + const clientName = "SSMClient"; + const commandName = "CancelCommandCommand"; const handlerExecutionContext = { logger, clientName, @@ -31,17 +31,17 @@ export class DeleteAliasCommand extends $Command { inputFilterSensitiveLog: (_) => _, outputFilterSensitiveLog: (_) => _, [SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "DeleteAlias", + service: "AmazonSSM", + operation: "CancelCommand", }, }; const { requestHandler } = configuration; return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return se_DeleteAliasCommand(input, context); + return se_CancelCommandCommand(input, context); } deserialize(output, context) { - return de_DeleteAliasCommand(output, context); + return de_CancelCommandCommand(output, context); } } diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/commands/ListFunctionsByCodeSigningConfigCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/CancelMaintenanceWindowExecutionCommand.js similarity index 72% rename from node_modules/@aws-sdk/client-lambda/dist-es/commands/ListFunctionsByCodeSigningConfigCommand.js rename to node_modules/@aws-sdk/client-ssm/dist-es/commands/CancelMaintenanceWindowExecutionCommand.js index abf11bf7..a1cfc566 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-es/commands/ListFunctionsByCodeSigningConfigCommand.js +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/CancelMaintenanceWindowExecutionCommand.js @@ -2,9 +2,9 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint"; import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; -import { de_ListFunctionsByCodeSigningConfigCommand, se_ListFunctionsByCodeSigningConfigCommand, } from "../protocols/Aws_restJson1"; +import { de_CancelMaintenanceWindowExecutionCommand, se_CancelMaintenanceWindowExecutionCommand, } from "../protocols/Aws_json1_1"; export { $Command }; -export class ListFunctionsByCodeSigningConfigCommand extends $Command { +export class CancelMaintenanceWindowExecutionCommand extends $Command { static getEndpointParameterInstructions() { return { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, @@ -19,11 +19,11 @@ export class ListFunctionsByCodeSigningConfigCommand extends $Command { } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getEndpointPlugin(configuration, ListFunctionsByCodeSigningConfigCommand.getEndpointParameterInstructions())); + this.middlewareStack.use(getEndpointPlugin(configuration, CancelMaintenanceWindowExecutionCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "ListFunctionsByCodeSigningConfigCommand"; + const clientName = "SSMClient"; + const commandName = "CancelMaintenanceWindowExecutionCommand"; const handlerExecutionContext = { logger, clientName, @@ -31,17 +31,17 @@ export class ListFunctionsByCodeSigningConfigCommand extends $Command { inputFilterSensitiveLog: (_) => _, outputFilterSensitiveLog: (_) => _, [SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "ListFunctionsByCodeSigningConfig", + service: "AmazonSSM", + operation: "CancelMaintenanceWindowExecution", }, }; const { requestHandler } = configuration; return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return se_ListFunctionsByCodeSigningConfigCommand(input, context); + return se_CancelMaintenanceWindowExecutionCommand(input, context); } deserialize(output, context) { - return de_ListFunctionsByCodeSigningConfigCommand(output, context); + return de_CancelMaintenanceWindowExecutionCommand(output, context); } } diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/commands/DeleteFunctionCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/CreateActivationCommand.js similarity index 75% rename from node_modules/@aws-sdk/client-lambda/dist-es/commands/DeleteFunctionCommand.js rename to node_modules/@aws-sdk/client-ssm/dist-es/commands/CreateActivationCommand.js index 64008ea0..4cac918b 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-es/commands/DeleteFunctionCommand.js +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/CreateActivationCommand.js @@ -2,9 +2,9 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint"; import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; -import { de_DeleteFunctionCommand, se_DeleteFunctionCommand } from "../protocols/Aws_restJson1"; +import { de_CreateActivationCommand, se_CreateActivationCommand } from "../protocols/Aws_json1_1"; export { $Command }; -export class DeleteFunctionCommand extends $Command { +export class CreateActivationCommand extends $Command { static getEndpointParameterInstructions() { return { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, @@ -19,11 +19,11 @@ export class DeleteFunctionCommand extends $Command { } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getEndpointPlugin(configuration, DeleteFunctionCommand.getEndpointParameterInstructions())); + this.middlewareStack.use(getEndpointPlugin(configuration, CreateActivationCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "DeleteFunctionCommand"; + const clientName = "SSMClient"; + const commandName = "CreateActivationCommand"; const handlerExecutionContext = { logger, clientName, @@ -31,17 +31,17 @@ export class DeleteFunctionCommand extends $Command { inputFilterSensitiveLog: (_) => _, outputFilterSensitiveLog: (_) => _, [SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "DeleteFunction", + service: "AmazonSSM", + operation: "CreateActivation", }, }; const { requestHandler } = configuration; return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return se_DeleteFunctionCommand(input, context); + return se_CreateActivationCommand(input, context); } deserialize(output, context) { - return de_DeleteFunctionCommand(output, context); + return de_CreateActivationCommand(output, context); } } diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/commands/GetFunctionConcurrencyCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/CreateAssociationBatchCommand.js similarity index 63% rename from node_modules/@aws-sdk/client-lambda/dist-es/commands/GetFunctionConcurrencyCommand.js rename to node_modules/@aws-sdk/client-ssm/dist-es/commands/CreateAssociationBatchCommand.js index 7e462a67..ce5baa88 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-es/commands/GetFunctionConcurrencyCommand.js +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/CreateAssociationBatchCommand.js @@ -2,9 +2,10 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint"; import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; -import { de_GetFunctionConcurrencyCommand, se_GetFunctionConcurrencyCommand } from "../protocols/Aws_restJson1"; +import { CreateAssociationBatchRequestFilterSensitiveLog, CreateAssociationBatchResultFilterSensitiveLog, } from "../models/models_0"; +import { de_CreateAssociationBatchCommand, se_CreateAssociationBatchCommand } from "../protocols/Aws_json1_1"; export { $Command }; -export class GetFunctionConcurrencyCommand extends $Command { +export class CreateAssociationBatchCommand extends $Command { static getEndpointParameterInstructions() { return { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, @@ -19,29 +20,29 @@ export class GetFunctionConcurrencyCommand extends $Command { } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getEndpointPlugin(configuration, GetFunctionConcurrencyCommand.getEndpointParameterInstructions())); + this.middlewareStack.use(getEndpointPlugin(configuration, CreateAssociationBatchCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "GetFunctionConcurrencyCommand"; + const clientName = "SSMClient"; + const commandName = "CreateAssociationBatchCommand"; const handlerExecutionContext = { logger, clientName, commandName, - inputFilterSensitiveLog: (_) => _, - outputFilterSensitiveLog: (_) => _, + inputFilterSensitiveLog: CreateAssociationBatchRequestFilterSensitiveLog, + outputFilterSensitiveLog: CreateAssociationBatchResultFilterSensitiveLog, [SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "GetFunctionConcurrency", + service: "AmazonSSM", + operation: "CreateAssociationBatch", }, }; const { requestHandler } = configuration; return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return se_GetFunctionConcurrencyCommand(input, context); + return se_CreateAssociationBatchCommand(input, context); } deserialize(output, context) { - return de_GetFunctionConcurrencyCommand(output, context); + return de_CreateAssociationBatchCommand(output, context); } } diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/commands/CreateAssociationCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/CreateAssociationCommand.js new file mode 100644 index 00000000..c4380418 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/CreateAssociationCommand.js @@ -0,0 +1,48 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; +import { CreateAssociationRequestFilterSensitiveLog, CreateAssociationResultFilterSensitiveLog, } from "../models/models_0"; +import { de_CreateAssociationCommand, se_CreateAssociationCommand } from "../protocols/Aws_json1_1"; +export { $Command }; +export class CreateAssociationCommand extends $Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getEndpointPlugin(configuration, CreateAssociationCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "CreateAssociationCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: CreateAssociationRequestFilterSensitiveLog, + outputFilterSensitiveLog: CreateAssociationResultFilterSensitiveLog, + [SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "CreateAssociation", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_CreateAssociationCommand(input, context); + } + deserialize(output, context) { + return de_CreateAssociationCommand(output, context); + } +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/commands/CreateDocumentCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/CreateDocumentCommand.js new file mode 100644 index 00000000..66c5b92e --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/CreateDocumentCommand.js @@ -0,0 +1,47 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; +import { de_CreateDocumentCommand, se_CreateDocumentCommand } from "../protocols/Aws_json1_1"; +export { $Command }; +export class CreateDocumentCommand extends $Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getEndpointPlugin(configuration, CreateDocumentCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "CreateDocumentCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "CreateDocument", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_CreateDocumentCommand(input, context); + } + deserialize(output, context) { + return de_CreateDocumentCommand(output, context); + } +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/commands/CreateMaintenanceWindowCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/CreateMaintenanceWindowCommand.js new file mode 100644 index 00000000..265cb65a --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/CreateMaintenanceWindowCommand.js @@ -0,0 +1,48 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; +import { CreateMaintenanceWindowRequestFilterSensitiveLog, } from "../models/models_0"; +import { de_CreateMaintenanceWindowCommand, se_CreateMaintenanceWindowCommand } from "../protocols/Aws_json1_1"; +export { $Command }; +export class CreateMaintenanceWindowCommand extends $Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getEndpointPlugin(configuration, CreateMaintenanceWindowCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "CreateMaintenanceWindowCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: CreateMaintenanceWindowRequestFilterSensitiveLog, + outputFilterSensitiveLog: (_) => _, + [SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "CreateMaintenanceWindow", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_CreateMaintenanceWindowCommand(input, context); + } + deserialize(output, context) { + return de_CreateMaintenanceWindowCommand(output, context); + } +} diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/commands/CreateAliasCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/CreateOpsItemCommand.js similarity index 75% rename from node_modules/@aws-sdk/client-lambda/dist-es/commands/CreateAliasCommand.js rename to node_modules/@aws-sdk/client-ssm/dist-es/commands/CreateOpsItemCommand.js index fa197c93..75be83c4 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-es/commands/CreateAliasCommand.js +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/CreateOpsItemCommand.js @@ -2,9 +2,9 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint"; import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; -import { de_CreateAliasCommand, se_CreateAliasCommand } from "../protocols/Aws_restJson1"; +import { de_CreateOpsItemCommand, se_CreateOpsItemCommand } from "../protocols/Aws_json1_1"; export { $Command }; -export class CreateAliasCommand extends $Command { +export class CreateOpsItemCommand extends $Command { static getEndpointParameterInstructions() { return { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, @@ -19,11 +19,11 @@ export class CreateAliasCommand extends $Command { } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getEndpointPlugin(configuration, CreateAliasCommand.getEndpointParameterInstructions())); + this.middlewareStack.use(getEndpointPlugin(configuration, CreateOpsItemCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "CreateAliasCommand"; + const clientName = "SSMClient"; + const commandName = "CreateOpsItemCommand"; const handlerExecutionContext = { logger, clientName, @@ -31,17 +31,17 @@ export class CreateAliasCommand extends $Command { inputFilterSensitiveLog: (_) => _, outputFilterSensitiveLog: (_) => _, [SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "CreateAlias", + service: "AmazonSSM", + operation: "CreateOpsItem", }, }; const { requestHandler } = configuration; return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return se_CreateAliasCommand(input, context); + return se_CreateOpsItemCommand(input, context); } deserialize(output, context) { - return de_CreateAliasCommand(output, context); + return de_CreateOpsItemCommand(output, context); } } diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/commands/CreateOpsMetadataCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/CreateOpsMetadataCommand.js new file mode 100644 index 00000000..28d5b438 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/CreateOpsMetadataCommand.js @@ -0,0 +1,47 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; +import { de_CreateOpsMetadataCommand, se_CreateOpsMetadataCommand } from "../protocols/Aws_json1_1"; +export { $Command }; +export class CreateOpsMetadataCommand extends $Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getEndpointPlugin(configuration, CreateOpsMetadataCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "CreateOpsMetadataCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "CreateOpsMetadata", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_CreateOpsMetadataCommand(input, context); + } + deserialize(output, context) { + return de_CreateOpsMetadataCommand(output, context); + } +} diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/commands/PublishLayerVersionCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/CreatePatchBaselineCommand.js similarity index 69% rename from node_modules/@aws-sdk/client-lambda/dist-es/commands/PublishLayerVersionCommand.js rename to node_modules/@aws-sdk/client-ssm/dist-es/commands/CreatePatchBaselineCommand.js index 293d9bef..1999cef0 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-es/commands/PublishLayerVersionCommand.js +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/CreatePatchBaselineCommand.js @@ -2,10 +2,10 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint"; import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; -import { PublishLayerVersionRequestFilterSensitiveLog, } from "../models/models_0"; -import { de_PublishLayerVersionCommand, se_PublishLayerVersionCommand } from "../protocols/Aws_restJson1"; +import { CreatePatchBaselineRequestFilterSensitiveLog, } from "../models/models_0"; +import { de_CreatePatchBaselineCommand, se_CreatePatchBaselineCommand } from "../protocols/Aws_json1_1"; export { $Command }; -export class PublishLayerVersionCommand extends $Command { +export class CreatePatchBaselineCommand extends $Command { static getEndpointParameterInstructions() { return { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, @@ -20,29 +20,29 @@ export class PublishLayerVersionCommand extends $Command { } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getEndpointPlugin(configuration, PublishLayerVersionCommand.getEndpointParameterInstructions())); + this.middlewareStack.use(getEndpointPlugin(configuration, CreatePatchBaselineCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "PublishLayerVersionCommand"; + const clientName = "SSMClient"; + const commandName = "CreatePatchBaselineCommand"; const handlerExecutionContext = { logger, clientName, commandName, - inputFilterSensitiveLog: PublishLayerVersionRequestFilterSensitiveLog, + inputFilterSensitiveLog: CreatePatchBaselineRequestFilterSensitiveLog, outputFilterSensitiveLog: (_) => _, [SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "PublishLayerVersion", + service: "AmazonSSM", + operation: "CreatePatchBaseline", }, }; const { requestHandler } = configuration; return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return se_PublishLayerVersionCommand(input, context); + return se_CreatePatchBaselineCommand(input, context); } deserialize(output, context) { - return de_PublishLayerVersionCommand(output, context); + return de_CreatePatchBaselineCommand(output, context); } } diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/commands/DeleteLayerVersionCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/CreateResourceDataSyncCommand.js similarity index 73% rename from node_modules/@aws-sdk/client-lambda/dist-es/commands/DeleteLayerVersionCommand.js rename to node_modules/@aws-sdk/client-ssm/dist-es/commands/CreateResourceDataSyncCommand.js index 5b2a158d..a8bc766f 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-es/commands/DeleteLayerVersionCommand.js +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/CreateResourceDataSyncCommand.js @@ -2,9 +2,9 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint"; import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; -import { de_DeleteLayerVersionCommand, se_DeleteLayerVersionCommand } from "../protocols/Aws_restJson1"; +import { de_CreateResourceDataSyncCommand, se_CreateResourceDataSyncCommand } from "../protocols/Aws_json1_1"; export { $Command }; -export class DeleteLayerVersionCommand extends $Command { +export class CreateResourceDataSyncCommand extends $Command { static getEndpointParameterInstructions() { return { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, @@ -19,11 +19,11 @@ export class DeleteLayerVersionCommand extends $Command { } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getEndpointPlugin(configuration, DeleteLayerVersionCommand.getEndpointParameterInstructions())); + this.middlewareStack.use(getEndpointPlugin(configuration, CreateResourceDataSyncCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "DeleteLayerVersionCommand"; + const clientName = "SSMClient"; + const commandName = "CreateResourceDataSyncCommand"; const handlerExecutionContext = { logger, clientName, @@ -31,17 +31,17 @@ export class DeleteLayerVersionCommand extends $Command { inputFilterSensitiveLog: (_) => _, outputFilterSensitiveLog: (_) => _, [SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "DeleteLayerVersion", + service: "AmazonSSM", + operation: "CreateResourceDataSync", }, }; const { requestHandler } = configuration; return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return se_DeleteLayerVersionCommand(input, context); + return se_CreateResourceDataSyncCommand(input, context); } deserialize(output, context) { - return de_DeleteLayerVersionCommand(output, context); + return de_CreateResourceDataSyncCommand(output, context); } } diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/commands/DeleteActivationCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/DeleteActivationCommand.js new file mode 100644 index 00000000..f4125125 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/DeleteActivationCommand.js @@ -0,0 +1,47 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; +import { de_DeleteActivationCommand, se_DeleteActivationCommand } from "../protocols/Aws_json1_1"; +export { $Command }; +export class DeleteActivationCommand extends $Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getEndpointPlugin(configuration, DeleteActivationCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "DeleteActivationCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "DeleteActivation", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_DeleteActivationCommand(input, context); + } + deserialize(output, context) { + return de_DeleteActivationCommand(output, context); + } +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/commands/DeleteAssociationCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/DeleteAssociationCommand.js new file mode 100644 index 00000000..a4702a84 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/DeleteAssociationCommand.js @@ -0,0 +1,47 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; +import { de_DeleteAssociationCommand, se_DeleteAssociationCommand } from "../protocols/Aws_json1_1"; +export { $Command }; +export class DeleteAssociationCommand extends $Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getEndpointPlugin(configuration, DeleteAssociationCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "DeleteAssociationCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "DeleteAssociation", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_DeleteAssociationCommand(input, context); + } + deserialize(output, context) { + return de_DeleteAssociationCommand(output, context); + } +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/commands/DeleteDocumentCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/DeleteDocumentCommand.js new file mode 100644 index 00000000..6ebbcd82 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/DeleteDocumentCommand.js @@ -0,0 +1,47 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; +import { de_DeleteDocumentCommand, se_DeleteDocumentCommand } from "../protocols/Aws_json1_1"; +export { $Command }; +export class DeleteDocumentCommand extends $Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getEndpointPlugin(configuration, DeleteDocumentCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "DeleteDocumentCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "DeleteDocument", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_DeleteDocumentCommand(input, context); + } + deserialize(output, context) { + return de_DeleteDocumentCommand(output, context); + } +} diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/commands/AddPermissionCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/DeleteInventoryCommand.js similarity index 75% rename from node_modules/@aws-sdk/client-lambda/dist-es/commands/AddPermissionCommand.js rename to node_modules/@aws-sdk/client-ssm/dist-es/commands/DeleteInventoryCommand.js index c6871114..df16b629 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-es/commands/AddPermissionCommand.js +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/DeleteInventoryCommand.js @@ -2,9 +2,9 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint"; import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; -import { de_AddPermissionCommand, se_AddPermissionCommand } from "../protocols/Aws_restJson1"; +import { de_DeleteInventoryCommand, se_DeleteInventoryCommand } from "../protocols/Aws_json1_1"; export { $Command }; -export class AddPermissionCommand extends $Command { +export class DeleteInventoryCommand extends $Command { static getEndpointParameterInstructions() { return { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, @@ -19,11 +19,11 @@ export class AddPermissionCommand extends $Command { } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getEndpointPlugin(configuration, AddPermissionCommand.getEndpointParameterInstructions())); + this.middlewareStack.use(getEndpointPlugin(configuration, DeleteInventoryCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "AddPermissionCommand"; + const clientName = "SSMClient"; + const commandName = "DeleteInventoryCommand"; const handlerExecutionContext = { logger, clientName, @@ -31,17 +31,17 @@ export class AddPermissionCommand extends $Command { inputFilterSensitiveLog: (_) => _, outputFilterSensitiveLog: (_) => _, [SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "AddPermission", + service: "AmazonSSM", + operation: "DeleteInventory", }, }; const { requestHandler } = configuration; return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return se_AddPermissionCommand(input, context); + return se_DeleteInventoryCommand(input, context); } deserialize(output, context) { - return de_AddPermissionCommand(output, context); + return de_DeleteInventoryCommand(output, context); } } diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/commands/DeleteCodeSigningConfigCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/DeleteMaintenanceWindowCommand.js similarity index 73% rename from node_modules/@aws-sdk/client-lambda/dist-es/commands/DeleteCodeSigningConfigCommand.js rename to node_modules/@aws-sdk/client-ssm/dist-es/commands/DeleteMaintenanceWindowCommand.js index 063ce617..0ae968e8 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-es/commands/DeleteCodeSigningConfigCommand.js +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/DeleteMaintenanceWindowCommand.js @@ -2,9 +2,9 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint"; import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; -import { de_DeleteCodeSigningConfigCommand, se_DeleteCodeSigningConfigCommand } from "../protocols/Aws_restJson1"; +import { de_DeleteMaintenanceWindowCommand, se_DeleteMaintenanceWindowCommand } from "../protocols/Aws_json1_1"; export { $Command }; -export class DeleteCodeSigningConfigCommand extends $Command { +export class DeleteMaintenanceWindowCommand extends $Command { static getEndpointParameterInstructions() { return { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, @@ -19,11 +19,11 @@ export class DeleteCodeSigningConfigCommand extends $Command { } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getEndpointPlugin(configuration, DeleteCodeSigningConfigCommand.getEndpointParameterInstructions())); + this.middlewareStack.use(getEndpointPlugin(configuration, DeleteMaintenanceWindowCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "DeleteCodeSigningConfigCommand"; + const clientName = "SSMClient"; + const commandName = "DeleteMaintenanceWindowCommand"; const handlerExecutionContext = { logger, clientName, @@ -31,17 +31,17 @@ export class DeleteCodeSigningConfigCommand extends $Command { inputFilterSensitiveLog: (_) => _, outputFilterSensitiveLog: (_) => _, [SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "DeleteCodeSigningConfig", + service: "AmazonSSM", + operation: "DeleteMaintenanceWindow", }, }; const { requestHandler } = configuration; return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return se_DeleteCodeSigningConfigCommand(input, context); + return se_DeleteMaintenanceWindowCommand(input, context); } deserialize(output, context) { - return de_DeleteCodeSigningConfigCommand(output, context); + return de_DeleteMaintenanceWindowCommand(output, context); } } diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/commands/DeleteOpsItemCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/DeleteOpsItemCommand.js new file mode 100644 index 00000000..f081371d --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/DeleteOpsItemCommand.js @@ -0,0 +1,47 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; +import { de_DeleteOpsItemCommand, se_DeleteOpsItemCommand } from "../protocols/Aws_json1_1"; +export { $Command }; +export class DeleteOpsItemCommand extends $Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getEndpointPlugin(configuration, DeleteOpsItemCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "DeleteOpsItemCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "DeleteOpsItem", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_DeleteOpsItemCommand(input, context); + } + deserialize(output, context) { + return de_DeleteOpsItemCommand(output, context); + } +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/commands/DeleteOpsMetadataCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/DeleteOpsMetadataCommand.js new file mode 100644 index 00000000..ee4852d2 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/DeleteOpsMetadataCommand.js @@ -0,0 +1,47 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; +import { de_DeleteOpsMetadataCommand, se_DeleteOpsMetadataCommand } from "../protocols/Aws_json1_1"; +export { $Command }; +export class DeleteOpsMetadataCommand extends $Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getEndpointPlugin(configuration, DeleteOpsMetadataCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "DeleteOpsMetadataCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "DeleteOpsMetadata", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_DeleteOpsMetadataCommand(input, context); + } + deserialize(output, context) { + return de_DeleteOpsMetadataCommand(output, context); + } +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/commands/DeleteParameterCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/DeleteParameterCommand.js new file mode 100644 index 00000000..30312e37 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/DeleteParameterCommand.js @@ -0,0 +1,47 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; +import { de_DeleteParameterCommand, se_DeleteParameterCommand } from "../protocols/Aws_json1_1"; +export { $Command }; +export class DeleteParameterCommand extends $Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getEndpointPlugin(configuration, DeleteParameterCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "DeleteParameterCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "DeleteParameter", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_DeleteParameterCommand(input, context); + } + deserialize(output, context) { + return de_DeleteParameterCommand(output, context); + } +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/commands/DeleteParametersCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/DeleteParametersCommand.js new file mode 100644 index 00000000..04d1f8b9 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/DeleteParametersCommand.js @@ -0,0 +1,47 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; +import { de_DeleteParametersCommand, se_DeleteParametersCommand } from "../protocols/Aws_json1_1"; +export { $Command }; +export class DeleteParametersCommand extends $Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getEndpointPlugin(configuration, DeleteParametersCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "DeleteParametersCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "DeleteParameters", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_DeleteParametersCommand(input, context); + } + deserialize(output, context) { + return de_DeleteParametersCommand(output, context); + } +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/commands/DeletePatchBaselineCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/DeletePatchBaselineCommand.js new file mode 100644 index 00000000..5d38194f --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/DeletePatchBaselineCommand.js @@ -0,0 +1,47 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; +import { de_DeletePatchBaselineCommand, se_DeletePatchBaselineCommand } from "../protocols/Aws_json1_1"; +export { $Command }; +export class DeletePatchBaselineCommand extends $Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getEndpointPlugin(configuration, DeletePatchBaselineCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "DeletePatchBaselineCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "DeletePatchBaseline", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_DeletePatchBaselineCommand(input, context); + } + deserialize(output, context) { + return de_DeletePatchBaselineCommand(output, context); + } +} diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/commands/GetAccountSettingsCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/DeleteResourceDataSyncCommand.js similarity index 73% rename from node_modules/@aws-sdk/client-lambda/dist-es/commands/GetAccountSettingsCommand.js rename to node_modules/@aws-sdk/client-ssm/dist-es/commands/DeleteResourceDataSyncCommand.js index 599c90ff..cb4368ec 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-es/commands/GetAccountSettingsCommand.js +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/DeleteResourceDataSyncCommand.js @@ -2,9 +2,9 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint"; import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; -import { de_GetAccountSettingsCommand, se_GetAccountSettingsCommand } from "../protocols/Aws_restJson1"; +import { de_DeleteResourceDataSyncCommand, se_DeleteResourceDataSyncCommand } from "../protocols/Aws_json1_1"; export { $Command }; -export class GetAccountSettingsCommand extends $Command { +export class DeleteResourceDataSyncCommand extends $Command { static getEndpointParameterInstructions() { return { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, @@ -19,11 +19,11 @@ export class GetAccountSettingsCommand extends $Command { } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getEndpointPlugin(configuration, GetAccountSettingsCommand.getEndpointParameterInstructions())); + this.middlewareStack.use(getEndpointPlugin(configuration, DeleteResourceDataSyncCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "GetAccountSettingsCommand"; + const clientName = "SSMClient"; + const commandName = "DeleteResourceDataSyncCommand"; const handlerExecutionContext = { logger, clientName, @@ -31,17 +31,17 @@ export class GetAccountSettingsCommand extends $Command { inputFilterSensitiveLog: (_) => _, outputFilterSensitiveLog: (_) => _, [SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "GetAccountSettings", + service: "AmazonSSM", + operation: "DeleteResourceDataSync", }, }; const { requestHandler } = configuration; return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return se_GetAccountSettingsCommand(input, context); + return se_DeleteResourceDataSyncCommand(input, context); } deserialize(output, context) { - return de_GetAccountSettingsCommand(output, context); + return de_DeleteResourceDataSyncCommand(output, context); } } diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/commands/DeleteResourcePolicyCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/DeleteResourcePolicyCommand.js new file mode 100644 index 00000000..60608ad4 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/DeleteResourcePolicyCommand.js @@ -0,0 +1,47 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; +import { de_DeleteResourcePolicyCommand, se_DeleteResourcePolicyCommand } from "../protocols/Aws_json1_1"; +export { $Command }; +export class DeleteResourcePolicyCommand extends $Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getEndpointPlugin(configuration, DeleteResourcePolicyCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "DeleteResourcePolicyCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "DeleteResourcePolicy", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_DeleteResourcePolicyCommand(input, context); + } + deserialize(output, context) { + return de_DeleteResourcePolicyCommand(output, context); + } +} diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/commands/AddLayerVersionPermissionCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/DeregisterManagedInstanceCommand.js similarity index 73% rename from node_modules/@aws-sdk/client-lambda/dist-es/commands/AddLayerVersionPermissionCommand.js rename to node_modules/@aws-sdk/client-ssm/dist-es/commands/DeregisterManagedInstanceCommand.js index d6c3198a..bc41635f 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-es/commands/AddLayerVersionPermissionCommand.js +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/DeregisterManagedInstanceCommand.js @@ -2,9 +2,9 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint"; import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; -import { de_AddLayerVersionPermissionCommand, se_AddLayerVersionPermissionCommand } from "../protocols/Aws_restJson1"; +import { de_DeregisterManagedInstanceCommand, se_DeregisterManagedInstanceCommand } from "../protocols/Aws_json1_1"; export { $Command }; -export class AddLayerVersionPermissionCommand extends $Command { +export class DeregisterManagedInstanceCommand extends $Command { static getEndpointParameterInstructions() { return { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, @@ -19,11 +19,11 @@ export class AddLayerVersionPermissionCommand extends $Command { } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getEndpointPlugin(configuration, AddLayerVersionPermissionCommand.getEndpointParameterInstructions())); + this.middlewareStack.use(getEndpointPlugin(configuration, DeregisterManagedInstanceCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "AddLayerVersionPermissionCommand"; + const clientName = "SSMClient"; + const commandName = "DeregisterManagedInstanceCommand"; const handlerExecutionContext = { logger, clientName, @@ -31,17 +31,17 @@ export class AddLayerVersionPermissionCommand extends $Command { inputFilterSensitiveLog: (_) => _, outputFilterSensitiveLog: (_) => _, [SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "AddLayerVersionPermission", + service: "AmazonSSM", + operation: "DeregisterManagedInstance", }, }; const { requestHandler } = configuration; return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return se_AddLayerVersionPermissionCommand(input, context); + return se_DeregisterManagedInstanceCommand(input, context); } deserialize(output, context) { - return de_AddLayerVersionPermissionCommand(output, context); + return de_DeregisterManagedInstanceCommand(output, context); } } diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/commands/DeregisterPatchBaselineForPatchGroupCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/DeregisterPatchBaselineForPatchGroupCommand.js new file mode 100644 index 00000000..5bad4a81 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/DeregisterPatchBaselineForPatchGroupCommand.js @@ -0,0 +1,47 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; +import { de_DeregisterPatchBaselineForPatchGroupCommand, se_DeregisterPatchBaselineForPatchGroupCommand, } from "../protocols/Aws_json1_1"; +export { $Command }; +export class DeregisterPatchBaselineForPatchGroupCommand extends $Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getEndpointPlugin(configuration, DeregisterPatchBaselineForPatchGroupCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "DeregisterPatchBaselineForPatchGroupCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "DeregisterPatchBaselineForPatchGroup", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_DeregisterPatchBaselineForPatchGroupCommand(input, context); + } + deserialize(output, context) { + return de_DeregisterPatchBaselineForPatchGroupCommand(output, context); + } +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/commands/DeregisterTargetFromMaintenanceWindowCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/DeregisterTargetFromMaintenanceWindowCommand.js new file mode 100644 index 00000000..6e56d32d --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/DeregisterTargetFromMaintenanceWindowCommand.js @@ -0,0 +1,47 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; +import { de_DeregisterTargetFromMaintenanceWindowCommand, se_DeregisterTargetFromMaintenanceWindowCommand, } from "../protocols/Aws_json1_1"; +export { $Command }; +export class DeregisterTargetFromMaintenanceWindowCommand extends $Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getEndpointPlugin(configuration, DeregisterTargetFromMaintenanceWindowCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "DeregisterTargetFromMaintenanceWindowCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "DeregisterTargetFromMaintenanceWindow", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_DeregisterTargetFromMaintenanceWindowCommand(input, context); + } + deserialize(output, context) { + return de_DeregisterTargetFromMaintenanceWindowCommand(output, context); + } +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/commands/DeregisterTaskFromMaintenanceWindowCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/DeregisterTaskFromMaintenanceWindowCommand.js new file mode 100644 index 00000000..4b8e4856 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/DeregisterTaskFromMaintenanceWindowCommand.js @@ -0,0 +1,47 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; +import { de_DeregisterTaskFromMaintenanceWindowCommand, se_DeregisterTaskFromMaintenanceWindowCommand, } from "../protocols/Aws_json1_1"; +export { $Command }; +export class DeregisterTaskFromMaintenanceWindowCommand extends $Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getEndpointPlugin(configuration, DeregisterTaskFromMaintenanceWindowCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "DeregisterTaskFromMaintenanceWindowCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "DeregisterTaskFromMaintenanceWindow", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_DeregisterTaskFromMaintenanceWindowCommand(input, context); + } + deserialize(output, context) { + return de_DeregisterTaskFromMaintenanceWindowCommand(output, context); + } +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeActivationsCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeActivationsCommand.js new file mode 100644 index 00000000..3801ccd9 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeActivationsCommand.js @@ -0,0 +1,47 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; +import { de_DescribeActivationsCommand, se_DescribeActivationsCommand } from "../protocols/Aws_json1_1"; +export { $Command }; +export class DescribeActivationsCommand extends $Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getEndpointPlugin(configuration, DescribeActivationsCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "DescribeActivationsCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "DescribeActivations", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_DescribeActivationsCommand(input, context); + } + deserialize(output, context) { + return de_DescribeActivationsCommand(output, context); + } +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeAssociationCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeAssociationCommand.js new file mode 100644 index 00000000..a8a020e3 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeAssociationCommand.js @@ -0,0 +1,48 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; +import { DescribeAssociationResultFilterSensitiveLog, } from "../models/models_0"; +import { de_DescribeAssociationCommand, se_DescribeAssociationCommand } from "../protocols/Aws_json1_1"; +export { $Command }; +export class DescribeAssociationCommand extends $Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getEndpointPlugin(configuration, DescribeAssociationCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "DescribeAssociationCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: DescribeAssociationResultFilterSensitiveLog, + [SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "DescribeAssociation", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_DescribeAssociationCommand(input, context); + } + deserialize(output, context) { + return de_DescribeAssociationCommand(output, context); + } +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeAssociationExecutionTargetsCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeAssociationExecutionTargetsCommand.js new file mode 100644 index 00000000..cd984c00 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeAssociationExecutionTargetsCommand.js @@ -0,0 +1,47 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; +import { de_DescribeAssociationExecutionTargetsCommand, se_DescribeAssociationExecutionTargetsCommand, } from "../protocols/Aws_json1_1"; +export { $Command }; +export class DescribeAssociationExecutionTargetsCommand extends $Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getEndpointPlugin(configuration, DescribeAssociationExecutionTargetsCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "DescribeAssociationExecutionTargetsCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "DescribeAssociationExecutionTargets", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_DescribeAssociationExecutionTargetsCommand(input, context); + } + deserialize(output, context) { + return de_DescribeAssociationExecutionTargetsCommand(output, context); + } +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeAssociationExecutionsCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeAssociationExecutionsCommand.js new file mode 100644 index 00000000..6e52e7d3 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeAssociationExecutionsCommand.js @@ -0,0 +1,47 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; +import { de_DescribeAssociationExecutionsCommand, se_DescribeAssociationExecutionsCommand, } from "../protocols/Aws_json1_1"; +export { $Command }; +export class DescribeAssociationExecutionsCommand extends $Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getEndpointPlugin(configuration, DescribeAssociationExecutionsCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "DescribeAssociationExecutionsCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "DescribeAssociationExecutions", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_DescribeAssociationExecutionsCommand(input, context); + } + deserialize(output, context) { + return de_DescribeAssociationExecutionsCommand(output, context); + } +} diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/commands/GetFunctionCodeSigningConfigCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeAutomationExecutionsCommand.js similarity index 72% rename from node_modules/@aws-sdk/client-lambda/dist-es/commands/GetFunctionCodeSigningConfigCommand.js rename to node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeAutomationExecutionsCommand.js index 40dd71a3..d12a5495 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-es/commands/GetFunctionCodeSigningConfigCommand.js +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeAutomationExecutionsCommand.js @@ -2,9 +2,9 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint"; import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; -import { de_GetFunctionCodeSigningConfigCommand, se_GetFunctionCodeSigningConfigCommand, } from "../protocols/Aws_restJson1"; +import { de_DescribeAutomationExecutionsCommand, se_DescribeAutomationExecutionsCommand, } from "../protocols/Aws_json1_1"; export { $Command }; -export class GetFunctionCodeSigningConfigCommand extends $Command { +export class DescribeAutomationExecutionsCommand extends $Command { static getEndpointParameterInstructions() { return { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, @@ -19,11 +19,11 @@ export class GetFunctionCodeSigningConfigCommand extends $Command { } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getEndpointPlugin(configuration, GetFunctionCodeSigningConfigCommand.getEndpointParameterInstructions())); + this.middlewareStack.use(getEndpointPlugin(configuration, DescribeAutomationExecutionsCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "GetFunctionCodeSigningConfigCommand"; + const clientName = "SSMClient"; + const commandName = "DescribeAutomationExecutionsCommand"; const handlerExecutionContext = { logger, clientName, @@ -31,17 +31,17 @@ export class GetFunctionCodeSigningConfigCommand extends $Command { inputFilterSensitiveLog: (_) => _, outputFilterSensitiveLog: (_) => _, [SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "GetFunctionCodeSigningConfig", + service: "AmazonSSM", + operation: "DescribeAutomationExecutions", }, }; const { requestHandler } = configuration; return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return se_GetFunctionCodeSigningConfigCommand(input, context); + return se_DescribeAutomationExecutionsCommand(input, context); } deserialize(output, context) { - return de_GetFunctionCodeSigningConfigCommand(output, context); + return de_DescribeAutomationExecutionsCommand(output, context); } } diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/commands/DeleteFunctionCodeSigningConfigCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeAutomationStepExecutionsCommand.js similarity index 71% rename from node_modules/@aws-sdk/client-lambda/dist-es/commands/DeleteFunctionCodeSigningConfigCommand.js rename to node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeAutomationStepExecutionsCommand.js index 4573d83f..7691fe40 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-es/commands/DeleteFunctionCodeSigningConfigCommand.js +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeAutomationStepExecutionsCommand.js @@ -2,9 +2,9 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint"; import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; -import { de_DeleteFunctionCodeSigningConfigCommand, se_DeleteFunctionCodeSigningConfigCommand, } from "../protocols/Aws_restJson1"; +import { de_DescribeAutomationStepExecutionsCommand, se_DescribeAutomationStepExecutionsCommand, } from "../protocols/Aws_json1_1"; export { $Command }; -export class DeleteFunctionCodeSigningConfigCommand extends $Command { +export class DescribeAutomationStepExecutionsCommand extends $Command { static getEndpointParameterInstructions() { return { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, @@ -19,11 +19,11 @@ export class DeleteFunctionCodeSigningConfigCommand extends $Command { } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getEndpointPlugin(configuration, DeleteFunctionCodeSigningConfigCommand.getEndpointParameterInstructions())); + this.middlewareStack.use(getEndpointPlugin(configuration, DescribeAutomationStepExecutionsCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "DeleteFunctionCodeSigningConfigCommand"; + const clientName = "SSMClient"; + const commandName = "DescribeAutomationStepExecutionsCommand"; const handlerExecutionContext = { logger, clientName, @@ -31,17 +31,17 @@ export class DeleteFunctionCodeSigningConfigCommand extends $Command { inputFilterSensitiveLog: (_) => _, outputFilterSensitiveLog: (_) => _, [SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "DeleteFunctionCodeSigningConfig", + service: "AmazonSSM", + operation: "DescribeAutomationStepExecutions", }, }; const { requestHandler } = configuration; return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return se_DeleteFunctionCodeSigningConfigCommand(input, context); + return se_DescribeAutomationStepExecutionsCommand(input, context); } deserialize(output, context) { - return de_DeleteFunctionCodeSigningConfigCommand(output, context); + return de_DescribeAutomationStepExecutionsCommand(output, context); } } diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/commands/DeleteEventSourceMappingCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeAvailablePatchesCommand.js similarity index 73% rename from node_modules/@aws-sdk/client-lambda/dist-es/commands/DeleteEventSourceMappingCommand.js rename to node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeAvailablePatchesCommand.js index a68013e1..1fdebb45 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-es/commands/DeleteEventSourceMappingCommand.js +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeAvailablePatchesCommand.js @@ -2,9 +2,9 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint"; import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; -import { de_DeleteEventSourceMappingCommand, se_DeleteEventSourceMappingCommand } from "../protocols/Aws_restJson1"; +import { de_DescribeAvailablePatchesCommand, se_DescribeAvailablePatchesCommand } from "../protocols/Aws_json1_1"; export { $Command }; -export class DeleteEventSourceMappingCommand extends $Command { +export class DescribeAvailablePatchesCommand extends $Command { static getEndpointParameterInstructions() { return { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, @@ -19,11 +19,11 @@ export class DeleteEventSourceMappingCommand extends $Command { } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getEndpointPlugin(configuration, DeleteEventSourceMappingCommand.getEndpointParameterInstructions())); + this.middlewareStack.use(getEndpointPlugin(configuration, DescribeAvailablePatchesCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "DeleteEventSourceMappingCommand"; + const clientName = "SSMClient"; + const commandName = "DescribeAvailablePatchesCommand"; const handlerExecutionContext = { logger, clientName, @@ -31,17 +31,17 @@ export class DeleteEventSourceMappingCommand extends $Command { inputFilterSensitiveLog: (_) => _, outputFilterSensitiveLog: (_) => _, [SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "DeleteEventSourceMapping", + service: "AmazonSSM", + operation: "DescribeAvailablePatches", }, }; const { requestHandler } = configuration; return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return se_DeleteEventSourceMappingCommand(input, context); + return se_DescribeAvailablePatchesCommand(input, context); } deserialize(output, context) { - return de_DeleteEventSourceMappingCommand(output, context); + return de_DescribeAvailablePatchesCommand(output, context); } } diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeDocumentCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeDocumentCommand.js new file mode 100644 index 00000000..0af67cb0 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeDocumentCommand.js @@ -0,0 +1,47 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; +import { de_DescribeDocumentCommand, se_DescribeDocumentCommand } from "../protocols/Aws_json1_1"; +export { $Command }; +export class DescribeDocumentCommand extends $Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getEndpointPlugin(configuration, DescribeDocumentCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "DescribeDocumentCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "DescribeDocument", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_DescribeDocumentCommand(input, context); + } + deserialize(output, context) { + return de_DescribeDocumentCommand(output, context); + } +} diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/commands/GetRuntimeManagementConfigCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeDocumentPermissionCommand.js similarity index 73% rename from node_modules/@aws-sdk/client-lambda/dist-es/commands/GetRuntimeManagementConfigCommand.js rename to node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeDocumentPermissionCommand.js index b928162a..2cd54f7a 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-es/commands/GetRuntimeManagementConfigCommand.js +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeDocumentPermissionCommand.js @@ -2,9 +2,9 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint"; import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; -import { de_GetRuntimeManagementConfigCommand, se_GetRuntimeManagementConfigCommand } from "../protocols/Aws_restJson1"; +import { de_DescribeDocumentPermissionCommand, se_DescribeDocumentPermissionCommand } from "../protocols/Aws_json1_1"; export { $Command }; -export class GetRuntimeManagementConfigCommand extends $Command { +export class DescribeDocumentPermissionCommand extends $Command { static getEndpointParameterInstructions() { return { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, @@ -19,11 +19,11 @@ export class GetRuntimeManagementConfigCommand extends $Command { } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getEndpointPlugin(configuration, GetRuntimeManagementConfigCommand.getEndpointParameterInstructions())); + this.middlewareStack.use(getEndpointPlugin(configuration, DescribeDocumentPermissionCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "GetRuntimeManagementConfigCommand"; + const clientName = "SSMClient"; + const commandName = "DescribeDocumentPermissionCommand"; const handlerExecutionContext = { logger, clientName, @@ -31,17 +31,17 @@ export class GetRuntimeManagementConfigCommand extends $Command { inputFilterSensitiveLog: (_) => _, outputFilterSensitiveLog: (_) => _, [SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "GetRuntimeManagementConfig", + service: "AmazonSSM", + operation: "DescribeDocumentPermission", }, }; const { requestHandler } = configuration; return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return se_GetRuntimeManagementConfigCommand(input, context); + return se_DescribeDocumentPermissionCommand(input, context); } deserialize(output, context) { - return de_GetRuntimeManagementConfigCommand(output, context); + return de_DescribeDocumentPermissionCommand(output, context); } } diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeEffectiveInstanceAssociationsCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeEffectiveInstanceAssociationsCommand.js new file mode 100644 index 00000000..8c50cfd0 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeEffectiveInstanceAssociationsCommand.js @@ -0,0 +1,47 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; +import { de_DescribeEffectiveInstanceAssociationsCommand, se_DescribeEffectiveInstanceAssociationsCommand, } from "../protocols/Aws_json1_1"; +export { $Command }; +export class DescribeEffectiveInstanceAssociationsCommand extends $Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getEndpointPlugin(configuration, DescribeEffectiveInstanceAssociationsCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "DescribeEffectiveInstanceAssociationsCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "DescribeEffectiveInstanceAssociations", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_DescribeEffectiveInstanceAssociationsCommand(input, context); + } + deserialize(output, context) { + return de_DescribeEffectiveInstanceAssociationsCommand(output, context); + } +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeEffectivePatchesForPatchBaselineCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeEffectivePatchesForPatchBaselineCommand.js new file mode 100644 index 00000000..8abfa151 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeEffectivePatchesForPatchBaselineCommand.js @@ -0,0 +1,47 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; +import { de_DescribeEffectivePatchesForPatchBaselineCommand, se_DescribeEffectivePatchesForPatchBaselineCommand, } from "../protocols/Aws_json1_1"; +export { $Command }; +export class DescribeEffectivePatchesForPatchBaselineCommand extends $Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getEndpointPlugin(configuration, DescribeEffectivePatchesForPatchBaselineCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "DescribeEffectivePatchesForPatchBaselineCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "DescribeEffectivePatchesForPatchBaseline", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_DescribeEffectivePatchesForPatchBaselineCommand(input, context); + } + deserialize(output, context) { + return de_DescribeEffectivePatchesForPatchBaselineCommand(output, context); + } +} diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/commands/DeleteProvisionedConcurrencyConfigCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeInstanceAssociationsStatusCommand.js similarity index 72% rename from node_modules/@aws-sdk/client-lambda/dist-es/commands/DeleteProvisionedConcurrencyConfigCommand.js rename to node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeInstanceAssociationsStatusCommand.js index cf332d77..f51b5ffd 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-es/commands/DeleteProvisionedConcurrencyConfigCommand.js +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeInstanceAssociationsStatusCommand.js @@ -2,9 +2,9 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint"; import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; -import { de_DeleteProvisionedConcurrencyConfigCommand, se_DeleteProvisionedConcurrencyConfigCommand, } from "../protocols/Aws_restJson1"; +import { de_DescribeInstanceAssociationsStatusCommand, se_DescribeInstanceAssociationsStatusCommand, } from "../protocols/Aws_json1_1"; export { $Command }; -export class DeleteProvisionedConcurrencyConfigCommand extends $Command { +export class DescribeInstanceAssociationsStatusCommand extends $Command { static getEndpointParameterInstructions() { return { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, @@ -19,11 +19,11 @@ export class DeleteProvisionedConcurrencyConfigCommand extends $Command { } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getEndpointPlugin(configuration, DeleteProvisionedConcurrencyConfigCommand.getEndpointParameterInstructions())); + this.middlewareStack.use(getEndpointPlugin(configuration, DescribeInstanceAssociationsStatusCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "DeleteProvisionedConcurrencyConfigCommand"; + const clientName = "SSMClient"; + const commandName = "DescribeInstanceAssociationsStatusCommand"; const handlerExecutionContext = { logger, clientName, @@ -31,17 +31,17 @@ export class DeleteProvisionedConcurrencyConfigCommand extends $Command { inputFilterSensitiveLog: (_) => _, outputFilterSensitiveLog: (_) => _, [SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "DeleteProvisionedConcurrencyConfig", + service: "AmazonSSM", + operation: "DescribeInstanceAssociationsStatus", }, }; const { requestHandler } = configuration; return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return se_DeleteProvisionedConcurrencyConfigCommand(input, context); + return se_DescribeInstanceAssociationsStatusCommand(input, context); } deserialize(output, context) { - return de_DeleteProvisionedConcurrencyConfigCommand(output, context); + return de_DescribeInstanceAssociationsStatusCommand(output, context); } } diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeInstanceInformationCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeInstanceInformationCommand.js new file mode 100644 index 00000000..71b3fa03 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeInstanceInformationCommand.js @@ -0,0 +1,47 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; +import { de_DescribeInstanceInformationCommand, se_DescribeInstanceInformationCommand } from "../protocols/Aws_json1_1"; +export { $Command }; +export class DescribeInstanceInformationCommand extends $Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getEndpointPlugin(configuration, DescribeInstanceInformationCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "DescribeInstanceInformationCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "DescribeInstanceInformation", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_DescribeInstanceInformationCommand(input, context); + } + deserialize(output, context) { + return de_DescribeInstanceInformationCommand(output, context); + } +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeInstancePatchStatesCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeInstancePatchStatesCommand.js new file mode 100644 index 00000000..71f6660d --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeInstancePatchStatesCommand.js @@ -0,0 +1,48 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; +import { DescribeInstancePatchStatesResultFilterSensitiveLog, } from "../models/models_0"; +import { de_DescribeInstancePatchStatesCommand, se_DescribeInstancePatchStatesCommand } from "../protocols/Aws_json1_1"; +export { $Command }; +export class DescribeInstancePatchStatesCommand extends $Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getEndpointPlugin(configuration, DescribeInstancePatchStatesCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "DescribeInstancePatchStatesCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: DescribeInstancePatchStatesResultFilterSensitiveLog, + [SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "DescribeInstancePatchStates", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_DescribeInstancePatchStatesCommand(input, context); + } + deserialize(output, context) { + return de_DescribeInstancePatchStatesCommand(output, context); + } +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeInstancePatchStatesForPatchGroupCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeInstancePatchStatesForPatchGroupCommand.js new file mode 100644 index 00000000..715aa289 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeInstancePatchStatesForPatchGroupCommand.js @@ -0,0 +1,48 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; +import { DescribeInstancePatchStatesForPatchGroupResultFilterSensitiveLog, } from "../models/models_0"; +import { de_DescribeInstancePatchStatesForPatchGroupCommand, se_DescribeInstancePatchStatesForPatchGroupCommand, } from "../protocols/Aws_json1_1"; +export { $Command }; +export class DescribeInstancePatchStatesForPatchGroupCommand extends $Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getEndpointPlugin(configuration, DescribeInstancePatchStatesForPatchGroupCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "DescribeInstancePatchStatesForPatchGroupCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: DescribeInstancePatchStatesForPatchGroupResultFilterSensitiveLog, + [SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "DescribeInstancePatchStatesForPatchGroup", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_DescribeInstancePatchStatesForPatchGroupCommand(input, context); + } + deserialize(output, context) { + return de_DescribeInstancePatchStatesForPatchGroupCommand(output, context); + } +} diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/commands/CreateFunctionUrlConfigCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeInstancePatchesCommand.js similarity index 73% rename from node_modules/@aws-sdk/client-lambda/dist-es/commands/CreateFunctionUrlConfigCommand.js rename to node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeInstancePatchesCommand.js index 48c0bd49..2af0bbcd 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-es/commands/CreateFunctionUrlConfigCommand.js +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeInstancePatchesCommand.js @@ -2,9 +2,9 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint"; import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; -import { de_CreateFunctionUrlConfigCommand, se_CreateFunctionUrlConfigCommand } from "../protocols/Aws_restJson1"; +import { de_DescribeInstancePatchesCommand, se_DescribeInstancePatchesCommand } from "../protocols/Aws_json1_1"; export { $Command }; -export class CreateFunctionUrlConfigCommand extends $Command { +export class DescribeInstancePatchesCommand extends $Command { static getEndpointParameterInstructions() { return { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, @@ -19,11 +19,11 @@ export class CreateFunctionUrlConfigCommand extends $Command { } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getEndpointPlugin(configuration, CreateFunctionUrlConfigCommand.getEndpointParameterInstructions())); + this.middlewareStack.use(getEndpointPlugin(configuration, DescribeInstancePatchesCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "CreateFunctionUrlConfigCommand"; + const clientName = "SSMClient"; + const commandName = "DescribeInstancePatchesCommand"; const handlerExecutionContext = { logger, clientName, @@ -31,17 +31,17 @@ export class CreateFunctionUrlConfigCommand extends $Command { inputFilterSensitiveLog: (_) => _, outputFilterSensitiveLog: (_) => _, [SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "CreateFunctionUrlConfig", + service: "AmazonSSM", + operation: "DescribeInstancePatches", }, }; const { requestHandler } = configuration; return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return se_CreateFunctionUrlConfigCommand(input, context); + return se_DescribeInstancePatchesCommand(input, context); } deserialize(output, context) { - return de_CreateFunctionUrlConfigCommand(output, context); + return de_DescribeInstancePatchesCommand(output, context); } } diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/commands/PutRuntimeManagementConfigCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeInventoryDeletionsCommand.js similarity index 73% rename from node_modules/@aws-sdk/client-lambda/dist-es/commands/PutRuntimeManagementConfigCommand.js rename to node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeInventoryDeletionsCommand.js index 543ea5c6..a36071ea 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-es/commands/PutRuntimeManagementConfigCommand.js +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeInventoryDeletionsCommand.js @@ -2,9 +2,9 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint"; import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; -import { de_PutRuntimeManagementConfigCommand, se_PutRuntimeManagementConfigCommand } from "../protocols/Aws_restJson1"; +import { de_DescribeInventoryDeletionsCommand, se_DescribeInventoryDeletionsCommand } from "../protocols/Aws_json1_1"; export { $Command }; -export class PutRuntimeManagementConfigCommand extends $Command { +export class DescribeInventoryDeletionsCommand extends $Command { static getEndpointParameterInstructions() { return { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, @@ -19,11 +19,11 @@ export class PutRuntimeManagementConfigCommand extends $Command { } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getEndpointPlugin(configuration, PutRuntimeManagementConfigCommand.getEndpointParameterInstructions())); + this.middlewareStack.use(getEndpointPlugin(configuration, DescribeInventoryDeletionsCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "PutRuntimeManagementConfigCommand"; + const clientName = "SSMClient"; + const commandName = "DescribeInventoryDeletionsCommand"; const handlerExecutionContext = { logger, clientName, @@ -31,17 +31,17 @@ export class PutRuntimeManagementConfigCommand extends $Command { inputFilterSensitiveLog: (_) => _, outputFilterSensitiveLog: (_) => _, [SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "PutRuntimeManagementConfig", + service: "AmazonSSM", + operation: "DescribeInventoryDeletions", }, }; const { requestHandler } = configuration; return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return se_PutRuntimeManagementConfigCommand(input, context); + return se_DescribeInventoryDeletionsCommand(input, context); } deserialize(output, context) { - return de_PutRuntimeManagementConfigCommand(output, context); + return de_DescribeInventoryDeletionsCommand(output, context); } } diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/commands/InvokeCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeMaintenanceWindowExecutionTaskInvocationsCommand.js similarity index 60% rename from node_modules/@aws-sdk/client-lambda/dist-es/commands/InvokeCommand.js rename to node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeMaintenanceWindowExecutionTaskInvocationsCommand.js index 11fc3aad..dc86a4a4 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-es/commands/InvokeCommand.js +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeMaintenanceWindowExecutionTaskInvocationsCommand.js @@ -2,10 +2,10 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint"; import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; -import { InvocationRequestFilterSensitiveLog, InvocationResponseFilterSensitiveLog, } from "../models/models_0"; -import { de_InvokeCommand, se_InvokeCommand } from "../protocols/Aws_restJson1"; +import { DescribeMaintenanceWindowExecutionTaskInvocationsResultFilterSensitiveLog, } from "../models/models_0"; +import { de_DescribeMaintenanceWindowExecutionTaskInvocationsCommand, se_DescribeMaintenanceWindowExecutionTaskInvocationsCommand, } from "../protocols/Aws_json1_1"; export { $Command }; -export class InvokeCommand extends $Command { +export class DescribeMaintenanceWindowExecutionTaskInvocationsCommand extends $Command { static getEndpointParameterInstructions() { return { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, @@ -20,29 +20,29 @@ export class InvokeCommand extends $Command { } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getEndpointPlugin(configuration, InvokeCommand.getEndpointParameterInstructions())); + this.middlewareStack.use(getEndpointPlugin(configuration, DescribeMaintenanceWindowExecutionTaskInvocationsCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "InvokeCommand"; + const clientName = "SSMClient"; + const commandName = "DescribeMaintenanceWindowExecutionTaskInvocationsCommand"; const handlerExecutionContext = { logger, clientName, commandName, - inputFilterSensitiveLog: InvocationRequestFilterSensitiveLog, - outputFilterSensitiveLog: InvocationResponseFilterSensitiveLog, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: DescribeMaintenanceWindowExecutionTaskInvocationsResultFilterSensitiveLog, [SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "Invoke", + service: "AmazonSSM", + operation: "DescribeMaintenanceWindowExecutionTaskInvocations", }, }; const { requestHandler } = configuration; return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return se_InvokeCommand(input, context); + return se_DescribeMaintenanceWindowExecutionTaskInvocationsCommand(input, context); } deserialize(output, context) { - return de_InvokeCommand(output, context); + return de_DescribeMaintenanceWindowExecutionTaskInvocationsCommand(output, context); } } diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeMaintenanceWindowExecutionTasksCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeMaintenanceWindowExecutionTasksCommand.js new file mode 100644 index 00000000..87399999 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeMaintenanceWindowExecutionTasksCommand.js @@ -0,0 +1,47 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; +import { de_DescribeMaintenanceWindowExecutionTasksCommand, se_DescribeMaintenanceWindowExecutionTasksCommand, } from "../protocols/Aws_json1_1"; +export { $Command }; +export class DescribeMaintenanceWindowExecutionTasksCommand extends $Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getEndpointPlugin(configuration, DescribeMaintenanceWindowExecutionTasksCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "DescribeMaintenanceWindowExecutionTasksCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "DescribeMaintenanceWindowExecutionTasks", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_DescribeMaintenanceWindowExecutionTasksCommand(input, context); + } + deserialize(output, context) { + return de_DescribeMaintenanceWindowExecutionTasksCommand(output, context); + } +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeMaintenanceWindowExecutionsCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeMaintenanceWindowExecutionsCommand.js new file mode 100644 index 00000000..1a4c844a --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeMaintenanceWindowExecutionsCommand.js @@ -0,0 +1,47 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; +import { de_DescribeMaintenanceWindowExecutionsCommand, se_DescribeMaintenanceWindowExecutionsCommand, } from "../protocols/Aws_json1_1"; +export { $Command }; +export class DescribeMaintenanceWindowExecutionsCommand extends $Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getEndpointPlugin(configuration, DescribeMaintenanceWindowExecutionsCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "DescribeMaintenanceWindowExecutionsCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "DescribeMaintenanceWindowExecutions", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_DescribeMaintenanceWindowExecutionsCommand(input, context); + } + deserialize(output, context) { + return de_DescribeMaintenanceWindowExecutionsCommand(output, context); + } +} diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/commands/ListProvisionedConcurrencyConfigsCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeMaintenanceWindowScheduleCommand.js similarity index 72% rename from node_modules/@aws-sdk/client-lambda/dist-es/commands/ListProvisionedConcurrencyConfigsCommand.js rename to node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeMaintenanceWindowScheduleCommand.js index 58650179..fe22f377 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-es/commands/ListProvisionedConcurrencyConfigsCommand.js +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeMaintenanceWindowScheduleCommand.js @@ -2,9 +2,9 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint"; import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; -import { de_ListProvisionedConcurrencyConfigsCommand, se_ListProvisionedConcurrencyConfigsCommand, } from "../protocols/Aws_restJson1"; +import { de_DescribeMaintenanceWindowScheduleCommand, se_DescribeMaintenanceWindowScheduleCommand, } from "../protocols/Aws_json1_1"; export { $Command }; -export class ListProvisionedConcurrencyConfigsCommand extends $Command { +export class DescribeMaintenanceWindowScheduleCommand extends $Command { static getEndpointParameterInstructions() { return { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, @@ -19,11 +19,11 @@ export class ListProvisionedConcurrencyConfigsCommand extends $Command { } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getEndpointPlugin(configuration, ListProvisionedConcurrencyConfigsCommand.getEndpointParameterInstructions())); + this.middlewareStack.use(getEndpointPlugin(configuration, DescribeMaintenanceWindowScheduleCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "ListProvisionedConcurrencyConfigsCommand"; + const clientName = "SSMClient"; + const commandName = "DescribeMaintenanceWindowScheduleCommand"; const handlerExecutionContext = { logger, clientName, @@ -31,17 +31,17 @@ export class ListProvisionedConcurrencyConfigsCommand extends $Command { inputFilterSensitiveLog: (_) => _, outputFilterSensitiveLog: (_) => _, [SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "ListProvisionedConcurrencyConfigs", + service: "AmazonSSM", + operation: "DescribeMaintenanceWindowSchedule", }, }; const { requestHandler } = configuration; return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return se_ListProvisionedConcurrencyConfigsCommand(input, context); + return se_DescribeMaintenanceWindowScheduleCommand(input, context); } deserialize(output, context) { - return de_ListProvisionedConcurrencyConfigsCommand(output, context); + return de_DescribeMaintenanceWindowScheduleCommand(output, context); } } diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeMaintenanceWindowTargetsCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeMaintenanceWindowTargetsCommand.js new file mode 100644 index 00000000..d7eea8f1 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeMaintenanceWindowTargetsCommand.js @@ -0,0 +1,48 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; +import { DescribeMaintenanceWindowTargetsResultFilterSensitiveLog, } from "../models/models_0"; +import { de_DescribeMaintenanceWindowTargetsCommand, se_DescribeMaintenanceWindowTargetsCommand, } from "../protocols/Aws_json1_1"; +export { $Command }; +export class DescribeMaintenanceWindowTargetsCommand extends $Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getEndpointPlugin(configuration, DescribeMaintenanceWindowTargetsCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "DescribeMaintenanceWindowTargetsCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: DescribeMaintenanceWindowTargetsResultFilterSensitiveLog, + [SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "DescribeMaintenanceWindowTargets", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_DescribeMaintenanceWindowTargetsCommand(input, context); + } + deserialize(output, context) { + return de_DescribeMaintenanceWindowTargetsCommand(output, context); + } +} diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/commands/GetProvisionedConcurrencyConfigCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeMaintenanceWindowTasksCommand.js similarity index 65% rename from node_modules/@aws-sdk/client-lambda/dist-es/commands/GetProvisionedConcurrencyConfigCommand.js rename to node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeMaintenanceWindowTasksCommand.js index c6f7a950..f49bd9bd 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-es/commands/GetProvisionedConcurrencyConfigCommand.js +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeMaintenanceWindowTasksCommand.js @@ -2,9 +2,10 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint"; import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; -import { de_GetProvisionedConcurrencyConfigCommand, se_GetProvisionedConcurrencyConfigCommand, } from "../protocols/Aws_restJson1"; +import { DescribeMaintenanceWindowTasksResultFilterSensitiveLog, } from "../models/models_1"; +import { de_DescribeMaintenanceWindowTasksCommand, se_DescribeMaintenanceWindowTasksCommand, } from "../protocols/Aws_json1_1"; export { $Command }; -export class GetProvisionedConcurrencyConfigCommand extends $Command { +export class DescribeMaintenanceWindowTasksCommand extends $Command { static getEndpointParameterInstructions() { return { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, @@ -19,29 +20,29 @@ export class GetProvisionedConcurrencyConfigCommand extends $Command { } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getEndpointPlugin(configuration, GetProvisionedConcurrencyConfigCommand.getEndpointParameterInstructions())); + this.middlewareStack.use(getEndpointPlugin(configuration, DescribeMaintenanceWindowTasksCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "GetProvisionedConcurrencyConfigCommand"; + const clientName = "SSMClient"; + const commandName = "DescribeMaintenanceWindowTasksCommand"; const handlerExecutionContext = { logger, clientName, commandName, inputFilterSensitiveLog: (_) => _, - outputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: DescribeMaintenanceWindowTasksResultFilterSensitiveLog, [SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "GetProvisionedConcurrencyConfig", + service: "AmazonSSM", + operation: "DescribeMaintenanceWindowTasks", }, }; const { requestHandler } = configuration; return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return se_GetProvisionedConcurrencyConfigCommand(input, context); + return se_DescribeMaintenanceWindowTasksCommand(input, context); } deserialize(output, context) { - return de_GetProvisionedConcurrencyConfigCommand(output, context); + return de_DescribeMaintenanceWindowTasksCommand(output, context); } } diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeMaintenanceWindowsCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeMaintenanceWindowsCommand.js new file mode 100644 index 00000000..2c21c0d4 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeMaintenanceWindowsCommand.js @@ -0,0 +1,48 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; +import { DescribeMaintenanceWindowsResultFilterSensitiveLog, } from "../models/models_0"; +import { de_DescribeMaintenanceWindowsCommand, se_DescribeMaintenanceWindowsCommand } from "../protocols/Aws_json1_1"; +export { $Command }; +export class DescribeMaintenanceWindowsCommand extends $Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getEndpointPlugin(configuration, DescribeMaintenanceWindowsCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "DescribeMaintenanceWindowsCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: DescribeMaintenanceWindowsResultFilterSensitiveLog, + [SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "DescribeMaintenanceWindows", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_DescribeMaintenanceWindowsCommand(input, context); + } + deserialize(output, context) { + return de_DescribeMaintenanceWindowsCommand(output, context); + } +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeMaintenanceWindowsForTargetCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeMaintenanceWindowsForTargetCommand.js new file mode 100644 index 00000000..9d4c2f4f --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeMaintenanceWindowsForTargetCommand.js @@ -0,0 +1,47 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; +import { de_DescribeMaintenanceWindowsForTargetCommand, se_DescribeMaintenanceWindowsForTargetCommand, } from "../protocols/Aws_json1_1"; +export { $Command }; +export class DescribeMaintenanceWindowsForTargetCommand extends $Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getEndpointPlugin(configuration, DescribeMaintenanceWindowsForTargetCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "DescribeMaintenanceWindowsForTargetCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "DescribeMaintenanceWindowsForTarget", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_DescribeMaintenanceWindowsForTargetCommand(input, context); + } + deserialize(output, context) { + return de_DescribeMaintenanceWindowsForTargetCommand(output, context); + } +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeOpsItemsCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeOpsItemsCommand.js new file mode 100644 index 00000000..455f49d8 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeOpsItemsCommand.js @@ -0,0 +1,47 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; +import { de_DescribeOpsItemsCommand, se_DescribeOpsItemsCommand } from "../protocols/Aws_json1_1"; +export { $Command }; +export class DescribeOpsItemsCommand extends $Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getEndpointPlugin(configuration, DescribeOpsItemsCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "DescribeOpsItemsCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "DescribeOpsItems", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_DescribeOpsItemsCommand(input, context); + } + deserialize(output, context) { + return de_DescribeOpsItemsCommand(output, context); + } +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeParametersCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeParametersCommand.js new file mode 100644 index 00000000..66e5a706 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeParametersCommand.js @@ -0,0 +1,47 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; +import { de_DescribeParametersCommand, se_DescribeParametersCommand } from "../protocols/Aws_json1_1"; +export { $Command }; +export class DescribeParametersCommand extends $Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getEndpointPlugin(configuration, DescribeParametersCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "DescribeParametersCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "DescribeParameters", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_DescribeParametersCommand(input, context); + } + deserialize(output, context) { + return de_DescribeParametersCommand(output, context); + } +} diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/commands/ListCodeSigningConfigsCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribePatchBaselinesCommand.js similarity index 73% rename from node_modules/@aws-sdk/client-lambda/dist-es/commands/ListCodeSigningConfigsCommand.js rename to node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribePatchBaselinesCommand.js index 164736b7..88f8842b 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-es/commands/ListCodeSigningConfigsCommand.js +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribePatchBaselinesCommand.js @@ -2,9 +2,9 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint"; import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; -import { de_ListCodeSigningConfigsCommand, se_ListCodeSigningConfigsCommand } from "../protocols/Aws_restJson1"; +import { de_DescribePatchBaselinesCommand, se_DescribePatchBaselinesCommand } from "../protocols/Aws_json1_1"; export { $Command }; -export class ListCodeSigningConfigsCommand extends $Command { +export class DescribePatchBaselinesCommand extends $Command { static getEndpointParameterInstructions() { return { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, @@ -19,11 +19,11 @@ export class ListCodeSigningConfigsCommand extends $Command { } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getEndpointPlugin(configuration, ListCodeSigningConfigsCommand.getEndpointParameterInstructions())); + this.middlewareStack.use(getEndpointPlugin(configuration, DescribePatchBaselinesCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "ListCodeSigningConfigsCommand"; + const clientName = "SSMClient"; + const commandName = "DescribePatchBaselinesCommand"; const handlerExecutionContext = { logger, clientName, @@ -31,17 +31,17 @@ export class ListCodeSigningConfigsCommand extends $Command { inputFilterSensitiveLog: (_) => _, outputFilterSensitiveLog: (_) => _, [SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "ListCodeSigningConfigs", + service: "AmazonSSM", + operation: "DescribePatchBaselines", }, }; const { requestHandler } = configuration; return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return se_ListCodeSigningConfigsCommand(input, context); + return se_DescribePatchBaselinesCommand(input, context); } deserialize(output, context) { - return de_ListCodeSigningConfigsCommand(output, context); + return de_DescribePatchBaselinesCommand(output, context); } } diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/commands/DeleteFunctionUrlConfigCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribePatchGroupStateCommand.js similarity index 73% rename from node_modules/@aws-sdk/client-lambda/dist-es/commands/DeleteFunctionUrlConfigCommand.js rename to node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribePatchGroupStateCommand.js index 3e36d339..6a43d744 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-es/commands/DeleteFunctionUrlConfigCommand.js +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribePatchGroupStateCommand.js @@ -2,9 +2,9 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint"; import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; -import { de_DeleteFunctionUrlConfigCommand, se_DeleteFunctionUrlConfigCommand } from "../protocols/Aws_restJson1"; +import { de_DescribePatchGroupStateCommand, se_DescribePatchGroupStateCommand } from "../protocols/Aws_json1_1"; export { $Command }; -export class DeleteFunctionUrlConfigCommand extends $Command { +export class DescribePatchGroupStateCommand extends $Command { static getEndpointParameterInstructions() { return { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, @@ -19,11 +19,11 @@ export class DeleteFunctionUrlConfigCommand extends $Command { } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getEndpointPlugin(configuration, DeleteFunctionUrlConfigCommand.getEndpointParameterInstructions())); + this.middlewareStack.use(getEndpointPlugin(configuration, DescribePatchGroupStateCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "DeleteFunctionUrlConfigCommand"; + const clientName = "SSMClient"; + const commandName = "DescribePatchGroupStateCommand"; const handlerExecutionContext = { logger, clientName, @@ -31,17 +31,17 @@ export class DeleteFunctionUrlConfigCommand extends $Command { inputFilterSensitiveLog: (_) => _, outputFilterSensitiveLog: (_) => _, [SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "DeleteFunctionUrlConfig", + service: "AmazonSSM", + operation: "DescribePatchGroupState", }, }; const { requestHandler } = configuration; return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return se_DeleteFunctionUrlConfigCommand(input, context); + return se_DescribePatchGroupStateCommand(input, context); } deserialize(output, context) { - return de_DeleteFunctionUrlConfigCommand(output, context); + return de_DescribePatchGroupStateCommand(output, context); } } diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribePatchGroupsCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribePatchGroupsCommand.js new file mode 100644 index 00000000..f7b916b5 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribePatchGroupsCommand.js @@ -0,0 +1,47 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; +import { de_DescribePatchGroupsCommand, se_DescribePatchGroupsCommand } from "../protocols/Aws_json1_1"; +export { $Command }; +export class DescribePatchGroupsCommand extends $Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getEndpointPlugin(configuration, DescribePatchGroupsCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "DescribePatchGroupsCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "DescribePatchGroups", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_DescribePatchGroupsCommand(input, context); + } + deserialize(output, context) { + return de_DescribePatchGroupsCommand(output, context); + } +} diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/commands/GetFunctionEventInvokeConfigCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribePatchPropertiesCommand.js similarity index 74% rename from node_modules/@aws-sdk/client-lambda/dist-es/commands/GetFunctionEventInvokeConfigCommand.js rename to node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribePatchPropertiesCommand.js index 1b681229..279004ed 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-es/commands/GetFunctionEventInvokeConfigCommand.js +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribePatchPropertiesCommand.js @@ -2,9 +2,9 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint"; import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; -import { de_GetFunctionEventInvokeConfigCommand, se_GetFunctionEventInvokeConfigCommand, } from "../protocols/Aws_restJson1"; +import { de_DescribePatchPropertiesCommand, se_DescribePatchPropertiesCommand } from "../protocols/Aws_json1_1"; export { $Command }; -export class GetFunctionEventInvokeConfigCommand extends $Command { +export class DescribePatchPropertiesCommand extends $Command { static getEndpointParameterInstructions() { return { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, @@ -19,11 +19,11 @@ export class GetFunctionEventInvokeConfigCommand extends $Command { } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getEndpointPlugin(configuration, GetFunctionEventInvokeConfigCommand.getEndpointParameterInstructions())); + this.middlewareStack.use(getEndpointPlugin(configuration, DescribePatchPropertiesCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "GetFunctionEventInvokeConfigCommand"; + const clientName = "SSMClient"; + const commandName = "DescribePatchPropertiesCommand"; const handlerExecutionContext = { logger, clientName, @@ -31,17 +31,17 @@ export class GetFunctionEventInvokeConfigCommand extends $Command { inputFilterSensitiveLog: (_) => _, outputFilterSensitiveLog: (_) => _, [SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "GetFunctionEventInvokeConfig", + service: "AmazonSSM", + operation: "DescribePatchProperties", }, }; const { requestHandler } = configuration; return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return se_GetFunctionEventInvokeConfigCommand(input, context); + return se_DescribePatchPropertiesCommand(input, context); } deserialize(output, context) { - return de_GetFunctionEventInvokeConfigCommand(output, context); + return de_DescribePatchPropertiesCommand(output, context); } } diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeSessionsCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeSessionsCommand.js new file mode 100644 index 00000000..3427cff5 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/DescribeSessionsCommand.js @@ -0,0 +1,47 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; +import { de_DescribeSessionsCommand, se_DescribeSessionsCommand } from "../protocols/Aws_json1_1"; +export { $Command }; +export class DescribeSessionsCommand extends $Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getEndpointPlugin(configuration, DescribeSessionsCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "DescribeSessionsCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "DescribeSessions", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_DescribeSessionsCommand(input, context); + } + deserialize(output, context) { + return de_DescribeSessionsCommand(output, context); + } +} diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/commands/ListFunctionEventInvokeConfigsCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/DisassociateOpsItemRelatedItemCommand.js similarity index 72% rename from node_modules/@aws-sdk/client-lambda/dist-es/commands/ListFunctionEventInvokeConfigsCommand.js rename to node_modules/@aws-sdk/client-ssm/dist-es/commands/DisassociateOpsItemRelatedItemCommand.js index c9eeea4d..92a68651 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-es/commands/ListFunctionEventInvokeConfigsCommand.js +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/DisassociateOpsItemRelatedItemCommand.js @@ -2,9 +2,9 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint"; import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; -import { de_ListFunctionEventInvokeConfigsCommand, se_ListFunctionEventInvokeConfigsCommand, } from "../protocols/Aws_restJson1"; +import { de_DisassociateOpsItemRelatedItemCommand, se_DisassociateOpsItemRelatedItemCommand, } from "../protocols/Aws_json1_1"; export { $Command }; -export class ListFunctionEventInvokeConfigsCommand extends $Command { +export class DisassociateOpsItemRelatedItemCommand extends $Command { static getEndpointParameterInstructions() { return { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, @@ -19,11 +19,11 @@ export class ListFunctionEventInvokeConfigsCommand extends $Command { } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getEndpointPlugin(configuration, ListFunctionEventInvokeConfigsCommand.getEndpointParameterInstructions())); + this.middlewareStack.use(getEndpointPlugin(configuration, DisassociateOpsItemRelatedItemCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "ListFunctionEventInvokeConfigsCommand"; + const clientName = "SSMClient"; + const commandName = "DisassociateOpsItemRelatedItemCommand"; const handlerExecutionContext = { logger, clientName, @@ -31,17 +31,17 @@ export class ListFunctionEventInvokeConfigsCommand extends $Command { inputFilterSensitiveLog: (_) => _, outputFilterSensitiveLog: (_) => _, [SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "ListFunctionEventInvokeConfigs", + service: "AmazonSSM", + operation: "DisassociateOpsItemRelatedItem", }, }; const { requestHandler } = configuration; return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return se_ListFunctionEventInvokeConfigsCommand(input, context); + return se_DisassociateOpsItemRelatedItemCommand(input, context); } deserialize(output, context) { - return de_ListFunctionEventInvokeConfigsCommand(output, context); + return de_DisassociateOpsItemRelatedItemCommand(output, context); } } diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetAutomationExecutionCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetAutomationExecutionCommand.js new file mode 100644 index 00000000..f6a7dd03 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetAutomationExecutionCommand.js @@ -0,0 +1,47 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; +import { de_GetAutomationExecutionCommand, se_GetAutomationExecutionCommand } from "../protocols/Aws_json1_1"; +export { $Command }; +export class GetAutomationExecutionCommand extends $Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getEndpointPlugin(configuration, GetAutomationExecutionCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "GetAutomationExecutionCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "GetAutomationExecution", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_GetAutomationExecutionCommand(input, context); + } + deserialize(output, context) { + return de_GetAutomationExecutionCommand(output, context); + } +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetCalendarStateCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetCalendarStateCommand.js new file mode 100644 index 00000000..d9397ded --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetCalendarStateCommand.js @@ -0,0 +1,47 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; +import { de_GetCalendarStateCommand, se_GetCalendarStateCommand } from "../protocols/Aws_json1_1"; +export { $Command }; +export class GetCalendarStateCommand extends $Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getEndpointPlugin(configuration, GetCalendarStateCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "GetCalendarStateCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "GetCalendarState", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_GetCalendarStateCommand(input, context); + } + deserialize(output, context) { + return de_GetCalendarStateCommand(output, context); + } +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetCommandInvocationCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetCommandInvocationCommand.js new file mode 100644 index 00000000..5f680f5f --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetCommandInvocationCommand.js @@ -0,0 +1,47 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; +import { de_GetCommandInvocationCommand, se_GetCommandInvocationCommand } from "../protocols/Aws_json1_1"; +export { $Command }; +export class GetCommandInvocationCommand extends $Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getEndpointPlugin(configuration, GetCommandInvocationCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "GetCommandInvocationCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "GetCommandInvocation", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_GetCommandInvocationCommand(input, context); + } + deserialize(output, context) { + return de_GetCommandInvocationCommand(output, context); + } +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetConnectionStatusCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetConnectionStatusCommand.js new file mode 100644 index 00000000..b0828c09 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetConnectionStatusCommand.js @@ -0,0 +1,47 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; +import { de_GetConnectionStatusCommand, se_GetConnectionStatusCommand } from "../protocols/Aws_json1_1"; +export { $Command }; +export class GetConnectionStatusCommand extends $Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getEndpointPlugin(configuration, GetConnectionStatusCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "GetConnectionStatusCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "GetConnectionStatus", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_GetConnectionStatusCommand(input, context); + } + deserialize(output, context) { + return de_GetConnectionStatusCommand(output, context); + } +} diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/commands/CreateCodeSigningConfigCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetDefaultPatchBaselineCommand.js similarity index 73% rename from node_modules/@aws-sdk/client-lambda/dist-es/commands/CreateCodeSigningConfigCommand.js rename to node_modules/@aws-sdk/client-ssm/dist-es/commands/GetDefaultPatchBaselineCommand.js index 2ba2c351..2a5dda6d 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-es/commands/CreateCodeSigningConfigCommand.js +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetDefaultPatchBaselineCommand.js @@ -2,9 +2,9 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint"; import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; -import { de_CreateCodeSigningConfigCommand, se_CreateCodeSigningConfigCommand } from "../protocols/Aws_restJson1"; +import { de_GetDefaultPatchBaselineCommand, se_GetDefaultPatchBaselineCommand } from "../protocols/Aws_json1_1"; export { $Command }; -export class CreateCodeSigningConfigCommand extends $Command { +export class GetDefaultPatchBaselineCommand extends $Command { static getEndpointParameterInstructions() { return { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, @@ -19,11 +19,11 @@ export class CreateCodeSigningConfigCommand extends $Command { } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getEndpointPlugin(configuration, CreateCodeSigningConfigCommand.getEndpointParameterInstructions())); + this.middlewareStack.use(getEndpointPlugin(configuration, GetDefaultPatchBaselineCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "CreateCodeSigningConfigCommand"; + const clientName = "SSMClient"; + const commandName = "GetDefaultPatchBaselineCommand"; const handlerExecutionContext = { logger, clientName, @@ -31,17 +31,17 @@ export class CreateCodeSigningConfigCommand extends $Command { inputFilterSensitiveLog: (_) => _, outputFilterSensitiveLog: (_) => _, [SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "CreateCodeSigningConfig", + service: "AmazonSSM", + operation: "GetDefaultPatchBaseline", }, }; const { requestHandler } = configuration; return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return se_CreateCodeSigningConfigCommand(input, context); + return se_GetDefaultPatchBaselineCommand(input, context); } deserialize(output, context) { - return de_CreateCodeSigningConfigCommand(output, context); + return de_GetDefaultPatchBaselineCommand(output, context); } } diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetDeployablePatchSnapshotForInstanceCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetDeployablePatchSnapshotForInstanceCommand.js new file mode 100644 index 00000000..3a238c73 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetDeployablePatchSnapshotForInstanceCommand.js @@ -0,0 +1,48 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; +import { GetDeployablePatchSnapshotForInstanceRequestFilterSensitiveLog, } from "../models/models_1"; +import { de_GetDeployablePatchSnapshotForInstanceCommand, se_GetDeployablePatchSnapshotForInstanceCommand, } from "../protocols/Aws_json1_1"; +export { $Command }; +export class GetDeployablePatchSnapshotForInstanceCommand extends $Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getEndpointPlugin(configuration, GetDeployablePatchSnapshotForInstanceCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "GetDeployablePatchSnapshotForInstanceCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: GetDeployablePatchSnapshotForInstanceRequestFilterSensitiveLog, + outputFilterSensitiveLog: (_) => _, + [SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "GetDeployablePatchSnapshotForInstance", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_GetDeployablePatchSnapshotForInstanceCommand(input, context); + } + deserialize(output, context) { + return de_GetDeployablePatchSnapshotForInstanceCommand(output, context); + } +} diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/commands/GetPolicyCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetDocumentCommand.js similarity index 76% rename from node_modules/@aws-sdk/client-lambda/dist-es/commands/GetPolicyCommand.js rename to node_modules/@aws-sdk/client-ssm/dist-es/commands/GetDocumentCommand.js index 9e8360fc..d4ee57c2 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-es/commands/GetPolicyCommand.js +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetDocumentCommand.js @@ -2,9 +2,9 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint"; import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; -import { de_GetPolicyCommand, se_GetPolicyCommand } from "../protocols/Aws_restJson1"; +import { de_GetDocumentCommand, se_GetDocumentCommand } from "../protocols/Aws_json1_1"; export { $Command }; -export class GetPolicyCommand extends $Command { +export class GetDocumentCommand extends $Command { static getEndpointParameterInstructions() { return { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, @@ -19,11 +19,11 @@ export class GetPolicyCommand extends $Command { } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getEndpointPlugin(configuration, GetPolicyCommand.getEndpointParameterInstructions())); + this.middlewareStack.use(getEndpointPlugin(configuration, GetDocumentCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "GetPolicyCommand"; + const clientName = "SSMClient"; + const commandName = "GetDocumentCommand"; const handlerExecutionContext = { logger, clientName, @@ -31,17 +31,17 @@ export class GetPolicyCommand extends $Command { inputFilterSensitiveLog: (_) => _, outputFilterSensitiveLog: (_) => _, [SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "GetPolicy", + service: "AmazonSSM", + operation: "GetDocument", }, }; const { requestHandler } = configuration; return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return se_GetPolicyCommand(input, context); + return se_GetDocumentCommand(input, context); } deserialize(output, context) { - return de_GetPolicyCommand(output, context); + return de_GetDocumentCommand(output, context); } } diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/commands/ListLayersCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetInventoryCommand.js similarity index 76% rename from node_modules/@aws-sdk/client-lambda/dist-es/commands/ListLayersCommand.js rename to node_modules/@aws-sdk/client-ssm/dist-es/commands/GetInventoryCommand.js index 2b495612..58d98b0b 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-es/commands/ListLayersCommand.js +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetInventoryCommand.js @@ -2,9 +2,9 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint"; import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; -import { de_ListLayersCommand, se_ListLayersCommand } from "../protocols/Aws_restJson1"; +import { de_GetInventoryCommand, se_GetInventoryCommand } from "../protocols/Aws_json1_1"; export { $Command }; -export class ListLayersCommand extends $Command { +export class GetInventoryCommand extends $Command { static getEndpointParameterInstructions() { return { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, @@ -19,11 +19,11 @@ export class ListLayersCommand extends $Command { } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getEndpointPlugin(configuration, ListLayersCommand.getEndpointParameterInstructions())); + this.middlewareStack.use(getEndpointPlugin(configuration, GetInventoryCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "ListLayersCommand"; + const clientName = "SSMClient"; + const commandName = "GetInventoryCommand"; const handlerExecutionContext = { logger, clientName, @@ -31,17 +31,17 @@ export class ListLayersCommand extends $Command { inputFilterSensitiveLog: (_) => _, outputFilterSensitiveLog: (_) => _, [SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "ListLayers", + service: "AmazonSSM", + operation: "GetInventory", }, }; const { requestHandler } = configuration; return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return se_ListLayersCommand(input, context); + return se_GetInventoryCommand(input, context); } deserialize(output, context) { - return de_ListLayersCommand(output, context); + return de_GetInventoryCommand(output, context); } } diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetInventorySchemaCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetInventorySchemaCommand.js new file mode 100644 index 00000000..30130446 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetInventorySchemaCommand.js @@ -0,0 +1,47 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; +import { de_GetInventorySchemaCommand, se_GetInventorySchemaCommand } from "../protocols/Aws_json1_1"; +export { $Command }; +export class GetInventorySchemaCommand extends $Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getEndpointPlugin(configuration, GetInventorySchemaCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "GetInventorySchemaCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "GetInventorySchema", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_GetInventorySchemaCommand(input, context); + } + deserialize(output, context) { + return de_GetInventorySchemaCommand(output, context); + } +} diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/commands/GetCodeSigningConfigCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetMaintenanceWindowCommand.js similarity index 67% rename from node_modules/@aws-sdk/client-lambda/dist-es/commands/GetCodeSigningConfigCommand.js rename to node_modules/@aws-sdk/client-ssm/dist-es/commands/GetMaintenanceWindowCommand.js index dc615314..9e27b6ea 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-es/commands/GetCodeSigningConfigCommand.js +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetMaintenanceWindowCommand.js @@ -2,9 +2,10 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint"; import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; -import { de_GetCodeSigningConfigCommand, se_GetCodeSigningConfigCommand } from "../protocols/Aws_restJson1"; +import { GetMaintenanceWindowResultFilterSensitiveLog, } from "../models/models_1"; +import { de_GetMaintenanceWindowCommand, se_GetMaintenanceWindowCommand } from "../protocols/Aws_json1_1"; export { $Command }; -export class GetCodeSigningConfigCommand extends $Command { +export class GetMaintenanceWindowCommand extends $Command { static getEndpointParameterInstructions() { return { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, @@ -19,29 +20,29 @@ export class GetCodeSigningConfigCommand extends $Command { } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getEndpointPlugin(configuration, GetCodeSigningConfigCommand.getEndpointParameterInstructions())); + this.middlewareStack.use(getEndpointPlugin(configuration, GetMaintenanceWindowCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "GetCodeSigningConfigCommand"; + const clientName = "SSMClient"; + const commandName = "GetMaintenanceWindowCommand"; const handlerExecutionContext = { logger, clientName, commandName, inputFilterSensitiveLog: (_) => _, - outputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: GetMaintenanceWindowResultFilterSensitiveLog, [SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "GetCodeSigningConfig", + service: "AmazonSSM", + operation: "GetMaintenanceWindow", }, }; const { requestHandler } = configuration; return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return se_GetCodeSigningConfigCommand(input, context); + return se_GetMaintenanceWindowCommand(input, context); } deserialize(output, context) { - return de_GetCodeSigningConfigCommand(output, context); + return de_GetMaintenanceWindowCommand(output, context); } } diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetMaintenanceWindowExecutionCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetMaintenanceWindowExecutionCommand.js new file mode 100644 index 00000000..1d05fa9c --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetMaintenanceWindowExecutionCommand.js @@ -0,0 +1,47 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; +import { de_GetMaintenanceWindowExecutionCommand, se_GetMaintenanceWindowExecutionCommand, } from "../protocols/Aws_json1_1"; +export { $Command }; +export class GetMaintenanceWindowExecutionCommand extends $Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getEndpointPlugin(configuration, GetMaintenanceWindowExecutionCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "GetMaintenanceWindowExecutionCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "GetMaintenanceWindowExecution", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_GetMaintenanceWindowExecutionCommand(input, context); + } + deserialize(output, context) { + return de_GetMaintenanceWindowExecutionCommand(output, context); + } +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetMaintenanceWindowExecutionTaskCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetMaintenanceWindowExecutionTaskCommand.js new file mode 100644 index 00000000..66981619 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetMaintenanceWindowExecutionTaskCommand.js @@ -0,0 +1,48 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; +import { GetMaintenanceWindowExecutionTaskResultFilterSensitiveLog, } from "../models/models_1"; +import { de_GetMaintenanceWindowExecutionTaskCommand, se_GetMaintenanceWindowExecutionTaskCommand, } from "../protocols/Aws_json1_1"; +export { $Command }; +export class GetMaintenanceWindowExecutionTaskCommand extends $Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getEndpointPlugin(configuration, GetMaintenanceWindowExecutionTaskCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "GetMaintenanceWindowExecutionTaskCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: GetMaintenanceWindowExecutionTaskResultFilterSensitiveLog, + [SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "GetMaintenanceWindowExecutionTask", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_GetMaintenanceWindowExecutionTaskCommand(input, context); + } + deserialize(output, context) { + return de_GetMaintenanceWindowExecutionTaskCommand(output, context); + } +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetMaintenanceWindowExecutionTaskInvocationCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetMaintenanceWindowExecutionTaskInvocationCommand.js new file mode 100644 index 00000000..2d320a3a --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetMaintenanceWindowExecutionTaskInvocationCommand.js @@ -0,0 +1,48 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; +import { GetMaintenanceWindowExecutionTaskInvocationResultFilterSensitiveLog, } from "../models/models_1"; +import { de_GetMaintenanceWindowExecutionTaskInvocationCommand, se_GetMaintenanceWindowExecutionTaskInvocationCommand, } from "../protocols/Aws_json1_1"; +export { $Command }; +export class GetMaintenanceWindowExecutionTaskInvocationCommand extends $Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getEndpointPlugin(configuration, GetMaintenanceWindowExecutionTaskInvocationCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "GetMaintenanceWindowExecutionTaskInvocationCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: GetMaintenanceWindowExecutionTaskInvocationResultFilterSensitiveLog, + [SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "GetMaintenanceWindowExecutionTaskInvocation", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_GetMaintenanceWindowExecutionTaskInvocationCommand(input, context); + } + deserialize(output, context) { + return de_GetMaintenanceWindowExecutionTaskInvocationCommand(output, context); + } +} diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/commands/GetFunctionConfigurationCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetMaintenanceWindowTaskCommand.js similarity index 67% rename from node_modules/@aws-sdk/client-lambda/dist-es/commands/GetFunctionConfigurationCommand.js rename to node_modules/@aws-sdk/client-ssm/dist-es/commands/GetMaintenanceWindowTaskCommand.js index 82da2a26..d75ca44f 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-es/commands/GetFunctionConfigurationCommand.js +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetMaintenanceWindowTaskCommand.js @@ -2,10 +2,10 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint"; import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; -import { FunctionConfigurationFilterSensitiveLog, } from "../models/models_0"; -import { de_GetFunctionConfigurationCommand, se_GetFunctionConfigurationCommand } from "../protocols/Aws_restJson1"; +import { GetMaintenanceWindowTaskResultFilterSensitiveLog, } from "../models/models_1"; +import { de_GetMaintenanceWindowTaskCommand, se_GetMaintenanceWindowTaskCommand } from "../protocols/Aws_json1_1"; export { $Command }; -export class GetFunctionConfigurationCommand extends $Command { +export class GetMaintenanceWindowTaskCommand extends $Command { static getEndpointParameterInstructions() { return { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, @@ -20,29 +20,29 @@ export class GetFunctionConfigurationCommand extends $Command { } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getEndpointPlugin(configuration, GetFunctionConfigurationCommand.getEndpointParameterInstructions())); + this.middlewareStack.use(getEndpointPlugin(configuration, GetMaintenanceWindowTaskCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "GetFunctionConfigurationCommand"; + const clientName = "SSMClient"; + const commandName = "GetMaintenanceWindowTaskCommand"; const handlerExecutionContext = { logger, clientName, commandName, inputFilterSensitiveLog: (_) => _, - outputFilterSensitiveLog: FunctionConfigurationFilterSensitiveLog, + outputFilterSensitiveLog: GetMaintenanceWindowTaskResultFilterSensitiveLog, [SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "GetFunctionConfiguration", + service: "AmazonSSM", + operation: "GetMaintenanceWindowTask", }, }; const { requestHandler } = configuration; return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return se_GetFunctionConfigurationCommand(input, context); + return se_GetMaintenanceWindowTaskCommand(input, context); } deserialize(output, context) { - return de_GetFunctionConfigurationCommand(output, context); + return de_GetMaintenanceWindowTaskCommand(output, context); } } diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/commands/ListTagsCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetOpsItemCommand.js similarity index 76% rename from node_modules/@aws-sdk/client-lambda/dist-es/commands/ListTagsCommand.js rename to node_modules/@aws-sdk/client-ssm/dist-es/commands/GetOpsItemCommand.js index 42ad3dfb..27f8d945 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-es/commands/ListTagsCommand.js +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetOpsItemCommand.js @@ -2,9 +2,9 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint"; import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; -import { de_ListTagsCommand, se_ListTagsCommand } from "../protocols/Aws_restJson1"; +import { de_GetOpsItemCommand, se_GetOpsItemCommand } from "../protocols/Aws_json1_1"; export { $Command }; -export class ListTagsCommand extends $Command { +export class GetOpsItemCommand extends $Command { static getEndpointParameterInstructions() { return { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, @@ -19,11 +19,11 @@ export class ListTagsCommand extends $Command { } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getEndpointPlugin(configuration, ListTagsCommand.getEndpointParameterInstructions())); + this.middlewareStack.use(getEndpointPlugin(configuration, GetOpsItemCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "ListTagsCommand"; + const clientName = "SSMClient"; + const commandName = "GetOpsItemCommand"; const handlerExecutionContext = { logger, clientName, @@ -31,17 +31,17 @@ export class ListTagsCommand extends $Command { inputFilterSensitiveLog: (_) => _, outputFilterSensitiveLog: (_) => _, [SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "ListTags", + service: "AmazonSSM", + operation: "GetOpsItem", }, }; const { requestHandler } = configuration; return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return se_ListTagsCommand(input, context); + return se_GetOpsItemCommand(input, context); } deserialize(output, context) { - return de_ListTagsCommand(output, context); + return de_GetOpsItemCommand(output, context); } } diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetOpsMetadataCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetOpsMetadataCommand.js new file mode 100644 index 00000000..587e67fd --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetOpsMetadataCommand.js @@ -0,0 +1,47 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; +import { de_GetOpsMetadataCommand, se_GetOpsMetadataCommand } from "../protocols/Aws_json1_1"; +export { $Command }; +export class GetOpsMetadataCommand extends $Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getEndpointPlugin(configuration, GetOpsMetadataCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "GetOpsMetadataCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "GetOpsMetadata", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_GetOpsMetadataCommand(input, context); + } + deserialize(output, context) { + return de_GetOpsMetadataCommand(output, context); + } +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetOpsSummaryCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetOpsSummaryCommand.js new file mode 100644 index 00000000..c7c4b59a --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetOpsSummaryCommand.js @@ -0,0 +1,47 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; +import { de_GetOpsSummaryCommand, se_GetOpsSummaryCommand } from "../protocols/Aws_json1_1"; +export { $Command }; +export class GetOpsSummaryCommand extends $Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getEndpointPlugin(configuration, GetOpsSummaryCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "GetOpsSummaryCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "GetOpsSummary", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_GetOpsSummaryCommand(input, context); + } + deserialize(output, context) { + return de_GetOpsSummaryCommand(output, context); + } +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetParameterCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetParameterCommand.js new file mode 100644 index 00000000..d570f5c6 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetParameterCommand.js @@ -0,0 +1,48 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; +import { GetParameterResultFilterSensitiveLog } from "../models/models_1"; +import { de_GetParameterCommand, se_GetParameterCommand } from "../protocols/Aws_json1_1"; +export { $Command }; +export class GetParameterCommand extends $Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getEndpointPlugin(configuration, GetParameterCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "GetParameterCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: GetParameterResultFilterSensitiveLog, + [SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "GetParameter", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_GetParameterCommand(input, context); + } + deserialize(output, context) { + return de_GetParameterCommand(output, context); + } +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetParameterHistoryCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetParameterHistoryCommand.js new file mode 100644 index 00000000..0477a5bf --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetParameterHistoryCommand.js @@ -0,0 +1,48 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; +import { GetParameterHistoryResultFilterSensitiveLog, } from "../models/models_1"; +import { de_GetParameterHistoryCommand, se_GetParameterHistoryCommand } from "../protocols/Aws_json1_1"; +export { $Command }; +export class GetParameterHistoryCommand extends $Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getEndpointPlugin(configuration, GetParameterHistoryCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "GetParameterHistoryCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: GetParameterHistoryResultFilterSensitiveLog, + [SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "GetParameterHistory", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_GetParameterHistoryCommand(input, context); + } + deserialize(output, context) { + return de_GetParameterHistoryCommand(output, context); + } +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetParametersByPathCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetParametersByPathCommand.js new file mode 100644 index 00000000..7e582a1f --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetParametersByPathCommand.js @@ -0,0 +1,48 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; +import { GetParametersByPathResultFilterSensitiveLog, } from "../models/models_1"; +import { de_GetParametersByPathCommand, se_GetParametersByPathCommand } from "../protocols/Aws_json1_1"; +export { $Command }; +export class GetParametersByPathCommand extends $Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getEndpointPlugin(configuration, GetParametersByPathCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "GetParametersByPathCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: GetParametersByPathResultFilterSensitiveLog, + [SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "GetParametersByPath", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_GetParametersByPathCommand(input, context); + } + deserialize(output, context) { + return de_GetParametersByPathCommand(output, context); + } +} diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/commands/GetFunctionCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetParametersCommand.js similarity index 70% rename from node_modules/@aws-sdk/client-lambda/dist-es/commands/GetFunctionCommand.js rename to node_modules/@aws-sdk/client-ssm/dist-es/commands/GetParametersCommand.js index fcaa64fe..240ff53e 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-es/commands/GetFunctionCommand.js +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetParametersCommand.js @@ -2,10 +2,10 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint"; import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; -import { GetFunctionResponseFilterSensitiveLog } from "../models/models_0"; -import { de_GetFunctionCommand, se_GetFunctionCommand } from "../protocols/Aws_restJson1"; +import { GetParametersResultFilterSensitiveLog } from "../models/models_1"; +import { de_GetParametersCommand, se_GetParametersCommand } from "../protocols/Aws_json1_1"; export { $Command }; -export class GetFunctionCommand extends $Command { +export class GetParametersCommand extends $Command { static getEndpointParameterInstructions() { return { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, @@ -20,29 +20,29 @@ export class GetFunctionCommand extends $Command { } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getEndpointPlugin(configuration, GetFunctionCommand.getEndpointParameterInstructions())); + this.middlewareStack.use(getEndpointPlugin(configuration, GetParametersCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "GetFunctionCommand"; + const clientName = "SSMClient"; + const commandName = "GetParametersCommand"; const handlerExecutionContext = { logger, clientName, commandName, inputFilterSensitiveLog: (_) => _, - outputFilterSensitiveLog: GetFunctionResponseFilterSensitiveLog, + outputFilterSensitiveLog: GetParametersResultFilterSensitiveLog, [SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "GetFunction", + service: "AmazonSSM", + operation: "GetParameters", }, }; const { requestHandler } = configuration; return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return se_GetFunctionCommand(input, context); + return se_GetParametersCommand(input, context); } deserialize(output, context) { - return de_GetFunctionCommand(output, context); + return de_GetParametersCommand(output, context); } } diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetPatchBaselineCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetPatchBaselineCommand.js new file mode 100644 index 00000000..94ecad00 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetPatchBaselineCommand.js @@ -0,0 +1,48 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; +import { GetPatchBaselineResultFilterSensitiveLog, } from "../models/models_1"; +import { de_GetPatchBaselineCommand, se_GetPatchBaselineCommand } from "../protocols/Aws_json1_1"; +export { $Command }; +export class GetPatchBaselineCommand extends $Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getEndpointPlugin(configuration, GetPatchBaselineCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "GetPatchBaselineCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: GetPatchBaselineResultFilterSensitiveLog, + [SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "GetPatchBaseline", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_GetPatchBaselineCommand(input, context); + } + deserialize(output, context) { + return de_GetPatchBaselineCommand(output, context); + } +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetPatchBaselineForPatchGroupCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetPatchBaselineForPatchGroupCommand.js new file mode 100644 index 00000000..c3bad2e1 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetPatchBaselineForPatchGroupCommand.js @@ -0,0 +1,47 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; +import { de_GetPatchBaselineForPatchGroupCommand, se_GetPatchBaselineForPatchGroupCommand, } from "../protocols/Aws_json1_1"; +export { $Command }; +export class GetPatchBaselineForPatchGroupCommand extends $Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getEndpointPlugin(configuration, GetPatchBaselineForPatchGroupCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "GetPatchBaselineForPatchGroupCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "GetPatchBaselineForPatchGroup", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_GetPatchBaselineForPatchGroupCommand(input, context); + } + deserialize(output, context) { + return de_GetPatchBaselineForPatchGroupCommand(output, context); + } +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetResourcePoliciesCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetResourcePoliciesCommand.js new file mode 100644 index 00000000..b637d7de --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetResourcePoliciesCommand.js @@ -0,0 +1,47 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; +import { de_GetResourcePoliciesCommand, se_GetResourcePoliciesCommand } from "../protocols/Aws_json1_1"; +export { $Command }; +export class GetResourcePoliciesCommand extends $Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getEndpointPlugin(configuration, GetResourcePoliciesCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "GetResourcePoliciesCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "GetResourcePolicies", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_GetResourcePoliciesCommand(input, context); + } + deserialize(output, context) { + return de_GetResourcePoliciesCommand(output, context); + } +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetServiceSettingCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetServiceSettingCommand.js new file mode 100644 index 00000000..4fa398a8 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/GetServiceSettingCommand.js @@ -0,0 +1,47 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; +import { de_GetServiceSettingCommand, se_GetServiceSettingCommand } from "../protocols/Aws_json1_1"; +export { $Command }; +export class GetServiceSettingCommand extends $Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getEndpointPlugin(configuration, GetServiceSettingCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "GetServiceSettingCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "GetServiceSetting", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_GetServiceSettingCommand(input, context); + } + deserialize(output, context) { + return de_GetServiceSettingCommand(output, context); + } +} diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/commands/ListLayerVersionsCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/LabelParameterVersionCommand.js similarity index 73% rename from node_modules/@aws-sdk/client-lambda/dist-es/commands/ListLayerVersionsCommand.js rename to node_modules/@aws-sdk/client-ssm/dist-es/commands/LabelParameterVersionCommand.js index 0b771dd7..d2391728 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-es/commands/ListLayerVersionsCommand.js +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/LabelParameterVersionCommand.js @@ -2,9 +2,9 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint"; import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; -import { de_ListLayerVersionsCommand, se_ListLayerVersionsCommand } from "../protocols/Aws_restJson1"; +import { de_LabelParameterVersionCommand, se_LabelParameterVersionCommand } from "../protocols/Aws_json1_1"; export { $Command }; -export class ListLayerVersionsCommand extends $Command { +export class LabelParameterVersionCommand extends $Command { static getEndpointParameterInstructions() { return { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, @@ -19,11 +19,11 @@ export class ListLayerVersionsCommand extends $Command { } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getEndpointPlugin(configuration, ListLayerVersionsCommand.getEndpointParameterInstructions())); + this.middlewareStack.use(getEndpointPlugin(configuration, LabelParameterVersionCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "ListLayerVersionsCommand"; + const clientName = "SSMClient"; + const commandName = "LabelParameterVersionCommand"; const handlerExecutionContext = { logger, clientName, @@ -31,17 +31,17 @@ export class ListLayerVersionsCommand extends $Command { inputFilterSensitiveLog: (_) => _, outputFilterSensitiveLog: (_) => _, [SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "ListLayerVersions", + service: "AmazonSSM", + operation: "LabelParameterVersion", }, }; const { requestHandler } = configuration; return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return se_ListLayerVersionsCommand(input, context); + return se_LabelParameterVersionCommand(input, context); } deserialize(output, context) { - return de_ListLayerVersionsCommand(output, context); + return de_LabelParameterVersionCommand(output, context); } } diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/commands/ListAssociationVersionsCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/ListAssociationVersionsCommand.js new file mode 100644 index 00000000..61515f74 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/ListAssociationVersionsCommand.js @@ -0,0 +1,48 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; +import { ListAssociationVersionsResultFilterSensitiveLog, } from "../models/models_1"; +import { de_ListAssociationVersionsCommand, se_ListAssociationVersionsCommand } from "../protocols/Aws_json1_1"; +export { $Command }; +export class ListAssociationVersionsCommand extends $Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getEndpointPlugin(configuration, ListAssociationVersionsCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "ListAssociationVersionsCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: ListAssociationVersionsResultFilterSensitiveLog, + [SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "ListAssociationVersions", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_ListAssociationVersionsCommand(input, context); + } + deserialize(output, context) { + return de_ListAssociationVersionsCommand(output, context); + } +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/commands/ListAssociationsCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/ListAssociationsCommand.js new file mode 100644 index 00000000..4194b639 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/ListAssociationsCommand.js @@ -0,0 +1,47 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; +import { de_ListAssociationsCommand, se_ListAssociationsCommand } from "../protocols/Aws_json1_1"; +export { $Command }; +export class ListAssociationsCommand extends $Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getEndpointPlugin(configuration, ListAssociationsCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "ListAssociationsCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "ListAssociations", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_ListAssociationsCommand(input, context); + } + deserialize(output, context) { + return de_ListAssociationsCommand(output, context); + } +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/commands/ListCommandInvocationsCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/ListCommandInvocationsCommand.js new file mode 100644 index 00000000..be7f41ff --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/ListCommandInvocationsCommand.js @@ -0,0 +1,47 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; +import { de_ListCommandInvocationsCommand, se_ListCommandInvocationsCommand } from "../protocols/Aws_json1_1"; +export { $Command }; +export class ListCommandInvocationsCommand extends $Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getEndpointPlugin(configuration, ListCommandInvocationsCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "ListCommandInvocationsCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "ListCommandInvocations", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_ListCommandInvocationsCommand(input, context); + } + deserialize(output, context) { + return de_ListCommandInvocationsCommand(output, context); + } +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/commands/ListCommandsCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/ListCommandsCommand.js new file mode 100644 index 00000000..af79a212 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/ListCommandsCommand.js @@ -0,0 +1,48 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; +import { ListCommandsResultFilterSensitiveLog } from "../models/models_1"; +import { de_ListCommandsCommand, se_ListCommandsCommand } from "../protocols/Aws_json1_1"; +export { $Command }; +export class ListCommandsCommand extends $Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getEndpointPlugin(configuration, ListCommandsCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "ListCommandsCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: ListCommandsResultFilterSensitiveLog, + [SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "ListCommands", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_ListCommandsCommand(input, context); + } + deserialize(output, context) { + return de_ListCommandsCommand(output, context); + } +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/commands/ListComplianceItemsCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/ListComplianceItemsCommand.js new file mode 100644 index 00000000..c03074a7 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/ListComplianceItemsCommand.js @@ -0,0 +1,47 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; +import { de_ListComplianceItemsCommand, se_ListComplianceItemsCommand } from "../protocols/Aws_json1_1"; +export { $Command }; +export class ListComplianceItemsCommand extends $Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getEndpointPlugin(configuration, ListComplianceItemsCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "ListComplianceItemsCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "ListComplianceItems", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_ListComplianceItemsCommand(input, context); + } + deserialize(output, context) { + return de_ListComplianceItemsCommand(output, context); + } +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/commands/ListComplianceSummariesCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/ListComplianceSummariesCommand.js new file mode 100644 index 00000000..1713d5a7 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/ListComplianceSummariesCommand.js @@ -0,0 +1,47 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; +import { de_ListComplianceSummariesCommand, se_ListComplianceSummariesCommand } from "../protocols/Aws_json1_1"; +export { $Command }; +export class ListComplianceSummariesCommand extends $Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getEndpointPlugin(configuration, ListComplianceSummariesCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "ListComplianceSummariesCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "ListComplianceSummaries", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_ListComplianceSummariesCommand(input, context); + } + deserialize(output, context) { + return de_ListComplianceSummariesCommand(output, context); + } +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/commands/ListDocumentMetadataHistoryCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/ListDocumentMetadataHistoryCommand.js new file mode 100644 index 00000000..43bb24f7 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/ListDocumentMetadataHistoryCommand.js @@ -0,0 +1,47 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; +import { de_ListDocumentMetadataHistoryCommand, se_ListDocumentMetadataHistoryCommand } from "../protocols/Aws_json1_1"; +export { $Command }; +export class ListDocumentMetadataHistoryCommand extends $Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getEndpointPlugin(configuration, ListDocumentMetadataHistoryCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "ListDocumentMetadataHistoryCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "ListDocumentMetadataHistory", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_ListDocumentMetadataHistoryCommand(input, context); + } + deserialize(output, context) { + return de_ListDocumentMetadataHistoryCommand(output, context); + } +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/commands/ListDocumentVersionsCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/ListDocumentVersionsCommand.js new file mode 100644 index 00000000..c6303c3f --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/ListDocumentVersionsCommand.js @@ -0,0 +1,47 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; +import { de_ListDocumentVersionsCommand, se_ListDocumentVersionsCommand } from "../protocols/Aws_json1_1"; +export { $Command }; +export class ListDocumentVersionsCommand extends $Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getEndpointPlugin(configuration, ListDocumentVersionsCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "ListDocumentVersionsCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "ListDocumentVersions", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_ListDocumentVersionsCommand(input, context); + } + deserialize(output, context) { + return de_ListDocumentVersionsCommand(output, context); + } +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/commands/ListDocumentsCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/ListDocumentsCommand.js new file mode 100644 index 00000000..b6532725 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/ListDocumentsCommand.js @@ -0,0 +1,47 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; +import { de_ListDocumentsCommand, se_ListDocumentsCommand } from "../protocols/Aws_json1_1"; +export { $Command }; +export class ListDocumentsCommand extends $Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getEndpointPlugin(configuration, ListDocumentsCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "ListDocumentsCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "ListDocuments", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_ListDocumentsCommand(input, context); + } + deserialize(output, context) { + return de_ListDocumentsCommand(output, context); + } +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/commands/ListInventoryEntriesCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/ListInventoryEntriesCommand.js new file mode 100644 index 00000000..572952fb --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/ListInventoryEntriesCommand.js @@ -0,0 +1,47 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; +import { de_ListInventoryEntriesCommand, se_ListInventoryEntriesCommand } from "../protocols/Aws_json1_1"; +export { $Command }; +export class ListInventoryEntriesCommand extends $Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getEndpointPlugin(configuration, ListInventoryEntriesCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "ListInventoryEntriesCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "ListInventoryEntries", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_ListInventoryEntriesCommand(input, context); + } + deserialize(output, context) { + return de_ListInventoryEntriesCommand(output, context); + } +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/commands/ListOpsItemEventsCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/ListOpsItemEventsCommand.js new file mode 100644 index 00000000..658a34e2 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/ListOpsItemEventsCommand.js @@ -0,0 +1,47 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; +import { de_ListOpsItemEventsCommand, se_ListOpsItemEventsCommand } from "../protocols/Aws_json1_1"; +export { $Command }; +export class ListOpsItemEventsCommand extends $Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getEndpointPlugin(configuration, ListOpsItemEventsCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "ListOpsItemEventsCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "ListOpsItemEvents", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_ListOpsItemEventsCommand(input, context); + } + deserialize(output, context) { + return de_ListOpsItemEventsCommand(output, context); + } +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/commands/ListOpsItemRelatedItemsCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/ListOpsItemRelatedItemsCommand.js new file mode 100644 index 00000000..39db31f9 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/ListOpsItemRelatedItemsCommand.js @@ -0,0 +1,47 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; +import { de_ListOpsItemRelatedItemsCommand, se_ListOpsItemRelatedItemsCommand } from "../protocols/Aws_json1_1"; +export { $Command }; +export class ListOpsItemRelatedItemsCommand extends $Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getEndpointPlugin(configuration, ListOpsItemRelatedItemsCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "ListOpsItemRelatedItemsCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "ListOpsItemRelatedItems", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_ListOpsItemRelatedItemsCommand(input, context); + } + deserialize(output, context) { + return de_ListOpsItemRelatedItemsCommand(output, context); + } +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/commands/ListOpsMetadataCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/ListOpsMetadataCommand.js new file mode 100644 index 00000000..0ce6ca90 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/ListOpsMetadataCommand.js @@ -0,0 +1,47 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; +import { de_ListOpsMetadataCommand, se_ListOpsMetadataCommand } from "../protocols/Aws_json1_1"; +export { $Command }; +export class ListOpsMetadataCommand extends $Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getEndpointPlugin(configuration, ListOpsMetadataCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "ListOpsMetadataCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "ListOpsMetadata", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_ListOpsMetadataCommand(input, context); + } + deserialize(output, context) { + return de_ListOpsMetadataCommand(output, context); + } +} diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/commands/DeleteFunctionEventInvokeConfigCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/ListResourceComplianceSummariesCommand.js similarity index 72% rename from node_modules/@aws-sdk/client-lambda/dist-es/commands/DeleteFunctionEventInvokeConfigCommand.js rename to node_modules/@aws-sdk/client-ssm/dist-es/commands/ListResourceComplianceSummariesCommand.js index b8728db5..9a5e43d9 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-es/commands/DeleteFunctionEventInvokeConfigCommand.js +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/ListResourceComplianceSummariesCommand.js @@ -2,9 +2,9 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint"; import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; -import { de_DeleteFunctionEventInvokeConfigCommand, se_DeleteFunctionEventInvokeConfigCommand, } from "../protocols/Aws_restJson1"; +import { de_ListResourceComplianceSummariesCommand, se_ListResourceComplianceSummariesCommand, } from "../protocols/Aws_json1_1"; export { $Command }; -export class DeleteFunctionEventInvokeConfigCommand extends $Command { +export class ListResourceComplianceSummariesCommand extends $Command { static getEndpointParameterInstructions() { return { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, @@ -19,11 +19,11 @@ export class DeleteFunctionEventInvokeConfigCommand extends $Command { } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getEndpointPlugin(configuration, DeleteFunctionEventInvokeConfigCommand.getEndpointParameterInstructions())); + this.middlewareStack.use(getEndpointPlugin(configuration, ListResourceComplianceSummariesCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "DeleteFunctionEventInvokeConfigCommand"; + const clientName = "SSMClient"; + const commandName = "ListResourceComplianceSummariesCommand"; const handlerExecutionContext = { logger, clientName, @@ -31,17 +31,17 @@ export class DeleteFunctionEventInvokeConfigCommand extends $Command { inputFilterSensitiveLog: (_) => _, outputFilterSensitiveLog: (_) => _, [SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "DeleteFunctionEventInvokeConfig", + service: "AmazonSSM", + operation: "ListResourceComplianceSummaries", }, }; const { requestHandler } = configuration; return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return se_DeleteFunctionEventInvokeConfigCommand(input, context); + return se_ListResourceComplianceSummariesCommand(input, context); } deserialize(output, context) { - return de_DeleteFunctionEventInvokeConfigCommand(output, context); + return de_ListResourceComplianceSummariesCommand(output, context); } } diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/commands/ListResourceDataSyncCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/ListResourceDataSyncCommand.js new file mode 100644 index 00000000..4ea16a6f --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/ListResourceDataSyncCommand.js @@ -0,0 +1,47 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; +import { de_ListResourceDataSyncCommand, se_ListResourceDataSyncCommand } from "../protocols/Aws_json1_1"; +export { $Command }; +export class ListResourceDataSyncCommand extends $Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getEndpointPlugin(configuration, ListResourceDataSyncCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "ListResourceDataSyncCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "ListResourceDataSync", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_ListResourceDataSyncCommand(input, context); + } + deserialize(output, context) { + return de_ListResourceDataSyncCommand(output, context); + } +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/commands/ListTagsForResourceCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/ListTagsForResourceCommand.js new file mode 100644 index 00000000..600f71ff --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/ListTagsForResourceCommand.js @@ -0,0 +1,47 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; +import { de_ListTagsForResourceCommand, se_ListTagsForResourceCommand } from "../protocols/Aws_json1_1"; +export { $Command }; +export class ListTagsForResourceCommand extends $Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getEndpointPlugin(configuration, ListTagsForResourceCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "ListTagsForResourceCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "ListTagsForResource", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_ListTagsForResourceCommand(input, context); + } + deserialize(output, context) { + return de_ListTagsForResourceCommand(output, context); + } +} diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/commands/CreateEventSourceMappingCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/ModifyDocumentPermissionCommand.js similarity index 73% rename from node_modules/@aws-sdk/client-lambda/dist-es/commands/CreateEventSourceMappingCommand.js rename to node_modules/@aws-sdk/client-ssm/dist-es/commands/ModifyDocumentPermissionCommand.js index a6bf2ced..4201be73 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-es/commands/CreateEventSourceMappingCommand.js +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/ModifyDocumentPermissionCommand.js @@ -2,9 +2,9 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint"; import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; -import { de_CreateEventSourceMappingCommand, se_CreateEventSourceMappingCommand } from "../protocols/Aws_restJson1"; +import { de_ModifyDocumentPermissionCommand, se_ModifyDocumentPermissionCommand } from "../protocols/Aws_json1_1"; export { $Command }; -export class CreateEventSourceMappingCommand extends $Command { +export class ModifyDocumentPermissionCommand extends $Command { static getEndpointParameterInstructions() { return { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, @@ -19,11 +19,11 @@ export class CreateEventSourceMappingCommand extends $Command { } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getEndpointPlugin(configuration, CreateEventSourceMappingCommand.getEndpointParameterInstructions())); + this.middlewareStack.use(getEndpointPlugin(configuration, ModifyDocumentPermissionCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "CreateEventSourceMappingCommand"; + const clientName = "SSMClient"; + const commandName = "ModifyDocumentPermissionCommand"; const handlerExecutionContext = { logger, clientName, @@ -31,17 +31,17 @@ export class CreateEventSourceMappingCommand extends $Command { inputFilterSensitiveLog: (_) => _, outputFilterSensitiveLog: (_) => _, [SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "CreateEventSourceMapping", + service: "AmazonSSM", + operation: "ModifyDocumentPermission", }, }; const { requestHandler } = configuration; return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return se_CreateEventSourceMappingCommand(input, context); + return se_ModifyDocumentPermissionCommand(input, context); } deserialize(output, context) { - return de_CreateEventSourceMappingCommand(output, context); + return de_ModifyDocumentPermissionCommand(output, context); } } diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/commands/PutComplianceItemsCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/PutComplianceItemsCommand.js new file mode 100644 index 00000000..a0b29105 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/PutComplianceItemsCommand.js @@ -0,0 +1,47 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; +import { de_PutComplianceItemsCommand, se_PutComplianceItemsCommand } from "../protocols/Aws_json1_1"; +export { $Command }; +export class PutComplianceItemsCommand extends $Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getEndpointPlugin(configuration, PutComplianceItemsCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "PutComplianceItemsCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "PutComplianceItems", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_PutComplianceItemsCommand(input, context); + } + deserialize(output, context) { + return de_PutComplianceItemsCommand(output, context); + } +} diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/commands/GetAliasCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/PutInventoryCommand.js similarity index 76% rename from node_modules/@aws-sdk/client-lambda/dist-es/commands/GetAliasCommand.js rename to node_modules/@aws-sdk/client-ssm/dist-es/commands/PutInventoryCommand.js index 2ce9e4c7..4a744c86 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-es/commands/GetAliasCommand.js +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/PutInventoryCommand.js @@ -2,9 +2,9 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint"; import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; -import { de_GetAliasCommand, se_GetAliasCommand } from "../protocols/Aws_restJson1"; +import { de_PutInventoryCommand, se_PutInventoryCommand } from "../protocols/Aws_json1_1"; export { $Command }; -export class GetAliasCommand extends $Command { +export class PutInventoryCommand extends $Command { static getEndpointParameterInstructions() { return { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, @@ -19,11 +19,11 @@ export class GetAliasCommand extends $Command { } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getEndpointPlugin(configuration, GetAliasCommand.getEndpointParameterInstructions())); + this.middlewareStack.use(getEndpointPlugin(configuration, PutInventoryCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "GetAliasCommand"; + const clientName = "SSMClient"; + const commandName = "PutInventoryCommand"; const handlerExecutionContext = { logger, clientName, @@ -31,17 +31,17 @@ export class GetAliasCommand extends $Command { inputFilterSensitiveLog: (_) => _, outputFilterSensitiveLog: (_) => _, [SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "GetAlias", + service: "AmazonSSM", + operation: "PutInventory", }, }; const { requestHandler } = configuration; return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return se_GetAliasCommand(input, context); + return se_PutInventoryCommand(input, context); } deserialize(output, context) { - return de_GetAliasCommand(output, context); + return de_PutInventoryCommand(output, context); } } diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/commands/PutParameterCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/PutParameterCommand.js new file mode 100644 index 00000000..ea3e669e --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/PutParameterCommand.js @@ -0,0 +1,48 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; +import { PutParameterRequestFilterSensitiveLog } from "../models/models_1"; +import { de_PutParameterCommand, se_PutParameterCommand } from "../protocols/Aws_json1_1"; +export { $Command }; +export class PutParameterCommand extends $Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getEndpointPlugin(configuration, PutParameterCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "PutParameterCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: PutParameterRequestFilterSensitiveLog, + outputFilterSensitiveLog: (_) => _, + [SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "PutParameter", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_PutParameterCommand(input, context); + } + deserialize(output, context) { + return de_PutParameterCommand(output, context); + } +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/commands/PutResourcePolicyCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/PutResourcePolicyCommand.js new file mode 100644 index 00000000..217357de --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/PutResourcePolicyCommand.js @@ -0,0 +1,47 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; +import { de_PutResourcePolicyCommand, se_PutResourcePolicyCommand } from "../protocols/Aws_json1_1"; +export { $Command }; +export class PutResourcePolicyCommand extends $Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getEndpointPlugin(configuration, PutResourcePolicyCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "PutResourcePolicyCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "PutResourcePolicy", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_PutResourcePolicyCommand(input, context); + } + deserialize(output, context) { + return de_PutResourcePolicyCommand(output, context); + } +} diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/commands/PutFunctionCodeSigningConfigCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/RegisterDefaultPatchBaselineCommand.js similarity index 72% rename from node_modules/@aws-sdk/client-lambda/dist-es/commands/PutFunctionCodeSigningConfigCommand.js rename to node_modules/@aws-sdk/client-ssm/dist-es/commands/RegisterDefaultPatchBaselineCommand.js index 88abf62c..bf75bb9b 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-es/commands/PutFunctionCodeSigningConfigCommand.js +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/RegisterDefaultPatchBaselineCommand.js @@ -2,9 +2,9 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint"; import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; -import { de_PutFunctionCodeSigningConfigCommand, se_PutFunctionCodeSigningConfigCommand, } from "../protocols/Aws_restJson1"; +import { de_RegisterDefaultPatchBaselineCommand, se_RegisterDefaultPatchBaselineCommand, } from "../protocols/Aws_json1_1"; export { $Command }; -export class PutFunctionCodeSigningConfigCommand extends $Command { +export class RegisterDefaultPatchBaselineCommand extends $Command { static getEndpointParameterInstructions() { return { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, @@ -19,11 +19,11 @@ export class PutFunctionCodeSigningConfigCommand extends $Command { } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getEndpointPlugin(configuration, PutFunctionCodeSigningConfigCommand.getEndpointParameterInstructions())); + this.middlewareStack.use(getEndpointPlugin(configuration, RegisterDefaultPatchBaselineCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "PutFunctionCodeSigningConfigCommand"; + const clientName = "SSMClient"; + const commandName = "RegisterDefaultPatchBaselineCommand"; const handlerExecutionContext = { logger, clientName, @@ -31,17 +31,17 @@ export class PutFunctionCodeSigningConfigCommand extends $Command { inputFilterSensitiveLog: (_) => _, outputFilterSensitiveLog: (_) => _, [SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "PutFunctionCodeSigningConfig", + service: "AmazonSSM", + operation: "RegisterDefaultPatchBaseline", }, }; const { requestHandler } = configuration; return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return se_PutFunctionCodeSigningConfigCommand(input, context); + return se_RegisterDefaultPatchBaselineCommand(input, context); } deserialize(output, context) { - return de_PutFunctionCodeSigningConfigCommand(output, context); + return de_RegisterDefaultPatchBaselineCommand(output, context); } } diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/commands/GetEventSourceMappingCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/RegisterPatchBaselineForPatchGroupCommand.js similarity index 70% rename from node_modules/@aws-sdk/client-lambda/dist-es/commands/GetEventSourceMappingCommand.js rename to node_modules/@aws-sdk/client-ssm/dist-es/commands/RegisterPatchBaselineForPatchGroupCommand.js index ab4230ee..eda52139 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-es/commands/GetEventSourceMappingCommand.js +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/RegisterPatchBaselineForPatchGroupCommand.js @@ -2,9 +2,9 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint"; import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; -import { de_GetEventSourceMappingCommand, se_GetEventSourceMappingCommand } from "../protocols/Aws_restJson1"; +import { de_RegisterPatchBaselineForPatchGroupCommand, se_RegisterPatchBaselineForPatchGroupCommand, } from "../protocols/Aws_json1_1"; export { $Command }; -export class GetEventSourceMappingCommand extends $Command { +export class RegisterPatchBaselineForPatchGroupCommand extends $Command { static getEndpointParameterInstructions() { return { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, @@ -19,11 +19,11 @@ export class GetEventSourceMappingCommand extends $Command { } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getEndpointPlugin(configuration, GetEventSourceMappingCommand.getEndpointParameterInstructions())); + this.middlewareStack.use(getEndpointPlugin(configuration, RegisterPatchBaselineForPatchGroupCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "GetEventSourceMappingCommand"; + const clientName = "SSMClient"; + const commandName = "RegisterPatchBaselineForPatchGroupCommand"; const handlerExecutionContext = { logger, clientName, @@ -31,17 +31,17 @@ export class GetEventSourceMappingCommand extends $Command { inputFilterSensitiveLog: (_) => _, outputFilterSensitiveLog: (_) => _, [SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "GetEventSourceMapping", + service: "AmazonSSM", + operation: "RegisterPatchBaselineForPatchGroup", }, }; const { requestHandler } = configuration; return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return se_GetEventSourceMappingCommand(input, context); + return se_RegisterPatchBaselineForPatchGroupCommand(input, context); } deserialize(output, context) { - return de_GetEventSourceMappingCommand(output, context); + return de_RegisterPatchBaselineForPatchGroupCommand(output, context); } } diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/commands/RegisterTargetWithMaintenanceWindowCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/RegisterTargetWithMaintenanceWindowCommand.js new file mode 100644 index 00000000..45329559 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/RegisterTargetWithMaintenanceWindowCommand.js @@ -0,0 +1,48 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; +import { RegisterTargetWithMaintenanceWindowRequestFilterSensitiveLog, } from "../models/models_1"; +import { de_RegisterTargetWithMaintenanceWindowCommand, se_RegisterTargetWithMaintenanceWindowCommand, } from "../protocols/Aws_json1_1"; +export { $Command }; +export class RegisterTargetWithMaintenanceWindowCommand extends $Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getEndpointPlugin(configuration, RegisterTargetWithMaintenanceWindowCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "RegisterTargetWithMaintenanceWindowCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: RegisterTargetWithMaintenanceWindowRequestFilterSensitiveLog, + outputFilterSensitiveLog: (_) => _, + [SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "RegisterTargetWithMaintenanceWindow", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_RegisterTargetWithMaintenanceWindowCommand(input, context); + } + deserialize(output, context) { + return de_RegisterTargetWithMaintenanceWindowCommand(output, context); + } +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/commands/RegisterTaskWithMaintenanceWindowCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/RegisterTaskWithMaintenanceWindowCommand.js new file mode 100644 index 00000000..bc69d46c --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/RegisterTaskWithMaintenanceWindowCommand.js @@ -0,0 +1,48 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; +import { RegisterTaskWithMaintenanceWindowRequestFilterSensitiveLog, } from "../models/models_1"; +import { de_RegisterTaskWithMaintenanceWindowCommand, se_RegisterTaskWithMaintenanceWindowCommand, } from "../protocols/Aws_json1_1"; +export { $Command }; +export class RegisterTaskWithMaintenanceWindowCommand extends $Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getEndpointPlugin(configuration, RegisterTaskWithMaintenanceWindowCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "RegisterTaskWithMaintenanceWindowCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: RegisterTaskWithMaintenanceWindowRequestFilterSensitiveLog, + outputFilterSensitiveLog: (_) => _, + [SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "RegisterTaskWithMaintenanceWindow", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_RegisterTaskWithMaintenanceWindowCommand(input, context); + } + deserialize(output, context) { + return de_RegisterTaskWithMaintenanceWindowCommand(output, context); + } +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/commands/RemoveTagsFromResourceCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/RemoveTagsFromResourceCommand.js new file mode 100644 index 00000000..2433d97a --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/RemoveTagsFromResourceCommand.js @@ -0,0 +1,47 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; +import { de_RemoveTagsFromResourceCommand, se_RemoveTagsFromResourceCommand } from "../protocols/Aws_json1_1"; +export { $Command }; +export class RemoveTagsFromResourceCommand extends $Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getEndpointPlugin(configuration, RemoveTagsFromResourceCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "RemoveTagsFromResourceCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "RemoveTagsFromResource", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_RemoveTagsFromResourceCommand(input, context); + } + deserialize(output, context) { + return de_RemoveTagsFromResourceCommand(output, context); + } +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/commands/ResetServiceSettingCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/ResetServiceSettingCommand.js new file mode 100644 index 00000000..2ac8c944 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/ResetServiceSettingCommand.js @@ -0,0 +1,47 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; +import { de_ResetServiceSettingCommand, se_ResetServiceSettingCommand } from "../protocols/Aws_json1_1"; +export { $Command }; +export class ResetServiceSettingCommand extends $Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getEndpointPlugin(configuration, ResetServiceSettingCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "ResetServiceSettingCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "ResetServiceSetting", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_ResetServiceSettingCommand(input, context); + } + deserialize(output, context) { + return de_ResetServiceSettingCommand(output, context); + } +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/commands/ResumeSessionCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/ResumeSessionCommand.js new file mode 100644 index 00000000..c815b4d4 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/ResumeSessionCommand.js @@ -0,0 +1,47 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; +import { de_ResumeSessionCommand, se_ResumeSessionCommand } from "../protocols/Aws_json1_1"; +export { $Command }; +export class ResumeSessionCommand extends $Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getEndpointPlugin(configuration, ResumeSessionCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "ResumeSessionCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "ResumeSession", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_ResumeSessionCommand(input, context); + } + deserialize(output, context) { + return de_ResumeSessionCommand(output, context); + } +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/commands/SendAutomationSignalCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/SendAutomationSignalCommand.js new file mode 100644 index 00000000..8ff771b8 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/SendAutomationSignalCommand.js @@ -0,0 +1,47 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; +import { de_SendAutomationSignalCommand, se_SendAutomationSignalCommand } from "../protocols/Aws_json1_1"; +export { $Command }; +export class SendAutomationSignalCommand extends $Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getEndpointPlugin(configuration, SendAutomationSignalCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "SendAutomationSignalCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "SendAutomationSignal", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_SendAutomationSignalCommand(input, context); + } + deserialize(output, context) { + return de_SendAutomationSignalCommand(output, context); + } +} diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/commands/InvokeAsyncCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/SendCommandCommand.js similarity index 66% rename from node_modules/@aws-sdk/client-lambda/dist-es/commands/InvokeAsyncCommand.js rename to node_modules/@aws-sdk/client-ssm/dist-es/commands/SendCommandCommand.js index 612471b5..ba05970a 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-es/commands/InvokeAsyncCommand.js +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/SendCommandCommand.js @@ -2,10 +2,10 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint"; import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; -import { InvokeAsyncRequestFilterSensitiveLog } from "../models/models_0"; -import { de_InvokeAsyncCommand, se_InvokeAsyncCommand } from "../protocols/Aws_restJson1"; +import { SendCommandRequestFilterSensitiveLog, SendCommandResultFilterSensitiveLog, } from "../models/models_1"; +import { de_SendCommandCommand, se_SendCommandCommand } from "../protocols/Aws_json1_1"; export { $Command }; -export class InvokeAsyncCommand extends $Command { +export class SendCommandCommand extends $Command { static getEndpointParameterInstructions() { return { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, @@ -20,29 +20,29 @@ export class InvokeAsyncCommand extends $Command { } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getEndpointPlugin(configuration, InvokeAsyncCommand.getEndpointParameterInstructions())); + this.middlewareStack.use(getEndpointPlugin(configuration, SendCommandCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "InvokeAsyncCommand"; + const clientName = "SSMClient"; + const commandName = "SendCommandCommand"; const handlerExecutionContext = { logger, clientName, commandName, - inputFilterSensitiveLog: InvokeAsyncRequestFilterSensitiveLog, - outputFilterSensitiveLog: (_) => _, + inputFilterSensitiveLog: SendCommandRequestFilterSensitiveLog, + outputFilterSensitiveLog: SendCommandResultFilterSensitiveLog, [SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "InvokeAsync", + service: "AmazonSSM", + operation: "SendCommand", }, }; const { requestHandler } = configuration; return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return se_InvokeAsyncCommand(input, context); + return se_SendCommandCommand(input, context); } deserialize(output, context) { - return de_InvokeAsyncCommand(output, context); + return de_SendCommandCommand(output, context); } } diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/commands/StartAssociationsOnceCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/StartAssociationsOnceCommand.js new file mode 100644 index 00000000..fab7ccfc --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/StartAssociationsOnceCommand.js @@ -0,0 +1,47 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; +import { de_StartAssociationsOnceCommand, se_StartAssociationsOnceCommand } from "../protocols/Aws_json1_1"; +export { $Command }; +export class StartAssociationsOnceCommand extends $Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getEndpointPlugin(configuration, StartAssociationsOnceCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "StartAssociationsOnceCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "StartAssociationsOnce", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_StartAssociationsOnceCommand(input, context); + } + deserialize(output, context) { + return de_StartAssociationsOnceCommand(output, context); + } +} diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/commands/UpdateEventSourceMappingCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/StartAutomationExecutionCommand.js similarity index 73% rename from node_modules/@aws-sdk/client-lambda/dist-es/commands/UpdateEventSourceMappingCommand.js rename to node_modules/@aws-sdk/client-ssm/dist-es/commands/StartAutomationExecutionCommand.js index f57100bb..20129f8f 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-es/commands/UpdateEventSourceMappingCommand.js +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/StartAutomationExecutionCommand.js @@ -2,9 +2,9 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint"; import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; -import { de_UpdateEventSourceMappingCommand, se_UpdateEventSourceMappingCommand } from "../protocols/Aws_restJson1"; +import { de_StartAutomationExecutionCommand, se_StartAutomationExecutionCommand } from "../protocols/Aws_json1_1"; export { $Command }; -export class UpdateEventSourceMappingCommand extends $Command { +export class StartAutomationExecutionCommand extends $Command { static getEndpointParameterInstructions() { return { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, @@ -19,11 +19,11 @@ export class UpdateEventSourceMappingCommand extends $Command { } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getEndpointPlugin(configuration, UpdateEventSourceMappingCommand.getEndpointParameterInstructions())); + this.middlewareStack.use(getEndpointPlugin(configuration, StartAutomationExecutionCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "UpdateEventSourceMappingCommand"; + const clientName = "SSMClient"; + const commandName = "StartAutomationExecutionCommand"; const handlerExecutionContext = { logger, clientName, @@ -31,17 +31,17 @@ export class UpdateEventSourceMappingCommand extends $Command { inputFilterSensitiveLog: (_) => _, outputFilterSensitiveLog: (_) => _, [SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "UpdateEventSourceMapping", + service: "AmazonSSM", + operation: "StartAutomationExecution", }, }; const { requestHandler } = configuration; return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return se_UpdateEventSourceMappingCommand(input, context); + return se_StartAutomationExecutionCommand(input, context); } deserialize(output, context) { - return de_UpdateEventSourceMappingCommand(output, context); + return de_StartAutomationExecutionCommand(output, context); } } diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/commands/StartChangeRequestExecutionCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/StartChangeRequestExecutionCommand.js new file mode 100644 index 00000000..d037b4a5 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/StartChangeRequestExecutionCommand.js @@ -0,0 +1,47 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; +import { de_StartChangeRequestExecutionCommand, se_StartChangeRequestExecutionCommand } from "../protocols/Aws_json1_1"; +export { $Command }; +export class StartChangeRequestExecutionCommand extends $Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getEndpointPlugin(configuration, StartChangeRequestExecutionCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "StartChangeRequestExecutionCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "StartChangeRequestExecution", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_StartChangeRequestExecutionCommand(input, context); + } + deserialize(output, context) { + return de_StartChangeRequestExecutionCommand(output, context); + } +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/commands/StartSessionCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/StartSessionCommand.js new file mode 100644 index 00000000..613e9115 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/StartSessionCommand.js @@ -0,0 +1,47 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; +import { de_StartSessionCommand, se_StartSessionCommand } from "../protocols/Aws_json1_1"; +export { $Command }; +export class StartSessionCommand extends $Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getEndpointPlugin(configuration, StartSessionCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "StartSessionCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "StartSession", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_StartSessionCommand(input, context); + } + deserialize(output, context) { + return de_StartSessionCommand(output, context); + } +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/commands/StopAutomationExecutionCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/StopAutomationExecutionCommand.js new file mode 100644 index 00000000..ab66b645 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/StopAutomationExecutionCommand.js @@ -0,0 +1,47 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; +import { de_StopAutomationExecutionCommand, se_StopAutomationExecutionCommand } from "../protocols/Aws_json1_1"; +export { $Command }; +export class StopAutomationExecutionCommand extends $Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getEndpointPlugin(configuration, StopAutomationExecutionCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "StopAutomationExecutionCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "StopAutomationExecution", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_StopAutomationExecutionCommand(input, context); + } + deserialize(output, context) { + return de_StopAutomationExecutionCommand(output, context); + } +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/commands/TerminateSessionCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/TerminateSessionCommand.js new file mode 100644 index 00000000..b5389e01 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/TerminateSessionCommand.js @@ -0,0 +1,47 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; +import { de_TerminateSessionCommand, se_TerminateSessionCommand } from "../protocols/Aws_json1_1"; +export { $Command }; +export class TerminateSessionCommand extends $Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getEndpointPlugin(configuration, TerminateSessionCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "TerminateSessionCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "TerminateSession", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_TerminateSessionCommand(input, context); + } + deserialize(output, context) { + return de_TerminateSessionCommand(output, context); + } +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/commands/UnlabelParameterVersionCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/UnlabelParameterVersionCommand.js new file mode 100644 index 00000000..b3b5f902 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/UnlabelParameterVersionCommand.js @@ -0,0 +1,47 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; +import { de_UnlabelParameterVersionCommand, se_UnlabelParameterVersionCommand } from "../protocols/Aws_json1_1"; +export { $Command }; +export class UnlabelParameterVersionCommand extends $Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getEndpointPlugin(configuration, UnlabelParameterVersionCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "UnlabelParameterVersionCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "UnlabelParameterVersion", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_UnlabelParameterVersionCommand(input, context); + } + deserialize(output, context) { + return de_UnlabelParameterVersionCommand(output, context); + } +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/commands/UpdateAssociationCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/UpdateAssociationCommand.js new file mode 100644 index 00000000..b0d926f3 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/UpdateAssociationCommand.js @@ -0,0 +1,48 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; +import { UpdateAssociationRequestFilterSensitiveLog, UpdateAssociationResultFilterSensitiveLog, } from "../models/models_2"; +import { de_UpdateAssociationCommand, se_UpdateAssociationCommand } from "../protocols/Aws_json1_1"; +export { $Command }; +export class UpdateAssociationCommand extends $Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getEndpointPlugin(configuration, UpdateAssociationCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "UpdateAssociationCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: UpdateAssociationRequestFilterSensitiveLog, + outputFilterSensitiveLog: UpdateAssociationResultFilterSensitiveLog, + [SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "UpdateAssociation", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_UpdateAssociationCommand(input, context); + } + deserialize(output, context) { + return de_UpdateAssociationCommand(output, context); + } +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/commands/UpdateAssociationStatusCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/UpdateAssociationStatusCommand.js new file mode 100644 index 00000000..5c3e5a23 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/UpdateAssociationStatusCommand.js @@ -0,0 +1,48 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; +import { UpdateAssociationStatusResultFilterSensitiveLog, } from "../models/models_2"; +import { de_UpdateAssociationStatusCommand, se_UpdateAssociationStatusCommand } from "../protocols/Aws_json1_1"; +export { $Command }; +export class UpdateAssociationStatusCommand extends $Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getEndpointPlugin(configuration, UpdateAssociationStatusCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "UpdateAssociationStatusCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: UpdateAssociationStatusResultFilterSensitiveLog, + [SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "UpdateAssociationStatus", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_UpdateAssociationStatusCommand(input, context); + } + deserialize(output, context) { + return de_UpdateAssociationStatusCommand(output, context); + } +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/commands/UpdateDocumentCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/UpdateDocumentCommand.js new file mode 100644 index 00000000..2036da87 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/UpdateDocumentCommand.js @@ -0,0 +1,47 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; +import { de_UpdateDocumentCommand, se_UpdateDocumentCommand } from "../protocols/Aws_json1_1"; +export { $Command }; +export class UpdateDocumentCommand extends $Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getEndpointPlugin(configuration, UpdateDocumentCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "UpdateDocumentCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "UpdateDocument", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_UpdateDocumentCommand(input, context); + } + deserialize(output, context) { + return de_UpdateDocumentCommand(output, context); + } +} diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/commands/PutFunctionEventInvokeConfigCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/UpdateDocumentDefaultVersionCommand.js similarity index 72% rename from node_modules/@aws-sdk/client-lambda/dist-es/commands/PutFunctionEventInvokeConfigCommand.js rename to node_modules/@aws-sdk/client-ssm/dist-es/commands/UpdateDocumentDefaultVersionCommand.js index 09882126..f14decc3 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-es/commands/PutFunctionEventInvokeConfigCommand.js +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/UpdateDocumentDefaultVersionCommand.js @@ -2,9 +2,9 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint"; import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; -import { de_PutFunctionEventInvokeConfigCommand, se_PutFunctionEventInvokeConfigCommand, } from "../protocols/Aws_restJson1"; +import { de_UpdateDocumentDefaultVersionCommand, se_UpdateDocumentDefaultVersionCommand, } from "../protocols/Aws_json1_1"; export { $Command }; -export class PutFunctionEventInvokeConfigCommand extends $Command { +export class UpdateDocumentDefaultVersionCommand extends $Command { static getEndpointParameterInstructions() { return { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, @@ -19,11 +19,11 @@ export class PutFunctionEventInvokeConfigCommand extends $Command { } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getEndpointPlugin(configuration, PutFunctionEventInvokeConfigCommand.getEndpointParameterInstructions())); + this.middlewareStack.use(getEndpointPlugin(configuration, UpdateDocumentDefaultVersionCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "PutFunctionEventInvokeConfigCommand"; + const clientName = "SSMClient"; + const commandName = "UpdateDocumentDefaultVersionCommand"; const handlerExecutionContext = { logger, clientName, @@ -31,17 +31,17 @@ export class PutFunctionEventInvokeConfigCommand extends $Command { inputFilterSensitiveLog: (_) => _, outputFilterSensitiveLog: (_) => _, [SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "PutFunctionEventInvokeConfig", + service: "AmazonSSM", + operation: "UpdateDocumentDefaultVersion", }, }; const { requestHandler } = configuration; return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return se_PutFunctionEventInvokeConfigCommand(input, context); + return se_UpdateDocumentDefaultVersionCommand(input, context); } deserialize(output, context) { - return de_PutFunctionEventInvokeConfigCommand(output, context); + return de_UpdateDocumentDefaultVersionCommand(output, context); } } diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/commands/UpdateDocumentMetadataCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/UpdateDocumentMetadataCommand.js new file mode 100644 index 00000000..b752d161 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/UpdateDocumentMetadataCommand.js @@ -0,0 +1,47 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; +import { de_UpdateDocumentMetadataCommand, se_UpdateDocumentMetadataCommand } from "../protocols/Aws_json1_1"; +export { $Command }; +export class UpdateDocumentMetadataCommand extends $Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getEndpointPlugin(configuration, UpdateDocumentMetadataCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "UpdateDocumentMetadataCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "UpdateDocumentMetadata", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_UpdateDocumentMetadataCommand(input, context); + } + deserialize(output, context) { + return de_UpdateDocumentMetadataCommand(output, context); + } +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/commands/UpdateMaintenanceWindowCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/UpdateMaintenanceWindowCommand.js new file mode 100644 index 00000000..b575ced0 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/UpdateMaintenanceWindowCommand.js @@ -0,0 +1,48 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; +import { UpdateMaintenanceWindowRequestFilterSensitiveLog, UpdateMaintenanceWindowResultFilterSensitiveLog, } from "../models/models_2"; +import { de_UpdateMaintenanceWindowCommand, se_UpdateMaintenanceWindowCommand } from "../protocols/Aws_json1_1"; +export { $Command }; +export class UpdateMaintenanceWindowCommand extends $Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getEndpointPlugin(configuration, UpdateMaintenanceWindowCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "UpdateMaintenanceWindowCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: UpdateMaintenanceWindowRequestFilterSensitiveLog, + outputFilterSensitiveLog: UpdateMaintenanceWindowResultFilterSensitiveLog, + [SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "UpdateMaintenanceWindow", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_UpdateMaintenanceWindowCommand(input, context); + } + deserialize(output, context) { + return de_UpdateMaintenanceWindowCommand(output, context); + } +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/commands/UpdateMaintenanceWindowTargetCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/UpdateMaintenanceWindowTargetCommand.js new file mode 100644 index 00000000..c2fc6c06 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/UpdateMaintenanceWindowTargetCommand.js @@ -0,0 +1,48 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; +import { UpdateMaintenanceWindowTargetRequestFilterSensitiveLog, UpdateMaintenanceWindowTargetResultFilterSensitiveLog, } from "../models/models_2"; +import { de_UpdateMaintenanceWindowTargetCommand, se_UpdateMaintenanceWindowTargetCommand, } from "../protocols/Aws_json1_1"; +export { $Command }; +export class UpdateMaintenanceWindowTargetCommand extends $Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getEndpointPlugin(configuration, UpdateMaintenanceWindowTargetCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "UpdateMaintenanceWindowTargetCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: UpdateMaintenanceWindowTargetRequestFilterSensitiveLog, + outputFilterSensitiveLog: UpdateMaintenanceWindowTargetResultFilterSensitiveLog, + [SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "UpdateMaintenanceWindowTarget", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_UpdateMaintenanceWindowTargetCommand(input, context); + } + deserialize(output, context) { + return de_UpdateMaintenanceWindowTargetCommand(output, context); + } +} diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/commands/UpdateFunctionConfigurationCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/UpdateMaintenanceWindowTaskCommand.js similarity index 63% rename from node_modules/@aws-sdk/client-lambda/dist-es/commands/UpdateFunctionConfigurationCommand.js rename to node_modules/@aws-sdk/client-ssm/dist-es/commands/UpdateMaintenanceWindowTaskCommand.js index 927617d6..b0fb9cf4 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-es/commands/UpdateFunctionConfigurationCommand.js +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/UpdateMaintenanceWindowTaskCommand.js @@ -2,10 +2,10 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint"; import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; -import { FunctionConfigurationFilterSensitiveLog, UpdateFunctionConfigurationRequestFilterSensitiveLog, } from "../models/models_0"; -import { de_UpdateFunctionConfigurationCommand, se_UpdateFunctionConfigurationCommand, } from "../protocols/Aws_restJson1"; +import { UpdateMaintenanceWindowTaskRequestFilterSensitiveLog, UpdateMaintenanceWindowTaskResultFilterSensitiveLog, } from "../models/models_2"; +import { de_UpdateMaintenanceWindowTaskCommand, se_UpdateMaintenanceWindowTaskCommand } from "../protocols/Aws_json1_1"; export { $Command }; -export class UpdateFunctionConfigurationCommand extends $Command { +export class UpdateMaintenanceWindowTaskCommand extends $Command { static getEndpointParameterInstructions() { return { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, @@ -20,29 +20,29 @@ export class UpdateFunctionConfigurationCommand extends $Command { } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getEndpointPlugin(configuration, UpdateFunctionConfigurationCommand.getEndpointParameterInstructions())); + this.middlewareStack.use(getEndpointPlugin(configuration, UpdateMaintenanceWindowTaskCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "UpdateFunctionConfigurationCommand"; + const clientName = "SSMClient"; + const commandName = "UpdateMaintenanceWindowTaskCommand"; const handlerExecutionContext = { logger, clientName, commandName, - inputFilterSensitiveLog: UpdateFunctionConfigurationRequestFilterSensitiveLog, - outputFilterSensitiveLog: FunctionConfigurationFilterSensitiveLog, + inputFilterSensitiveLog: UpdateMaintenanceWindowTaskRequestFilterSensitiveLog, + outputFilterSensitiveLog: UpdateMaintenanceWindowTaskResultFilterSensitiveLog, [SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "UpdateFunctionConfiguration", + service: "AmazonSSM", + operation: "UpdateMaintenanceWindowTask", }, }; const { requestHandler } = configuration; return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return se_UpdateFunctionConfigurationCommand(input, context); + return se_UpdateMaintenanceWindowTaskCommand(input, context); } deserialize(output, context) { - return de_UpdateFunctionConfigurationCommand(output, context); + return de_UpdateMaintenanceWindowTaskCommand(output, context); } } diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/commands/DeleteFunctionConcurrencyCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/UpdateManagedInstanceRoleCommand.js similarity index 73% rename from node_modules/@aws-sdk/client-lambda/dist-es/commands/DeleteFunctionConcurrencyCommand.js rename to node_modules/@aws-sdk/client-ssm/dist-es/commands/UpdateManagedInstanceRoleCommand.js index 74a95e48..bc6be49a 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-es/commands/DeleteFunctionConcurrencyCommand.js +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/UpdateManagedInstanceRoleCommand.js @@ -2,9 +2,9 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint"; import { getSerdePlugin } from "@smithy/middleware-serde"; import { Command as $Command } from "@smithy/smithy-client"; import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; -import { de_DeleteFunctionConcurrencyCommand, se_DeleteFunctionConcurrencyCommand } from "../protocols/Aws_restJson1"; +import { de_UpdateManagedInstanceRoleCommand, se_UpdateManagedInstanceRoleCommand } from "../protocols/Aws_json1_1"; export { $Command }; -export class DeleteFunctionConcurrencyCommand extends $Command { +export class UpdateManagedInstanceRoleCommand extends $Command { static getEndpointParameterInstructions() { return { UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, @@ -19,11 +19,11 @@ export class DeleteFunctionConcurrencyCommand extends $Command { } resolveMiddleware(clientStack, configuration, options) { this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); - this.middlewareStack.use(getEndpointPlugin(configuration, DeleteFunctionConcurrencyCommand.getEndpointParameterInstructions())); + this.middlewareStack.use(getEndpointPlugin(configuration, UpdateManagedInstanceRoleCommand.getEndpointParameterInstructions())); const stack = clientStack.concat(this.middlewareStack); const { logger } = configuration; - const clientName = "LambdaClient"; - const commandName = "DeleteFunctionConcurrencyCommand"; + const clientName = "SSMClient"; + const commandName = "UpdateManagedInstanceRoleCommand"; const handlerExecutionContext = { logger, clientName, @@ -31,17 +31,17 @@ export class DeleteFunctionConcurrencyCommand extends $Command { inputFilterSensitiveLog: (_) => _, outputFilterSensitiveLog: (_) => _, [SMITHY_CONTEXT_KEY]: { - service: "AWSGirApiService", - operation: "DeleteFunctionConcurrency", + service: "AmazonSSM", + operation: "UpdateManagedInstanceRole", }, }; const { requestHandler } = configuration; return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); } serialize(input, context) { - return se_DeleteFunctionConcurrencyCommand(input, context); + return se_UpdateManagedInstanceRoleCommand(input, context); } deserialize(output, context) { - return de_DeleteFunctionConcurrencyCommand(output, context); + return de_UpdateManagedInstanceRoleCommand(output, context); } } diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/commands/UpdateOpsItemCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/UpdateOpsItemCommand.js new file mode 100644 index 00000000..6d38e620 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/UpdateOpsItemCommand.js @@ -0,0 +1,47 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; +import { de_UpdateOpsItemCommand, se_UpdateOpsItemCommand } from "../protocols/Aws_json1_1"; +export { $Command }; +export class UpdateOpsItemCommand extends $Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getEndpointPlugin(configuration, UpdateOpsItemCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "UpdateOpsItemCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "UpdateOpsItem", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_UpdateOpsItemCommand(input, context); + } + deserialize(output, context) { + return de_UpdateOpsItemCommand(output, context); + } +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/commands/UpdateOpsMetadataCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/UpdateOpsMetadataCommand.js new file mode 100644 index 00000000..51f32695 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/UpdateOpsMetadataCommand.js @@ -0,0 +1,47 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; +import { de_UpdateOpsMetadataCommand, se_UpdateOpsMetadataCommand } from "../protocols/Aws_json1_1"; +export { $Command }; +export class UpdateOpsMetadataCommand extends $Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getEndpointPlugin(configuration, UpdateOpsMetadataCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "UpdateOpsMetadataCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "UpdateOpsMetadata", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_UpdateOpsMetadataCommand(input, context); + } + deserialize(output, context) { + return de_UpdateOpsMetadataCommand(output, context); + } +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/commands/UpdatePatchBaselineCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/UpdatePatchBaselineCommand.js new file mode 100644 index 00000000..399b1171 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/UpdatePatchBaselineCommand.js @@ -0,0 +1,48 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; +import { UpdatePatchBaselineRequestFilterSensitiveLog, UpdatePatchBaselineResultFilterSensitiveLog, } from "../models/models_2"; +import { de_UpdatePatchBaselineCommand, se_UpdatePatchBaselineCommand } from "../protocols/Aws_json1_1"; +export { $Command }; +export class UpdatePatchBaselineCommand extends $Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getEndpointPlugin(configuration, UpdatePatchBaselineCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "UpdatePatchBaselineCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: UpdatePatchBaselineRequestFilterSensitiveLog, + outputFilterSensitiveLog: UpdatePatchBaselineResultFilterSensitiveLog, + [SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "UpdatePatchBaseline", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_UpdatePatchBaselineCommand(input, context); + } + deserialize(output, context) { + return de_UpdatePatchBaselineCommand(output, context); + } +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/commands/UpdateResourceDataSyncCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/UpdateResourceDataSyncCommand.js new file mode 100644 index 00000000..f910aff9 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/UpdateResourceDataSyncCommand.js @@ -0,0 +1,47 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; +import { de_UpdateResourceDataSyncCommand, se_UpdateResourceDataSyncCommand } from "../protocols/Aws_json1_1"; +export { $Command }; +export class UpdateResourceDataSyncCommand extends $Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getEndpointPlugin(configuration, UpdateResourceDataSyncCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "UpdateResourceDataSyncCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "UpdateResourceDataSync", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_UpdateResourceDataSyncCommand(input, context); + } + deserialize(output, context) { + return de_UpdateResourceDataSyncCommand(output, context); + } +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/commands/UpdateServiceSettingCommand.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/UpdateServiceSettingCommand.js new file mode 100644 index 00000000..3b4d73dd --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/UpdateServiceSettingCommand.js @@ -0,0 +1,47 @@ +import { getEndpointPlugin } from "@smithy/middleware-endpoint"; +import { getSerdePlugin } from "@smithy/middleware-serde"; +import { Command as $Command } from "@smithy/smithy-client"; +import { SMITHY_CONTEXT_KEY, } from "@smithy/types"; +import { de_UpdateServiceSettingCommand, se_UpdateServiceSettingCommand } from "../protocols/Aws_json1_1"; +export { $Command }; +export class UpdateServiceSettingCommand extends $Command { + static getEndpointParameterInstructions() { + return { + UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" }, + Endpoint: { type: "builtInParams", name: "endpoint" }, + Region: { type: "builtInParams", name: "region" }, + UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }, + }; + } + constructor(input) { + super(); + this.input = input; + } + resolveMiddleware(clientStack, configuration, options) { + this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize)); + this.middlewareStack.use(getEndpointPlugin(configuration, UpdateServiceSettingCommand.getEndpointParameterInstructions())); + const stack = clientStack.concat(this.middlewareStack); + const { logger } = configuration; + const clientName = "SSMClient"; + const commandName = "UpdateServiceSettingCommand"; + const handlerExecutionContext = { + logger, + clientName, + commandName, + inputFilterSensitiveLog: (_) => _, + outputFilterSensitiveLog: (_) => _, + [SMITHY_CONTEXT_KEY]: { + service: "AmazonSSM", + operation: "UpdateServiceSetting", + }, + }; + const { requestHandler } = configuration; + return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext); + } + serialize(input, context) { + return se_UpdateServiceSettingCommand(input, context); + } + deserialize(output, context) { + return de_UpdateServiceSettingCommand(output, context); + } +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/commands/index.js b/node_modules/@aws-sdk/client-ssm/dist-es/commands/index.js new file mode 100644 index 00000000..ae442763 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/commands/index.js @@ -0,0 +1,139 @@ +export * from "./AddTagsToResourceCommand"; +export * from "./AssociateOpsItemRelatedItemCommand"; +export * from "./CancelCommandCommand"; +export * from "./CancelMaintenanceWindowExecutionCommand"; +export * from "./CreateActivationCommand"; +export * from "./CreateAssociationBatchCommand"; +export * from "./CreateAssociationCommand"; +export * from "./CreateDocumentCommand"; +export * from "./CreateMaintenanceWindowCommand"; +export * from "./CreateOpsItemCommand"; +export * from "./CreateOpsMetadataCommand"; +export * from "./CreatePatchBaselineCommand"; +export * from "./CreateResourceDataSyncCommand"; +export * from "./DeleteActivationCommand"; +export * from "./DeleteAssociationCommand"; +export * from "./DeleteDocumentCommand"; +export * from "./DeleteInventoryCommand"; +export * from "./DeleteMaintenanceWindowCommand"; +export * from "./DeleteOpsItemCommand"; +export * from "./DeleteOpsMetadataCommand"; +export * from "./DeleteParameterCommand"; +export * from "./DeleteParametersCommand"; +export * from "./DeletePatchBaselineCommand"; +export * from "./DeleteResourceDataSyncCommand"; +export * from "./DeleteResourcePolicyCommand"; +export * from "./DeregisterManagedInstanceCommand"; +export * from "./DeregisterPatchBaselineForPatchGroupCommand"; +export * from "./DeregisterTargetFromMaintenanceWindowCommand"; +export * from "./DeregisterTaskFromMaintenanceWindowCommand"; +export * from "./DescribeActivationsCommand"; +export * from "./DescribeAssociationCommand"; +export * from "./DescribeAssociationExecutionTargetsCommand"; +export * from "./DescribeAssociationExecutionsCommand"; +export * from "./DescribeAutomationExecutionsCommand"; +export * from "./DescribeAutomationStepExecutionsCommand"; +export * from "./DescribeAvailablePatchesCommand"; +export * from "./DescribeDocumentCommand"; +export * from "./DescribeDocumentPermissionCommand"; +export * from "./DescribeEffectiveInstanceAssociationsCommand"; +export * from "./DescribeEffectivePatchesForPatchBaselineCommand"; +export * from "./DescribeInstanceAssociationsStatusCommand"; +export * from "./DescribeInstanceInformationCommand"; +export * from "./DescribeInstancePatchStatesCommand"; +export * from "./DescribeInstancePatchStatesForPatchGroupCommand"; +export * from "./DescribeInstancePatchesCommand"; +export * from "./DescribeInventoryDeletionsCommand"; +export * from "./DescribeMaintenanceWindowExecutionTaskInvocationsCommand"; +export * from "./DescribeMaintenanceWindowExecutionTasksCommand"; +export * from "./DescribeMaintenanceWindowExecutionsCommand"; +export * from "./DescribeMaintenanceWindowScheduleCommand"; +export * from "./DescribeMaintenanceWindowTargetsCommand"; +export * from "./DescribeMaintenanceWindowTasksCommand"; +export * from "./DescribeMaintenanceWindowsCommand"; +export * from "./DescribeMaintenanceWindowsForTargetCommand"; +export * from "./DescribeOpsItemsCommand"; +export * from "./DescribeParametersCommand"; +export * from "./DescribePatchBaselinesCommand"; +export * from "./DescribePatchGroupStateCommand"; +export * from "./DescribePatchGroupsCommand"; +export * from "./DescribePatchPropertiesCommand"; +export * from "./DescribeSessionsCommand"; +export * from "./DisassociateOpsItemRelatedItemCommand"; +export * from "./GetAutomationExecutionCommand"; +export * from "./GetCalendarStateCommand"; +export * from "./GetCommandInvocationCommand"; +export * from "./GetConnectionStatusCommand"; +export * from "./GetDefaultPatchBaselineCommand"; +export * from "./GetDeployablePatchSnapshotForInstanceCommand"; +export * from "./GetDocumentCommand"; +export * from "./GetInventoryCommand"; +export * from "./GetInventorySchemaCommand"; +export * from "./GetMaintenanceWindowCommand"; +export * from "./GetMaintenanceWindowExecutionCommand"; +export * from "./GetMaintenanceWindowExecutionTaskCommand"; +export * from "./GetMaintenanceWindowExecutionTaskInvocationCommand"; +export * from "./GetMaintenanceWindowTaskCommand"; +export * from "./GetOpsItemCommand"; +export * from "./GetOpsMetadataCommand"; +export * from "./GetOpsSummaryCommand"; +export * from "./GetParameterCommand"; +export * from "./GetParameterHistoryCommand"; +export * from "./GetParametersByPathCommand"; +export * from "./GetParametersCommand"; +export * from "./GetPatchBaselineCommand"; +export * from "./GetPatchBaselineForPatchGroupCommand"; +export * from "./GetResourcePoliciesCommand"; +export * from "./GetServiceSettingCommand"; +export * from "./LabelParameterVersionCommand"; +export * from "./ListAssociationVersionsCommand"; +export * from "./ListAssociationsCommand"; +export * from "./ListCommandInvocationsCommand"; +export * from "./ListCommandsCommand"; +export * from "./ListComplianceItemsCommand"; +export * from "./ListComplianceSummariesCommand"; +export * from "./ListDocumentMetadataHistoryCommand"; +export * from "./ListDocumentVersionsCommand"; +export * from "./ListDocumentsCommand"; +export * from "./ListInventoryEntriesCommand"; +export * from "./ListOpsItemEventsCommand"; +export * from "./ListOpsItemRelatedItemsCommand"; +export * from "./ListOpsMetadataCommand"; +export * from "./ListResourceComplianceSummariesCommand"; +export * from "./ListResourceDataSyncCommand"; +export * from "./ListTagsForResourceCommand"; +export * from "./ModifyDocumentPermissionCommand"; +export * from "./PutComplianceItemsCommand"; +export * from "./PutInventoryCommand"; +export * from "./PutParameterCommand"; +export * from "./PutResourcePolicyCommand"; +export * from "./RegisterDefaultPatchBaselineCommand"; +export * from "./RegisterPatchBaselineForPatchGroupCommand"; +export * from "./RegisterTargetWithMaintenanceWindowCommand"; +export * from "./RegisterTaskWithMaintenanceWindowCommand"; +export * from "./RemoveTagsFromResourceCommand"; +export * from "./ResetServiceSettingCommand"; +export * from "./ResumeSessionCommand"; +export * from "./SendAutomationSignalCommand"; +export * from "./SendCommandCommand"; +export * from "./StartAssociationsOnceCommand"; +export * from "./StartAutomationExecutionCommand"; +export * from "./StartChangeRequestExecutionCommand"; +export * from "./StartSessionCommand"; +export * from "./StopAutomationExecutionCommand"; +export * from "./TerminateSessionCommand"; +export * from "./UnlabelParameterVersionCommand"; +export * from "./UpdateAssociationCommand"; +export * from "./UpdateAssociationStatusCommand"; +export * from "./UpdateDocumentCommand"; +export * from "./UpdateDocumentDefaultVersionCommand"; +export * from "./UpdateDocumentMetadataCommand"; +export * from "./UpdateMaintenanceWindowCommand"; +export * from "./UpdateMaintenanceWindowTargetCommand"; +export * from "./UpdateMaintenanceWindowTaskCommand"; +export * from "./UpdateManagedInstanceRoleCommand"; +export * from "./UpdateOpsItemCommand"; +export * from "./UpdateOpsMetadataCommand"; +export * from "./UpdatePatchBaselineCommand"; +export * from "./UpdateResourceDataSyncCommand"; +export * from "./UpdateServiceSettingCommand"; diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/endpoint/EndpointParameters.js b/node_modules/@aws-sdk/client-ssm/dist-es/endpoint/EndpointParameters.js similarity index 85% rename from node_modules/@aws-sdk/client-lambda/dist-es/endpoint/EndpointParameters.js rename to node_modules/@aws-sdk/client-ssm/dist-es/endpoint/EndpointParameters.js index ad40c361..35d3decf 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-es/endpoint/EndpointParameters.js +++ b/node_modules/@aws-sdk/client-ssm/dist-es/endpoint/EndpointParameters.js @@ -3,6 +3,6 @@ export const resolveClientEndpointParameters = (options) => { ...options, useDualstackEndpoint: options.useDualstackEndpoint ?? false, useFipsEndpoint: options.useFipsEndpoint ?? false, - defaultSigningName: "lambda", + defaultSigningName: "ssm", }; }; diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/endpoint/endpointResolver.js b/node_modules/@aws-sdk/client-ssm/dist-es/endpoint/endpointResolver.js similarity index 100% rename from node_modules/@aws-sdk/client-lambda/dist-es/endpoint/endpointResolver.js rename to node_modules/@aws-sdk/client-ssm/dist-es/endpoint/endpointResolver.js diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/endpoint/ruleset.js b/node_modules/@aws-sdk/client-ssm/dist-es/endpoint/ruleset.js new file mode 100644 index 00000000..434bb28d --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/endpoint/ruleset.js @@ -0,0 +1,4 @@ +const u = "required", v = "fn", w = "argv", x = "ref"; +const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = "getAttr", i = { [u]: false, "type": "String" }, j = { [u]: true, "default": false, "type": "Boolean" }, k = { [x]: "Endpoint" }, l = { [v]: c, [w]: [{ [x]: "UseFIPS" }, true] }, m = { [v]: c, [w]: [{ [x]: "UseDualStack" }, true] }, n = {}, o = { [v]: h, [w]: [{ [x]: g }, "supportsFIPS"] }, p = { [x]: g }, q = { [v]: c, [w]: [true, { [v]: h, [w]: [p, "supportsDualStack"] }] }, r = [l], s = [m], t = [{ [x]: "Region" }]; +const _data = { version: "1.0", parameters: { Region: i, UseDualStack: j, UseFIPS: j, Endpoint: i }, rules: [{ conditions: [{ [v]: b, [w]: [k] }], rules: [{ conditions: r, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { conditions: s, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: k, properties: n, headers: n }, type: e }], type: f }, { conditions: [{ [v]: b, [w]: t }], rules: [{ conditions: [{ [v]: "aws.partition", [w]: t, assign: g }], rules: [{ conditions: [l, m], rules: [{ conditions: [{ [v]: c, [w]: [a, o] }, q], rules: [{ endpoint: { url: "https://ssm-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: r, rules: [{ conditions: [{ [v]: c, [w]: [o, a] }], rules: [{ conditions: [{ [v]: "stringEquals", [w]: [{ [v]: h, [w]: [p, "name"] }, "aws-us-gov"] }], endpoint: { url: "https://ssm.{Region}.amazonaws.com", properties: n, headers: n }, type: e }, { endpoint: { url: "https://ssm-fips.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: s, rules: [{ conditions: [q], rules: [{ endpoint: { url: "https://ssm.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: n, headers: n }, type: e }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { endpoint: { url: "https://ssm.{Region}.{PartitionResult#dnsSuffix}", properties: n, headers: n }, type: e }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }] }; +export const ruleSet = _data; diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/extensionConfiguration.js b/node_modules/@aws-sdk/client-ssm/dist-es/extensionConfiguration.js similarity index 100% rename from node_modules/@aws-sdk/client-lambda/dist-es/extensionConfiguration.js rename to node_modules/@aws-sdk/client-ssm/dist-es/extensionConfiguration.js diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/index.js b/node_modules/@aws-sdk/client-ssm/dist-es/index.js similarity index 52% rename from node_modules/@aws-sdk/client-lambda/dist-es/index.js rename to node_modules/@aws-sdk/client-ssm/dist-es/index.js index c337562a..0290bd5a 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-es/index.js +++ b/node_modules/@aws-sdk/client-ssm/dist-es/index.js @@ -1,8 +1,8 @@ -export * from "./LambdaClient"; -export * from "./Lambda"; +export * from "./SSMClient"; +export * from "./SSM"; export * from "./commands"; export * from "./pagination"; export * from "./waiters"; export * from "./models"; import "@aws-sdk/util-endpoints"; -export { LambdaServiceException } from "./models/LambdaServiceException"; +export { SSMServiceException } from "./models/SSMServiceException"; diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/models/LambdaServiceException.js b/node_modules/@aws-sdk/client-ssm/dist-es/models/SSMServiceException.js similarity index 55% rename from node_modules/@aws-sdk/client-lambda/dist-es/models/LambdaServiceException.js rename to node_modules/@aws-sdk/client-ssm/dist-es/models/SSMServiceException.js index a5fc12dd..e4259841 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-es/models/LambdaServiceException.js +++ b/node_modules/@aws-sdk/client-ssm/dist-es/models/SSMServiceException.js @@ -1,8 +1,8 @@ import { ServiceException as __ServiceException, } from "@smithy/smithy-client"; export { __ServiceException }; -export class LambdaServiceException extends __ServiceException { +export class SSMServiceException extends __ServiceException { constructor(options) { super(options); - Object.setPrototypeOf(this, LambdaServiceException.prototype); + Object.setPrototypeOf(this, SSMServiceException.prototype); } } diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/models/index.js b/node_modules/@aws-sdk/client-ssm/dist-es/models/index.js new file mode 100644 index 00000000..fd6a6aae --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/models/index.js @@ -0,0 +1,3 @@ +export * from "./models_0"; +export * from "./models_1"; +export * from "./models_2"; diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/models/models_0.js b/node_modules/@aws-sdk/client-ssm/dist-es/models/models_0.js new file mode 100644 index 00000000..f4fb0a7b --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/models/models_0.js @@ -0,0 +1,1304 @@ +import { SENSITIVE_STRING } from "@smithy/smithy-client"; +import { SSMServiceException as __BaseException } from "./SSMServiceException"; +export const ResourceTypeForTagging = { + ASSOCIATION: "Association", + AUTOMATION: "Automation", + DOCUMENT: "Document", + MAINTENANCE_WINDOW: "MaintenanceWindow", + MANAGED_INSTANCE: "ManagedInstance", + OPSMETADATA: "OpsMetadata", + OPS_ITEM: "OpsItem", + PARAMETER: "Parameter", + PATCH_BASELINE: "PatchBaseline", +}; +export class InternalServerError extends __BaseException { + constructor(opts) { + super({ + name: "InternalServerError", + $fault: "server", + ...opts, + }); + this.name = "InternalServerError"; + this.$fault = "server"; + Object.setPrototypeOf(this, InternalServerError.prototype); + this.Message = opts.Message; + } +} +export class InvalidResourceId extends __BaseException { + constructor(opts) { + super({ + name: "InvalidResourceId", + $fault: "client", + ...opts, + }); + this.name = "InvalidResourceId"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvalidResourceId.prototype); + } +} +export class InvalidResourceType extends __BaseException { + constructor(opts) { + super({ + name: "InvalidResourceType", + $fault: "client", + ...opts, + }); + this.name = "InvalidResourceType"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvalidResourceType.prototype); + } +} +export class TooManyTagsError extends __BaseException { + constructor(opts) { + super({ + name: "TooManyTagsError", + $fault: "client", + ...opts, + }); + this.name = "TooManyTagsError"; + this.$fault = "client"; + Object.setPrototypeOf(this, TooManyTagsError.prototype); + } +} +export class TooManyUpdates extends __BaseException { + constructor(opts) { + super({ + name: "TooManyUpdates", + $fault: "client", + ...opts, + }); + this.name = "TooManyUpdates"; + this.$fault = "client"; + Object.setPrototypeOf(this, TooManyUpdates.prototype); + this.Message = opts.Message; + } +} +export const ExternalAlarmState = { + ALARM: "ALARM", + UNKNOWN: "UNKNOWN", +}; +export class AlreadyExistsException extends __BaseException { + constructor(opts) { + super({ + name: "AlreadyExistsException", + $fault: "client", + ...opts, + }); + this.name = "AlreadyExistsException"; + this.$fault = "client"; + Object.setPrototypeOf(this, AlreadyExistsException.prototype); + this.Message = opts.Message; + } +} +export class OpsItemConflictException extends __BaseException { + constructor(opts) { + super({ + name: "OpsItemConflictException", + $fault: "client", + ...opts, + }); + this.name = "OpsItemConflictException"; + this.$fault = "client"; + Object.setPrototypeOf(this, OpsItemConflictException.prototype); + this.Message = opts.Message; + } +} +export class OpsItemInvalidParameterException extends __BaseException { + constructor(opts) { + super({ + name: "OpsItemInvalidParameterException", + $fault: "client", + ...opts, + }); + this.name = "OpsItemInvalidParameterException"; + this.$fault = "client"; + Object.setPrototypeOf(this, OpsItemInvalidParameterException.prototype); + this.ParameterNames = opts.ParameterNames; + this.Message = opts.Message; + } +} +export class OpsItemLimitExceededException extends __BaseException { + constructor(opts) { + super({ + name: "OpsItemLimitExceededException", + $fault: "client", + ...opts, + }); + this.name = "OpsItemLimitExceededException"; + this.$fault = "client"; + Object.setPrototypeOf(this, OpsItemLimitExceededException.prototype); + this.ResourceTypes = opts.ResourceTypes; + this.Limit = opts.Limit; + this.LimitType = opts.LimitType; + this.Message = opts.Message; + } +} +export class OpsItemNotFoundException extends __BaseException { + constructor(opts) { + super({ + name: "OpsItemNotFoundException", + $fault: "client", + ...opts, + }); + this.name = "OpsItemNotFoundException"; + this.$fault = "client"; + Object.setPrototypeOf(this, OpsItemNotFoundException.prototype); + this.Message = opts.Message; + } +} +export class OpsItemRelatedItemAlreadyExistsException extends __BaseException { + constructor(opts) { + super({ + name: "OpsItemRelatedItemAlreadyExistsException", + $fault: "client", + ...opts, + }); + this.name = "OpsItemRelatedItemAlreadyExistsException"; + this.$fault = "client"; + Object.setPrototypeOf(this, OpsItemRelatedItemAlreadyExistsException.prototype); + this.Message = opts.Message; + this.ResourceUri = opts.ResourceUri; + this.OpsItemId = opts.OpsItemId; + } +} +export class DuplicateInstanceId extends __BaseException { + constructor(opts) { + super({ + name: "DuplicateInstanceId", + $fault: "client", + ...opts, + }); + this.name = "DuplicateInstanceId"; + this.$fault = "client"; + Object.setPrototypeOf(this, DuplicateInstanceId.prototype); + } +} +export class InvalidCommandId extends __BaseException { + constructor(opts) { + super({ + name: "InvalidCommandId", + $fault: "client", + ...opts, + }); + this.name = "InvalidCommandId"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvalidCommandId.prototype); + } +} +export class InvalidInstanceId extends __BaseException { + constructor(opts) { + super({ + name: "InvalidInstanceId", + $fault: "client", + ...opts, + }); + this.name = "InvalidInstanceId"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvalidInstanceId.prototype); + this.Message = opts.Message; + } +} +export class DoesNotExistException extends __BaseException { + constructor(opts) { + super({ + name: "DoesNotExistException", + $fault: "client", + ...opts, + }); + this.name = "DoesNotExistException"; + this.$fault = "client"; + Object.setPrototypeOf(this, DoesNotExistException.prototype); + this.Message = opts.Message; + } +} +export class InvalidParameters extends __BaseException { + constructor(opts) { + super({ + name: "InvalidParameters", + $fault: "client", + ...opts, + }); + this.name = "InvalidParameters"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvalidParameters.prototype); + this.Message = opts.Message; + } +} +export class AssociationAlreadyExists extends __BaseException { + constructor(opts) { + super({ + name: "AssociationAlreadyExists", + $fault: "client", + ...opts, + }); + this.name = "AssociationAlreadyExists"; + this.$fault = "client"; + Object.setPrototypeOf(this, AssociationAlreadyExists.prototype); + } +} +export class AssociationLimitExceeded extends __BaseException { + constructor(opts) { + super({ + name: "AssociationLimitExceeded", + $fault: "client", + ...opts, + }); + this.name = "AssociationLimitExceeded"; + this.$fault = "client"; + Object.setPrototypeOf(this, AssociationLimitExceeded.prototype); + } +} +export const AssociationComplianceSeverity = { + Critical: "CRITICAL", + High: "HIGH", + Low: "LOW", + Medium: "MEDIUM", + Unspecified: "UNSPECIFIED", +}; +export const AssociationSyncCompliance = { + Auto: "AUTO", + Manual: "MANUAL", +}; +export const AssociationStatusName = { + Failed: "Failed", + Pending: "Pending", + Success: "Success", +}; +export class InvalidDocument extends __BaseException { + constructor(opts) { + super({ + name: "InvalidDocument", + $fault: "client", + ...opts, + }); + this.name = "InvalidDocument"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvalidDocument.prototype); + this.Message = opts.Message; + } +} +export class InvalidDocumentVersion extends __BaseException { + constructor(opts) { + super({ + name: "InvalidDocumentVersion", + $fault: "client", + ...opts, + }); + this.name = "InvalidDocumentVersion"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvalidDocumentVersion.prototype); + this.Message = opts.Message; + } +} +export class InvalidOutputLocation extends __BaseException { + constructor(opts) { + super({ + name: "InvalidOutputLocation", + $fault: "client", + ...opts, + }); + this.name = "InvalidOutputLocation"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvalidOutputLocation.prototype); + } +} +export class InvalidSchedule extends __BaseException { + constructor(opts) { + super({ + name: "InvalidSchedule", + $fault: "client", + ...opts, + }); + this.name = "InvalidSchedule"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvalidSchedule.prototype); + this.Message = opts.Message; + } +} +export class InvalidTag extends __BaseException { + constructor(opts) { + super({ + name: "InvalidTag", + $fault: "client", + ...opts, + }); + this.name = "InvalidTag"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvalidTag.prototype); + this.Message = opts.Message; + } +} +export class InvalidTarget extends __BaseException { + constructor(opts) { + super({ + name: "InvalidTarget", + $fault: "client", + ...opts, + }); + this.name = "InvalidTarget"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvalidTarget.prototype); + this.Message = opts.Message; + } +} +export class InvalidTargetMaps extends __BaseException { + constructor(opts) { + super({ + name: "InvalidTargetMaps", + $fault: "client", + ...opts, + }); + this.name = "InvalidTargetMaps"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvalidTargetMaps.prototype); + this.Message = opts.Message; + } +} +export class UnsupportedPlatformType extends __BaseException { + constructor(opts) { + super({ + name: "UnsupportedPlatformType", + $fault: "client", + ...opts, + }); + this.name = "UnsupportedPlatformType"; + this.$fault = "client"; + Object.setPrototypeOf(this, UnsupportedPlatformType.prototype); + this.Message = opts.Message; + } +} +export const Fault = { + Client: "Client", + Server: "Server", + Unknown: "Unknown", +}; +export const AttachmentsSourceKey = { + AttachmentReference: "AttachmentReference", + S3FileUrl: "S3FileUrl", + SourceUrl: "SourceUrl", +}; +export const DocumentFormat = { + JSON: "JSON", + TEXT: "TEXT", + YAML: "YAML", +}; +export const DocumentType = { + ApplicationConfiguration: "ApplicationConfiguration", + ApplicationConfigurationSchema: "ApplicationConfigurationSchema", + Automation: "Automation", + ChangeCalendar: "ChangeCalendar", + ChangeTemplate: "Automation.ChangeTemplate", + CloudFormation: "CloudFormation", + Command: "Command", + ConformancePackTemplate: "ConformancePackTemplate", + DeploymentStrategy: "DeploymentStrategy", + Package: "Package", + Policy: "Policy", + ProblemAnalysis: "ProblemAnalysis", + ProblemAnalysisTemplate: "ProblemAnalysisTemplate", + QuickSetup: "QuickSetup", + Session: "Session", +}; +export const DocumentHashType = { + SHA1: "Sha1", + SHA256: "Sha256", +}; +export const DocumentParameterType = { + String: "String", + StringList: "StringList", +}; +export const PlatformType = { + LINUX: "Linux", + MACOS: "MacOS", + WINDOWS: "Windows", +}; +export const ReviewStatus = { + APPROVED: "APPROVED", + NOT_REVIEWED: "NOT_REVIEWED", + PENDING: "PENDING", + REJECTED: "REJECTED", +}; +export const DocumentStatus = { + Active: "Active", + Creating: "Creating", + Deleting: "Deleting", + Failed: "Failed", + Updating: "Updating", +}; +export class DocumentAlreadyExists extends __BaseException { + constructor(opts) { + super({ + name: "DocumentAlreadyExists", + $fault: "client", + ...opts, + }); + this.name = "DocumentAlreadyExists"; + this.$fault = "client"; + Object.setPrototypeOf(this, DocumentAlreadyExists.prototype); + this.Message = opts.Message; + } +} +export class DocumentLimitExceeded extends __BaseException { + constructor(opts) { + super({ + name: "DocumentLimitExceeded", + $fault: "client", + ...opts, + }); + this.name = "DocumentLimitExceeded"; + this.$fault = "client"; + Object.setPrototypeOf(this, DocumentLimitExceeded.prototype); + this.Message = opts.Message; + } +} +export class InvalidDocumentContent extends __BaseException { + constructor(opts) { + super({ + name: "InvalidDocumentContent", + $fault: "client", + ...opts, + }); + this.name = "InvalidDocumentContent"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvalidDocumentContent.prototype); + this.Message = opts.Message; + } +} +export class InvalidDocumentSchemaVersion extends __BaseException { + constructor(opts) { + super({ + name: "InvalidDocumentSchemaVersion", + $fault: "client", + ...opts, + }); + this.name = "InvalidDocumentSchemaVersion"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvalidDocumentSchemaVersion.prototype); + this.Message = opts.Message; + } +} +export class MaxDocumentSizeExceeded extends __BaseException { + constructor(opts) { + super({ + name: "MaxDocumentSizeExceeded", + $fault: "client", + ...opts, + }); + this.name = "MaxDocumentSizeExceeded"; + this.$fault = "client"; + Object.setPrototypeOf(this, MaxDocumentSizeExceeded.prototype); + this.Message = opts.Message; + } +} +export class IdempotentParameterMismatch extends __BaseException { + constructor(opts) { + super({ + name: "IdempotentParameterMismatch", + $fault: "client", + ...opts, + }); + this.name = "IdempotentParameterMismatch"; + this.$fault = "client"; + Object.setPrototypeOf(this, IdempotentParameterMismatch.prototype); + this.Message = opts.Message; + } +} +export class ResourceLimitExceededException extends __BaseException { + constructor(opts) { + super({ + name: "ResourceLimitExceededException", + $fault: "client", + ...opts, + }); + this.name = "ResourceLimitExceededException"; + this.$fault = "client"; + Object.setPrototypeOf(this, ResourceLimitExceededException.prototype); + this.Message = opts.Message; + } +} +export const OpsItemDataType = { + SEARCHABLE_STRING: "SearchableString", + STRING: "String", +}; +export class OpsItemAccessDeniedException extends __BaseException { + constructor(opts) { + super({ + name: "OpsItemAccessDeniedException", + $fault: "client", + ...opts, + }); + this.name = "OpsItemAccessDeniedException"; + this.$fault = "client"; + Object.setPrototypeOf(this, OpsItemAccessDeniedException.prototype); + this.Message = opts.Message; + } +} +export class OpsItemAlreadyExistsException extends __BaseException { + constructor(opts) { + super({ + name: "OpsItemAlreadyExistsException", + $fault: "client", + ...opts, + }); + this.name = "OpsItemAlreadyExistsException"; + this.$fault = "client"; + Object.setPrototypeOf(this, OpsItemAlreadyExistsException.prototype); + this.Message = opts.Message; + this.OpsItemId = opts.OpsItemId; + } +} +export class OpsMetadataAlreadyExistsException extends __BaseException { + constructor(opts) { + super({ + name: "OpsMetadataAlreadyExistsException", + $fault: "client", + ...opts, + }); + this.name = "OpsMetadataAlreadyExistsException"; + this.$fault = "client"; + Object.setPrototypeOf(this, OpsMetadataAlreadyExistsException.prototype); + } +} +export class OpsMetadataInvalidArgumentException extends __BaseException { + constructor(opts) { + super({ + name: "OpsMetadataInvalidArgumentException", + $fault: "client", + ...opts, + }); + this.name = "OpsMetadataInvalidArgumentException"; + this.$fault = "client"; + Object.setPrototypeOf(this, OpsMetadataInvalidArgumentException.prototype); + } +} +export class OpsMetadataLimitExceededException extends __BaseException { + constructor(opts) { + super({ + name: "OpsMetadataLimitExceededException", + $fault: "client", + ...opts, + }); + this.name = "OpsMetadataLimitExceededException"; + this.$fault = "client"; + Object.setPrototypeOf(this, OpsMetadataLimitExceededException.prototype); + } +} +export class OpsMetadataTooManyUpdatesException extends __BaseException { + constructor(opts) { + super({ + name: "OpsMetadataTooManyUpdatesException", + $fault: "client", + ...opts, + }); + this.name = "OpsMetadataTooManyUpdatesException"; + this.$fault = "client"; + Object.setPrototypeOf(this, OpsMetadataTooManyUpdatesException.prototype); + } +} +export const PatchComplianceLevel = { + Critical: "CRITICAL", + High: "HIGH", + Informational: "INFORMATIONAL", + Low: "LOW", + Medium: "MEDIUM", + Unspecified: "UNSPECIFIED", +}; +export const PatchFilterKey = { + AdvisoryId: "ADVISORY_ID", + Arch: "ARCH", + BugzillaId: "BUGZILLA_ID", + CVEId: "CVE_ID", + Classification: "CLASSIFICATION", + Epoch: "EPOCH", + MsrcSeverity: "MSRC_SEVERITY", + Name: "NAME", + PatchId: "PATCH_ID", + PatchSet: "PATCH_SET", + Priority: "PRIORITY", + Product: "PRODUCT", + ProductFamily: "PRODUCT_FAMILY", + Release: "RELEASE", + Repository: "REPOSITORY", + Section: "SECTION", + Security: "SECURITY", + Severity: "SEVERITY", + Version: "VERSION", +}; +export const OperatingSystem = { + AlmaLinux: "ALMA_LINUX", + AmazonLinux: "AMAZON_LINUX", + AmazonLinux2: "AMAZON_LINUX_2", + AmazonLinux2022: "AMAZON_LINUX_2022", + AmazonLinux2023: "AMAZON_LINUX_2023", + CentOS: "CENTOS", + Debian: "DEBIAN", + MacOS: "MACOS", + OracleLinux: "ORACLE_LINUX", + Raspbian: "RASPBIAN", + RedhatEnterpriseLinux: "REDHAT_ENTERPRISE_LINUX", + Rocky_Linux: "ROCKY_LINUX", + Suse: "SUSE", + Ubuntu: "UBUNTU", + Windows: "WINDOWS", +}; +export const PatchAction = { + AllowAsDependency: "ALLOW_AS_DEPENDENCY", + Block: "BLOCK", +}; +export const ResourceDataSyncS3Format = { + JSON_SERDE: "JsonSerDe", +}; +export class ResourceDataSyncAlreadyExistsException extends __BaseException { + constructor(opts) { + super({ + name: "ResourceDataSyncAlreadyExistsException", + $fault: "client", + ...opts, + }); + this.name = "ResourceDataSyncAlreadyExistsException"; + this.$fault = "client"; + Object.setPrototypeOf(this, ResourceDataSyncAlreadyExistsException.prototype); + this.SyncName = opts.SyncName; + } +} +export class ResourceDataSyncCountExceededException extends __BaseException { + constructor(opts) { + super({ + name: "ResourceDataSyncCountExceededException", + $fault: "client", + ...opts, + }); + this.name = "ResourceDataSyncCountExceededException"; + this.$fault = "client"; + Object.setPrototypeOf(this, ResourceDataSyncCountExceededException.prototype); + this.Message = opts.Message; + } +} +export class ResourceDataSyncInvalidConfigurationException extends __BaseException { + constructor(opts) { + super({ + name: "ResourceDataSyncInvalidConfigurationException", + $fault: "client", + ...opts, + }); + this.name = "ResourceDataSyncInvalidConfigurationException"; + this.$fault = "client"; + Object.setPrototypeOf(this, ResourceDataSyncInvalidConfigurationException.prototype); + this.Message = opts.Message; + } +} +export class InvalidActivation extends __BaseException { + constructor(opts) { + super({ + name: "InvalidActivation", + $fault: "client", + ...opts, + }); + this.name = "InvalidActivation"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvalidActivation.prototype); + this.Message = opts.Message; + } +} +export class InvalidActivationId extends __BaseException { + constructor(opts) { + super({ + name: "InvalidActivationId", + $fault: "client", + ...opts, + }); + this.name = "InvalidActivationId"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvalidActivationId.prototype); + this.Message = opts.Message; + } +} +export class AssociationDoesNotExist extends __BaseException { + constructor(opts) { + super({ + name: "AssociationDoesNotExist", + $fault: "client", + ...opts, + }); + this.name = "AssociationDoesNotExist"; + this.$fault = "client"; + Object.setPrototypeOf(this, AssociationDoesNotExist.prototype); + this.Message = opts.Message; + } +} +export class AssociatedInstances extends __BaseException { + constructor(opts) { + super({ + name: "AssociatedInstances", + $fault: "client", + ...opts, + }); + this.name = "AssociatedInstances"; + this.$fault = "client"; + Object.setPrototypeOf(this, AssociatedInstances.prototype); + } +} +export class InvalidDocumentOperation extends __BaseException { + constructor(opts) { + super({ + name: "InvalidDocumentOperation", + $fault: "client", + ...opts, + }); + this.name = "InvalidDocumentOperation"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvalidDocumentOperation.prototype); + this.Message = opts.Message; + } +} +export const InventorySchemaDeleteOption = { + DELETE_SCHEMA: "DeleteSchema", + DISABLE_SCHEMA: "DisableSchema", +}; +export class InvalidDeleteInventoryParametersException extends __BaseException { + constructor(opts) { + super({ + name: "InvalidDeleteInventoryParametersException", + $fault: "client", + ...opts, + }); + this.name = "InvalidDeleteInventoryParametersException"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvalidDeleteInventoryParametersException.prototype); + this.Message = opts.Message; + } +} +export class InvalidInventoryRequestException extends __BaseException { + constructor(opts) { + super({ + name: "InvalidInventoryRequestException", + $fault: "client", + ...opts, + }); + this.name = "InvalidInventoryRequestException"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvalidInventoryRequestException.prototype); + this.Message = opts.Message; + } +} +export class InvalidOptionException extends __BaseException { + constructor(opts) { + super({ + name: "InvalidOptionException", + $fault: "client", + ...opts, + }); + this.name = "InvalidOptionException"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvalidOptionException.prototype); + this.Message = opts.Message; + } +} +export class InvalidTypeNameException extends __BaseException { + constructor(opts) { + super({ + name: "InvalidTypeNameException", + $fault: "client", + ...opts, + }); + this.name = "InvalidTypeNameException"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvalidTypeNameException.prototype); + this.Message = opts.Message; + } +} +export class OpsMetadataNotFoundException extends __BaseException { + constructor(opts) { + super({ + name: "OpsMetadataNotFoundException", + $fault: "client", + ...opts, + }); + this.name = "OpsMetadataNotFoundException"; + this.$fault = "client"; + Object.setPrototypeOf(this, OpsMetadataNotFoundException.prototype); + } +} +export class ParameterNotFound extends __BaseException { + constructor(opts) { + super({ + name: "ParameterNotFound", + $fault: "client", + ...opts, + }); + this.name = "ParameterNotFound"; + this.$fault = "client"; + Object.setPrototypeOf(this, ParameterNotFound.prototype); + } +} +export class ResourceInUseException extends __BaseException { + constructor(opts) { + super({ + name: "ResourceInUseException", + $fault: "client", + ...opts, + }); + this.name = "ResourceInUseException"; + this.$fault = "client"; + Object.setPrototypeOf(this, ResourceInUseException.prototype); + this.Message = opts.Message; + } +} +export class ResourceDataSyncNotFoundException extends __BaseException { + constructor(opts) { + super({ + name: "ResourceDataSyncNotFoundException", + $fault: "client", + ...opts, + }); + this.name = "ResourceDataSyncNotFoundException"; + this.$fault = "client"; + Object.setPrototypeOf(this, ResourceDataSyncNotFoundException.prototype); + this.SyncName = opts.SyncName; + this.SyncType = opts.SyncType; + this.Message = opts.Message; + } +} +export class ResourcePolicyConflictException extends __BaseException { + constructor(opts) { + super({ + name: "ResourcePolicyConflictException", + $fault: "client", + ...opts, + }); + this.name = "ResourcePolicyConflictException"; + this.$fault = "client"; + Object.setPrototypeOf(this, ResourcePolicyConflictException.prototype); + this.Message = opts.Message; + } +} +export class ResourcePolicyInvalidParameterException extends __BaseException { + constructor(opts) { + super({ + name: "ResourcePolicyInvalidParameterException", + $fault: "client", + ...opts, + }); + this.name = "ResourcePolicyInvalidParameterException"; + this.$fault = "client"; + Object.setPrototypeOf(this, ResourcePolicyInvalidParameterException.prototype); + this.ParameterNames = opts.ParameterNames; + this.Message = opts.Message; + } +} +export class TargetInUseException extends __BaseException { + constructor(opts) { + super({ + name: "TargetInUseException", + $fault: "client", + ...opts, + }); + this.name = "TargetInUseException"; + this.$fault = "client"; + Object.setPrototypeOf(this, TargetInUseException.prototype); + this.Message = opts.Message; + } +} +export const DescribeActivationsFilterKeys = { + ACTIVATION_IDS: "ActivationIds", + DEFAULT_INSTANCE_NAME: "DefaultInstanceName", + IAM_ROLE: "IamRole", +}; +export class InvalidFilter extends __BaseException { + constructor(opts) { + super({ + name: "InvalidFilter", + $fault: "client", + ...opts, + }); + this.name = "InvalidFilter"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvalidFilter.prototype); + this.Message = opts.Message; + } +} +export class InvalidNextToken extends __BaseException { + constructor(opts) { + super({ + name: "InvalidNextToken", + $fault: "client", + ...opts, + }); + this.name = "InvalidNextToken"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvalidNextToken.prototype); + this.Message = opts.Message; + } +} +export class InvalidAssociationVersion extends __BaseException { + constructor(opts) { + super({ + name: "InvalidAssociationVersion", + $fault: "client", + ...opts, + }); + this.name = "InvalidAssociationVersion"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvalidAssociationVersion.prototype); + this.Message = opts.Message; + } +} +export const AssociationExecutionFilterKey = { + CreatedTime: "CreatedTime", + ExecutionId: "ExecutionId", + Status: "Status", +}; +export const AssociationFilterOperatorType = { + Equal: "EQUAL", + GreaterThan: "GREATER_THAN", + LessThan: "LESS_THAN", +}; +export class AssociationExecutionDoesNotExist extends __BaseException { + constructor(opts) { + super({ + name: "AssociationExecutionDoesNotExist", + $fault: "client", + ...opts, + }); + this.name = "AssociationExecutionDoesNotExist"; + this.$fault = "client"; + Object.setPrototypeOf(this, AssociationExecutionDoesNotExist.prototype); + this.Message = opts.Message; + } +} +export const AssociationExecutionTargetsFilterKey = { + ResourceId: "ResourceId", + ResourceType: "ResourceType", + Status: "Status", +}; +export const AutomationExecutionFilterKey = { + AUTOMATION_SUBTYPE: "AutomationSubtype", + AUTOMATION_TYPE: "AutomationType", + CURRENT_ACTION: "CurrentAction", + DOCUMENT_NAME_PREFIX: "DocumentNamePrefix", + EXECUTION_ID: "ExecutionId", + EXECUTION_STATUS: "ExecutionStatus", + OPS_ITEM_ID: "OpsItemId", + PARENT_EXECUTION_ID: "ParentExecutionId", + START_TIME_AFTER: "StartTimeAfter", + START_TIME_BEFORE: "StartTimeBefore", + TAG_KEY: "TagKey", + TARGET_RESOURCE_GROUP: "TargetResourceGroup", +}; +export const AutomationExecutionStatus = { + APPROVED: "Approved", + CANCELLED: "Cancelled", + CANCELLING: "Cancelling", + CHANGE_CALENDAR_OVERRIDE_APPROVED: "ChangeCalendarOverrideApproved", + CHANGE_CALENDAR_OVERRIDE_REJECTED: "ChangeCalendarOverrideRejected", + COMPLETED_WITH_FAILURE: "CompletedWithFailure", + COMPLETED_WITH_SUCCESS: "CompletedWithSuccess", + EXITED: "Exited", + FAILED: "Failed", + INPROGRESS: "InProgress", + PENDING: "Pending", + PENDING_APPROVAL: "PendingApproval", + PENDING_CHANGE_CALENDAR_OVERRIDE: "PendingChangeCalendarOverride", + REJECTED: "Rejected", + RUNBOOK_INPROGRESS: "RunbookInProgress", + SCHEDULED: "Scheduled", + SUCCESS: "Success", + TIMEDOUT: "TimedOut", + WAITING: "Waiting", +}; +export const AutomationSubtype = { + ChangeRequest: "ChangeRequest", +}; +export const AutomationType = { + CrossAccount: "CrossAccount", + Local: "Local", +}; +export const ExecutionMode = { + Auto: "Auto", + Interactive: "Interactive", +}; +export class InvalidFilterKey extends __BaseException { + constructor(opts) { + super({ + name: "InvalidFilterKey", + $fault: "client", + ...opts, + }); + this.name = "InvalidFilterKey"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvalidFilterKey.prototype); + } +} +export class InvalidFilterValue extends __BaseException { + constructor(opts) { + super({ + name: "InvalidFilterValue", + $fault: "client", + ...opts, + }); + this.name = "InvalidFilterValue"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvalidFilterValue.prototype); + this.Message = opts.Message; + } +} +export class AutomationExecutionNotFoundException extends __BaseException { + constructor(opts) { + super({ + name: "AutomationExecutionNotFoundException", + $fault: "client", + ...opts, + }); + this.name = "AutomationExecutionNotFoundException"; + this.$fault = "client"; + Object.setPrototypeOf(this, AutomationExecutionNotFoundException.prototype); + this.Message = opts.Message; + } +} +export const StepExecutionFilterKey = { + ACTION: "Action", + PARENT_STEP_EXECUTION_ID: "ParentStepExecutionId", + PARENT_STEP_ITERATION: "ParentStepIteration", + PARENT_STEP_ITERATOR_VALUE: "ParentStepIteratorValue", + START_TIME_AFTER: "StartTimeAfter", + START_TIME_BEFORE: "StartTimeBefore", + STEP_EXECUTION_ID: "StepExecutionId", + STEP_EXECUTION_STATUS: "StepExecutionStatus", + STEP_NAME: "StepName", +}; +export const DocumentPermissionType = { + SHARE: "Share", +}; +export class InvalidPermissionType extends __BaseException { + constructor(opts) { + super({ + name: "InvalidPermissionType", + $fault: "client", + ...opts, + }); + this.name = "InvalidPermissionType"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvalidPermissionType.prototype); + this.Message = opts.Message; + } +} +export const PatchDeploymentStatus = { + Approved: "APPROVED", + ExplicitApproved: "EXPLICIT_APPROVED", + ExplicitRejected: "EXPLICIT_REJECTED", + PendingApproval: "PENDING_APPROVAL", +}; +export class UnsupportedOperatingSystem extends __BaseException { + constructor(opts) { + super({ + name: "UnsupportedOperatingSystem", + $fault: "client", + ...opts, + }); + this.name = "UnsupportedOperatingSystem"; + this.$fault = "client"; + Object.setPrototypeOf(this, UnsupportedOperatingSystem.prototype); + this.Message = opts.Message; + } +} +export const InstanceInformationFilterKey = { + ACTIVATION_IDS: "ActivationIds", + AGENT_VERSION: "AgentVersion", + ASSOCIATION_STATUS: "AssociationStatus", + IAM_ROLE: "IamRole", + INSTANCE_IDS: "InstanceIds", + PING_STATUS: "PingStatus", + PLATFORM_TYPES: "PlatformTypes", + RESOURCE_TYPE: "ResourceType", +}; +export const PingStatus = { + CONNECTION_LOST: "ConnectionLost", + INACTIVE: "Inactive", + ONLINE: "Online", +}; +export const ResourceType = { + EC2_INSTANCE: "EC2Instance", + MANAGED_INSTANCE: "ManagedInstance", +}; +export const SourceType = { + AWS_EC2_INSTANCE: "AWS::EC2::Instance", + AWS_IOT_THING: "AWS::IoT::Thing", + AWS_SSM_MANAGEDINSTANCE: "AWS::SSM::ManagedInstance", +}; +export class InvalidInstanceInformationFilterValue extends __BaseException { + constructor(opts) { + super({ + name: "InvalidInstanceInformationFilterValue", + $fault: "client", + ...opts, + }); + this.name = "InvalidInstanceInformationFilterValue"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvalidInstanceInformationFilterValue.prototype); + } +} +export const PatchComplianceDataState = { + Failed: "FAILED", + Installed: "INSTALLED", + InstalledOther: "INSTALLED_OTHER", + InstalledPendingReboot: "INSTALLED_PENDING_REBOOT", + InstalledRejected: "INSTALLED_REJECTED", + Missing: "MISSING", + NotApplicable: "NOT_APPLICABLE", +}; +export const PatchOperationType = { + INSTALL: "Install", + SCAN: "Scan", +}; +export const RebootOption = { + NO_REBOOT: "NoReboot", + REBOOT_IF_NEEDED: "RebootIfNeeded", +}; +export const InstancePatchStateOperatorType = { + EQUAL: "Equal", + GREATER_THAN: "GreaterThan", + LESS_THAN: "LessThan", + NOT_EQUAL: "NotEqual", +}; +export const InventoryDeletionStatus = { + COMPLETE: "Complete", + IN_PROGRESS: "InProgress", +}; +export class InvalidDeletionIdException extends __BaseException { + constructor(opts) { + super({ + name: "InvalidDeletionIdException", + $fault: "client", + ...opts, + }); + this.name = "InvalidDeletionIdException"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvalidDeletionIdException.prototype); + this.Message = opts.Message; + } +} +export const MaintenanceWindowExecutionStatus = { + Cancelled: "CANCELLED", + Cancelling: "CANCELLING", + Failed: "FAILED", + InProgress: "IN_PROGRESS", + Pending: "PENDING", + SkippedOverlapping: "SKIPPED_OVERLAPPING", + Success: "SUCCESS", + TimedOut: "TIMED_OUT", +}; +export const MaintenanceWindowTaskType = { + Automation: "AUTOMATION", + Lambda: "LAMBDA", + RunCommand: "RUN_COMMAND", + StepFunctions: "STEP_FUNCTIONS", +}; +export const MaintenanceWindowResourceType = { + Instance: "INSTANCE", + ResourceGroup: "RESOURCE_GROUP", +}; +export const MaintenanceWindowTaskCutoffBehavior = { + CancelTask: "CANCEL_TASK", + ContinueTask: "CONTINUE_TASK", +}; +export const CreateAssociationRequestFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.Parameters && { Parameters: SENSITIVE_STRING }), +}); +export const AssociationDescriptionFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.Parameters && { Parameters: SENSITIVE_STRING }), +}); +export const CreateAssociationResultFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.AssociationDescription && { + AssociationDescription: AssociationDescriptionFilterSensitiveLog(obj.AssociationDescription), + }), +}); +export const CreateAssociationBatchRequestEntryFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.Parameters && { Parameters: SENSITIVE_STRING }), +}); +export const CreateAssociationBatchRequestFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.Entries && { + Entries: obj.Entries.map((item) => CreateAssociationBatchRequestEntryFilterSensitiveLog(item)), + }), +}); +export const FailedCreateAssociationFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.Entry && { Entry: CreateAssociationBatchRequestEntryFilterSensitiveLog(obj.Entry) }), +}); +export const CreateAssociationBatchResultFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.Successful && { Successful: obj.Successful.map((item) => AssociationDescriptionFilterSensitiveLog(item)) }), + ...(obj.Failed && { Failed: obj.Failed.map((item) => FailedCreateAssociationFilterSensitiveLog(item)) }), +}); +export const CreateMaintenanceWindowRequestFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.Description && { Description: SENSITIVE_STRING }), +}); +export const PatchSourceFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.Configuration && { Configuration: SENSITIVE_STRING }), +}); +export const CreatePatchBaselineRequestFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.Sources && { Sources: obj.Sources.map((item) => PatchSourceFilterSensitiveLog(item)) }), +}); +export const DescribeAssociationResultFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.AssociationDescription && { + AssociationDescription: AssociationDescriptionFilterSensitiveLog(obj.AssociationDescription), + }), +}); +export const InstancePatchStateFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.OwnerInformation && { OwnerInformation: SENSITIVE_STRING }), +}); +export const DescribeInstancePatchStatesResultFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.InstancePatchStates && { + InstancePatchStates: obj.InstancePatchStates.map((item) => InstancePatchStateFilterSensitiveLog(item)), + }), +}); +export const DescribeInstancePatchStatesForPatchGroupResultFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.InstancePatchStates && { + InstancePatchStates: obj.InstancePatchStates.map((item) => InstancePatchStateFilterSensitiveLog(item)), + }), +}); +export const MaintenanceWindowExecutionTaskInvocationIdentityFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.Parameters && { Parameters: SENSITIVE_STRING }), + ...(obj.OwnerInformation && { OwnerInformation: SENSITIVE_STRING }), +}); +export const DescribeMaintenanceWindowExecutionTaskInvocationsResultFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.WindowExecutionTaskInvocationIdentities && { + WindowExecutionTaskInvocationIdentities: obj.WindowExecutionTaskInvocationIdentities.map((item) => MaintenanceWindowExecutionTaskInvocationIdentityFilterSensitiveLog(item)), + }), +}); +export const MaintenanceWindowIdentityFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.Description && { Description: SENSITIVE_STRING }), +}); +export const DescribeMaintenanceWindowsResultFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.WindowIdentities && { + WindowIdentities: obj.WindowIdentities.map((item) => MaintenanceWindowIdentityFilterSensitiveLog(item)), + }), +}); +export const MaintenanceWindowTargetFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.OwnerInformation && { OwnerInformation: SENSITIVE_STRING }), + ...(obj.Description && { Description: SENSITIVE_STRING }), +}); +export const DescribeMaintenanceWindowTargetsResultFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.Targets && { Targets: obj.Targets.map((item) => MaintenanceWindowTargetFilterSensitiveLog(item)) }), +}); +export const MaintenanceWindowTaskParameterValueExpressionFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.Values && { Values: SENSITIVE_STRING }), +}); diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/models/models_1.js b/node_modules/@aws-sdk/client-ssm/dist-es/models/models_1.js new file mode 100644 index 00000000..9c7b29ca --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/models/models_1.js @@ -0,0 +1,1050 @@ +import { SENSITIVE_STRING } from "@smithy/smithy-client"; +import { PatchSourceFilterSensitiveLog, } from "./models_0"; +import { SSMServiceException as __BaseException } from "./SSMServiceException"; +export const OpsItemFilterKey = { + ACCOUNT_ID: "AccountId", + ACTUAL_END_TIME: "ActualEndTime", + ACTUAL_START_TIME: "ActualStartTime", + AUTOMATION_ID: "AutomationId", + CATEGORY: "Category", + CHANGE_REQUEST_APPROVER_ARN: "ChangeRequestByApproverArn", + CHANGE_REQUEST_APPROVER_NAME: "ChangeRequestByApproverName", + CHANGE_REQUEST_REQUESTER_ARN: "ChangeRequestByRequesterArn", + CHANGE_REQUEST_REQUESTER_NAME: "ChangeRequestByRequesterName", + CHANGE_REQUEST_TARGETS_RESOURCE_GROUP: "ChangeRequestByTargetsResourceGroup", + CHANGE_REQUEST_TEMPLATE: "ChangeRequestByTemplate", + CREATED_BY: "CreatedBy", + CREATED_TIME: "CreatedTime", + INSIGHT_TYPE: "InsightByType", + LAST_MODIFIED_TIME: "LastModifiedTime", + OPERATIONAL_DATA: "OperationalData", + OPERATIONAL_DATA_KEY: "OperationalDataKey", + OPERATIONAL_DATA_VALUE: "OperationalDataValue", + OPSITEM_ID: "OpsItemId", + OPSITEM_TYPE: "OpsItemType", + PLANNED_END_TIME: "PlannedEndTime", + PLANNED_START_TIME: "PlannedStartTime", + PRIORITY: "Priority", + RESOURCE_ID: "ResourceId", + SEVERITY: "Severity", + SOURCE: "Source", + STATUS: "Status", + TITLE: "Title", +}; +export const OpsItemFilterOperator = { + CONTAINS: "Contains", + EQUAL: "Equal", + GREATER_THAN: "GreaterThan", + LESS_THAN: "LessThan", +}; +export const OpsItemStatus = { + APPROVED: "Approved", + CANCELLED: "Cancelled", + CANCELLING: "Cancelling", + CHANGE_CALENDAR_OVERRIDE_APPROVED: "ChangeCalendarOverrideApproved", + CHANGE_CALENDAR_OVERRIDE_REJECTED: "ChangeCalendarOverrideRejected", + CLOSED: "Closed", + COMPLETED_WITH_FAILURE: "CompletedWithFailure", + COMPLETED_WITH_SUCCESS: "CompletedWithSuccess", + FAILED: "Failed", + IN_PROGRESS: "InProgress", + OPEN: "Open", + PENDING: "Pending", + PENDING_APPROVAL: "PendingApproval", + PENDING_CHANGE_CALENDAR_OVERRIDE: "PendingChangeCalendarOverride", + REJECTED: "Rejected", + RESOLVED: "Resolved", + RUNBOOK_IN_PROGRESS: "RunbookInProgress", + SCHEDULED: "Scheduled", + TIMED_OUT: "TimedOut", +}; +export const ParametersFilterKey = { + KEY_ID: "KeyId", + NAME: "Name", + TYPE: "Type", +}; +export const ParameterTier = { + ADVANCED: "Advanced", + INTELLIGENT_TIERING: "Intelligent-Tiering", + STANDARD: "Standard", +}; +export const ParameterType = { + SECURE_STRING: "SecureString", + STRING: "String", + STRING_LIST: "StringList", +}; +export class InvalidFilterOption extends __BaseException { + constructor(opts) { + super({ + name: "InvalidFilterOption", + $fault: "client", + ...opts, + }); + this.name = "InvalidFilterOption"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvalidFilterOption.prototype); + } +} +export const PatchSet = { + Application: "APPLICATION", + Os: "OS", +}; +export const PatchProperty = { + PatchClassification: "CLASSIFICATION", + PatchMsrcSeverity: "MSRC_SEVERITY", + PatchPriority: "PRIORITY", + PatchProductFamily: "PRODUCT_FAMILY", + PatchSeverity: "SEVERITY", + Product: "PRODUCT", +}; +export const SessionFilterKey = { + INVOKED_AFTER: "InvokedAfter", + INVOKED_BEFORE: "InvokedBefore", + OWNER: "Owner", + SESSION_ID: "SessionId", + STATUS: "Status", + TARGET_ID: "Target", +}; +export const SessionState = { + ACTIVE: "Active", + HISTORY: "History", +}; +export const SessionStatus = { + CONNECTED: "Connected", + CONNECTING: "Connecting", + DISCONNECTED: "Disconnected", + FAILED: "Failed", + TERMINATED: "Terminated", + TERMINATING: "Terminating", +}; +export class OpsItemRelatedItemAssociationNotFoundException extends __BaseException { + constructor(opts) { + super({ + name: "OpsItemRelatedItemAssociationNotFoundException", + $fault: "client", + ...opts, + }); + this.name = "OpsItemRelatedItemAssociationNotFoundException"; + this.$fault = "client"; + Object.setPrototypeOf(this, OpsItemRelatedItemAssociationNotFoundException.prototype); + this.Message = opts.Message; + } +} +export const CalendarState = { + CLOSED: "CLOSED", + OPEN: "OPEN", +}; +export class InvalidDocumentType extends __BaseException { + constructor(opts) { + super({ + name: "InvalidDocumentType", + $fault: "client", + ...opts, + }); + this.name = "InvalidDocumentType"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvalidDocumentType.prototype); + this.Message = opts.Message; + } +} +export class UnsupportedCalendarException extends __BaseException { + constructor(opts) { + super({ + name: "UnsupportedCalendarException", + $fault: "client", + ...opts, + }); + this.name = "UnsupportedCalendarException"; + this.$fault = "client"; + Object.setPrototypeOf(this, UnsupportedCalendarException.prototype); + this.Message = opts.Message; + } +} +export const CommandInvocationStatus = { + CANCELLED: "Cancelled", + CANCELLING: "Cancelling", + DELAYED: "Delayed", + FAILED: "Failed", + IN_PROGRESS: "InProgress", + PENDING: "Pending", + SUCCESS: "Success", + TIMED_OUT: "TimedOut", +}; +export class InvalidPluginName extends __BaseException { + constructor(opts) { + super({ + name: "InvalidPluginName", + $fault: "client", + ...opts, + }); + this.name = "InvalidPluginName"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvalidPluginName.prototype); + } +} +export class InvocationDoesNotExist extends __BaseException { + constructor(opts) { + super({ + name: "InvocationDoesNotExist", + $fault: "client", + ...opts, + }); + this.name = "InvocationDoesNotExist"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvocationDoesNotExist.prototype); + } +} +export const ConnectionStatus = { + CONNECTED: "connected", + NOT_CONNECTED: "notconnected", +}; +export class UnsupportedFeatureRequiredException extends __BaseException { + constructor(opts) { + super({ + name: "UnsupportedFeatureRequiredException", + $fault: "client", + ...opts, + }); + this.name = "UnsupportedFeatureRequiredException"; + this.$fault = "client"; + Object.setPrototypeOf(this, UnsupportedFeatureRequiredException.prototype); + this.Message = opts.Message; + } +} +export const AttachmentHashType = { + SHA256: "Sha256", +}; +export const InventoryQueryOperatorType = { + BEGIN_WITH: "BeginWith", + EQUAL: "Equal", + EXISTS: "Exists", + GREATER_THAN: "GreaterThan", + LESS_THAN: "LessThan", + NOT_EQUAL: "NotEqual", +}; +export class InvalidAggregatorException extends __BaseException { + constructor(opts) { + super({ + name: "InvalidAggregatorException", + $fault: "client", + ...opts, + }); + this.name = "InvalidAggregatorException"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvalidAggregatorException.prototype); + this.Message = opts.Message; + } +} +export class InvalidInventoryGroupException extends __BaseException { + constructor(opts) { + super({ + name: "InvalidInventoryGroupException", + $fault: "client", + ...opts, + }); + this.name = "InvalidInventoryGroupException"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvalidInventoryGroupException.prototype); + this.Message = opts.Message; + } +} +export class InvalidResultAttributeException extends __BaseException { + constructor(opts) { + super({ + name: "InvalidResultAttributeException", + $fault: "client", + ...opts, + }); + this.name = "InvalidResultAttributeException"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvalidResultAttributeException.prototype); + this.Message = opts.Message; + } +} +export const InventoryAttributeDataType = { + NUMBER: "number", + STRING: "string", +}; +export const NotificationEvent = { + ALL: "All", + CANCELLED: "Cancelled", + FAILED: "Failed", + IN_PROGRESS: "InProgress", + SUCCESS: "Success", + TIMED_OUT: "TimedOut", +}; +export const NotificationType = { + Command: "Command", + Invocation: "Invocation", +}; +export const OpsFilterOperatorType = { + BEGIN_WITH: "BeginWith", + EQUAL: "Equal", + EXISTS: "Exists", + GREATER_THAN: "GreaterThan", + LESS_THAN: "LessThan", + NOT_EQUAL: "NotEqual", +}; +export class InvalidKeyId extends __BaseException { + constructor(opts) { + super({ + name: "InvalidKeyId", + $fault: "client", + ...opts, + }); + this.name = "InvalidKeyId"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvalidKeyId.prototype); + } +} +export class ParameterVersionNotFound extends __BaseException { + constructor(opts) { + super({ + name: "ParameterVersionNotFound", + $fault: "client", + ...opts, + }); + this.name = "ParameterVersionNotFound"; + this.$fault = "client"; + Object.setPrototypeOf(this, ParameterVersionNotFound.prototype); + } +} +export class ServiceSettingNotFound extends __BaseException { + constructor(opts) { + super({ + name: "ServiceSettingNotFound", + $fault: "client", + ...opts, + }); + this.name = "ServiceSettingNotFound"; + this.$fault = "client"; + Object.setPrototypeOf(this, ServiceSettingNotFound.prototype); + this.Message = opts.Message; + } +} +export class ParameterVersionLabelLimitExceeded extends __BaseException { + constructor(opts) { + super({ + name: "ParameterVersionLabelLimitExceeded", + $fault: "client", + ...opts, + }); + this.name = "ParameterVersionLabelLimitExceeded"; + this.$fault = "client"; + Object.setPrototypeOf(this, ParameterVersionLabelLimitExceeded.prototype); + } +} +export const AssociationFilterKey = { + AssociationId: "AssociationId", + AssociationName: "AssociationName", + InstanceId: "InstanceId", + LastExecutedAfter: "LastExecutedAfter", + LastExecutedBefore: "LastExecutedBefore", + Name: "Name", + ResourceGroupName: "ResourceGroupName", + Status: "AssociationStatusName", +}; +export const CommandFilterKey = { + DOCUMENT_NAME: "DocumentName", + EXECUTION_STAGE: "ExecutionStage", + INVOKED_AFTER: "InvokedAfter", + INVOKED_BEFORE: "InvokedBefore", + STATUS: "Status", +}; +export const CommandPluginStatus = { + CANCELLED: "Cancelled", + FAILED: "Failed", + IN_PROGRESS: "InProgress", + PENDING: "Pending", + SUCCESS: "Success", + TIMED_OUT: "TimedOut", +}; +export const CommandStatus = { + CANCELLED: "Cancelled", + CANCELLING: "Cancelling", + FAILED: "Failed", + IN_PROGRESS: "InProgress", + PENDING: "Pending", + SUCCESS: "Success", + TIMED_OUT: "TimedOut", +}; +export const ComplianceQueryOperatorType = { + BeginWith: "BEGIN_WITH", + Equal: "EQUAL", + GreaterThan: "GREATER_THAN", + LessThan: "LESS_THAN", + NotEqual: "NOT_EQUAL", +}; +export const ComplianceSeverity = { + Critical: "CRITICAL", + High: "HIGH", + Informational: "INFORMATIONAL", + Low: "LOW", + Medium: "MEDIUM", + Unspecified: "UNSPECIFIED", +}; +export const ComplianceStatus = { + Compliant: "COMPLIANT", + NonCompliant: "NON_COMPLIANT", +}; +export const DocumentMetadataEnum = { + DocumentReviews: "DocumentReviews", +}; +export const DocumentReviewCommentType = { + Comment: "Comment", +}; +export const DocumentFilterKey = { + DocumentType: "DocumentType", + Name: "Name", + Owner: "Owner", + PlatformTypes: "PlatformTypes", +}; +export const OpsItemEventFilterKey = { + OPSITEM_ID: "OpsItemId", +}; +export const OpsItemEventFilterOperator = { + EQUAL: "Equal", +}; +export const OpsItemRelatedItemsFilterKey = { + ASSOCIATION_ID: "AssociationId", + RESOURCE_TYPE: "ResourceType", + RESOURCE_URI: "ResourceUri", +}; +export const OpsItemRelatedItemsFilterOperator = { + EQUAL: "Equal", +}; +export const LastResourceDataSyncStatus = { + FAILED: "Failed", + INPROGRESS: "InProgress", + SUCCESSFUL: "Successful", +}; +export class DocumentPermissionLimit extends __BaseException { + constructor(opts) { + super({ + name: "DocumentPermissionLimit", + $fault: "client", + ...opts, + }); + this.name = "DocumentPermissionLimit"; + this.$fault = "client"; + Object.setPrototypeOf(this, DocumentPermissionLimit.prototype); + this.Message = opts.Message; + } +} +export class ComplianceTypeCountLimitExceededException extends __BaseException { + constructor(opts) { + super({ + name: "ComplianceTypeCountLimitExceededException", + $fault: "client", + ...opts, + }); + this.name = "ComplianceTypeCountLimitExceededException"; + this.$fault = "client"; + Object.setPrototypeOf(this, ComplianceTypeCountLimitExceededException.prototype); + this.Message = opts.Message; + } +} +export class InvalidItemContentException extends __BaseException { + constructor(opts) { + super({ + name: "InvalidItemContentException", + $fault: "client", + ...opts, + }); + this.name = "InvalidItemContentException"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvalidItemContentException.prototype); + this.TypeName = opts.TypeName; + this.Message = opts.Message; + } +} +export class ItemSizeLimitExceededException extends __BaseException { + constructor(opts) { + super({ + name: "ItemSizeLimitExceededException", + $fault: "client", + ...opts, + }); + this.name = "ItemSizeLimitExceededException"; + this.$fault = "client"; + Object.setPrototypeOf(this, ItemSizeLimitExceededException.prototype); + this.TypeName = opts.TypeName; + this.Message = opts.Message; + } +} +export const ComplianceUploadType = { + Complete: "COMPLETE", + Partial: "PARTIAL", +}; +export class TotalSizeLimitExceededException extends __BaseException { + constructor(opts) { + super({ + name: "TotalSizeLimitExceededException", + $fault: "client", + ...opts, + }); + this.name = "TotalSizeLimitExceededException"; + this.$fault = "client"; + Object.setPrototypeOf(this, TotalSizeLimitExceededException.prototype); + this.Message = opts.Message; + } +} +export class CustomSchemaCountLimitExceededException extends __BaseException { + constructor(opts) { + super({ + name: "CustomSchemaCountLimitExceededException", + $fault: "client", + ...opts, + }); + this.name = "CustomSchemaCountLimitExceededException"; + this.$fault = "client"; + Object.setPrototypeOf(this, CustomSchemaCountLimitExceededException.prototype); + this.Message = opts.Message; + } +} +export class InvalidInventoryItemContextException extends __BaseException { + constructor(opts) { + super({ + name: "InvalidInventoryItemContextException", + $fault: "client", + ...opts, + }); + this.name = "InvalidInventoryItemContextException"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvalidInventoryItemContextException.prototype); + this.Message = opts.Message; + } +} +export class ItemContentMismatchException extends __BaseException { + constructor(opts) { + super({ + name: "ItemContentMismatchException", + $fault: "client", + ...opts, + }); + this.name = "ItemContentMismatchException"; + this.$fault = "client"; + Object.setPrototypeOf(this, ItemContentMismatchException.prototype); + this.TypeName = opts.TypeName; + this.Message = opts.Message; + } +} +export class SubTypeCountLimitExceededException extends __BaseException { + constructor(opts) { + super({ + name: "SubTypeCountLimitExceededException", + $fault: "client", + ...opts, + }); + this.name = "SubTypeCountLimitExceededException"; + this.$fault = "client"; + Object.setPrototypeOf(this, SubTypeCountLimitExceededException.prototype); + this.Message = opts.Message; + } +} +export class UnsupportedInventoryItemContextException extends __BaseException { + constructor(opts) { + super({ + name: "UnsupportedInventoryItemContextException", + $fault: "client", + ...opts, + }); + this.name = "UnsupportedInventoryItemContextException"; + this.$fault = "client"; + Object.setPrototypeOf(this, UnsupportedInventoryItemContextException.prototype); + this.TypeName = opts.TypeName; + this.Message = opts.Message; + } +} +export class UnsupportedInventorySchemaVersionException extends __BaseException { + constructor(opts) { + super({ + name: "UnsupportedInventorySchemaVersionException", + $fault: "client", + ...opts, + }); + this.name = "UnsupportedInventorySchemaVersionException"; + this.$fault = "client"; + Object.setPrototypeOf(this, UnsupportedInventorySchemaVersionException.prototype); + this.Message = opts.Message; + } +} +export class HierarchyLevelLimitExceededException extends __BaseException { + constructor(opts) { + super({ + name: "HierarchyLevelLimitExceededException", + $fault: "client", + ...opts, + }); + this.name = "HierarchyLevelLimitExceededException"; + this.$fault = "client"; + Object.setPrototypeOf(this, HierarchyLevelLimitExceededException.prototype); + } +} +export class HierarchyTypeMismatchException extends __BaseException { + constructor(opts) { + super({ + name: "HierarchyTypeMismatchException", + $fault: "client", + ...opts, + }); + this.name = "HierarchyTypeMismatchException"; + this.$fault = "client"; + Object.setPrototypeOf(this, HierarchyTypeMismatchException.prototype); + } +} +export class IncompatiblePolicyException extends __BaseException { + constructor(opts) { + super({ + name: "IncompatiblePolicyException", + $fault: "client", + ...opts, + }); + this.name = "IncompatiblePolicyException"; + this.$fault = "client"; + Object.setPrototypeOf(this, IncompatiblePolicyException.prototype); + } +} +export class InvalidAllowedPatternException extends __BaseException { + constructor(opts) { + super({ + name: "InvalidAllowedPatternException", + $fault: "client", + ...opts, + }); + this.name = "InvalidAllowedPatternException"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvalidAllowedPatternException.prototype); + } +} +export class InvalidPolicyAttributeException extends __BaseException { + constructor(opts) { + super({ + name: "InvalidPolicyAttributeException", + $fault: "client", + ...opts, + }); + this.name = "InvalidPolicyAttributeException"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvalidPolicyAttributeException.prototype); + } +} +export class InvalidPolicyTypeException extends __BaseException { + constructor(opts) { + super({ + name: "InvalidPolicyTypeException", + $fault: "client", + ...opts, + }); + this.name = "InvalidPolicyTypeException"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvalidPolicyTypeException.prototype); + } +} +export class ParameterAlreadyExists extends __BaseException { + constructor(opts) { + super({ + name: "ParameterAlreadyExists", + $fault: "client", + ...opts, + }); + this.name = "ParameterAlreadyExists"; + this.$fault = "client"; + Object.setPrototypeOf(this, ParameterAlreadyExists.prototype); + } +} +export class ParameterLimitExceeded extends __BaseException { + constructor(opts) { + super({ + name: "ParameterLimitExceeded", + $fault: "client", + ...opts, + }); + this.name = "ParameterLimitExceeded"; + this.$fault = "client"; + Object.setPrototypeOf(this, ParameterLimitExceeded.prototype); + } +} +export class ParameterMaxVersionLimitExceeded extends __BaseException { + constructor(opts) { + super({ + name: "ParameterMaxVersionLimitExceeded", + $fault: "client", + ...opts, + }); + this.name = "ParameterMaxVersionLimitExceeded"; + this.$fault = "client"; + Object.setPrototypeOf(this, ParameterMaxVersionLimitExceeded.prototype); + } +} +export class ParameterPatternMismatchException extends __BaseException { + constructor(opts) { + super({ + name: "ParameterPatternMismatchException", + $fault: "client", + ...opts, + }); + this.name = "ParameterPatternMismatchException"; + this.$fault = "client"; + Object.setPrototypeOf(this, ParameterPatternMismatchException.prototype); + } +} +export class PoliciesLimitExceededException extends __BaseException { + constructor(opts) { + super({ + name: "PoliciesLimitExceededException", + $fault: "client", + ...opts, + }); + this.name = "PoliciesLimitExceededException"; + this.$fault = "client"; + Object.setPrototypeOf(this, PoliciesLimitExceededException.prototype); + } +} +export class UnsupportedParameterType extends __BaseException { + constructor(opts) { + super({ + name: "UnsupportedParameterType", + $fault: "client", + ...opts, + }); + this.name = "UnsupportedParameterType"; + this.$fault = "client"; + Object.setPrototypeOf(this, UnsupportedParameterType.prototype); + } +} +export class ResourcePolicyLimitExceededException extends __BaseException { + constructor(opts) { + super({ + name: "ResourcePolicyLimitExceededException", + $fault: "client", + ...opts, + }); + this.name = "ResourcePolicyLimitExceededException"; + this.$fault = "client"; + Object.setPrototypeOf(this, ResourcePolicyLimitExceededException.prototype); + this.Limit = opts.Limit; + this.LimitType = opts.LimitType; + this.Message = opts.Message; + } +} +export class FeatureNotAvailableException extends __BaseException { + constructor(opts) { + super({ + name: "FeatureNotAvailableException", + $fault: "client", + ...opts, + }); + this.name = "FeatureNotAvailableException"; + this.$fault = "client"; + Object.setPrototypeOf(this, FeatureNotAvailableException.prototype); + this.Message = opts.Message; + } +} +export class AutomationStepNotFoundException extends __BaseException { + constructor(opts) { + super({ + name: "AutomationStepNotFoundException", + $fault: "client", + ...opts, + }); + this.name = "AutomationStepNotFoundException"; + this.$fault = "client"; + Object.setPrototypeOf(this, AutomationStepNotFoundException.prototype); + this.Message = opts.Message; + } +} +export class InvalidAutomationSignalException extends __BaseException { + constructor(opts) { + super({ + name: "InvalidAutomationSignalException", + $fault: "client", + ...opts, + }); + this.name = "InvalidAutomationSignalException"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvalidAutomationSignalException.prototype); + this.Message = opts.Message; + } +} +export const SignalType = { + APPROVE: "Approve", + REJECT: "Reject", + RESUME: "Resume", + START_STEP: "StartStep", + STOP_STEP: "StopStep", +}; +export class InvalidNotificationConfig extends __BaseException { + constructor(opts) { + super({ + name: "InvalidNotificationConfig", + $fault: "client", + ...opts, + }); + this.name = "InvalidNotificationConfig"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvalidNotificationConfig.prototype); + this.Message = opts.Message; + } +} +export class InvalidOutputFolder extends __BaseException { + constructor(opts) { + super({ + name: "InvalidOutputFolder", + $fault: "client", + ...opts, + }); + this.name = "InvalidOutputFolder"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvalidOutputFolder.prototype); + } +} +export class InvalidRole extends __BaseException { + constructor(opts) { + super({ + name: "InvalidRole", + $fault: "client", + ...opts, + }); + this.name = "InvalidRole"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvalidRole.prototype); + this.Message = opts.Message; + } +} +export class InvalidAssociation extends __BaseException { + constructor(opts) { + super({ + name: "InvalidAssociation", + $fault: "client", + ...opts, + }); + this.name = "InvalidAssociation"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvalidAssociation.prototype); + this.Message = opts.Message; + } +} +export class AutomationDefinitionNotFoundException extends __BaseException { + constructor(opts) { + super({ + name: "AutomationDefinitionNotFoundException", + $fault: "client", + ...opts, + }); + this.name = "AutomationDefinitionNotFoundException"; + this.$fault = "client"; + Object.setPrototypeOf(this, AutomationDefinitionNotFoundException.prototype); + this.Message = opts.Message; + } +} +export class AutomationDefinitionVersionNotFoundException extends __BaseException { + constructor(opts) { + super({ + name: "AutomationDefinitionVersionNotFoundException", + $fault: "client", + ...opts, + }); + this.name = "AutomationDefinitionVersionNotFoundException"; + this.$fault = "client"; + Object.setPrototypeOf(this, AutomationDefinitionVersionNotFoundException.prototype); + this.Message = opts.Message; + } +} +export class AutomationExecutionLimitExceededException extends __BaseException { + constructor(opts) { + super({ + name: "AutomationExecutionLimitExceededException", + $fault: "client", + ...opts, + }); + this.name = "AutomationExecutionLimitExceededException"; + this.$fault = "client"; + Object.setPrototypeOf(this, AutomationExecutionLimitExceededException.prototype); + this.Message = opts.Message; + } +} +export class InvalidAutomationExecutionParametersException extends __BaseException { + constructor(opts) { + super({ + name: "InvalidAutomationExecutionParametersException", + $fault: "client", + ...opts, + }); + this.name = "InvalidAutomationExecutionParametersException"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvalidAutomationExecutionParametersException.prototype); + this.Message = opts.Message; + } +} +export class AutomationDefinitionNotApprovedException extends __BaseException { + constructor(opts) { + super({ + name: "AutomationDefinitionNotApprovedException", + $fault: "client", + ...opts, + }); + this.name = "AutomationDefinitionNotApprovedException"; + this.$fault = "client"; + Object.setPrototypeOf(this, AutomationDefinitionNotApprovedException.prototype); + this.Message = opts.Message; + } +} +export class TargetNotConnected extends __BaseException { + constructor(opts) { + super({ + name: "TargetNotConnected", + $fault: "client", + ...opts, + }); + this.name = "TargetNotConnected"; + this.$fault = "client"; + Object.setPrototypeOf(this, TargetNotConnected.prototype); + this.Message = opts.Message; + } +} +export class InvalidAutomationStatusUpdateException extends __BaseException { + constructor(opts) { + super({ + name: "InvalidAutomationStatusUpdateException", + $fault: "client", + ...opts, + }); + this.name = "InvalidAutomationStatusUpdateException"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvalidAutomationStatusUpdateException.prototype); + this.Message = opts.Message; + } +} +export const StopType = { + CANCEL: "Cancel", + COMPLETE: "Complete", +}; +export const MaintenanceWindowTaskFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.TaskParameters && { TaskParameters: SENSITIVE_STRING }), + ...(obj.Description && { Description: SENSITIVE_STRING }), +}); +export const DescribeMaintenanceWindowTasksResultFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.Tasks && { Tasks: obj.Tasks.map((item) => MaintenanceWindowTaskFilterSensitiveLog(item)) }), +}); +export const BaselineOverrideFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.Sources && { Sources: obj.Sources.map((item) => PatchSourceFilterSensitiveLog(item)) }), +}); +export const GetDeployablePatchSnapshotForInstanceRequestFilterSensitiveLog = (obj) => ({ + ...obj, +}); +export const GetMaintenanceWindowResultFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.Description && { Description: SENSITIVE_STRING }), +}); +export const GetMaintenanceWindowExecutionTaskResultFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.TaskParameters && { TaskParameters: SENSITIVE_STRING }), +}); +export const GetMaintenanceWindowExecutionTaskInvocationResultFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.Parameters && { Parameters: SENSITIVE_STRING }), + ...(obj.OwnerInformation && { OwnerInformation: SENSITIVE_STRING }), +}); +export const MaintenanceWindowLambdaParametersFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.Payload && { Payload: SENSITIVE_STRING }), +}); +export const MaintenanceWindowRunCommandParametersFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.Parameters && { Parameters: SENSITIVE_STRING }), +}); +export const MaintenanceWindowStepFunctionsParametersFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.Input && { Input: SENSITIVE_STRING }), +}); +export const MaintenanceWindowTaskInvocationParametersFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.RunCommand && { RunCommand: MaintenanceWindowRunCommandParametersFilterSensitiveLog(obj.RunCommand) }), + ...(obj.StepFunctions && { + StepFunctions: MaintenanceWindowStepFunctionsParametersFilterSensitiveLog(obj.StepFunctions), + }), + ...(obj.Lambda && { Lambda: MaintenanceWindowLambdaParametersFilterSensitiveLog(obj.Lambda) }), +}); +export const GetMaintenanceWindowTaskResultFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.TaskParameters && { TaskParameters: SENSITIVE_STRING }), + ...(obj.TaskInvocationParameters && { + TaskInvocationParameters: MaintenanceWindowTaskInvocationParametersFilterSensitiveLog(obj.TaskInvocationParameters), + }), + ...(obj.Description && { Description: SENSITIVE_STRING }), +}); +export const ParameterFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.Value && { Value: SENSITIVE_STRING }), +}); +export const GetParameterResultFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.Parameter && { Parameter: ParameterFilterSensitiveLog(obj.Parameter) }), +}); +export const ParameterHistoryFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.Value && { Value: SENSITIVE_STRING }), +}); +export const GetParameterHistoryResultFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.Parameters && { Parameters: obj.Parameters.map((item) => ParameterHistoryFilterSensitiveLog(item)) }), +}); +export const GetParametersResultFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.Parameters && { Parameters: obj.Parameters.map((item) => ParameterFilterSensitiveLog(item)) }), +}); +export const GetParametersByPathResultFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.Parameters && { Parameters: obj.Parameters.map((item) => ParameterFilterSensitiveLog(item)) }), +}); +export const GetPatchBaselineResultFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.Sources && { Sources: obj.Sources.map((item) => PatchSourceFilterSensitiveLog(item)) }), +}); +export const AssociationVersionInfoFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.Parameters && { Parameters: SENSITIVE_STRING }), +}); +export const ListAssociationVersionsResultFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.AssociationVersions && { + AssociationVersions: obj.AssociationVersions.map((item) => AssociationVersionInfoFilterSensitiveLog(item)), + }), +}); +export const CommandFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.Parameters && { Parameters: SENSITIVE_STRING }), +}); +export const ListCommandsResultFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.Commands && { Commands: obj.Commands.map((item) => CommandFilterSensitiveLog(item)) }), +}); +export const PutParameterRequestFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.Value && { Value: SENSITIVE_STRING }), +}); +export const RegisterTargetWithMaintenanceWindowRequestFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.OwnerInformation && { OwnerInformation: SENSITIVE_STRING }), + ...(obj.Description && { Description: SENSITIVE_STRING }), +}); +export const RegisterTaskWithMaintenanceWindowRequestFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.TaskParameters && { TaskParameters: SENSITIVE_STRING }), + ...(obj.TaskInvocationParameters && { + TaskInvocationParameters: MaintenanceWindowTaskInvocationParametersFilterSensitiveLog(obj.TaskInvocationParameters), + }), + ...(obj.Description && { Description: SENSITIVE_STRING }), +}); +export const SendCommandRequestFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.Parameters && { Parameters: SENSITIVE_STRING }), +}); +export const SendCommandResultFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.Command && { Command: CommandFilterSensitiveLog(obj.Command) }), +}); diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/models/models_2.js b/node_modules/@aws-sdk/client-ssm/dist-es/models/models_2.js new file mode 100644 index 00000000..adc2d77b --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/models/models_2.js @@ -0,0 +1,170 @@ +import { SENSITIVE_STRING } from "@smithy/smithy-client"; +import { AssociationDescriptionFilterSensitiveLog, PatchSourceFilterSensitiveLog, } from "./models_0"; +import { MaintenanceWindowTaskInvocationParametersFilterSensitiveLog, } from "./models_1"; +import { SSMServiceException as __BaseException } from "./SSMServiceException"; +export class AssociationVersionLimitExceeded extends __BaseException { + constructor(opts) { + super({ + name: "AssociationVersionLimitExceeded", + $fault: "client", + ...opts, + }); + this.name = "AssociationVersionLimitExceeded"; + this.$fault = "client"; + Object.setPrototypeOf(this, AssociationVersionLimitExceeded.prototype); + this.Message = opts.Message; + } +} +export class InvalidUpdate extends __BaseException { + constructor(opts) { + super({ + name: "InvalidUpdate", + $fault: "client", + ...opts, + }); + this.name = "InvalidUpdate"; + this.$fault = "client"; + Object.setPrototypeOf(this, InvalidUpdate.prototype); + this.Message = opts.Message; + } +} +export class StatusUnchanged extends __BaseException { + constructor(opts) { + super({ + name: "StatusUnchanged", + $fault: "client", + ...opts, + }); + this.name = "StatusUnchanged"; + this.$fault = "client"; + Object.setPrototypeOf(this, StatusUnchanged.prototype); + } +} +export class DocumentVersionLimitExceeded extends __BaseException { + constructor(opts) { + super({ + name: "DocumentVersionLimitExceeded", + $fault: "client", + ...opts, + }); + this.name = "DocumentVersionLimitExceeded"; + this.$fault = "client"; + Object.setPrototypeOf(this, DocumentVersionLimitExceeded.prototype); + this.Message = opts.Message; + } +} +export class DuplicateDocumentContent extends __BaseException { + constructor(opts) { + super({ + name: "DuplicateDocumentContent", + $fault: "client", + ...opts, + }); + this.name = "DuplicateDocumentContent"; + this.$fault = "client"; + Object.setPrototypeOf(this, DuplicateDocumentContent.prototype); + this.Message = opts.Message; + } +} +export class DuplicateDocumentVersionName extends __BaseException { + constructor(opts) { + super({ + name: "DuplicateDocumentVersionName", + $fault: "client", + ...opts, + }); + this.name = "DuplicateDocumentVersionName"; + this.$fault = "client"; + Object.setPrototypeOf(this, DuplicateDocumentVersionName.prototype); + this.Message = opts.Message; + } +} +export const DocumentReviewAction = { + Approve: "Approve", + Reject: "Reject", + SendForReview: "SendForReview", + UpdateReview: "UpdateReview", +}; +export class OpsMetadataKeyLimitExceededException extends __BaseException { + constructor(opts) { + super({ + name: "OpsMetadataKeyLimitExceededException", + $fault: "client", + ...opts, + }); + this.name = "OpsMetadataKeyLimitExceededException"; + this.$fault = "client"; + Object.setPrototypeOf(this, OpsMetadataKeyLimitExceededException.prototype); + } +} +export class ResourceDataSyncConflictException extends __BaseException { + constructor(opts) { + super({ + name: "ResourceDataSyncConflictException", + $fault: "client", + ...opts, + }); + this.name = "ResourceDataSyncConflictException"; + this.$fault = "client"; + Object.setPrototypeOf(this, ResourceDataSyncConflictException.prototype); + this.Message = opts.Message; + } +} +export const UpdateAssociationRequestFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.Parameters && { Parameters: SENSITIVE_STRING }), +}); +export const UpdateAssociationResultFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.AssociationDescription && { + AssociationDescription: AssociationDescriptionFilterSensitiveLog(obj.AssociationDescription), + }), +}); +export const UpdateAssociationStatusResultFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.AssociationDescription && { + AssociationDescription: AssociationDescriptionFilterSensitiveLog(obj.AssociationDescription), + }), +}); +export const UpdateMaintenanceWindowRequestFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.Description && { Description: SENSITIVE_STRING }), +}); +export const UpdateMaintenanceWindowResultFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.Description && { Description: SENSITIVE_STRING }), +}); +export const UpdateMaintenanceWindowTargetRequestFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.OwnerInformation && { OwnerInformation: SENSITIVE_STRING }), + ...(obj.Description && { Description: SENSITIVE_STRING }), +}); +export const UpdateMaintenanceWindowTargetResultFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.OwnerInformation && { OwnerInformation: SENSITIVE_STRING }), + ...(obj.Description && { Description: SENSITIVE_STRING }), +}); +export const UpdateMaintenanceWindowTaskRequestFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.TaskParameters && { TaskParameters: SENSITIVE_STRING }), + ...(obj.TaskInvocationParameters && { + TaskInvocationParameters: MaintenanceWindowTaskInvocationParametersFilterSensitiveLog(obj.TaskInvocationParameters), + }), + ...(obj.Description && { Description: SENSITIVE_STRING }), +}); +export const UpdateMaintenanceWindowTaskResultFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.TaskParameters && { TaskParameters: SENSITIVE_STRING }), + ...(obj.TaskInvocationParameters && { + TaskInvocationParameters: MaintenanceWindowTaskInvocationParametersFilterSensitiveLog(obj.TaskInvocationParameters), + }), + ...(obj.Description && { Description: SENSITIVE_STRING }), +}); +export const UpdatePatchBaselineRequestFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.Sources && { Sources: obj.Sources.map((item) => PatchSourceFilterSensitiveLog(item)) }), +}); +export const UpdatePatchBaselineResultFilterSensitiveLog = (obj) => ({ + ...obj, + ...(obj.Sources && { Sources: obj.Sources.map((item) => PatchSourceFilterSensitiveLog(item)) }), +}); diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeActivationsPaginator.js b/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeActivationsPaginator.js new file mode 100644 index 00000000..6e43070d --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeActivationsPaginator.js @@ -0,0 +1,25 @@ +import { DescribeActivationsCommand, } from "../commands/DescribeActivationsCommand"; +import { SSMClient } from "../SSMClient"; +const makePagedClientRequest = async (client, input, ...args) => { + return await client.send(new DescribeActivationsCommand(input), ...args); +}; +export async function* paginateDescribeActivations(config, input, ...additionalArguments) { + let token = config.startingToken || undefined; + let hasNext = true; + let page; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof SSMClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } + else { + throw new Error("Invalid client, expected SSM | SSMClient"); + } + yield page; + const prevToken = token; + token = page.NextToken; + hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); + } + return undefined; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeAssociationExecutionTargetsPaginator.js b/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeAssociationExecutionTargetsPaginator.js new file mode 100644 index 00000000..1fed99a9 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeAssociationExecutionTargetsPaginator.js @@ -0,0 +1,25 @@ +import { DescribeAssociationExecutionTargetsCommand, } from "../commands/DescribeAssociationExecutionTargetsCommand"; +import { SSMClient } from "../SSMClient"; +const makePagedClientRequest = async (client, input, ...args) => { + return await client.send(new DescribeAssociationExecutionTargetsCommand(input), ...args); +}; +export async function* paginateDescribeAssociationExecutionTargets(config, input, ...additionalArguments) { + let token = config.startingToken || undefined; + let hasNext = true; + let page; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof SSMClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } + else { + throw new Error("Invalid client, expected SSM | SSMClient"); + } + yield page; + const prevToken = token; + token = page.NextToken; + hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); + } + return undefined; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeAssociationExecutionsPaginator.js b/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeAssociationExecutionsPaginator.js new file mode 100644 index 00000000..77a07bab --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeAssociationExecutionsPaginator.js @@ -0,0 +1,25 @@ +import { DescribeAssociationExecutionsCommand, } from "../commands/DescribeAssociationExecutionsCommand"; +import { SSMClient } from "../SSMClient"; +const makePagedClientRequest = async (client, input, ...args) => { + return await client.send(new DescribeAssociationExecutionsCommand(input), ...args); +}; +export async function* paginateDescribeAssociationExecutions(config, input, ...additionalArguments) { + let token = config.startingToken || undefined; + let hasNext = true; + let page; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof SSMClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } + else { + throw new Error("Invalid client, expected SSM | SSMClient"); + } + yield page; + const prevToken = token; + token = page.NextToken; + hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); + } + return undefined; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeAutomationExecutionsPaginator.js b/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeAutomationExecutionsPaginator.js new file mode 100644 index 00000000..aa64b8b1 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeAutomationExecutionsPaginator.js @@ -0,0 +1,25 @@ +import { DescribeAutomationExecutionsCommand, } from "../commands/DescribeAutomationExecutionsCommand"; +import { SSMClient } from "../SSMClient"; +const makePagedClientRequest = async (client, input, ...args) => { + return await client.send(new DescribeAutomationExecutionsCommand(input), ...args); +}; +export async function* paginateDescribeAutomationExecutions(config, input, ...additionalArguments) { + let token = config.startingToken || undefined; + let hasNext = true; + let page; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof SSMClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } + else { + throw new Error("Invalid client, expected SSM | SSMClient"); + } + yield page; + const prevToken = token; + token = page.NextToken; + hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); + } + return undefined; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeAutomationStepExecutionsPaginator.js b/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeAutomationStepExecutionsPaginator.js new file mode 100644 index 00000000..c80194b9 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeAutomationStepExecutionsPaginator.js @@ -0,0 +1,25 @@ +import { DescribeAutomationStepExecutionsCommand, } from "../commands/DescribeAutomationStepExecutionsCommand"; +import { SSMClient } from "../SSMClient"; +const makePagedClientRequest = async (client, input, ...args) => { + return await client.send(new DescribeAutomationStepExecutionsCommand(input), ...args); +}; +export async function* paginateDescribeAutomationStepExecutions(config, input, ...additionalArguments) { + let token = config.startingToken || undefined; + let hasNext = true; + let page; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof SSMClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } + else { + throw new Error("Invalid client, expected SSM | SSMClient"); + } + yield page; + const prevToken = token; + token = page.NextToken; + hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); + } + return undefined; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeAvailablePatchesPaginator.js b/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeAvailablePatchesPaginator.js new file mode 100644 index 00000000..36527bff --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeAvailablePatchesPaginator.js @@ -0,0 +1,25 @@ +import { DescribeAvailablePatchesCommand, } from "../commands/DescribeAvailablePatchesCommand"; +import { SSMClient } from "../SSMClient"; +const makePagedClientRequest = async (client, input, ...args) => { + return await client.send(new DescribeAvailablePatchesCommand(input), ...args); +}; +export async function* paginateDescribeAvailablePatches(config, input, ...additionalArguments) { + let token = config.startingToken || undefined; + let hasNext = true; + let page; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof SSMClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } + else { + throw new Error("Invalid client, expected SSM | SSMClient"); + } + yield page; + const prevToken = token; + token = page.NextToken; + hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); + } + return undefined; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeEffectiveInstanceAssociationsPaginator.js b/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeEffectiveInstanceAssociationsPaginator.js new file mode 100644 index 00000000..72865cb8 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeEffectiveInstanceAssociationsPaginator.js @@ -0,0 +1,25 @@ +import { DescribeEffectiveInstanceAssociationsCommand, } from "../commands/DescribeEffectiveInstanceAssociationsCommand"; +import { SSMClient } from "../SSMClient"; +const makePagedClientRequest = async (client, input, ...args) => { + return await client.send(new DescribeEffectiveInstanceAssociationsCommand(input), ...args); +}; +export async function* paginateDescribeEffectiveInstanceAssociations(config, input, ...additionalArguments) { + let token = config.startingToken || undefined; + let hasNext = true; + let page; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof SSMClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } + else { + throw new Error("Invalid client, expected SSM | SSMClient"); + } + yield page; + const prevToken = token; + token = page.NextToken; + hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); + } + return undefined; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeEffectivePatchesForPatchBaselinePaginator.js b/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeEffectivePatchesForPatchBaselinePaginator.js new file mode 100644 index 00000000..6c0188c5 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeEffectivePatchesForPatchBaselinePaginator.js @@ -0,0 +1,25 @@ +import { DescribeEffectivePatchesForPatchBaselineCommand, } from "../commands/DescribeEffectivePatchesForPatchBaselineCommand"; +import { SSMClient } from "../SSMClient"; +const makePagedClientRequest = async (client, input, ...args) => { + return await client.send(new DescribeEffectivePatchesForPatchBaselineCommand(input), ...args); +}; +export async function* paginateDescribeEffectivePatchesForPatchBaseline(config, input, ...additionalArguments) { + let token = config.startingToken || undefined; + let hasNext = true; + let page; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof SSMClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } + else { + throw new Error("Invalid client, expected SSM | SSMClient"); + } + yield page; + const prevToken = token; + token = page.NextToken; + hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); + } + return undefined; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeInstanceAssociationsStatusPaginator.js b/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeInstanceAssociationsStatusPaginator.js new file mode 100644 index 00000000..9a241b9f --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeInstanceAssociationsStatusPaginator.js @@ -0,0 +1,25 @@ +import { DescribeInstanceAssociationsStatusCommand, } from "../commands/DescribeInstanceAssociationsStatusCommand"; +import { SSMClient } from "../SSMClient"; +const makePagedClientRequest = async (client, input, ...args) => { + return await client.send(new DescribeInstanceAssociationsStatusCommand(input), ...args); +}; +export async function* paginateDescribeInstanceAssociationsStatus(config, input, ...additionalArguments) { + let token = config.startingToken || undefined; + let hasNext = true; + let page; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof SSMClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } + else { + throw new Error("Invalid client, expected SSM | SSMClient"); + } + yield page; + const prevToken = token; + token = page.NextToken; + hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); + } + return undefined; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeInstanceInformationPaginator.js b/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeInstanceInformationPaginator.js new file mode 100644 index 00000000..b049d172 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeInstanceInformationPaginator.js @@ -0,0 +1,25 @@ +import { DescribeInstanceInformationCommand, } from "../commands/DescribeInstanceInformationCommand"; +import { SSMClient } from "../SSMClient"; +const makePagedClientRequest = async (client, input, ...args) => { + return await client.send(new DescribeInstanceInformationCommand(input), ...args); +}; +export async function* paginateDescribeInstanceInformation(config, input, ...additionalArguments) { + let token = config.startingToken || undefined; + let hasNext = true; + let page; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof SSMClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } + else { + throw new Error("Invalid client, expected SSM | SSMClient"); + } + yield page; + const prevToken = token; + token = page.NextToken; + hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); + } + return undefined; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeInstancePatchStatesForPatchGroupPaginator.js b/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeInstancePatchStatesForPatchGroupPaginator.js new file mode 100644 index 00000000..fee0d15f --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeInstancePatchStatesForPatchGroupPaginator.js @@ -0,0 +1,25 @@ +import { DescribeInstancePatchStatesForPatchGroupCommand, } from "../commands/DescribeInstancePatchStatesForPatchGroupCommand"; +import { SSMClient } from "../SSMClient"; +const makePagedClientRequest = async (client, input, ...args) => { + return await client.send(new DescribeInstancePatchStatesForPatchGroupCommand(input), ...args); +}; +export async function* paginateDescribeInstancePatchStatesForPatchGroup(config, input, ...additionalArguments) { + let token = config.startingToken || undefined; + let hasNext = true; + let page; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof SSMClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } + else { + throw new Error("Invalid client, expected SSM | SSMClient"); + } + yield page; + const prevToken = token; + token = page.NextToken; + hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); + } + return undefined; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeInstancePatchStatesPaginator.js b/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeInstancePatchStatesPaginator.js new file mode 100644 index 00000000..e71c5bd4 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeInstancePatchStatesPaginator.js @@ -0,0 +1,25 @@ +import { DescribeInstancePatchStatesCommand, } from "../commands/DescribeInstancePatchStatesCommand"; +import { SSMClient } from "../SSMClient"; +const makePagedClientRequest = async (client, input, ...args) => { + return await client.send(new DescribeInstancePatchStatesCommand(input), ...args); +}; +export async function* paginateDescribeInstancePatchStates(config, input, ...additionalArguments) { + let token = config.startingToken || undefined; + let hasNext = true; + let page; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof SSMClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } + else { + throw new Error("Invalid client, expected SSM | SSMClient"); + } + yield page; + const prevToken = token; + token = page.NextToken; + hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); + } + return undefined; +} diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/pagination/ListEventSourceMappingsPaginator.js b/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeInstancePatchesPaginator.js similarity index 50% rename from node_modules/@aws-sdk/client-lambda/dist-es/pagination/ListEventSourceMappingsPaginator.js rename to node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeInstancePatchesPaginator.js index 65ebd411..e95a65af 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-es/pagination/ListEventSourceMappingsPaginator.js +++ b/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeInstancePatchesPaginator.js @@ -1,24 +1,24 @@ -import { ListEventSourceMappingsCommand, } from "../commands/ListEventSourceMappingsCommand"; -import { LambdaClient } from "../LambdaClient"; +import { DescribeInstancePatchesCommand, } from "../commands/DescribeInstancePatchesCommand"; +import { SSMClient } from "../SSMClient"; const makePagedClientRequest = async (client, input, ...args) => { - return await client.send(new ListEventSourceMappingsCommand(input), ...args); + return await client.send(new DescribeInstancePatchesCommand(input), ...args); }; -export async function* paginateListEventSourceMappings(config, input, ...additionalArguments) { +export async function* paginateDescribeInstancePatches(config, input, ...additionalArguments) { let token = config.startingToken || undefined; let hasNext = true; let page; while (hasNext) { - input.Marker = token; - input["MaxItems"] = config.pageSize; - if (config.client instanceof LambdaClient) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof SSMClient) { page = await makePagedClientRequest(config.client, input, ...additionalArguments); } else { - throw new Error("Invalid client, expected Lambda | LambdaClient"); + throw new Error("Invalid client, expected SSM | SSMClient"); } yield page; const prevToken = token; - token = page.NextMarker; + token = page.NextToken; hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); } return undefined; diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeInventoryDeletionsPaginator.js b/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeInventoryDeletionsPaginator.js new file mode 100644 index 00000000..fc3d9671 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeInventoryDeletionsPaginator.js @@ -0,0 +1,25 @@ +import { DescribeInventoryDeletionsCommand, } from "../commands/DescribeInventoryDeletionsCommand"; +import { SSMClient } from "../SSMClient"; +const makePagedClientRequest = async (client, input, ...args) => { + return await client.send(new DescribeInventoryDeletionsCommand(input), ...args); +}; +export async function* paginateDescribeInventoryDeletions(config, input, ...additionalArguments) { + let token = config.startingToken || undefined; + let hasNext = true; + let page; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof SSMClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } + else { + throw new Error("Invalid client, expected SSM | SSMClient"); + } + yield page; + const prevToken = token; + token = page.NextToken; + hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); + } + return undefined; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeMaintenanceWindowExecutionTaskInvocationsPaginator.js b/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeMaintenanceWindowExecutionTaskInvocationsPaginator.js new file mode 100644 index 00000000..d7476cb3 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeMaintenanceWindowExecutionTaskInvocationsPaginator.js @@ -0,0 +1,25 @@ +import { DescribeMaintenanceWindowExecutionTaskInvocationsCommand, } from "../commands/DescribeMaintenanceWindowExecutionTaskInvocationsCommand"; +import { SSMClient } from "../SSMClient"; +const makePagedClientRequest = async (client, input, ...args) => { + return await client.send(new DescribeMaintenanceWindowExecutionTaskInvocationsCommand(input), ...args); +}; +export async function* paginateDescribeMaintenanceWindowExecutionTaskInvocations(config, input, ...additionalArguments) { + let token = config.startingToken || undefined; + let hasNext = true; + let page; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof SSMClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } + else { + throw new Error("Invalid client, expected SSM | SSMClient"); + } + yield page; + const prevToken = token; + token = page.NextToken; + hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); + } + return undefined; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeMaintenanceWindowExecutionTasksPaginator.js b/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeMaintenanceWindowExecutionTasksPaginator.js new file mode 100644 index 00000000..e82e87cf --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeMaintenanceWindowExecutionTasksPaginator.js @@ -0,0 +1,25 @@ +import { DescribeMaintenanceWindowExecutionTasksCommand, } from "../commands/DescribeMaintenanceWindowExecutionTasksCommand"; +import { SSMClient } from "../SSMClient"; +const makePagedClientRequest = async (client, input, ...args) => { + return await client.send(new DescribeMaintenanceWindowExecutionTasksCommand(input), ...args); +}; +export async function* paginateDescribeMaintenanceWindowExecutionTasks(config, input, ...additionalArguments) { + let token = config.startingToken || undefined; + let hasNext = true; + let page; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof SSMClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } + else { + throw new Error("Invalid client, expected SSM | SSMClient"); + } + yield page; + const prevToken = token; + token = page.NextToken; + hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); + } + return undefined; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeMaintenanceWindowExecutionsPaginator.js b/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeMaintenanceWindowExecutionsPaginator.js new file mode 100644 index 00000000..05e17406 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeMaintenanceWindowExecutionsPaginator.js @@ -0,0 +1,25 @@ +import { DescribeMaintenanceWindowExecutionsCommand, } from "../commands/DescribeMaintenanceWindowExecutionsCommand"; +import { SSMClient } from "../SSMClient"; +const makePagedClientRequest = async (client, input, ...args) => { + return await client.send(new DescribeMaintenanceWindowExecutionsCommand(input), ...args); +}; +export async function* paginateDescribeMaintenanceWindowExecutions(config, input, ...additionalArguments) { + let token = config.startingToken || undefined; + let hasNext = true; + let page; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof SSMClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } + else { + throw new Error("Invalid client, expected SSM | SSMClient"); + } + yield page; + const prevToken = token; + token = page.NextToken; + hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); + } + return undefined; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeMaintenanceWindowSchedulePaginator.js b/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeMaintenanceWindowSchedulePaginator.js new file mode 100644 index 00000000..07ad9ab6 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeMaintenanceWindowSchedulePaginator.js @@ -0,0 +1,25 @@ +import { DescribeMaintenanceWindowScheduleCommand, } from "../commands/DescribeMaintenanceWindowScheduleCommand"; +import { SSMClient } from "../SSMClient"; +const makePagedClientRequest = async (client, input, ...args) => { + return await client.send(new DescribeMaintenanceWindowScheduleCommand(input), ...args); +}; +export async function* paginateDescribeMaintenanceWindowSchedule(config, input, ...additionalArguments) { + let token = config.startingToken || undefined; + let hasNext = true; + let page; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof SSMClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } + else { + throw new Error("Invalid client, expected SSM | SSMClient"); + } + yield page; + const prevToken = token; + token = page.NextToken; + hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); + } + return undefined; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeMaintenanceWindowTargetsPaginator.js b/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeMaintenanceWindowTargetsPaginator.js new file mode 100644 index 00000000..b1199a7d --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeMaintenanceWindowTargetsPaginator.js @@ -0,0 +1,25 @@ +import { DescribeMaintenanceWindowTargetsCommand, } from "../commands/DescribeMaintenanceWindowTargetsCommand"; +import { SSMClient } from "../SSMClient"; +const makePagedClientRequest = async (client, input, ...args) => { + return await client.send(new DescribeMaintenanceWindowTargetsCommand(input), ...args); +}; +export async function* paginateDescribeMaintenanceWindowTargets(config, input, ...additionalArguments) { + let token = config.startingToken || undefined; + let hasNext = true; + let page; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof SSMClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } + else { + throw new Error("Invalid client, expected SSM | SSMClient"); + } + yield page; + const prevToken = token; + token = page.NextToken; + hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); + } + return undefined; +} diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/pagination/ListFunctionEventInvokeConfigsPaginator.js b/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeMaintenanceWindowTasksPaginator.js similarity index 50% rename from node_modules/@aws-sdk/client-lambda/dist-es/pagination/ListFunctionEventInvokeConfigsPaginator.js rename to node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeMaintenanceWindowTasksPaginator.js index 7b8a25f9..0bdf2b23 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-es/pagination/ListFunctionEventInvokeConfigsPaginator.js +++ b/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeMaintenanceWindowTasksPaginator.js @@ -1,24 +1,24 @@ -import { ListFunctionEventInvokeConfigsCommand, } from "../commands/ListFunctionEventInvokeConfigsCommand"; -import { LambdaClient } from "../LambdaClient"; +import { DescribeMaintenanceWindowTasksCommand, } from "../commands/DescribeMaintenanceWindowTasksCommand"; +import { SSMClient } from "../SSMClient"; const makePagedClientRequest = async (client, input, ...args) => { - return await client.send(new ListFunctionEventInvokeConfigsCommand(input), ...args); + return await client.send(new DescribeMaintenanceWindowTasksCommand(input), ...args); }; -export async function* paginateListFunctionEventInvokeConfigs(config, input, ...additionalArguments) { +export async function* paginateDescribeMaintenanceWindowTasks(config, input, ...additionalArguments) { let token = config.startingToken || undefined; let hasNext = true; let page; while (hasNext) { - input.Marker = token; - input["MaxItems"] = config.pageSize; - if (config.client instanceof LambdaClient) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof SSMClient) { page = await makePagedClientRequest(config.client, input, ...additionalArguments); } else { - throw new Error("Invalid client, expected Lambda | LambdaClient"); + throw new Error("Invalid client, expected SSM | SSMClient"); } yield page; const prevToken = token; - token = page.NextMarker; + token = page.NextToken; hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); } return undefined; diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeMaintenanceWindowsForTargetPaginator.js b/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeMaintenanceWindowsForTargetPaginator.js new file mode 100644 index 00000000..fa1a0666 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeMaintenanceWindowsForTargetPaginator.js @@ -0,0 +1,25 @@ +import { DescribeMaintenanceWindowsForTargetCommand, } from "../commands/DescribeMaintenanceWindowsForTargetCommand"; +import { SSMClient } from "../SSMClient"; +const makePagedClientRequest = async (client, input, ...args) => { + return await client.send(new DescribeMaintenanceWindowsForTargetCommand(input), ...args); +}; +export async function* paginateDescribeMaintenanceWindowsForTarget(config, input, ...additionalArguments) { + let token = config.startingToken || undefined; + let hasNext = true; + let page; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof SSMClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } + else { + throw new Error("Invalid client, expected SSM | SSMClient"); + } + yield page; + const prevToken = token; + token = page.NextToken; + hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); + } + return undefined; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeMaintenanceWindowsPaginator.js b/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeMaintenanceWindowsPaginator.js new file mode 100644 index 00000000..46137d2a --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeMaintenanceWindowsPaginator.js @@ -0,0 +1,25 @@ +import { DescribeMaintenanceWindowsCommand, } from "../commands/DescribeMaintenanceWindowsCommand"; +import { SSMClient } from "../SSMClient"; +const makePagedClientRequest = async (client, input, ...args) => { + return await client.send(new DescribeMaintenanceWindowsCommand(input), ...args); +}; +export async function* paginateDescribeMaintenanceWindows(config, input, ...additionalArguments) { + let token = config.startingToken || undefined; + let hasNext = true; + let page; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof SSMClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } + else { + throw new Error("Invalid client, expected SSM | SSMClient"); + } + yield page; + const prevToken = token; + token = page.NextToken; + hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); + } + return undefined; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeOpsItemsPaginator.js b/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeOpsItemsPaginator.js new file mode 100644 index 00000000..75152c34 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeOpsItemsPaginator.js @@ -0,0 +1,25 @@ +import { DescribeOpsItemsCommand, } from "../commands/DescribeOpsItemsCommand"; +import { SSMClient } from "../SSMClient"; +const makePagedClientRequest = async (client, input, ...args) => { + return await client.send(new DescribeOpsItemsCommand(input), ...args); +}; +export async function* paginateDescribeOpsItems(config, input, ...additionalArguments) { + let token = config.startingToken || undefined; + let hasNext = true; + let page; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof SSMClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } + else { + throw new Error("Invalid client, expected SSM | SSMClient"); + } + yield page; + const prevToken = token; + token = page.NextToken; + hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); + } + return undefined; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeParametersPaginator.js b/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeParametersPaginator.js new file mode 100644 index 00000000..4d2cc213 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeParametersPaginator.js @@ -0,0 +1,25 @@ +import { DescribeParametersCommand, } from "../commands/DescribeParametersCommand"; +import { SSMClient } from "../SSMClient"; +const makePagedClientRequest = async (client, input, ...args) => { + return await client.send(new DescribeParametersCommand(input), ...args); +}; +export async function* paginateDescribeParameters(config, input, ...additionalArguments) { + let token = config.startingToken || undefined; + let hasNext = true; + let page; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof SSMClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } + else { + throw new Error("Invalid client, expected SSM | SSMClient"); + } + yield page; + const prevToken = token; + token = page.NextToken; + hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); + } + return undefined; +} diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/pagination/ListVersionsByFunctionPaginator.js b/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribePatchBaselinesPaginator.js similarity index 50% rename from node_modules/@aws-sdk/client-lambda/dist-es/pagination/ListVersionsByFunctionPaginator.js rename to node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribePatchBaselinesPaginator.js index 7e078e58..ae9945a4 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-es/pagination/ListVersionsByFunctionPaginator.js +++ b/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribePatchBaselinesPaginator.js @@ -1,24 +1,24 @@ -import { ListVersionsByFunctionCommand, } from "../commands/ListVersionsByFunctionCommand"; -import { LambdaClient } from "../LambdaClient"; +import { DescribePatchBaselinesCommand, } from "../commands/DescribePatchBaselinesCommand"; +import { SSMClient } from "../SSMClient"; const makePagedClientRequest = async (client, input, ...args) => { - return await client.send(new ListVersionsByFunctionCommand(input), ...args); + return await client.send(new DescribePatchBaselinesCommand(input), ...args); }; -export async function* paginateListVersionsByFunction(config, input, ...additionalArguments) { +export async function* paginateDescribePatchBaselines(config, input, ...additionalArguments) { let token = config.startingToken || undefined; let hasNext = true; let page; while (hasNext) { - input.Marker = token; - input["MaxItems"] = config.pageSize; - if (config.client instanceof LambdaClient) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof SSMClient) { page = await makePagedClientRequest(config.client, input, ...additionalArguments); } else { - throw new Error("Invalid client, expected Lambda | LambdaClient"); + throw new Error("Invalid client, expected SSM | SSMClient"); } yield page; const prevToken = token; - token = page.NextMarker; + token = page.NextToken; hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); } return undefined; diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribePatchGroupsPaginator.js b/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribePatchGroupsPaginator.js new file mode 100644 index 00000000..ae445fbb --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribePatchGroupsPaginator.js @@ -0,0 +1,25 @@ +import { DescribePatchGroupsCommand, } from "../commands/DescribePatchGroupsCommand"; +import { SSMClient } from "../SSMClient"; +const makePagedClientRequest = async (client, input, ...args) => { + return await client.send(new DescribePatchGroupsCommand(input), ...args); +}; +export async function* paginateDescribePatchGroups(config, input, ...additionalArguments) { + let token = config.startingToken || undefined; + let hasNext = true; + let page; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof SSMClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } + else { + throw new Error("Invalid client, expected SSM | SSMClient"); + } + yield page; + const prevToken = token; + token = page.NextToken; + hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); + } + return undefined; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribePatchPropertiesPaginator.js b/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribePatchPropertiesPaginator.js new file mode 100644 index 00000000..3ff59156 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribePatchPropertiesPaginator.js @@ -0,0 +1,25 @@ +import { DescribePatchPropertiesCommand, } from "../commands/DescribePatchPropertiesCommand"; +import { SSMClient } from "../SSMClient"; +const makePagedClientRequest = async (client, input, ...args) => { + return await client.send(new DescribePatchPropertiesCommand(input), ...args); +}; +export async function* paginateDescribePatchProperties(config, input, ...additionalArguments) { + let token = config.startingToken || undefined; + let hasNext = true; + let page; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof SSMClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } + else { + throw new Error("Invalid client, expected SSM | SSMClient"); + } + yield page; + const prevToken = token; + token = page.NextToken; + hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); + } + return undefined; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeSessionsPaginator.js b/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeSessionsPaginator.js new file mode 100644 index 00000000..1534bb5d --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/pagination/DescribeSessionsPaginator.js @@ -0,0 +1,25 @@ +import { DescribeSessionsCommand, } from "../commands/DescribeSessionsCommand"; +import { SSMClient } from "../SSMClient"; +const makePagedClientRequest = async (client, input, ...args) => { + return await client.send(new DescribeSessionsCommand(input), ...args); +}; +export async function* paginateDescribeSessions(config, input, ...additionalArguments) { + let token = config.startingToken || undefined; + let hasNext = true; + let page; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof SSMClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } + else { + throw new Error("Invalid client, expected SSM | SSMClient"); + } + yield page; + const prevToken = token; + token = page.NextToken; + hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); + } + return undefined; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/pagination/GetInventoryPaginator.js b/node_modules/@aws-sdk/client-ssm/dist-es/pagination/GetInventoryPaginator.js new file mode 100644 index 00000000..5ff9b596 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/pagination/GetInventoryPaginator.js @@ -0,0 +1,25 @@ +import { GetInventoryCommand, } from "../commands/GetInventoryCommand"; +import { SSMClient } from "../SSMClient"; +const makePagedClientRequest = async (client, input, ...args) => { + return await client.send(new GetInventoryCommand(input), ...args); +}; +export async function* paginateGetInventory(config, input, ...additionalArguments) { + let token = config.startingToken || undefined; + let hasNext = true; + let page; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof SSMClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } + else { + throw new Error("Invalid client, expected SSM | SSMClient"); + } + yield page; + const prevToken = token; + token = page.NextToken; + hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); + } + return undefined; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/pagination/GetInventorySchemaPaginator.js b/node_modules/@aws-sdk/client-ssm/dist-es/pagination/GetInventorySchemaPaginator.js new file mode 100644 index 00000000..4792dee3 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/pagination/GetInventorySchemaPaginator.js @@ -0,0 +1,25 @@ +import { GetInventorySchemaCommand, } from "../commands/GetInventorySchemaCommand"; +import { SSMClient } from "../SSMClient"; +const makePagedClientRequest = async (client, input, ...args) => { + return await client.send(new GetInventorySchemaCommand(input), ...args); +}; +export async function* paginateGetInventorySchema(config, input, ...additionalArguments) { + let token = config.startingToken || undefined; + let hasNext = true; + let page; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof SSMClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } + else { + throw new Error("Invalid client, expected SSM | SSMClient"); + } + yield page; + const prevToken = token; + token = page.NextToken; + hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); + } + return undefined; +} diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/pagination/ListFunctionsPaginator.js b/node_modules/@aws-sdk/client-ssm/dist-es/pagination/GetOpsSummaryPaginator.js similarity index 51% rename from node_modules/@aws-sdk/client-lambda/dist-es/pagination/ListFunctionsPaginator.js rename to node_modules/@aws-sdk/client-ssm/dist-es/pagination/GetOpsSummaryPaginator.js index 3223362a..03f2f718 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-es/pagination/ListFunctionsPaginator.js +++ b/node_modules/@aws-sdk/client-ssm/dist-es/pagination/GetOpsSummaryPaginator.js @@ -1,24 +1,24 @@ -import { ListFunctionsCommand, } from "../commands/ListFunctionsCommand"; -import { LambdaClient } from "../LambdaClient"; +import { GetOpsSummaryCommand, } from "../commands/GetOpsSummaryCommand"; +import { SSMClient } from "../SSMClient"; const makePagedClientRequest = async (client, input, ...args) => { - return await client.send(new ListFunctionsCommand(input), ...args); + return await client.send(new GetOpsSummaryCommand(input), ...args); }; -export async function* paginateListFunctions(config, input, ...additionalArguments) { +export async function* paginateGetOpsSummary(config, input, ...additionalArguments) { let token = config.startingToken || undefined; let hasNext = true; let page; while (hasNext) { - input.Marker = token; - input["MaxItems"] = config.pageSize; - if (config.client instanceof LambdaClient) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof SSMClient) { page = await makePagedClientRequest(config.client, input, ...additionalArguments); } else { - throw new Error("Invalid client, expected Lambda | LambdaClient"); + throw new Error("Invalid client, expected SSM | SSMClient"); } yield page; const prevToken = token; - token = page.NextMarker; + token = page.NextToken; hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); } return undefined; diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/pagination/GetParameterHistoryPaginator.js b/node_modules/@aws-sdk/client-ssm/dist-es/pagination/GetParameterHistoryPaginator.js new file mode 100644 index 00000000..424d0c5a --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/pagination/GetParameterHistoryPaginator.js @@ -0,0 +1,25 @@ +import { GetParameterHistoryCommand, } from "../commands/GetParameterHistoryCommand"; +import { SSMClient } from "../SSMClient"; +const makePagedClientRequest = async (client, input, ...args) => { + return await client.send(new GetParameterHistoryCommand(input), ...args); +}; +export async function* paginateGetParameterHistory(config, input, ...additionalArguments) { + let token = config.startingToken || undefined; + let hasNext = true; + let page; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof SSMClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } + else { + throw new Error("Invalid client, expected SSM | SSMClient"); + } + yield page; + const prevToken = token; + token = page.NextToken; + hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); + } + return undefined; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/pagination/GetParametersByPathPaginator.js b/node_modules/@aws-sdk/client-ssm/dist-es/pagination/GetParametersByPathPaginator.js new file mode 100644 index 00000000..474649c0 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/pagination/GetParametersByPathPaginator.js @@ -0,0 +1,25 @@ +import { GetParametersByPathCommand, } from "../commands/GetParametersByPathCommand"; +import { SSMClient } from "../SSMClient"; +const makePagedClientRequest = async (client, input, ...args) => { + return await client.send(new GetParametersByPathCommand(input), ...args); +}; +export async function* paginateGetParametersByPath(config, input, ...additionalArguments) { + let token = config.startingToken || undefined; + let hasNext = true; + let page; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof SSMClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } + else { + throw new Error("Invalid client, expected SSM | SSMClient"); + } + yield page; + const prevToken = token; + token = page.NextToken; + hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); + } + return undefined; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/pagination/GetResourcePoliciesPaginator.js b/node_modules/@aws-sdk/client-ssm/dist-es/pagination/GetResourcePoliciesPaginator.js new file mode 100644 index 00000000..cd64696c --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/pagination/GetResourcePoliciesPaginator.js @@ -0,0 +1,25 @@ +import { GetResourcePoliciesCommand, } from "../commands/GetResourcePoliciesCommand"; +import { SSMClient } from "../SSMClient"; +const makePagedClientRequest = async (client, input, ...args) => { + return await client.send(new GetResourcePoliciesCommand(input), ...args); +}; +export async function* paginateGetResourcePolicies(config, input, ...additionalArguments) { + let token = config.startingToken || undefined; + let hasNext = true; + let page; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof SSMClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } + else { + throw new Error("Invalid client, expected SSM | SSMClient"); + } + yield page; + const prevToken = token; + token = page.NextToken; + hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); + } + return undefined; +} diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/pagination/Interfaces.js b/node_modules/@aws-sdk/client-ssm/dist-es/pagination/Interfaces.js similarity index 100% rename from node_modules/@aws-sdk/client-lambda/dist-es/pagination/Interfaces.js rename to node_modules/@aws-sdk/client-ssm/dist-es/pagination/Interfaces.js diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/pagination/ListAssociationVersionsPaginator.js b/node_modules/@aws-sdk/client-ssm/dist-es/pagination/ListAssociationVersionsPaginator.js new file mode 100644 index 00000000..c83e8ee6 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/pagination/ListAssociationVersionsPaginator.js @@ -0,0 +1,25 @@ +import { ListAssociationVersionsCommand, } from "../commands/ListAssociationVersionsCommand"; +import { SSMClient } from "../SSMClient"; +const makePagedClientRequest = async (client, input, ...args) => { + return await client.send(new ListAssociationVersionsCommand(input), ...args); +}; +export async function* paginateListAssociationVersions(config, input, ...additionalArguments) { + let token = config.startingToken || undefined; + let hasNext = true; + let page; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof SSMClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } + else { + throw new Error("Invalid client, expected SSM | SSMClient"); + } + yield page; + const prevToken = token; + token = page.NextToken; + hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); + } + return undefined; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/pagination/ListAssociationsPaginator.js b/node_modules/@aws-sdk/client-ssm/dist-es/pagination/ListAssociationsPaginator.js new file mode 100644 index 00000000..4c5c35f0 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/pagination/ListAssociationsPaginator.js @@ -0,0 +1,25 @@ +import { ListAssociationsCommand, } from "../commands/ListAssociationsCommand"; +import { SSMClient } from "../SSMClient"; +const makePagedClientRequest = async (client, input, ...args) => { + return await client.send(new ListAssociationsCommand(input), ...args); +}; +export async function* paginateListAssociations(config, input, ...additionalArguments) { + let token = config.startingToken || undefined; + let hasNext = true; + let page; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof SSMClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } + else { + throw new Error("Invalid client, expected SSM | SSMClient"); + } + yield page; + const prevToken = token; + token = page.NextToken; + hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); + } + return undefined; +} diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/pagination/ListFunctionUrlConfigsPaginator.js b/node_modules/@aws-sdk/client-ssm/dist-es/pagination/ListCommandInvocationsPaginator.js similarity index 50% rename from node_modules/@aws-sdk/client-lambda/dist-es/pagination/ListFunctionUrlConfigsPaginator.js rename to node_modules/@aws-sdk/client-ssm/dist-es/pagination/ListCommandInvocationsPaginator.js index 5264cb4e..2ecfae9b 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-es/pagination/ListFunctionUrlConfigsPaginator.js +++ b/node_modules/@aws-sdk/client-ssm/dist-es/pagination/ListCommandInvocationsPaginator.js @@ -1,24 +1,24 @@ -import { ListFunctionUrlConfigsCommand, } from "../commands/ListFunctionUrlConfigsCommand"; -import { LambdaClient } from "../LambdaClient"; +import { ListCommandInvocationsCommand, } from "../commands/ListCommandInvocationsCommand"; +import { SSMClient } from "../SSMClient"; const makePagedClientRequest = async (client, input, ...args) => { - return await client.send(new ListFunctionUrlConfigsCommand(input), ...args); + return await client.send(new ListCommandInvocationsCommand(input), ...args); }; -export async function* paginateListFunctionUrlConfigs(config, input, ...additionalArguments) { +export async function* paginateListCommandInvocations(config, input, ...additionalArguments) { let token = config.startingToken || undefined; let hasNext = true; let page; while (hasNext) { - input.Marker = token; - input["MaxItems"] = config.pageSize; - if (config.client instanceof LambdaClient) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof SSMClient) { page = await makePagedClientRequest(config.client, input, ...additionalArguments); } else { - throw new Error("Invalid client, expected Lambda | LambdaClient"); + throw new Error("Invalid client, expected SSM | SSMClient"); } yield page; const prevToken = token; - token = page.NextMarker; + token = page.NextToken; hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); } return undefined; diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/pagination/ListCommandsPaginator.js b/node_modules/@aws-sdk/client-ssm/dist-es/pagination/ListCommandsPaginator.js new file mode 100644 index 00000000..e6348638 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/pagination/ListCommandsPaginator.js @@ -0,0 +1,25 @@ +import { ListCommandsCommand, } from "../commands/ListCommandsCommand"; +import { SSMClient } from "../SSMClient"; +const makePagedClientRequest = async (client, input, ...args) => { + return await client.send(new ListCommandsCommand(input), ...args); +}; +export async function* paginateListCommands(config, input, ...additionalArguments) { + let token = config.startingToken || undefined; + let hasNext = true; + let page; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof SSMClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } + else { + throw new Error("Invalid client, expected SSM | SSMClient"); + } + yield page; + const prevToken = token; + token = page.NextToken; + hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); + } + return undefined; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/pagination/ListComplianceItemsPaginator.js b/node_modules/@aws-sdk/client-ssm/dist-es/pagination/ListComplianceItemsPaginator.js new file mode 100644 index 00000000..72bc707a --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/pagination/ListComplianceItemsPaginator.js @@ -0,0 +1,25 @@ +import { ListComplianceItemsCommand, } from "../commands/ListComplianceItemsCommand"; +import { SSMClient } from "../SSMClient"; +const makePagedClientRequest = async (client, input, ...args) => { + return await client.send(new ListComplianceItemsCommand(input), ...args); +}; +export async function* paginateListComplianceItems(config, input, ...additionalArguments) { + let token = config.startingToken || undefined; + let hasNext = true; + let page; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof SSMClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } + else { + throw new Error("Invalid client, expected SSM | SSMClient"); + } + yield page; + const prevToken = token; + token = page.NextToken; + hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); + } + return undefined; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/pagination/ListComplianceSummariesPaginator.js b/node_modules/@aws-sdk/client-ssm/dist-es/pagination/ListComplianceSummariesPaginator.js new file mode 100644 index 00000000..d8d766e2 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/pagination/ListComplianceSummariesPaginator.js @@ -0,0 +1,25 @@ +import { ListComplianceSummariesCommand, } from "../commands/ListComplianceSummariesCommand"; +import { SSMClient } from "../SSMClient"; +const makePagedClientRequest = async (client, input, ...args) => { + return await client.send(new ListComplianceSummariesCommand(input), ...args); +}; +export async function* paginateListComplianceSummaries(config, input, ...additionalArguments) { + let token = config.startingToken || undefined; + let hasNext = true; + let page; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof SSMClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } + else { + throw new Error("Invalid client, expected SSM | SSMClient"); + } + yield page; + const prevToken = token; + token = page.NextToken; + hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); + } + return undefined; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/pagination/ListDocumentVersionsPaginator.js b/node_modules/@aws-sdk/client-ssm/dist-es/pagination/ListDocumentVersionsPaginator.js new file mode 100644 index 00000000..bc7b5cb8 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/pagination/ListDocumentVersionsPaginator.js @@ -0,0 +1,25 @@ +import { ListDocumentVersionsCommand, } from "../commands/ListDocumentVersionsCommand"; +import { SSMClient } from "../SSMClient"; +const makePagedClientRequest = async (client, input, ...args) => { + return await client.send(new ListDocumentVersionsCommand(input), ...args); +}; +export async function* paginateListDocumentVersions(config, input, ...additionalArguments) { + let token = config.startingToken || undefined; + let hasNext = true; + let page; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof SSMClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } + else { + throw new Error("Invalid client, expected SSM | SSMClient"); + } + yield page; + const prevToken = token; + token = page.NextToken; + hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); + } + return undefined; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/pagination/ListDocumentsPaginator.js b/node_modules/@aws-sdk/client-ssm/dist-es/pagination/ListDocumentsPaginator.js new file mode 100644 index 00000000..2a65f6cd --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/pagination/ListDocumentsPaginator.js @@ -0,0 +1,25 @@ +import { ListDocumentsCommand, } from "../commands/ListDocumentsCommand"; +import { SSMClient } from "../SSMClient"; +const makePagedClientRequest = async (client, input, ...args) => { + return await client.send(new ListDocumentsCommand(input), ...args); +}; +export async function* paginateListDocuments(config, input, ...additionalArguments) { + let token = config.startingToken || undefined; + let hasNext = true; + let page; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof SSMClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } + else { + throw new Error("Invalid client, expected SSM | SSMClient"); + } + yield page; + const prevToken = token; + token = page.NextToken; + hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); + } + return undefined; +} diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/pagination/ListLayerVersionsPaginator.js b/node_modules/@aws-sdk/client-ssm/dist-es/pagination/ListOpsItemEventsPaginator.js similarity index 50% rename from node_modules/@aws-sdk/client-lambda/dist-es/pagination/ListLayerVersionsPaginator.js rename to node_modules/@aws-sdk/client-ssm/dist-es/pagination/ListOpsItemEventsPaginator.js index 826923c4..929fb225 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-es/pagination/ListLayerVersionsPaginator.js +++ b/node_modules/@aws-sdk/client-ssm/dist-es/pagination/ListOpsItemEventsPaginator.js @@ -1,24 +1,24 @@ -import { ListLayerVersionsCommand, } from "../commands/ListLayerVersionsCommand"; -import { LambdaClient } from "../LambdaClient"; +import { ListOpsItemEventsCommand, } from "../commands/ListOpsItemEventsCommand"; +import { SSMClient } from "../SSMClient"; const makePagedClientRequest = async (client, input, ...args) => { - return await client.send(new ListLayerVersionsCommand(input), ...args); + return await client.send(new ListOpsItemEventsCommand(input), ...args); }; -export async function* paginateListLayerVersions(config, input, ...additionalArguments) { +export async function* paginateListOpsItemEvents(config, input, ...additionalArguments) { let token = config.startingToken || undefined; let hasNext = true; let page; while (hasNext) { - input.Marker = token; - input["MaxItems"] = config.pageSize; - if (config.client instanceof LambdaClient) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof SSMClient) { page = await makePagedClientRequest(config.client, input, ...additionalArguments); } else { - throw new Error("Invalid client, expected Lambda | LambdaClient"); + throw new Error("Invalid client, expected SSM | SSMClient"); } yield page; const prevToken = token; - token = page.NextMarker; + token = page.NextToken; hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); } return undefined; diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/pagination/ListOpsItemRelatedItemsPaginator.js b/node_modules/@aws-sdk/client-ssm/dist-es/pagination/ListOpsItemRelatedItemsPaginator.js new file mode 100644 index 00000000..dc57a824 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/pagination/ListOpsItemRelatedItemsPaginator.js @@ -0,0 +1,25 @@ +import { ListOpsItemRelatedItemsCommand, } from "../commands/ListOpsItemRelatedItemsCommand"; +import { SSMClient } from "../SSMClient"; +const makePagedClientRequest = async (client, input, ...args) => { + return await client.send(new ListOpsItemRelatedItemsCommand(input), ...args); +}; +export async function* paginateListOpsItemRelatedItems(config, input, ...additionalArguments) { + let token = config.startingToken || undefined; + let hasNext = true; + let page; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof SSMClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } + else { + throw new Error("Invalid client, expected SSM | SSMClient"); + } + yield page; + const prevToken = token; + token = page.NextToken; + hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); + } + return undefined; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/pagination/ListOpsMetadataPaginator.js b/node_modules/@aws-sdk/client-ssm/dist-es/pagination/ListOpsMetadataPaginator.js new file mode 100644 index 00000000..e0105a14 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/pagination/ListOpsMetadataPaginator.js @@ -0,0 +1,25 @@ +import { ListOpsMetadataCommand, } from "../commands/ListOpsMetadataCommand"; +import { SSMClient } from "../SSMClient"; +const makePagedClientRequest = async (client, input, ...args) => { + return await client.send(new ListOpsMetadataCommand(input), ...args); +}; +export async function* paginateListOpsMetadata(config, input, ...additionalArguments) { + let token = config.startingToken || undefined; + let hasNext = true; + let page; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof SSMClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } + else { + throw new Error("Invalid client, expected SSM | SSMClient"); + } + yield page; + const prevToken = token; + token = page.NextToken; + hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); + } + return undefined; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/pagination/ListResourceComplianceSummariesPaginator.js b/node_modules/@aws-sdk/client-ssm/dist-es/pagination/ListResourceComplianceSummariesPaginator.js new file mode 100644 index 00000000..ec5c03b4 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/pagination/ListResourceComplianceSummariesPaginator.js @@ -0,0 +1,25 @@ +import { ListResourceComplianceSummariesCommand, } from "../commands/ListResourceComplianceSummariesCommand"; +import { SSMClient } from "../SSMClient"; +const makePagedClientRequest = async (client, input, ...args) => { + return await client.send(new ListResourceComplianceSummariesCommand(input), ...args); +}; +export async function* paginateListResourceComplianceSummaries(config, input, ...additionalArguments) { + let token = config.startingToken || undefined; + let hasNext = true; + let page; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof SSMClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } + else { + throw new Error("Invalid client, expected SSM | SSMClient"); + } + yield page; + const prevToken = token; + token = page.NextToken; + hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); + } + return undefined; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/pagination/ListResourceDataSyncPaginator.js b/node_modules/@aws-sdk/client-ssm/dist-es/pagination/ListResourceDataSyncPaginator.js new file mode 100644 index 00000000..2660c330 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/pagination/ListResourceDataSyncPaginator.js @@ -0,0 +1,25 @@ +import { ListResourceDataSyncCommand, } from "../commands/ListResourceDataSyncCommand"; +import { SSMClient } from "../SSMClient"; +const makePagedClientRequest = async (client, input, ...args) => { + return await client.send(new ListResourceDataSyncCommand(input), ...args); +}; +export async function* paginateListResourceDataSync(config, input, ...additionalArguments) { + let token = config.startingToken || undefined; + let hasNext = true; + let page; + while (hasNext) { + input.NextToken = token; + input["MaxResults"] = config.pageSize; + if (config.client instanceof SSMClient) { + page = await makePagedClientRequest(config.client, input, ...additionalArguments); + } + else { + throw new Error("Invalid client, expected SSM | SSMClient"); + } + yield page; + const prevToken = token; + token = page.NextToken; + hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken)); + } + return undefined; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/pagination/index.js b/node_modules/@aws-sdk/client-ssm/dist-es/pagination/index.js new file mode 100644 index 00000000..7cb9faa7 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/pagination/index.js @@ -0,0 +1,48 @@ +export * from "./DescribeActivationsPaginator"; +export * from "./DescribeAssociationExecutionTargetsPaginator"; +export * from "./DescribeAssociationExecutionsPaginator"; +export * from "./DescribeAutomationExecutionsPaginator"; +export * from "./DescribeAutomationStepExecutionsPaginator"; +export * from "./DescribeAvailablePatchesPaginator"; +export * from "./DescribeEffectiveInstanceAssociationsPaginator"; +export * from "./DescribeEffectivePatchesForPatchBaselinePaginator"; +export * from "./DescribeInstanceAssociationsStatusPaginator"; +export * from "./DescribeInstanceInformationPaginator"; +export * from "./Interfaces"; +export * from "./DescribeInstancePatchStatesForPatchGroupPaginator"; +export * from "./DescribeInstancePatchStatesPaginator"; +export * from "./DescribeInstancePatchesPaginator"; +export * from "./DescribeInventoryDeletionsPaginator"; +export * from "./DescribeMaintenanceWindowExecutionTaskInvocationsPaginator"; +export * from "./DescribeMaintenanceWindowExecutionTasksPaginator"; +export * from "./DescribeMaintenanceWindowExecutionsPaginator"; +export * from "./DescribeMaintenanceWindowSchedulePaginator"; +export * from "./DescribeMaintenanceWindowTargetsPaginator"; +export * from "./DescribeMaintenanceWindowTasksPaginator"; +export * from "./DescribeMaintenanceWindowsForTargetPaginator"; +export * from "./DescribeMaintenanceWindowsPaginator"; +export * from "./DescribeOpsItemsPaginator"; +export * from "./DescribeParametersPaginator"; +export * from "./DescribePatchBaselinesPaginator"; +export * from "./DescribePatchGroupsPaginator"; +export * from "./DescribePatchPropertiesPaginator"; +export * from "./DescribeSessionsPaginator"; +export * from "./GetInventoryPaginator"; +export * from "./GetInventorySchemaPaginator"; +export * from "./GetOpsSummaryPaginator"; +export * from "./GetParameterHistoryPaginator"; +export * from "./GetParametersByPathPaginator"; +export * from "./GetResourcePoliciesPaginator"; +export * from "./ListAssociationVersionsPaginator"; +export * from "./ListAssociationsPaginator"; +export * from "./ListCommandInvocationsPaginator"; +export * from "./ListCommandsPaginator"; +export * from "./ListComplianceItemsPaginator"; +export * from "./ListComplianceSummariesPaginator"; +export * from "./ListDocumentVersionsPaginator"; +export * from "./ListDocumentsPaginator"; +export * from "./ListOpsItemEventsPaginator"; +export * from "./ListOpsItemRelatedItemsPaginator"; +export * from "./ListOpsMetadataPaginator"; +export * from "./ListResourceComplianceSummariesPaginator"; +export * from "./ListResourceDataSyncPaginator"; diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/protocols/Aws_json1_1.js b/node_modules/@aws-sdk/client-ssm/dist-es/protocols/Aws_json1_1.js new file mode 100644 index 00000000..2d214365 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/protocols/Aws_json1_1.js @@ -0,0 +1,9406 @@ +import { HttpRequest as __HttpRequest } from "@smithy/protocol-http"; +import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, parseEpochTimestamp as __parseEpochTimestamp, take, withBaseException, } from "@smithy/smithy-client"; +import { v4 as generateIdempotencyToken } from "uuid"; +import { AlreadyExistsException, AssociatedInstances, AssociationAlreadyExists, AssociationDoesNotExist, AssociationExecutionDoesNotExist, AssociationLimitExceeded, AutomationExecutionNotFoundException, DocumentAlreadyExists, DocumentLimitExceeded, DoesNotExistException, DuplicateInstanceId, IdempotentParameterMismatch, InternalServerError, InvalidActivation, InvalidActivationId, InvalidAssociationVersion, InvalidCommandId, InvalidDeleteInventoryParametersException, InvalidDeletionIdException, InvalidDocument, InvalidDocumentContent, InvalidDocumentOperation, InvalidDocumentSchemaVersion, InvalidDocumentVersion, InvalidFilter, InvalidFilterKey, InvalidFilterValue, InvalidInstanceId, InvalidInstanceInformationFilterValue, InvalidInventoryRequestException, InvalidNextToken, InvalidOptionException, InvalidOutputLocation, InvalidParameters, InvalidPermissionType, InvalidResourceId, InvalidResourceType, InvalidSchedule, InvalidTag, InvalidTarget, InvalidTargetMaps, InvalidTypeNameException, MaxDocumentSizeExceeded, OpsItemAccessDeniedException, OpsItemAlreadyExistsException, OpsItemConflictException, OpsItemInvalidParameterException, OpsItemLimitExceededException, OpsItemNotFoundException, OpsItemRelatedItemAlreadyExistsException, OpsMetadataAlreadyExistsException, OpsMetadataInvalidArgumentException, OpsMetadataLimitExceededException, OpsMetadataNotFoundException, OpsMetadataTooManyUpdatesException, ParameterNotFound, ResourceDataSyncAlreadyExistsException, ResourceDataSyncCountExceededException, ResourceDataSyncInvalidConfigurationException, ResourceDataSyncNotFoundException, ResourceInUseException, ResourceLimitExceededException, ResourcePolicyConflictException, ResourcePolicyInvalidParameterException, TargetInUseException, TooManyTagsError, TooManyUpdates, UnsupportedOperatingSystem, UnsupportedPlatformType, } from "../models/models_0"; +import { AutomationDefinitionNotApprovedException, AutomationDefinitionNotFoundException, AutomationDefinitionVersionNotFoundException, AutomationExecutionLimitExceededException, AutomationStepNotFoundException, ComplianceTypeCountLimitExceededException, CustomSchemaCountLimitExceededException, DocumentPermissionLimit, FeatureNotAvailableException, HierarchyLevelLimitExceededException, HierarchyTypeMismatchException, IncompatiblePolicyException, InvalidAggregatorException, InvalidAllowedPatternException, InvalidAssociation, InvalidAutomationExecutionParametersException, InvalidAutomationSignalException, InvalidAutomationStatusUpdateException, InvalidDocumentType, InvalidFilterOption, InvalidInventoryGroupException, InvalidInventoryItemContextException, InvalidItemContentException, InvalidKeyId, InvalidNotificationConfig, InvalidOutputFolder, InvalidPluginName, InvalidPolicyAttributeException, InvalidPolicyTypeException, InvalidResultAttributeException, InvalidRole, InvocationDoesNotExist, ItemContentMismatchException, ItemSizeLimitExceededException, OpsItemRelatedItemAssociationNotFoundException, ParameterAlreadyExists, ParameterLimitExceeded, ParameterMaxVersionLimitExceeded, ParameterPatternMismatchException, ParameterVersionLabelLimitExceeded, ParameterVersionNotFound, PoliciesLimitExceededException, ResourcePolicyLimitExceededException, ServiceSettingNotFound, SubTypeCountLimitExceededException, TargetNotConnected, TotalSizeLimitExceededException, UnsupportedCalendarException, UnsupportedFeatureRequiredException, UnsupportedInventoryItemContextException, UnsupportedInventorySchemaVersionException, UnsupportedParameterType, } from "../models/models_1"; +import { AssociationVersionLimitExceeded, DocumentVersionLimitExceeded, DuplicateDocumentContent, DuplicateDocumentVersionName, InvalidUpdate, OpsMetadataKeyLimitExceededException, ResourceDataSyncConflictException, StatusUnchanged, } from "../models/models_2"; +import { SSMServiceException as __BaseException } from "../models/SSMServiceException"; +export const se_AddTagsToResourceCommand = async (input, context) => { + const headers = sharedHeaders("AddTagsToResource"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_AssociateOpsItemRelatedItemCommand = async (input, context) => { + const headers = sharedHeaders("AssociateOpsItemRelatedItem"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_CancelCommandCommand = async (input, context) => { + const headers = sharedHeaders("CancelCommand"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_CancelMaintenanceWindowExecutionCommand = async (input, context) => { + const headers = sharedHeaders("CancelMaintenanceWindowExecution"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_CreateActivationCommand = async (input, context) => { + const headers = sharedHeaders("CreateActivation"); + let body; + body = JSON.stringify(se_CreateActivationRequest(input, context)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_CreateAssociationCommand = async (input, context) => { + const headers = sharedHeaders("CreateAssociation"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_CreateAssociationBatchCommand = async (input, context) => { + const headers = sharedHeaders("CreateAssociationBatch"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_CreateDocumentCommand = async (input, context) => { + const headers = sharedHeaders("CreateDocument"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_CreateMaintenanceWindowCommand = async (input, context) => { + const headers = sharedHeaders("CreateMaintenanceWindow"); + let body; + body = JSON.stringify(se_CreateMaintenanceWindowRequest(input, context)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_CreateOpsItemCommand = async (input, context) => { + const headers = sharedHeaders("CreateOpsItem"); + let body; + body = JSON.stringify(se_CreateOpsItemRequest(input, context)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_CreateOpsMetadataCommand = async (input, context) => { + const headers = sharedHeaders("CreateOpsMetadata"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_CreatePatchBaselineCommand = async (input, context) => { + const headers = sharedHeaders("CreatePatchBaseline"); + let body; + body = JSON.stringify(se_CreatePatchBaselineRequest(input, context)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_CreateResourceDataSyncCommand = async (input, context) => { + const headers = sharedHeaders("CreateResourceDataSync"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_DeleteActivationCommand = async (input, context) => { + const headers = sharedHeaders("DeleteActivation"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_DeleteAssociationCommand = async (input, context) => { + const headers = sharedHeaders("DeleteAssociation"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_DeleteDocumentCommand = async (input, context) => { + const headers = sharedHeaders("DeleteDocument"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_DeleteInventoryCommand = async (input, context) => { + const headers = sharedHeaders("DeleteInventory"); + let body; + body = JSON.stringify(se_DeleteInventoryRequest(input, context)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_DeleteMaintenanceWindowCommand = async (input, context) => { + const headers = sharedHeaders("DeleteMaintenanceWindow"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_DeleteOpsItemCommand = async (input, context) => { + const headers = sharedHeaders("DeleteOpsItem"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_DeleteOpsMetadataCommand = async (input, context) => { + const headers = sharedHeaders("DeleteOpsMetadata"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_DeleteParameterCommand = async (input, context) => { + const headers = sharedHeaders("DeleteParameter"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_DeleteParametersCommand = async (input, context) => { + const headers = sharedHeaders("DeleteParameters"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_DeletePatchBaselineCommand = async (input, context) => { + const headers = sharedHeaders("DeletePatchBaseline"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_DeleteResourceDataSyncCommand = async (input, context) => { + const headers = sharedHeaders("DeleteResourceDataSync"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_DeleteResourcePolicyCommand = async (input, context) => { + const headers = sharedHeaders("DeleteResourcePolicy"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_DeregisterManagedInstanceCommand = async (input, context) => { + const headers = sharedHeaders("DeregisterManagedInstance"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_DeregisterPatchBaselineForPatchGroupCommand = async (input, context) => { + const headers = sharedHeaders("DeregisterPatchBaselineForPatchGroup"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_DeregisterTargetFromMaintenanceWindowCommand = async (input, context) => { + const headers = sharedHeaders("DeregisterTargetFromMaintenanceWindow"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_DeregisterTaskFromMaintenanceWindowCommand = async (input, context) => { + const headers = sharedHeaders("DeregisterTaskFromMaintenanceWindow"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_DescribeActivationsCommand = async (input, context) => { + const headers = sharedHeaders("DescribeActivations"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_DescribeAssociationCommand = async (input, context) => { + const headers = sharedHeaders("DescribeAssociation"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_DescribeAssociationExecutionsCommand = async (input, context) => { + const headers = sharedHeaders("DescribeAssociationExecutions"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_DescribeAssociationExecutionTargetsCommand = async (input, context) => { + const headers = sharedHeaders("DescribeAssociationExecutionTargets"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_DescribeAutomationExecutionsCommand = async (input, context) => { + const headers = sharedHeaders("DescribeAutomationExecutions"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_DescribeAutomationStepExecutionsCommand = async (input, context) => { + const headers = sharedHeaders("DescribeAutomationStepExecutions"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_DescribeAvailablePatchesCommand = async (input, context) => { + const headers = sharedHeaders("DescribeAvailablePatches"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_DescribeDocumentCommand = async (input, context) => { + const headers = sharedHeaders("DescribeDocument"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_DescribeDocumentPermissionCommand = async (input, context) => { + const headers = sharedHeaders("DescribeDocumentPermission"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_DescribeEffectiveInstanceAssociationsCommand = async (input, context) => { + const headers = sharedHeaders("DescribeEffectiveInstanceAssociations"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_DescribeEffectivePatchesForPatchBaselineCommand = async (input, context) => { + const headers = sharedHeaders("DescribeEffectivePatchesForPatchBaseline"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_DescribeInstanceAssociationsStatusCommand = async (input, context) => { + const headers = sharedHeaders("DescribeInstanceAssociationsStatus"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_DescribeInstanceInformationCommand = async (input, context) => { + const headers = sharedHeaders("DescribeInstanceInformation"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_DescribeInstancePatchesCommand = async (input, context) => { + const headers = sharedHeaders("DescribeInstancePatches"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_DescribeInstancePatchStatesCommand = async (input, context) => { + const headers = sharedHeaders("DescribeInstancePatchStates"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_DescribeInstancePatchStatesForPatchGroupCommand = async (input, context) => { + const headers = sharedHeaders("DescribeInstancePatchStatesForPatchGroup"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_DescribeInventoryDeletionsCommand = async (input, context) => { + const headers = sharedHeaders("DescribeInventoryDeletions"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_DescribeMaintenanceWindowExecutionsCommand = async (input, context) => { + const headers = sharedHeaders("DescribeMaintenanceWindowExecutions"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_DescribeMaintenanceWindowExecutionTaskInvocationsCommand = async (input, context) => { + const headers = sharedHeaders("DescribeMaintenanceWindowExecutionTaskInvocations"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_DescribeMaintenanceWindowExecutionTasksCommand = async (input, context) => { + const headers = sharedHeaders("DescribeMaintenanceWindowExecutionTasks"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_DescribeMaintenanceWindowsCommand = async (input, context) => { + const headers = sharedHeaders("DescribeMaintenanceWindows"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_DescribeMaintenanceWindowScheduleCommand = async (input, context) => { + const headers = sharedHeaders("DescribeMaintenanceWindowSchedule"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_DescribeMaintenanceWindowsForTargetCommand = async (input, context) => { + const headers = sharedHeaders("DescribeMaintenanceWindowsForTarget"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_DescribeMaintenanceWindowTargetsCommand = async (input, context) => { + const headers = sharedHeaders("DescribeMaintenanceWindowTargets"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_DescribeMaintenanceWindowTasksCommand = async (input, context) => { + const headers = sharedHeaders("DescribeMaintenanceWindowTasks"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_DescribeOpsItemsCommand = async (input, context) => { + const headers = sharedHeaders("DescribeOpsItems"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_DescribeParametersCommand = async (input, context) => { + const headers = sharedHeaders("DescribeParameters"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_DescribePatchBaselinesCommand = async (input, context) => { + const headers = sharedHeaders("DescribePatchBaselines"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_DescribePatchGroupsCommand = async (input, context) => { + const headers = sharedHeaders("DescribePatchGroups"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_DescribePatchGroupStateCommand = async (input, context) => { + const headers = sharedHeaders("DescribePatchGroupState"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_DescribePatchPropertiesCommand = async (input, context) => { + const headers = sharedHeaders("DescribePatchProperties"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_DescribeSessionsCommand = async (input, context) => { + const headers = sharedHeaders("DescribeSessions"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_DisassociateOpsItemRelatedItemCommand = async (input, context) => { + const headers = sharedHeaders("DisassociateOpsItemRelatedItem"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_GetAutomationExecutionCommand = async (input, context) => { + const headers = sharedHeaders("GetAutomationExecution"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_GetCalendarStateCommand = async (input, context) => { + const headers = sharedHeaders("GetCalendarState"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_GetCommandInvocationCommand = async (input, context) => { + const headers = sharedHeaders("GetCommandInvocation"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_GetConnectionStatusCommand = async (input, context) => { + const headers = sharedHeaders("GetConnectionStatus"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_GetDefaultPatchBaselineCommand = async (input, context) => { + const headers = sharedHeaders("GetDefaultPatchBaseline"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_GetDeployablePatchSnapshotForInstanceCommand = async (input, context) => { + const headers = sharedHeaders("GetDeployablePatchSnapshotForInstance"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_GetDocumentCommand = async (input, context) => { + const headers = sharedHeaders("GetDocument"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_GetInventoryCommand = async (input, context) => { + const headers = sharedHeaders("GetInventory"); + let body; + body = JSON.stringify(se_GetInventoryRequest(input, context)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_GetInventorySchemaCommand = async (input, context) => { + const headers = sharedHeaders("GetInventorySchema"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_GetMaintenanceWindowCommand = async (input, context) => { + const headers = sharedHeaders("GetMaintenanceWindow"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_GetMaintenanceWindowExecutionCommand = async (input, context) => { + const headers = sharedHeaders("GetMaintenanceWindowExecution"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_GetMaintenanceWindowExecutionTaskCommand = async (input, context) => { + const headers = sharedHeaders("GetMaintenanceWindowExecutionTask"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_GetMaintenanceWindowExecutionTaskInvocationCommand = async (input, context) => { + const headers = sharedHeaders("GetMaintenanceWindowExecutionTaskInvocation"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_GetMaintenanceWindowTaskCommand = async (input, context) => { + const headers = sharedHeaders("GetMaintenanceWindowTask"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_GetOpsItemCommand = async (input, context) => { + const headers = sharedHeaders("GetOpsItem"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_GetOpsMetadataCommand = async (input, context) => { + const headers = sharedHeaders("GetOpsMetadata"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_GetOpsSummaryCommand = async (input, context) => { + const headers = sharedHeaders("GetOpsSummary"); + let body; + body = JSON.stringify(se_GetOpsSummaryRequest(input, context)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_GetParameterCommand = async (input, context) => { + const headers = sharedHeaders("GetParameter"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_GetParameterHistoryCommand = async (input, context) => { + const headers = sharedHeaders("GetParameterHistory"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_GetParametersCommand = async (input, context) => { + const headers = sharedHeaders("GetParameters"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_GetParametersByPathCommand = async (input, context) => { + const headers = sharedHeaders("GetParametersByPath"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_GetPatchBaselineCommand = async (input, context) => { + const headers = sharedHeaders("GetPatchBaseline"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_GetPatchBaselineForPatchGroupCommand = async (input, context) => { + const headers = sharedHeaders("GetPatchBaselineForPatchGroup"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_GetResourcePoliciesCommand = async (input, context) => { + const headers = sharedHeaders("GetResourcePolicies"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_GetServiceSettingCommand = async (input, context) => { + const headers = sharedHeaders("GetServiceSetting"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_LabelParameterVersionCommand = async (input, context) => { + const headers = sharedHeaders("LabelParameterVersion"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_ListAssociationsCommand = async (input, context) => { + const headers = sharedHeaders("ListAssociations"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_ListAssociationVersionsCommand = async (input, context) => { + const headers = sharedHeaders("ListAssociationVersions"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_ListCommandInvocationsCommand = async (input, context) => { + const headers = sharedHeaders("ListCommandInvocations"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_ListCommandsCommand = async (input, context) => { + const headers = sharedHeaders("ListCommands"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_ListComplianceItemsCommand = async (input, context) => { + const headers = sharedHeaders("ListComplianceItems"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_ListComplianceSummariesCommand = async (input, context) => { + const headers = sharedHeaders("ListComplianceSummaries"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_ListDocumentMetadataHistoryCommand = async (input, context) => { + const headers = sharedHeaders("ListDocumentMetadataHistory"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_ListDocumentsCommand = async (input, context) => { + const headers = sharedHeaders("ListDocuments"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_ListDocumentVersionsCommand = async (input, context) => { + const headers = sharedHeaders("ListDocumentVersions"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_ListInventoryEntriesCommand = async (input, context) => { + const headers = sharedHeaders("ListInventoryEntries"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_ListOpsItemEventsCommand = async (input, context) => { + const headers = sharedHeaders("ListOpsItemEvents"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_ListOpsItemRelatedItemsCommand = async (input, context) => { + const headers = sharedHeaders("ListOpsItemRelatedItems"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_ListOpsMetadataCommand = async (input, context) => { + const headers = sharedHeaders("ListOpsMetadata"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_ListResourceComplianceSummariesCommand = async (input, context) => { + const headers = sharedHeaders("ListResourceComplianceSummaries"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_ListResourceDataSyncCommand = async (input, context) => { + const headers = sharedHeaders("ListResourceDataSync"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_ListTagsForResourceCommand = async (input, context) => { + const headers = sharedHeaders("ListTagsForResource"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_ModifyDocumentPermissionCommand = async (input, context) => { + const headers = sharedHeaders("ModifyDocumentPermission"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_PutComplianceItemsCommand = async (input, context) => { + const headers = sharedHeaders("PutComplianceItems"); + let body; + body = JSON.stringify(se_PutComplianceItemsRequest(input, context)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_PutInventoryCommand = async (input, context) => { + const headers = sharedHeaders("PutInventory"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_PutParameterCommand = async (input, context) => { + const headers = sharedHeaders("PutParameter"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_PutResourcePolicyCommand = async (input, context) => { + const headers = sharedHeaders("PutResourcePolicy"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_RegisterDefaultPatchBaselineCommand = async (input, context) => { + const headers = sharedHeaders("RegisterDefaultPatchBaseline"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_RegisterPatchBaselineForPatchGroupCommand = async (input, context) => { + const headers = sharedHeaders("RegisterPatchBaselineForPatchGroup"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_RegisterTargetWithMaintenanceWindowCommand = async (input, context) => { + const headers = sharedHeaders("RegisterTargetWithMaintenanceWindow"); + let body; + body = JSON.stringify(se_RegisterTargetWithMaintenanceWindowRequest(input, context)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_RegisterTaskWithMaintenanceWindowCommand = async (input, context) => { + const headers = sharedHeaders("RegisterTaskWithMaintenanceWindow"); + let body; + body = JSON.stringify(se_RegisterTaskWithMaintenanceWindowRequest(input, context)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_RemoveTagsFromResourceCommand = async (input, context) => { + const headers = sharedHeaders("RemoveTagsFromResource"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_ResetServiceSettingCommand = async (input, context) => { + const headers = sharedHeaders("ResetServiceSetting"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_ResumeSessionCommand = async (input, context) => { + const headers = sharedHeaders("ResumeSession"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_SendAutomationSignalCommand = async (input, context) => { + const headers = sharedHeaders("SendAutomationSignal"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_SendCommandCommand = async (input, context) => { + const headers = sharedHeaders("SendCommand"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_StartAssociationsOnceCommand = async (input, context) => { + const headers = sharedHeaders("StartAssociationsOnce"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_StartAutomationExecutionCommand = async (input, context) => { + const headers = sharedHeaders("StartAutomationExecution"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_StartChangeRequestExecutionCommand = async (input, context) => { + const headers = sharedHeaders("StartChangeRequestExecution"); + let body; + body = JSON.stringify(se_StartChangeRequestExecutionRequest(input, context)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_StartSessionCommand = async (input, context) => { + const headers = sharedHeaders("StartSession"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_StopAutomationExecutionCommand = async (input, context) => { + const headers = sharedHeaders("StopAutomationExecution"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_TerminateSessionCommand = async (input, context) => { + const headers = sharedHeaders("TerminateSession"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_UnlabelParameterVersionCommand = async (input, context) => { + const headers = sharedHeaders("UnlabelParameterVersion"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_UpdateAssociationCommand = async (input, context) => { + const headers = sharedHeaders("UpdateAssociation"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_UpdateAssociationStatusCommand = async (input, context) => { + const headers = sharedHeaders("UpdateAssociationStatus"); + let body; + body = JSON.stringify(se_UpdateAssociationStatusRequest(input, context)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_UpdateDocumentCommand = async (input, context) => { + const headers = sharedHeaders("UpdateDocument"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_UpdateDocumentDefaultVersionCommand = async (input, context) => { + const headers = sharedHeaders("UpdateDocumentDefaultVersion"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_UpdateDocumentMetadataCommand = async (input, context) => { + const headers = sharedHeaders("UpdateDocumentMetadata"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_UpdateMaintenanceWindowCommand = async (input, context) => { + const headers = sharedHeaders("UpdateMaintenanceWindow"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_UpdateMaintenanceWindowTargetCommand = async (input, context) => { + const headers = sharedHeaders("UpdateMaintenanceWindowTarget"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_UpdateMaintenanceWindowTaskCommand = async (input, context) => { + const headers = sharedHeaders("UpdateMaintenanceWindowTask"); + let body; + body = JSON.stringify(se_UpdateMaintenanceWindowTaskRequest(input, context)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_UpdateManagedInstanceRoleCommand = async (input, context) => { + const headers = sharedHeaders("UpdateManagedInstanceRole"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_UpdateOpsItemCommand = async (input, context) => { + const headers = sharedHeaders("UpdateOpsItem"); + let body; + body = JSON.stringify(se_UpdateOpsItemRequest(input, context)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_UpdateOpsMetadataCommand = async (input, context) => { + const headers = sharedHeaders("UpdateOpsMetadata"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_UpdatePatchBaselineCommand = async (input, context) => { + const headers = sharedHeaders("UpdatePatchBaseline"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_UpdateResourceDataSyncCommand = async (input, context) => { + const headers = sharedHeaders("UpdateResourceDataSync"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const se_UpdateServiceSettingCommand = async (input, context) => { + const headers = sharedHeaders("UpdateServiceSetting"); + let body; + body = JSON.stringify(_json(input)); + return buildHttpRpcRequest(context, headers, "/", undefined, body); +}; +export const de_AddTagsToResourceCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_AddTagsToResourceCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = _json(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_AddTagsToResourceCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidResourceId": + case "com.amazonaws.ssm#InvalidResourceId": + throw await de_InvalidResourceIdRes(parsedOutput, context); + case "InvalidResourceType": + case "com.amazonaws.ssm#InvalidResourceType": + throw await de_InvalidResourceTypeRes(parsedOutput, context); + case "TooManyTagsError": + case "com.amazonaws.ssm#TooManyTagsError": + throw await de_TooManyTagsErrorRes(parsedOutput, context); + case "TooManyUpdates": + case "com.amazonaws.ssm#TooManyUpdates": + throw await de_TooManyUpdatesRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_AssociateOpsItemRelatedItemCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_AssociateOpsItemRelatedItemCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = _json(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_AssociateOpsItemRelatedItemCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "OpsItemConflictException": + case "com.amazonaws.ssm#OpsItemConflictException": + throw await de_OpsItemConflictExceptionRes(parsedOutput, context); + case "OpsItemInvalidParameterException": + case "com.amazonaws.ssm#OpsItemInvalidParameterException": + throw await de_OpsItemInvalidParameterExceptionRes(parsedOutput, context); + case "OpsItemLimitExceededException": + case "com.amazonaws.ssm#OpsItemLimitExceededException": + throw await de_OpsItemLimitExceededExceptionRes(parsedOutput, context); + case "OpsItemNotFoundException": + case "com.amazonaws.ssm#OpsItemNotFoundException": + throw await de_OpsItemNotFoundExceptionRes(parsedOutput, context); + case "OpsItemRelatedItemAlreadyExistsException": + case "com.amazonaws.ssm#OpsItemRelatedItemAlreadyExistsException": + throw await de_OpsItemRelatedItemAlreadyExistsExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_CancelCommandCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_CancelCommandCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = _json(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_CancelCommandCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "DuplicateInstanceId": + case "com.amazonaws.ssm#DuplicateInstanceId": + throw await de_DuplicateInstanceIdRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidCommandId": + case "com.amazonaws.ssm#InvalidCommandId": + throw await de_InvalidCommandIdRes(parsedOutput, context); + case "InvalidInstanceId": + case "com.amazonaws.ssm#InvalidInstanceId": + throw await de_InvalidInstanceIdRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_CancelMaintenanceWindowExecutionCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_CancelMaintenanceWindowExecutionCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = _json(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_CancelMaintenanceWindowExecutionCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "DoesNotExistException": + case "com.amazonaws.ssm#DoesNotExistException": + throw await de_DoesNotExistExceptionRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_CreateActivationCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_CreateActivationCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = _json(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_CreateActivationCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidParameters": + case "com.amazonaws.ssm#InvalidParameters": + throw await de_InvalidParametersRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_CreateAssociationCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_CreateAssociationCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_CreateAssociationResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_CreateAssociationCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AssociationAlreadyExists": + case "com.amazonaws.ssm#AssociationAlreadyExists": + throw await de_AssociationAlreadyExistsRes(parsedOutput, context); + case "AssociationLimitExceeded": + case "com.amazonaws.ssm#AssociationLimitExceeded": + throw await de_AssociationLimitExceededRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidDocument": + case "com.amazonaws.ssm#InvalidDocument": + throw await de_InvalidDocumentRes(parsedOutput, context); + case "InvalidDocumentVersion": + case "com.amazonaws.ssm#InvalidDocumentVersion": + throw await de_InvalidDocumentVersionRes(parsedOutput, context); + case "InvalidInstanceId": + case "com.amazonaws.ssm#InvalidInstanceId": + throw await de_InvalidInstanceIdRes(parsedOutput, context); + case "InvalidOutputLocation": + case "com.amazonaws.ssm#InvalidOutputLocation": + throw await de_InvalidOutputLocationRes(parsedOutput, context); + case "InvalidParameters": + case "com.amazonaws.ssm#InvalidParameters": + throw await de_InvalidParametersRes(parsedOutput, context); + case "InvalidSchedule": + case "com.amazonaws.ssm#InvalidSchedule": + throw await de_InvalidScheduleRes(parsedOutput, context); + case "InvalidTag": + case "com.amazonaws.ssm#InvalidTag": + throw await de_InvalidTagRes(parsedOutput, context); + case "InvalidTarget": + case "com.amazonaws.ssm#InvalidTarget": + throw await de_InvalidTargetRes(parsedOutput, context); + case "InvalidTargetMaps": + case "com.amazonaws.ssm#InvalidTargetMaps": + throw await de_InvalidTargetMapsRes(parsedOutput, context); + case "UnsupportedPlatformType": + case "com.amazonaws.ssm#UnsupportedPlatformType": + throw await de_UnsupportedPlatformTypeRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_CreateAssociationBatchCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_CreateAssociationBatchCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_CreateAssociationBatchResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_CreateAssociationBatchCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AssociationLimitExceeded": + case "com.amazonaws.ssm#AssociationLimitExceeded": + throw await de_AssociationLimitExceededRes(parsedOutput, context); + case "DuplicateInstanceId": + case "com.amazonaws.ssm#DuplicateInstanceId": + throw await de_DuplicateInstanceIdRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidDocument": + case "com.amazonaws.ssm#InvalidDocument": + throw await de_InvalidDocumentRes(parsedOutput, context); + case "InvalidDocumentVersion": + case "com.amazonaws.ssm#InvalidDocumentVersion": + throw await de_InvalidDocumentVersionRes(parsedOutput, context); + case "InvalidInstanceId": + case "com.amazonaws.ssm#InvalidInstanceId": + throw await de_InvalidInstanceIdRes(parsedOutput, context); + case "InvalidOutputLocation": + case "com.amazonaws.ssm#InvalidOutputLocation": + throw await de_InvalidOutputLocationRes(parsedOutput, context); + case "InvalidParameters": + case "com.amazonaws.ssm#InvalidParameters": + throw await de_InvalidParametersRes(parsedOutput, context); + case "InvalidSchedule": + case "com.amazonaws.ssm#InvalidSchedule": + throw await de_InvalidScheduleRes(parsedOutput, context); + case "InvalidTarget": + case "com.amazonaws.ssm#InvalidTarget": + throw await de_InvalidTargetRes(parsedOutput, context); + case "InvalidTargetMaps": + case "com.amazonaws.ssm#InvalidTargetMaps": + throw await de_InvalidTargetMapsRes(parsedOutput, context); + case "UnsupportedPlatformType": + case "com.amazonaws.ssm#UnsupportedPlatformType": + throw await de_UnsupportedPlatformTypeRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_CreateDocumentCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_CreateDocumentCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_CreateDocumentResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_CreateDocumentCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "DocumentAlreadyExists": + case "com.amazonaws.ssm#DocumentAlreadyExists": + throw await de_DocumentAlreadyExistsRes(parsedOutput, context); + case "DocumentLimitExceeded": + case "com.amazonaws.ssm#DocumentLimitExceeded": + throw await de_DocumentLimitExceededRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidDocumentContent": + case "com.amazonaws.ssm#InvalidDocumentContent": + throw await de_InvalidDocumentContentRes(parsedOutput, context); + case "InvalidDocumentSchemaVersion": + case "com.amazonaws.ssm#InvalidDocumentSchemaVersion": + throw await de_InvalidDocumentSchemaVersionRes(parsedOutput, context); + case "MaxDocumentSizeExceeded": + case "com.amazonaws.ssm#MaxDocumentSizeExceeded": + throw await de_MaxDocumentSizeExceededRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_CreateMaintenanceWindowCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_CreateMaintenanceWindowCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = _json(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_CreateMaintenanceWindowCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "IdempotentParameterMismatch": + case "com.amazonaws.ssm#IdempotentParameterMismatch": + throw await de_IdempotentParameterMismatchRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "ResourceLimitExceededException": + case "com.amazonaws.ssm#ResourceLimitExceededException": + throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_CreateOpsItemCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_CreateOpsItemCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = _json(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_CreateOpsItemCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "OpsItemAccessDeniedException": + case "com.amazonaws.ssm#OpsItemAccessDeniedException": + throw await de_OpsItemAccessDeniedExceptionRes(parsedOutput, context); + case "OpsItemAlreadyExistsException": + case "com.amazonaws.ssm#OpsItemAlreadyExistsException": + throw await de_OpsItemAlreadyExistsExceptionRes(parsedOutput, context); + case "OpsItemInvalidParameterException": + case "com.amazonaws.ssm#OpsItemInvalidParameterException": + throw await de_OpsItemInvalidParameterExceptionRes(parsedOutput, context); + case "OpsItemLimitExceededException": + case "com.amazonaws.ssm#OpsItemLimitExceededException": + throw await de_OpsItemLimitExceededExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_CreateOpsMetadataCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_CreateOpsMetadataCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = _json(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_CreateOpsMetadataCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "OpsMetadataAlreadyExistsException": + case "com.amazonaws.ssm#OpsMetadataAlreadyExistsException": + throw await de_OpsMetadataAlreadyExistsExceptionRes(parsedOutput, context); + case "OpsMetadataInvalidArgumentException": + case "com.amazonaws.ssm#OpsMetadataInvalidArgumentException": + throw await de_OpsMetadataInvalidArgumentExceptionRes(parsedOutput, context); + case "OpsMetadataLimitExceededException": + case "com.amazonaws.ssm#OpsMetadataLimitExceededException": + throw await de_OpsMetadataLimitExceededExceptionRes(parsedOutput, context); + case "OpsMetadataTooManyUpdatesException": + case "com.amazonaws.ssm#OpsMetadataTooManyUpdatesException": + throw await de_OpsMetadataTooManyUpdatesExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_CreatePatchBaselineCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_CreatePatchBaselineCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = _json(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_CreatePatchBaselineCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "IdempotentParameterMismatch": + case "com.amazonaws.ssm#IdempotentParameterMismatch": + throw await de_IdempotentParameterMismatchRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "ResourceLimitExceededException": + case "com.amazonaws.ssm#ResourceLimitExceededException": + throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_CreateResourceDataSyncCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_CreateResourceDataSyncCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = _json(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_CreateResourceDataSyncCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "ResourceDataSyncAlreadyExistsException": + case "com.amazonaws.ssm#ResourceDataSyncAlreadyExistsException": + throw await de_ResourceDataSyncAlreadyExistsExceptionRes(parsedOutput, context); + case "ResourceDataSyncCountExceededException": + case "com.amazonaws.ssm#ResourceDataSyncCountExceededException": + throw await de_ResourceDataSyncCountExceededExceptionRes(parsedOutput, context); + case "ResourceDataSyncInvalidConfigurationException": + case "com.amazonaws.ssm#ResourceDataSyncInvalidConfigurationException": + throw await de_ResourceDataSyncInvalidConfigurationExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_DeleteActivationCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DeleteActivationCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = _json(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_DeleteActivationCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidActivation": + case "com.amazonaws.ssm#InvalidActivation": + throw await de_InvalidActivationRes(parsedOutput, context); + case "InvalidActivationId": + case "com.amazonaws.ssm#InvalidActivationId": + throw await de_InvalidActivationIdRes(parsedOutput, context); + case "TooManyUpdates": + case "com.amazonaws.ssm#TooManyUpdates": + throw await de_TooManyUpdatesRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_DeleteAssociationCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DeleteAssociationCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = _json(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_DeleteAssociationCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AssociationDoesNotExist": + case "com.amazonaws.ssm#AssociationDoesNotExist": + throw await de_AssociationDoesNotExistRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidDocument": + case "com.amazonaws.ssm#InvalidDocument": + throw await de_InvalidDocumentRes(parsedOutput, context); + case "InvalidInstanceId": + case "com.amazonaws.ssm#InvalidInstanceId": + throw await de_InvalidInstanceIdRes(parsedOutput, context); + case "TooManyUpdates": + case "com.amazonaws.ssm#TooManyUpdates": + throw await de_TooManyUpdatesRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_DeleteDocumentCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DeleteDocumentCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = _json(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_DeleteDocumentCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AssociatedInstances": + case "com.amazonaws.ssm#AssociatedInstances": + throw await de_AssociatedInstancesRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidDocument": + case "com.amazonaws.ssm#InvalidDocument": + throw await de_InvalidDocumentRes(parsedOutput, context); + case "InvalidDocumentOperation": + case "com.amazonaws.ssm#InvalidDocumentOperation": + throw await de_InvalidDocumentOperationRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_DeleteInventoryCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DeleteInventoryCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = _json(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_DeleteInventoryCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidDeleteInventoryParametersException": + case "com.amazonaws.ssm#InvalidDeleteInventoryParametersException": + throw await de_InvalidDeleteInventoryParametersExceptionRes(parsedOutput, context); + case "InvalidInventoryRequestException": + case "com.amazonaws.ssm#InvalidInventoryRequestException": + throw await de_InvalidInventoryRequestExceptionRes(parsedOutput, context); + case "InvalidOptionException": + case "com.amazonaws.ssm#InvalidOptionException": + throw await de_InvalidOptionExceptionRes(parsedOutput, context); + case "InvalidTypeNameException": + case "com.amazonaws.ssm#InvalidTypeNameException": + throw await de_InvalidTypeNameExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_DeleteMaintenanceWindowCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DeleteMaintenanceWindowCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = _json(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_DeleteMaintenanceWindowCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_DeleteOpsItemCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DeleteOpsItemCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = _json(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_DeleteOpsItemCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "OpsItemInvalidParameterException": + case "com.amazonaws.ssm#OpsItemInvalidParameterException": + throw await de_OpsItemInvalidParameterExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_DeleteOpsMetadataCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DeleteOpsMetadataCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = _json(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_DeleteOpsMetadataCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "OpsMetadataInvalidArgumentException": + case "com.amazonaws.ssm#OpsMetadataInvalidArgumentException": + throw await de_OpsMetadataInvalidArgumentExceptionRes(parsedOutput, context); + case "OpsMetadataNotFoundException": + case "com.amazonaws.ssm#OpsMetadataNotFoundException": + throw await de_OpsMetadataNotFoundExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_DeleteParameterCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DeleteParameterCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = _json(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_DeleteParameterCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "ParameterNotFound": + case "com.amazonaws.ssm#ParameterNotFound": + throw await de_ParameterNotFoundRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_DeleteParametersCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DeleteParametersCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = _json(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_DeleteParametersCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_DeletePatchBaselineCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DeletePatchBaselineCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = _json(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_DeletePatchBaselineCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "ResourceInUseException": + case "com.amazonaws.ssm#ResourceInUseException": + throw await de_ResourceInUseExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_DeleteResourceDataSyncCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DeleteResourceDataSyncCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = _json(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_DeleteResourceDataSyncCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "ResourceDataSyncInvalidConfigurationException": + case "com.amazonaws.ssm#ResourceDataSyncInvalidConfigurationException": + throw await de_ResourceDataSyncInvalidConfigurationExceptionRes(parsedOutput, context); + case "ResourceDataSyncNotFoundException": + case "com.amazonaws.ssm#ResourceDataSyncNotFoundException": + throw await de_ResourceDataSyncNotFoundExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_DeleteResourcePolicyCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DeleteResourcePolicyCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = _json(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_DeleteResourcePolicyCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "ResourcePolicyConflictException": + case "com.amazonaws.ssm#ResourcePolicyConflictException": + throw await de_ResourcePolicyConflictExceptionRes(parsedOutput, context); + case "ResourcePolicyInvalidParameterException": + case "com.amazonaws.ssm#ResourcePolicyInvalidParameterException": + throw await de_ResourcePolicyInvalidParameterExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_DeregisterManagedInstanceCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DeregisterManagedInstanceCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = _json(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_DeregisterManagedInstanceCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidInstanceId": + case "com.amazonaws.ssm#InvalidInstanceId": + throw await de_InvalidInstanceIdRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_DeregisterPatchBaselineForPatchGroupCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DeregisterPatchBaselineForPatchGroupCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = _json(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_DeregisterPatchBaselineForPatchGroupCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidResourceId": + case "com.amazonaws.ssm#InvalidResourceId": + throw await de_InvalidResourceIdRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_DeregisterTargetFromMaintenanceWindowCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DeregisterTargetFromMaintenanceWindowCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = _json(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_DeregisterTargetFromMaintenanceWindowCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "DoesNotExistException": + case "com.amazonaws.ssm#DoesNotExistException": + throw await de_DoesNotExistExceptionRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "TargetInUseException": + case "com.amazonaws.ssm#TargetInUseException": + throw await de_TargetInUseExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_DeregisterTaskFromMaintenanceWindowCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DeregisterTaskFromMaintenanceWindowCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = _json(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_DeregisterTaskFromMaintenanceWindowCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "DoesNotExistException": + case "com.amazonaws.ssm#DoesNotExistException": + throw await de_DoesNotExistExceptionRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_DescribeActivationsCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DescribeActivationsCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_DescribeActivationsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_DescribeActivationsCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidFilter": + case "com.amazonaws.ssm#InvalidFilter": + throw await de_InvalidFilterRes(parsedOutput, context); + case "InvalidNextToken": + case "com.amazonaws.ssm#InvalidNextToken": + throw await de_InvalidNextTokenRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_DescribeAssociationCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DescribeAssociationCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_DescribeAssociationResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_DescribeAssociationCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AssociationDoesNotExist": + case "com.amazonaws.ssm#AssociationDoesNotExist": + throw await de_AssociationDoesNotExistRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidAssociationVersion": + case "com.amazonaws.ssm#InvalidAssociationVersion": + throw await de_InvalidAssociationVersionRes(parsedOutput, context); + case "InvalidDocument": + case "com.amazonaws.ssm#InvalidDocument": + throw await de_InvalidDocumentRes(parsedOutput, context); + case "InvalidInstanceId": + case "com.amazonaws.ssm#InvalidInstanceId": + throw await de_InvalidInstanceIdRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_DescribeAssociationExecutionsCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DescribeAssociationExecutionsCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_DescribeAssociationExecutionsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_DescribeAssociationExecutionsCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AssociationDoesNotExist": + case "com.amazonaws.ssm#AssociationDoesNotExist": + throw await de_AssociationDoesNotExistRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidNextToken": + case "com.amazonaws.ssm#InvalidNextToken": + throw await de_InvalidNextTokenRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_DescribeAssociationExecutionTargetsCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DescribeAssociationExecutionTargetsCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_DescribeAssociationExecutionTargetsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_DescribeAssociationExecutionTargetsCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AssociationDoesNotExist": + case "com.amazonaws.ssm#AssociationDoesNotExist": + throw await de_AssociationDoesNotExistRes(parsedOutput, context); + case "AssociationExecutionDoesNotExist": + case "com.amazonaws.ssm#AssociationExecutionDoesNotExist": + throw await de_AssociationExecutionDoesNotExistRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidNextToken": + case "com.amazonaws.ssm#InvalidNextToken": + throw await de_InvalidNextTokenRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_DescribeAutomationExecutionsCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DescribeAutomationExecutionsCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_DescribeAutomationExecutionsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_DescribeAutomationExecutionsCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidFilterKey": + case "com.amazonaws.ssm#InvalidFilterKey": + throw await de_InvalidFilterKeyRes(parsedOutput, context); + case "InvalidFilterValue": + case "com.amazonaws.ssm#InvalidFilterValue": + throw await de_InvalidFilterValueRes(parsedOutput, context); + case "InvalidNextToken": + case "com.amazonaws.ssm#InvalidNextToken": + throw await de_InvalidNextTokenRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_DescribeAutomationStepExecutionsCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DescribeAutomationStepExecutionsCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_DescribeAutomationStepExecutionsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_DescribeAutomationStepExecutionsCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AutomationExecutionNotFoundException": + case "com.amazonaws.ssm#AutomationExecutionNotFoundException": + throw await de_AutomationExecutionNotFoundExceptionRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidFilterKey": + case "com.amazonaws.ssm#InvalidFilterKey": + throw await de_InvalidFilterKeyRes(parsedOutput, context); + case "InvalidFilterValue": + case "com.amazonaws.ssm#InvalidFilterValue": + throw await de_InvalidFilterValueRes(parsedOutput, context); + case "InvalidNextToken": + case "com.amazonaws.ssm#InvalidNextToken": + throw await de_InvalidNextTokenRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_DescribeAvailablePatchesCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DescribeAvailablePatchesCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_DescribeAvailablePatchesResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_DescribeAvailablePatchesCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_DescribeDocumentCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DescribeDocumentCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_DescribeDocumentResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_DescribeDocumentCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidDocument": + case "com.amazonaws.ssm#InvalidDocument": + throw await de_InvalidDocumentRes(parsedOutput, context); + case "InvalidDocumentVersion": + case "com.amazonaws.ssm#InvalidDocumentVersion": + throw await de_InvalidDocumentVersionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_DescribeDocumentPermissionCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DescribeDocumentPermissionCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = _json(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_DescribeDocumentPermissionCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidDocument": + case "com.amazonaws.ssm#InvalidDocument": + throw await de_InvalidDocumentRes(parsedOutput, context); + case "InvalidDocumentOperation": + case "com.amazonaws.ssm#InvalidDocumentOperation": + throw await de_InvalidDocumentOperationRes(parsedOutput, context); + case "InvalidNextToken": + case "com.amazonaws.ssm#InvalidNextToken": + throw await de_InvalidNextTokenRes(parsedOutput, context); + case "InvalidPermissionType": + case "com.amazonaws.ssm#InvalidPermissionType": + throw await de_InvalidPermissionTypeRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_DescribeEffectiveInstanceAssociationsCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DescribeEffectiveInstanceAssociationsCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = _json(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_DescribeEffectiveInstanceAssociationsCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidInstanceId": + case "com.amazonaws.ssm#InvalidInstanceId": + throw await de_InvalidInstanceIdRes(parsedOutput, context); + case "InvalidNextToken": + case "com.amazonaws.ssm#InvalidNextToken": + throw await de_InvalidNextTokenRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_DescribeEffectivePatchesForPatchBaselineCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DescribeEffectivePatchesForPatchBaselineCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_DescribeEffectivePatchesForPatchBaselineResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_DescribeEffectivePatchesForPatchBaselineCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "DoesNotExistException": + case "com.amazonaws.ssm#DoesNotExistException": + throw await de_DoesNotExistExceptionRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidResourceId": + case "com.amazonaws.ssm#InvalidResourceId": + throw await de_InvalidResourceIdRes(parsedOutput, context); + case "UnsupportedOperatingSystem": + case "com.amazonaws.ssm#UnsupportedOperatingSystem": + throw await de_UnsupportedOperatingSystemRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_DescribeInstanceAssociationsStatusCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DescribeInstanceAssociationsStatusCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_DescribeInstanceAssociationsStatusResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_DescribeInstanceAssociationsStatusCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidInstanceId": + case "com.amazonaws.ssm#InvalidInstanceId": + throw await de_InvalidInstanceIdRes(parsedOutput, context); + case "InvalidNextToken": + case "com.amazonaws.ssm#InvalidNextToken": + throw await de_InvalidNextTokenRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_DescribeInstanceInformationCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DescribeInstanceInformationCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_DescribeInstanceInformationResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_DescribeInstanceInformationCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidFilterKey": + case "com.amazonaws.ssm#InvalidFilterKey": + throw await de_InvalidFilterKeyRes(parsedOutput, context); + case "InvalidInstanceId": + case "com.amazonaws.ssm#InvalidInstanceId": + throw await de_InvalidInstanceIdRes(parsedOutput, context); + case "InvalidInstanceInformationFilterValue": + case "com.amazonaws.ssm#InvalidInstanceInformationFilterValue": + throw await de_InvalidInstanceInformationFilterValueRes(parsedOutput, context); + case "InvalidNextToken": + case "com.amazonaws.ssm#InvalidNextToken": + throw await de_InvalidNextTokenRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_DescribeInstancePatchesCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DescribeInstancePatchesCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_DescribeInstancePatchesResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_DescribeInstancePatchesCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidFilter": + case "com.amazonaws.ssm#InvalidFilter": + throw await de_InvalidFilterRes(parsedOutput, context); + case "InvalidInstanceId": + case "com.amazonaws.ssm#InvalidInstanceId": + throw await de_InvalidInstanceIdRes(parsedOutput, context); + case "InvalidNextToken": + case "com.amazonaws.ssm#InvalidNextToken": + throw await de_InvalidNextTokenRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_DescribeInstancePatchStatesCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DescribeInstancePatchStatesCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_DescribeInstancePatchStatesResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_DescribeInstancePatchStatesCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidNextToken": + case "com.amazonaws.ssm#InvalidNextToken": + throw await de_InvalidNextTokenRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_DescribeInstancePatchStatesForPatchGroupCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DescribeInstancePatchStatesForPatchGroupCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_DescribeInstancePatchStatesForPatchGroupResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_DescribeInstancePatchStatesForPatchGroupCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidFilter": + case "com.amazonaws.ssm#InvalidFilter": + throw await de_InvalidFilterRes(parsedOutput, context); + case "InvalidNextToken": + case "com.amazonaws.ssm#InvalidNextToken": + throw await de_InvalidNextTokenRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_DescribeInventoryDeletionsCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DescribeInventoryDeletionsCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_DescribeInventoryDeletionsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_DescribeInventoryDeletionsCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidDeletionIdException": + case "com.amazonaws.ssm#InvalidDeletionIdException": + throw await de_InvalidDeletionIdExceptionRes(parsedOutput, context); + case "InvalidNextToken": + case "com.amazonaws.ssm#InvalidNextToken": + throw await de_InvalidNextTokenRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_DescribeMaintenanceWindowExecutionsCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DescribeMaintenanceWindowExecutionsCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_DescribeMaintenanceWindowExecutionsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_DescribeMaintenanceWindowExecutionsCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_DescribeMaintenanceWindowExecutionTaskInvocationsCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DescribeMaintenanceWindowExecutionTaskInvocationsCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_DescribeMaintenanceWindowExecutionTaskInvocationsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_DescribeMaintenanceWindowExecutionTaskInvocationsCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "DoesNotExistException": + case "com.amazonaws.ssm#DoesNotExistException": + throw await de_DoesNotExistExceptionRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_DescribeMaintenanceWindowExecutionTasksCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DescribeMaintenanceWindowExecutionTasksCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_DescribeMaintenanceWindowExecutionTasksResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_DescribeMaintenanceWindowExecutionTasksCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "DoesNotExistException": + case "com.amazonaws.ssm#DoesNotExistException": + throw await de_DoesNotExistExceptionRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_DescribeMaintenanceWindowsCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DescribeMaintenanceWindowsCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = _json(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_DescribeMaintenanceWindowsCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_DescribeMaintenanceWindowScheduleCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DescribeMaintenanceWindowScheduleCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = _json(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_DescribeMaintenanceWindowScheduleCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "DoesNotExistException": + case "com.amazonaws.ssm#DoesNotExistException": + throw await de_DoesNotExistExceptionRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_DescribeMaintenanceWindowsForTargetCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DescribeMaintenanceWindowsForTargetCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = _json(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_DescribeMaintenanceWindowsForTargetCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_DescribeMaintenanceWindowTargetsCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DescribeMaintenanceWindowTargetsCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = _json(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_DescribeMaintenanceWindowTargetsCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "DoesNotExistException": + case "com.amazonaws.ssm#DoesNotExistException": + throw await de_DoesNotExistExceptionRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_DescribeMaintenanceWindowTasksCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DescribeMaintenanceWindowTasksCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = _json(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_DescribeMaintenanceWindowTasksCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "DoesNotExistException": + case "com.amazonaws.ssm#DoesNotExistException": + throw await de_DoesNotExistExceptionRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_DescribeOpsItemsCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DescribeOpsItemsCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_DescribeOpsItemsResponse(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_DescribeOpsItemsCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_DescribeParametersCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DescribeParametersCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_DescribeParametersResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_DescribeParametersCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidFilterKey": + case "com.amazonaws.ssm#InvalidFilterKey": + throw await de_InvalidFilterKeyRes(parsedOutput, context); + case "InvalidFilterOption": + case "com.amazonaws.ssm#InvalidFilterOption": + throw await de_InvalidFilterOptionRes(parsedOutput, context); + case "InvalidFilterValue": + case "com.amazonaws.ssm#InvalidFilterValue": + throw await de_InvalidFilterValueRes(parsedOutput, context); + case "InvalidNextToken": + case "com.amazonaws.ssm#InvalidNextToken": + throw await de_InvalidNextTokenRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_DescribePatchBaselinesCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DescribePatchBaselinesCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = _json(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_DescribePatchBaselinesCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_DescribePatchGroupsCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DescribePatchGroupsCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = _json(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_DescribePatchGroupsCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_DescribePatchGroupStateCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DescribePatchGroupStateCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = _json(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_DescribePatchGroupStateCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidNextToken": + case "com.amazonaws.ssm#InvalidNextToken": + throw await de_InvalidNextTokenRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_DescribePatchPropertiesCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DescribePatchPropertiesCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = _json(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_DescribePatchPropertiesCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_DescribeSessionsCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DescribeSessionsCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_DescribeSessionsResponse(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_DescribeSessionsCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidFilterKey": + case "com.amazonaws.ssm#InvalidFilterKey": + throw await de_InvalidFilterKeyRes(parsedOutput, context); + case "InvalidNextToken": + case "com.amazonaws.ssm#InvalidNextToken": + throw await de_InvalidNextTokenRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_DisassociateOpsItemRelatedItemCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_DisassociateOpsItemRelatedItemCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = _json(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_DisassociateOpsItemRelatedItemCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "OpsItemConflictException": + case "com.amazonaws.ssm#OpsItemConflictException": + throw await de_OpsItemConflictExceptionRes(parsedOutput, context); + case "OpsItemInvalidParameterException": + case "com.amazonaws.ssm#OpsItemInvalidParameterException": + throw await de_OpsItemInvalidParameterExceptionRes(parsedOutput, context); + case "OpsItemNotFoundException": + case "com.amazonaws.ssm#OpsItemNotFoundException": + throw await de_OpsItemNotFoundExceptionRes(parsedOutput, context); + case "OpsItemRelatedItemAssociationNotFoundException": + case "com.amazonaws.ssm#OpsItemRelatedItemAssociationNotFoundException": + throw await de_OpsItemRelatedItemAssociationNotFoundExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_GetAutomationExecutionCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_GetAutomationExecutionCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_GetAutomationExecutionResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_GetAutomationExecutionCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AutomationExecutionNotFoundException": + case "com.amazonaws.ssm#AutomationExecutionNotFoundException": + throw await de_AutomationExecutionNotFoundExceptionRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_GetCalendarStateCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_GetCalendarStateCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = _json(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_GetCalendarStateCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidDocument": + case "com.amazonaws.ssm#InvalidDocument": + throw await de_InvalidDocumentRes(parsedOutput, context); + case "InvalidDocumentType": + case "com.amazonaws.ssm#InvalidDocumentType": + throw await de_InvalidDocumentTypeRes(parsedOutput, context); + case "UnsupportedCalendarException": + case "com.amazonaws.ssm#UnsupportedCalendarException": + throw await de_UnsupportedCalendarExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_GetCommandInvocationCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_GetCommandInvocationCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = _json(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_GetCommandInvocationCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidCommandId": + case "com.amazonaws.ssm#InvalidCommandId": + throw await de_InvalidCommandIdRes(parsedOutput, context); + case "InvalidInstanceId": + case "com.amazonaws.ssm#InvalidInstanceId": + throw await de_InvalidInstanceIdRes(parsedOutput, context); + case "InvalidPluginName": + case "com.amazonaws.ssm#InvalidPluginName": + throw await de_InvalidPluginNameRes(parsedOutput, context); + case "InvocationDoesNotExist": + case "com.amazonaws.ssm#InvocationDoesNotExist": + throw await de_InvocationDoesNotExistRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_GetConnectionStatusCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_GetConnectionStatusCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = _json(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_GetConnectionStatusCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_GetDefaultPatchBaselineCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_GetDefaultPatchBaselineCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = _json(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_GetDefaultPatchBaselineCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_GetDeployablePatchSnapshotForInstanceCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_GetDeployablePatchSnapshotForInstanceCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = _json(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_GetDeployablePatchSnapshotForInstanceCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "UnsupportedFeatureRequiredException": + case "com.amazonaws.ssm#UnsupportedFeatureRequiredException": + throw await de_UnsupportedFeatureRequiredExceptionRes(parsedOutput, context); + case "UnsupportedOperatingSystem": + case "com.amazonaws.ssm#UnsupportedOperatingSystem": + throw await de_UnsupportedOperatingSystemRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_GetDocumentCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_GetDocumentCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_GetDocumentResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_GetDocumentCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidDocument": + case "com.amazonaws.ssm#InvalidDocument": + throw await de_InvalidDocumentRes(parsedOutput, context); + case "InvalidDocumentVersion": + case "com.amazonaws.ssm#InvalidDocumentVersion": + throw await de_InvalidDocumentVersionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_GetInventoryCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_GetInventoryCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = _json(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_GetInventoryCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidAggregatorException": + case "com.amazonaws.ssm#InvalidAggregatorException": + throw await de_InvalidAggregatorExceptionRes(parsedOutput, context); + case "InvalidFilter": + case "com.amazonaws.ssm#InvalidFilter": + throw await de_InvalidFilterRes(parsedOutput, context); + case "InvalidInventoryGroupException": + case "com.amazonaws.ssm#InvalidInventoryGroupException": + throw await de_InvalidInventoryGroupExceptionRes(parsedOutput, context); + case "InvalidNextToken": + case "com.amazonaws.ssm#InvalidNextToken": + throw await de_InvalidNextTokenRes(parsedOutput, context); + case "InvalidResultAttributeException": + case "com.amazonaws.ssm#InvalidResultAttributeException": + throw await de_InvalidResultAttributeExceptionRes(parsedOutput, context); + case "InvalidTypeNameException": + case "com.amazonaws.ssm#InvalidTypeNameException": + throw await de_InvalidTypeNameExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_GetInventorySchemaCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_GetInventorySchemaCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = _json(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_GetInventorySchemaCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidNextToken": + case "com.amazonaws.ssm#InvalidNextToken": + throw await de_InvalidNextTokenRes(parsedOutput, context); + case "InvalidTypeNameException": + case "com.amazonaws.ssm#InvalidTypeNameException": + throw await de_InvalidTypeNameExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_GetMaintenanceWindowCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_GetMaintenanceWindowCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_GetMaintenanceWindowResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_GetMaintenanceWindowCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "DoesNotExistException": + case "com.amazonaws.ssm#DoesNotExistException": + throw await de_DoesNotExistExceptionRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_GetMaintenanceWindowExecutionCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_GetMaintenanceWindowExecutionCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_GetMaintenanceWindowExecutionResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_GetMaintenanceWindowExecutionCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "DoesNotExistException": + case "com.amazonaws.ssm#DoesNotExistException": + throw await de_DoesNotExistExceptionRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_GetMaintenanceWindowExecutionTaskCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_GetMaintenanceWindowExecutionTaskCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_GetMaintenanceWindowExecutionTaskResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_GetMaintenanceWindowExecutionTaskCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "DoesNotExistException": + case "com.amazonaws.ssm#DoesNotExistException": + throw await de_DoesNotExistExceptionRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_GetMaintenanceWindowExecutionTaskInvocationCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_GetMaintenanceWindowExecutionTaskInvocationCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_GetMaintenanceWindowExecutionTaskInvocationResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_GetMaintenanceWindowExecutionTaskInvocationCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "DoesNotExistException": + case "com.amazonaws.ssm#DoesNotExistException": + throw await de_DoesNotExistExceptionRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_GetMaintenanceWindowTaskCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_GetMaintenanceWindowTaskCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_GetMaintenanceWindowTaskResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_GetMaintenanceWindowTaskCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "DoesNotExistException": + case "com.amazonaws.ssm#DoesNotExistException": + throw await de_DoesNotExistExceptionRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_GetOpsItemCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_GetOpsItemCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_GetOpsItemResponse(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_GetOpsItemCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "OpsItemAccessDeniedException": + case "com.amazonaws.ssm#OpsItemAccessDeniedException": + throw await de_OpsItemAccessDeniedExceptionRes(parsedOutput, context); + case "OpsItemNotFoundException": + case "com.amazonaws.ssm#OpsItemNotFoundException": + throw await de_OpsItemNotFoundExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_GetOpsMetadataCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_GetOpsMetadataCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = _json(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_GetOpsMetadataCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "OpsMetadataInvalidArgumentException": + case "com.amazonaws.ssm#OpsMetadataInvalidArgumentException": + throw await de_OpsMetadataInvalidArgumentExceptionRes(parsedOutput, context); + case "OpsMetadataNotFoundException": + case "com.amazonaws.ssm#OpsMetadataNotFoundException": + throw await de_OpsMetadataNotFoundExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_GetOpsSummaryCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_GetOpsSummaryCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = _json(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_GetOpsSummaryCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidAggregatorException": + case "com.amazonaws.ssm#InvalidAggregatorException": + throw await de_InvalidAggregatorExceptionRes(parsedOutput, context); + case "InvalidFilter": + case "com.amazonaws.ssm#InvalidFilter": + throw await de_InvalidFilterRes(parsedOutput, context); + case "InvalidNextToken": + case "com.amazonaws.ssm#InvalidNextToken": + throw await de_InvalidNextTokenRes(parsedOutput, context); + case "InvalidTypeNameException": + case "com.amazonaws.ssm#InvalidTypeNameException": + throw await de_InvalidTypeNameExceptionRes(parsedOutput, context); + case "ResourceDataSyncNotFoundException": + case "com.amazonaws.ssm#ResourceDataSyncNotFoundException": + throw await de_ResourceDataSyncNotFoundExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_GetParameterCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_GetParameterCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_GetParameterResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_GetParameterCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidKeyId": + case "com.amazonaws.ssm#InvalidKeyId": + throw await de_InvalidKeyIdRes(parsedOutput, context); + case "ParameterNotFound": + case "com.amazonaws.ssm#ParameterNotFound": + throw await de_ParameterNotFoundRes(parsedOutput, context); + case "ParameterVersionNotFound": + case "com.amazonaws.ssm#ParameterVersionNotFound": + throw await de_ParameterVersionNotFoundRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_GetParameterHistoryCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_GetParameterHistoryCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_GetParameterHistoryResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_GetParameterHistoryCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidKeyId": + case "com.amazonaws.ssm#InvalidKeyId": + throw await de_InvalidKeyIdRes(parsedOutput, context); + case "InvalidNextToken": + case "com.amazonaws.ssm#InvalidNextToken": + throw await de_InvalidNextTokenRes(parsedOutput, context); + case "ParameterNotFound": + case "com.amazonaws.ssm#ParameterNotFound": + throw await de_ParameterNotFoundRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_GetParametersCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_GetParametersCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_GetParametersResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_GetParametersCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidKeyId": + case "com.amazonaws.ssm#InvalidKeyId": + throw await de_InvalidKeyIdRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_GetParametersByPathCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_GetParametersByPathCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_GetParametersByPathResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_GetParametersByPathCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidFilterKey": + case "com.amazonaws.ssm#InvalidFilterKey": + throw await de_InvalidFilterKeyRes(parsedOutput, context); + case "InvalidFilterOption": + case "com.amazonaws.ssm#InvalidFilterOption": + throw await de_InvalidFilterOptionRes(parsedOutput, context); + case "InvalidFilterValue": + case "com.amazonaws.ssm#InvalidFilterValue": + throw await de_InvalidFilterValueRes(parsedOutput, context); + case "InvalidKeyId": + case "com.amazonaws.ssm#InvalidKeyId": + throw await de_InvalidKeyIdRes(parsedOutput, context); + case "InvalidNextToken": + case "com.amazonaws.ssm#InvalidNextToken": + throw await de_InvalidNextTokenRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_GetPatchBaselineCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_GetPatchBaselineCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_GetPatchBaselineResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_GetPatchBaselineCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "DoesNotExistException": + case "com.amazonaws.ssm#DoesNotExistException": + throw await de_DoesNotExistExceptionRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidResourceId": + case "com.amazonaws.ssm#InvalidResourceId": + throw await de_InvalidResourceIdRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_GetPatchBaselineForPatchGroupCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_GetPatchBaselineForPatchGroupCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = _json(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_GetPatchBaselineForPatchGroupCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_GetResourcePoliciesCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_GetResourcePoliciesCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = _json(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_GetResourcePoliciesCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "ResourcePolicyInvalidParameterException": + case "com.amazonaws.ssm#ResourcePolicyInvalidParameterException": + throw await de_ResourcePolicyInvalidParameterExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_GetServiceSettingCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_GetServiceSettingCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_GetServiceSettingResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_GetServiceSettingCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "ServiceSettingNotFound": + case "com.amazonaws.ssm#ServiceSettingNotFound": + throw await de_ServiceSettingNotFoundRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_LabelParameterVersionCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_LabelParameterVersionCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = _json(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_LabelParameterVersionCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "ParameterNotFound": + case "com.amazonaws.ssm#ParameterNotFound": + throw await de_ParameterNotFoundRes(parsedOutput, context); + case "ParameterVersionLabelLimitExceeded": + case "com.amazonaws.ssm#ParameterVersionLabelLimitExceeded": + throw await de_ParameterVersionLabelLimitExceededRes(parsedOutput, context); + case "ParameterVersionNotFound": + case "com.amazonaws.ssm#ParameterVersionNotFound": + throw await de_ParameterVersionNotFoundRes(parsedOutput, context); + case "TooManyUpdates": + case "com.amazonaws.ssm#TooManyUpdates": + throw await de_TooManyUpdatesRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_ListAssociationsCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_ListAssociationsCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_ListAssociationsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_ListAssociationsCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidNextToken": + case "com.amazonaws.ssm#InvalidNextToken": + throw await de_InvalidNextTokenRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_ListAssociationVersionsCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_ListAssociationVersionsCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_ListAssociationVersionsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_ListAssociationVersionsCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AssociationDoesNotExist": + case "com.amazonaws.ssm#AssociationDoesNotExist": + throw await de_AssociationDoesNotExistRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidNextToken": + case "com.amazonaws.ssm#InvalidNextToken": + throw await de_InvalidNextTokenRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_ListCommandInvocationsCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_ListCommandInvocationsCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_ListCommandInvocationsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_ListCommandInvocationsCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidCommandId": + case "com.amazonaws.ssm#InvalidCommandId": + throw await de_InvalidCommandIdRes(parsedOutput, context); + case "InvalidFilterKey": + case "com.amazonaws.ssm#InvalidFilterKey": + throw await de_InvalidFilterKeyRes(parsedOutput, context); + case "InvalidInstanceId": + case "com.amazonaws.ssm#InvalidInstanceId": + throw await de_InvalidInstanceIdRes(parsedOutput, context); + case "InvalidNextToken": + case "com.amazonaws.ssm#InvalidNextToken": + throw await de_InvalidNextTokenRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_ListCommandsCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_ListCommandsCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_ListCommandsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_ListCommandsCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidCommandId": + case "com.amazonaws.ssm#InvalidCommandId": + throw await de_InvalidCommandIdRes(parsedOutput, context); + case "InvalidFilterKey": + case "com.amazonaws.ssm#InvalidFilterKey": + throw await de_InvalidFilterKeyRes(parsedOutput, context); + case "InvalidInstanceId": + case "com.amazonaws.ssm#InvalidInstanceId": + throw await de_InvalidInstanceIdRes(parsedOutput, context); + case "InvalidNextToken": + case "com.amazonaws.ssm#InvalidNextToken": + throw await de_InvalidNextTokenRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_ListComplianceItemsCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_ListComplianceItemsCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_ListComplianceItemsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_ListComplianceItemsCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidFilter": + case "com.amazonaws.ssm#InvalidFilter": + throw await de_InvalidFilterRes(parsedOutput, context); + case "InvalidNextToken": + case "com.amazonaws.ssm#InvalidNextToken": + throw await de_InvalidNextTokenRes(parsedOutput, context); + case "InvalidResourceId": + case "com.amazonaws.ssm#InvalidResourceId": + throw await de_InvalidResourceIdRes(parsedOutput, context); + case "InvalidResourceType": + case "com.amazonaws.ssm#InvalidResourceType": + throw await de_InvalidResourceTypeRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_ListComplianceSummariesCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_ListComplianceSummariesCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = _json(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_ListComplianceSummariesCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidFilter": + case "com.amazonaws.ssm#InvalidFilter": + throw await de_InvalidFilterRes(parsedOutput, context); + case "InvalidNextToken": + case "com.amazonaws.ssm#InvalidNextToken": + throw await de_InvalidNextTokenRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_ListDocumentMetadataHistoryCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_ListDocumentMetadataHistoryCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_ListDocumentMetadataHistoryResponse(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_ListDocumentMetadataHistoryCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidDocument": + case "com.amazonaws.ssm#InvalidDocument": + throw await de_InvalidDocumentRes(parsedOutput, context); + case "InvalidDocumentVersion": + case "com.amazonaws.ssm#InvalidDocumentVersion": + throw await de_InvalidDocumentVersionRes(parsedOutput, context); + case "InvalidNextToken": + case "com.amazonaws.ssm#InvalidNextToken": + throw await de_InvalidNextTokenRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_ListDocumentsCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_ListDocumentsCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_ListDocumentsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_ListDocumentsCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidFilterKey": + case "com.amazonaws.ssm#InvalidFilterKey": + throw await de_InvalidFilterKeyRes(parsedOutput, context); + case "InvalidNextToken": + case "com.amazonaws.ssm#InvalidNextToken": + throw await de_InvalidNextTokenRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_ListDocumentVersionsCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_ListDocumentVersionsCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_ListDocumentVersionsResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_ListDocumentVersionsCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidDocument": + case "com.amazonaws.ssm#InvalidDocument": + throw await de_InvalidDocumentRes(parsedOutput, context); + case "InvalidNextToken": + case "com.amazonaws.ssm#InvalidNextToken": + throw await de_InvalidNextTokenRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_ListInventoryEntriesCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_ListInventoryEntriesCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = _json(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_ListInventoryEntriesCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidFilter": + case "com.amazonaws.ssm#InvalidFilter": + throw await de_InvalidFilterRes(parsedOutput, context); + case "InvalidInstanceId": + case "com.amazonaws.ssm#InvalidInstanceId": + throw await de_InvalidInstanceIdRes(parsedOutput, context); + case "InvalidNextToken": + case "com.amazonaws.ssm#InvalidNextToken": + throw await de_InvalidNextTokenRes(parsedOutput, context); + case "InvalidTypeNameException": + case "com.amazonaws.ssm#InvalidTypeNameException": + throw await de_InvalidTypeNameExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_ListOpsItemEventsCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_ListOpsItemEventsCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_ListOpsItemEventsResponse(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_ListOpsItemEventsCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "OpsItemInvalidParameterException": + case "com.amazonaws.ssm#OpsItemInvalidParameterException": + throw await de_OpsItemInvalidParameterExceptionRes(parsedOutput, context); + case "OpsItemLimitExceededException": + case "com.amazonaws.ssm#OpsItemLimitExceededException": + throw await de_OpsItemLimitExceededExceptionRes(parsedOutput, context); + case "OpsItemNotFoundException": + case "com.amazonaws.ssm#OpsItemNotFoundException": + throw await de_OpsItemNotFoundExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_ListOpsItemRelatedItemsCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_ListOpsItemRelatedItemsCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_ListOpsItemRelatedItemsResponse(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_ListOpsItemRelatedItemsCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "OpsItemInvalidParameterException": + case "com.amazonaws.ssm#OpsItemInvalidParameterException": + throw await de_OpsItemInvalidParameterExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_ListOpsMetadataCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_ListOpsMetadataCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_ListOpsMetadataResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_ListOpsMetadataCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "OpsMetadataInvalidArgumentException": + case "com.amazonaws.ssm#OpsMetadataInvalidArgumentException": + throw await de_OpsMetadataInvalidArgumentExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_ListResourceComplianceSummariesCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_ListResourceComplianceSummariesCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_ListResourceComplianceSummariesResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_ListResourceComplianceSummariesCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidFilter": + case "com.amazonaws.ssm#InvalidFilter": + throw await de_InvalidFilterRes(parsedOutput, context); + case "InvalidNextToken": + case "com.amazonaws.ssm#InvalidNextToken": + throw await de_InvalidNextTokenRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_ListResourceDataSyncCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_ListResourceDataSyncCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_ListResourceDataSyncResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_ListResourceDataSyncCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidNextToken": + case "com.amazonaws.ssm#InvalidNextToken": + throw await de_InvalidNextTokenRes(parsedOutput, context); + case "ResourceDataSyncInvalidConfigurationException": + case "com.amazonaws.ssm#ResourceDataSyncInvalidConfigurationException": + throw await de_ResourceDataSyncInvalidConfigurationExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_ListTagsForResourceCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_ListTagsForResourceCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = _json(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_ListTagsForResourceCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidResourceId": + case "com.amazonaws.ssm#InvalidResourceId": + throw await de_InvalidResourceIdRes(parsedOutput, context); + case "InvalidResourceType": + case "com.amazonaws.ssm#InvalidResourceType": + throw await de_InvalidResourceTypeRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_ModifyDocumentPermissionCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_ModifyDocumentPermissionCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = _json(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_ModifyDocumentPermissionCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "DocumentLimitExceeded": + case "com.amazonaws.ssm#DocumentLimitExceeded": + throw await de_DocumentLimitExceededRes(parsedOutput, context); + case "DocumentPermissionLimit": + case "com.amazonaws.ssm#DocumentPermissionLimit": + throw await de_DocumentPermissionLimitRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidDocument": + case "com.amazonaws.ssm#InvalidDocument": + throw await de_InvalidDocumentRes(parsedOutput, context); + case "InvalidPermissionType": + case "com.amazonaws.ssm#InvalidPermissionType": + throw await de_InvalidPermissionTypeRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_PutComplianceItemsCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_PutComplianceItemsCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = _json(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_PutComplianceItemsCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "ComplianceTypeCountLimitExceededException": + case "com.amazonaws.ssm#ComplianceTypeCountLimitExceededException": + throw await de_ComplianceTypeCountLimitExceededExceptionRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidItemContentException": + case "com.amazonaws.ssm#InvalidItemContentException": + throw await de_InvalidItemContentExceptionRes(parsedOutput, context); + case "InvalidResourceId": + case "com.amazonaws.ssm#InvalidResourceId": + throw await de_InvalidResourceIdRes(parsedOutput, context); + case "InvalidResourceType": + case "com.amazonaws.ssm#InvalidResourceType": + throw await de_InvalidResourceTypeRes(parsedOutput, context); + case "ItemSizeLimitExceededException": + case "com.amazonaws.ssm#ItemSizeLimitExceededException": + throw await de_ItemSizeLimitExceededExceptionRes(parsedOutput, context); + case "TotalSizeLimitExceededException": + case "com.amazonaws.ssm#TotalSizeLimitExceededException": + throw await de_TotalSizeLimitExceededExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_PutInventoryCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_PutInventoryCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = _json(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_PutInventoryCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "CustomSchemaCountLimitExceededException": + case "com.amazonaws.ssm#CustomSchemaCountLimitExceededException": + throw await de_CustomSchemaCountLimitExceededExceptionRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidInstanceId": + case "com.amazonaws.ssm#InvalidInstanceId": + throw await de_InvalidInstanceIdRes(parsedOutput, context); + case "InvalidInventoryItemContextException": + case "com.amazonaws.ssm#InvalidInventoryItemContextException": + throw await de_InvalidInventoryItemContextExceptionRes(parsedOutput, context); + case "InvalidItemContentException": + case "com.amazonaws.ssm#InvalidItemContentException": + throw await de_InvalidItemContentExceptionRes(parsedOutput, context); + case "InvalidTypeNameException": + case "com.amazonaws.ssm#InvalidTypeNameException": + throw await de_InvalidTypeNameExceptionRes(parsedOutput, context); + case "ItemContentMismatchException": + case "com.amazonaws.ssm#ItemContentMismatchException": + throw await de_ItemContentMismatchExceptionRes(parsedOutput, context); + case "ItemSizeLimitExceededException": + case "com.amazonaws.ssm#ItemSizeLimitExceededException": + throw await de_ItemSizeLimitExceededExceptionRes(parsedOutput, context); + case "SubTypeCountLimitExceededException": + case "com.amazonaws.ssm#SubTypeCountLimitExceededException": + throw await de_SubTypeCountLimitExceededExceptionRes(parsedOutput, context); + case "TotalSizeLimitExceededException": + case "com.amazonaws.ssm#TotalSizeLimitExceededException": + throw await de_TotalSizeLimitExceededExceptionRes(parsedOutput, context); + case "UnsupportedInventoryItemContextException": + case "com.amazonaws.ssm#UnsupportedInventoryItemContextException": + throw await de_UnsupportedInventoryItemContextExceptionRes(parsedOutput, context); + case "UnsupportedInventorySchemaVersionException": + case "com.amazonaws.ssm#UnsupportedInventorySchemaVersionException": + throw await de_UnsupportedInventorySchemaVersionExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_PutParameterCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_PutParameterCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = _json(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_PutParameterCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "HierarchyLevelLimitExceededException": + case "com.amazonaws.ssm#HierarchyLevelLimitExceededException": + throw await de_HierarchyLevelLimitExceededExceptionRes(parsedOutput, context); + case "HierarchyTypeMismatchException": + case "com.amazonaws.ssm#HierarchyTypeMismatchException": + throw await de_HierarchyTypeMismatchExceptionRes(parsedOutput, context); + case "IncompatiblePolicyException": + case "com.amazonaws.ssm#IncompatiblePolicyException": + throw await de_IncompatiblePolicyExceptionRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidAllowedPatternException": + case "com.amazonaws.ssm#InvalidAllowedPatternException": + throw await de_InvalidAllowedPatternExceptionRes(parsedOutput, context); + case "InvalidKeyId": + case "com.amazonaws.ssm#InvalidKeyId": + throw await de_InvalidKeyIdRes(parsedOutput, context); + case "InvalidPolicyAttributeException": + case "com.amazonaws.ssm#InvalidPolicyAttributeException": + throw await de_InvalidPolicyAttributeExceptionRes(parsedOutput, context); + case "InvalidPolicyTypeException": + case "com.amazonaws.ssm#InvalidPolicyTypeException": + throw await de_InvalidPolicyTypeExceptionRes(parsedOutput, context); + case "ParameterAlreadyExists": + case "com.amazonaws.ssm#ParameterAlreadyExists": + throw await de_ParameterAlreadyExistsRes(parsedOutput, context); + case "ParameterLimitExceeded": + case "com.amazonaws.ssm#ParameterLimitExceeded": + throw await de_ParameterLimitExceededRes(parsedOutput, context); + case "ParameterMaxVersionLimitExceeded": + case "com.amazonaws.ssm#ParameterMaxVersionLimitExceeded": + throw await de_ParameterMaxVersionLimitExceededRes(parsedOutput, context); + case "ParameterPatternMismatchException": + case "com.amazonaws.ssm#ParameterPatternMismatchException": + throw await de_ParameterPatternMismatchExceptionRes(parsedOutput, context); + case "PoliciesLimitExceededException": + case "com.amazonaws.ssm#PoliciesLimitExceededException": + throw await de_PoliciesLimitExceededExceptionRes(parsedOutput, context); + case "TooManyUpdates": + case "com.amazonaws.ssm#TooManyUpdates": + throw await de_TooManyUpdatesRes(parsedOutput, context); + case "UnsupportedParameterType": + case "com.amazonaws.ssm#UnsupportedParameterType": + throw await de_UnsupportedParameterTypeRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_PutResourcePolicyCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_PutResourcePolicyCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = _json(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_PutResourcePolicyCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "ResourcePolicyConflictException": + case "com.amazonaws.ssm#ResourcePolicyConflictException": + throw await de_ResourcePolicyConflictExceptionRes(parsedOutput, context); + case "ResourcePolicyInvalidParameterException": + case "com.amazonaws.ssm#ResourcePolicyInvalidParameterException": + throw await de_ResourcePolicyInvalidParameterExceptionRes(parsedOutput, context); + case "ResourcePolicyLimitExceededException": + case "com.amazonaws.ssm#ResourcePolicyLimitExceededException": + throw await de_ResourcePolicyLimitExceededExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_RegisterDefaultPatchBaselineCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_RegisterDefaultPatchBaselineCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = _json(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_RegisterDefaultPatchBaselineCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "DoesNotExistException": + case "com.amazonaws.ssm#DoesNotExistException": + throw await de_DoesNotExistExceptionRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidResourceId": + case "com.amazonaws.ssm#InvalidResourceId": + throw await de_InvalidResourceIdRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_RegisterPatchBaselineForPatchGroupCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_RegisterPatchBaselineForPatchGroupCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = _json(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_RegisterPatchBaselineForPatchGroupCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AlreadyExistsException": + case "com.amazonaws.ssm#AlreadyExistsException": + throw await de_AlreadyExistsExceptionRes(parsedOutput, context); + case "DoesNotExistException": + case "com.amazonaws.ssm#DoesNotExistException": + throw await de_DoesNotExistExceptionRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidResourceId": + case "com.amazonaws.ssm#InvalidResourceId": + throw await de_InvalidResourceIdRes(parsedOutput, context); + case "ResourceLimitExceededException": + case "com.amazonaws.ssm#ResourceLimitExceededException": + throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_RegisterTargetWithMaintenanceWindowCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_RegisterTargetWithMaintenanceWindowCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = _json(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_RegisterTargetWithMaintenanceWindowCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "DoesNotExistException": + case "com.amazonaws.ssm#DoesNotExistException": + throw await de_DoesNotExistExceptionRes(parsedOutput, context); + case "IdempotentParameterMismatch": + case "com.amazonaws.ssm#IdempotentParameterMismatch": + throw await de_IdempotentParameterMismatchRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "ResourceLimitExceededException": + case "com.amazonaws.ssm#ResourceLimitExceededException": + throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_RegisterTaskWithMaintenanceWindowCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_RegisterTaskWithMaintenanceWindowCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = _json(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_RegisterTaskWithMaintenanceWindowCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "DoesNotExistException": + case "com.amazonaws.ssm#DoesNotExistException": + throw await de_DoesNotExistExceptionRes(parsedOutput, context); + case "FeatureNotAvailableException": + case "com.amazonaws.ssm#FeatureNotAvailableException": + throw await de_FeatureNotAvailableExceptionRes(parsedOutput, context); + case "IdempotentParameterMismatch": + case "com.amazonaws.ssm#IdempotentParameterMismatch": + throw await de_IdempotentParameterMismatchRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "ResourceLimitExceededException": + case "com.amazonaws.ssm#ResourceLimitExceededException": + throw await de_ResourceLimitExceededExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_RemoveTagsFromResourceCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_RemoveTagsFromResourceCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = _json(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_RemoveTagsFromResourceCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidResourceId": + case "com.amazonaws.ssm#InvalidResourceId": + throw await de_InvalidResourceIdRes(parsedOutput, context); + case "InvalidResourceType": + case "com.amazonaws.ssm#InvalidResourceType": + throw await de_InvalidResourceTypeRes(parsedOutput, context); + case "TooManyUpdates": + case "com.amazonaws.ssm#TooManyUpdates": + throw await de_TooManyUpdatesRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_ResetServiceSettingCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_ResetServiceSettingCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_ResetServiceSettingResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_ResetServiceSettingCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "ServiceSettingNotFound": + case "com.amazonaws.ssm#ServiceSettingNotFound": + throw await de_ServiceSettingNotFoundRes(parsedOutput, context); + case "TooManyUpdates": + case "com.amazonaws.ssm#TooManyUpdates": + throw await de_TooManyUpdatesRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_ResumeSessionCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_ResumeSessionCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = _json(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_ResumeSessionCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "DoesNotExistException": + case "com.amazonaws.ssm#DoesNotExistException": + throw await de_DoesNotExistExceptionRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_SendAutomationSignalCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_SendAutomationSignalCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = _json(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_SendAutomationSignalCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AutomationExecutionNotFoundException": + case "com.amazonaws.ssm#AutomationExecutionNotFoundException": + throw await de_AutomationExecutionNotFoundExceptionRes(parsedOutput, context); + case "AutomationStepNotFoundException": + case "com.amazonaws.ssm#AutomationStepNotFoundException": + throw await de_AutomationStepNotFoundExceptionRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidAutomationSignalException": + case "com.amazonaws.ssm#InvalidAutomationSignalException": + throw await de_InvalidAutomationSignalExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_SendCommandCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_SendCommandCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_SendCommandResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_SendCommandCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "DuplicateInstanceId": + case "com.amazonaws.ssm#DuplicateInstanceId": + throw await de_DuplicateInstanceIdRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidDocument": + case "com.amazonaws.ssm#InvalidDocument": + throw await de_InvalidDocumentRes(parsedOutput, context); + case "InvalidDocumentVersion": + case "com.amazonaws.ssm#InvalidDocumentVersion": + throw await de_InvalidDocumentVersionRes(parsedOutput, context); + case "InvalidInstanceId": + case "com.amazonaws.ssm#InvalidInstanceId": + throw await de_InvalidInstanceIdRes(parsedOutput, context); + case "InvalidNotificationConfig": + case "com.amazonaws.ssm#InvalidNotificationConfig": + throw await de_InvalidNotificationConfigRes(parsedOutput, context); + case "InvalidOutputFolder": + case "com.amazonaws.ssm#InvalidOutputFolder": + throw await de_InvalidOutputFolderRes(parsedOutput, context); + case "InvalidParameters": + case "com.amazonaws.ssm#InvalidParameters": + throw await de_InvalidParametersRes(parsedOutput, context); + case "InvalidRole": + case "com.amazonaws.ssm#InvalidRole": + throw await de_InvalidRoleRes(parsedOutput, context); + case "MaxDocumentSizeExceeded": + case "com.amazonaws.ssm#MaxDocumentSizeExceeded": + throw await de_MaxDocumentSizeExceededRes(parsedOutput, context); + case "UnsupportedPlatformType": + case "com.amazonaws.ssm#UnsupportedPlatformType": + throw await de_UnsupportedPlatformTypeRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_StartAssociationsOnceCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_StartAssociationsOnceCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = _json(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_StartAssociationsOnceCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AssociationDoesNotExist": + case "com.amazonaws.ssm#AssociationDoesNotExist": + throw await de_AssociationDoesNotExistRes(parsedOutput, context); + case "InvalidAssociation": + case "com.amazonaws.ssm#InvalidAssociation": + throw await de_InvalidAssociationRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_StartAutomationExecutionCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_StartAutomationExecutionCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = _json(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_StartAutomationExecutionCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AutomationDefinitionNotFoundException": + case "com.amazonaws.ssm#AutomationDefinitionNotFoundException": + throw await de_AutomationDefinitionNotFoundExceptionRes(parsedOutput, context); + case "AutomationDefinitionVersionNotFoundException": + case "com.amazonaws.ssm#AutomationDefinitionVersionNotFoundException": + throw await de_AutomationDefinitionVersionNotFoundExceptionRes(parsedOutput, context); + case "AutomationExecutionLimitExceededException": + case "com.amazonaws.ssm#AutomationExecutionLimitExceededException": + throw await de_AutomationExecutionLimitExceededExceptionRes(parsedOutput, context); + case "IdempotentParameterMismatch": + case "com.amazonaws.ssm#IdempotentParameterMismatch": + throw await de_IdempotentParameterMismatchRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidAutomationExecutionParametersException": + case "com.amazonaws.ssm#InvalidAutomationExecutionParametersException": + throw await de_InvalidAutomationExecutionParametersExceptionRes(parsedOutput, context); + case "InvalidTarget": + case "com.amazonaws.ssm#InvalidTarget": + throw await de_InvalidTargetRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_StartChangeRequestExecutionCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_StartChangeRequestExecutionCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = _json(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_StartChangeRequestExecutionCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AutomationDefinitionNotApprovedException": + case "com.amazonaws.ssm#AutomationDefinitionNotApprovedException": + throw await de_AutomationDefinitionNotApprovedExceptionRes(parsedOutput, context); + case "AutomationDefinitionNotFoundException": + case "com.amazonaws.ssm#AutomationDefinitionNotFoundException": + throw await de_AutomationDefinitionNotFoundExceptionRes(parsedOutput, context); + case "AutomationDefinitionVersionNotFoundException": + case "com.amazonaws.ssm#AutomationDefinitionVersionNotFoundException": + throw await de_AutomationDefinitionVersionNotFoundExceptionRes(parsedOutput, context); + case "AutomationExecutionLimitExceededException": + case "com.amazonaws.ssm#AutomationExecutionLimitExceededException": + throw await de_AutomationExecutionLimitExceededExceptionRes(parsedOutput, context); + case "IdempotentParameterMismatch": + case "com.amazonaws.ssm#IdempotentParameterMismatch": + throw await de_IdempotentParameterMismatchRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidAutomationExecutionParametersException": + case "com.amazonaws.ssm#InvalidAutomationExecutionParametersException": + throw await de_InvalidAutomationExecutionParametersExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_StartSessionCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_StartSessionCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = _json(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_StartSessionCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidDocument": + case "com.amazonaws.ssm#InvalidDocument": + throw await de_InvalidDocumentRes(parsedOutput, context); + case "TargetNotConnected": + case "com.amazonaws.ssm#TargetNotConnected": + throw await de_TargetNotConnectedRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_StopAutomationExecutionCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_StopAutomationExecutionCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = _json(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_StopAutomationExecutionCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AutomationExecutionNotFoundException": + case "com.amazonaws.ssm#AutomationExecutionNotFoundException": + throw await de_AutomationExecutionNotFoundExceptionRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidAutomationStatusUpdateException": + case "com.amazonaws.ssm#InvalidAutomationStatusUpdateException": + throw await de_InvalidAutomationStatusUpdateExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_TerminateSessionCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_TerminateSessionCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = _json(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_TerminateSessionCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_UnlabelParameterVersionCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_UnlabelParameterVersionCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = _json(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_UnlabelParameterVersionCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "ParameterNotFound": + case "com.amazonaws.ssm#ParameterNotFound": + throw await de_ParameterNotFoundRes(parsedOutput, context); + case "ParameterVersionNotFound": + case "com.amazonaws.ssm#ParameterVersionNotFound": + throw await de_ParameterVersionNotFoundRes(parsedOutput, context); + case "TooManyUpdates": + case "com.amazonaws.ssm#TooManyUpdates": + throw await de_TooManyUpdatesRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_UpdateAssociationCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_UpdateAssociationCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_UpdateAssociationResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_UpdateAssociationCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AssociationDoesNotExist": + case "com.amazonaws.ssm#AssociationDoesNotExist": + throw await de_AssociationDoesNotExistRes(parsedOutput, context); + case "AssociationVersionLimitExceeded": + case "com.amazonaws.ssm#AssociationVersionLimitExceeded": + throw await de_AssociationVersionLimitExceededRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidAssociationVersion": + case "com.amazonaws.ssm#InvalidAssociationVersion": + throw await de_InvalidAssociationVersionRes(parsedOutput, context); + case "InvalidDocument": + case "com.amazonaws.ssm#InvalidDocument": + throw await de_InvalidDocumentRes(parsedOutput, context); + case "InvalidDocumentVersion": + case "com.amazonaws.ssm#InvalidDocumentVersion": + throw await de_InvalidDocumentVersionRes(parsedOutput, context); + case "InvalidOutputLocation": + case "com.amazonaws.ssm#InvalidOutputLocation": + throw await de_InvalidOutputLocationRes(parsedOutput, context); + case "InvalidParameters": + case "com.amazonaws.ssm#InvalidParameters": + throw await de_InvalidParametersRes(parsedOutput, context); + case "InvalidSchedule": + case "com.amazonaws.ssm#InvalidSchedule": + throw await de_InvalidScheduleRes(parsedOutput, context); + case "InvalidTarget": + case "com.amazonaws.ssm#InvalidTarget": + throw await de_InvalidTargetRes(parsedOutput, context); + case "InvalidTargetMaps": + case "com.amazonaws.ssm#InvalidTargetMaps": + throw await de_InvalidTargetMapsRes(parsedOutput, context); + case "InvalidUpdate": + case "com.amazonaws.ssm#InvalidUpdate": + throw await de_InvalidUpdateRes(parsedOutput, context); + case "TooManyUpdates": + case "com.amazonaws.ssm#TooManyUpdates": + throw await de_TooManyUpdatesRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_UpdateAssociationStatusCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_UpdateAssociationStatusCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_UpdateAssociationStatusResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_UpdateAssociationStatusCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "AssociationDoesNotExist": + case "com.amazonaws.ssm#AssociationDoesNotExist": + throw await de_AssociationDoesNotExistRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidDocument": + case "com.amazonaws.ssm#InvalidDocument": + throw await de_InvalidDocumentRes(parsedOutput, context); + case "InvalidInstanceId": + case "com.amazonaws.ssm#InvalidInstanceId": + throw await de_InvalidInstanceIdRes(parsedOutput, context); + case "StatusUnchanged": + case "com.amazonaws.ssm#StatusUnchanged": + throw await de_StatusUnchangedRes(parsedOutput, context); + case "TooManyUpdates": + case "com.amazonaws.ssm#TooManyUpdates": + throw await de_TooManyUpdatesRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_UpdateDocumentCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_UpdateDocumentCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_UpdateDocumentResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_UpdateDocumentCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "DocumentVersionLimitExceeded": + case "com.amazonaws.ssm#DocumentVersionLimitExceeded": + throw await de_DocumentVersionLimitExceededRes(parsedOutput, context); + case "DuplicateDocumentContent": + case "com.amazonaws.ssm#DuplicateDocumentContent": + throw await de_DuplicateDocumentContentRes(parsedOutput, context); + case "DuplicateDocumentVersionName": + case "com.amazonaws.ssm#DuplicateDocumentVersionName": + throw await de_DuplicateDocumentVersionNameRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidDocument": + case "com.amazonaws.ssm#InvalidDocument": + throw await de_InvalidDocumentRes(parsedOutput, context); + case "InvalidDocumentContent": + case "com.amazonaws.ssm#InvalidDocumentContent": + throw await de_InvalidDocumentContentRes(parsedOutput, context); + case "InvalidDocumentOperation": + case "com.amazonaws.ssm#InvalidDocumentOperation": + throw await de_InvalidDocumentOperationRes(parsedOutput, context); + case "InvalidDocumentSchemaVersion": + case "com.amazonaws.ssm#InvalidDocumentSchemaVersion": + throw await de_InvalidDocumentSchemaVersionRes(parsedOutput, context); + case "InvalidDocumentVersion": + case "com.amazonaws.ssm#InvalidDocumentVersion": + throw await de_InvalidDocumentVersionRes(parsedOutput, context); + case "MaxDocumentSizeExceeded": + case "com.amazonaws.ssm#MaxDocumentSizeExceeded": + throw await de_MaxDocumentSizeExceededRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_UpdateDocumentDefaultVersionCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_UpdateDocumentDefaultVersionCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = _json(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_UpdateDocumentDefaultVersionCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidDocument": + case "com.amazonaws.ssm#InvalidDocument": + throw await de_InvalidDocumentRes(parsedOutput, context); + case "InvalidDocumentSchemaVersion": + case "com.amazonaws.ssm#InvalidDocumentSchemaVersion": + throw await de_InvalidDocumentSchemaVersionRes(parsedOutput, context); + case "InvalidDocumentVersion": + case "com.amazonaws.ssm#InvalidDocumentVersion": + throw await de_InvalidDocumentVersionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_UpdateDocumentMetadataCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_UpdateDocumentMetadataCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = _json(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_UpdateDocumentMetadataCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidDocument": + case "com.amazonaws.ssm#InvalidDocument": + throw await de_InvalidDocumentRes(parsedOutput, context); + case "InvalidDocumentOperation": + case "com.amazonaws.ssm#InvalidDocumentOperation": + throw await de_InvalidDocumentOperationRes(parsedOutput, context); + case "InvalidDocumentVersion": + case "com.amazonaws.ssm#InvalidDocumentVersion": + throw await de_InvalidDocumentVersionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_UpdateMaintenanceWindowCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_UpdateMaintenanceWindowCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = _json(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_UpdateMaintenanceWindowCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "DoesNotExistException": + case "com.amazonaws.ssm#DoesNotExistException": + throw await de_DoesNotExistExceptionRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_UpdateMaintenanceWindowTargetCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_UpdateMaintenanceWindowTargetCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = _json(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_UpdateMaintenanceWindowTargetCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "DoesNotExistException": + case "com.amazonaws.ssm#DoesNotExistException": + throw await de_DoesNotExistExceptionRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_UpdateMaintenanceWindowTaskCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_UpdateMaintenanceWindowTaskCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_UpdateMaintenanceWindowTaskResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_UpdateMaintenanceWindowTaskCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "DoesNotExistException": + case "com.amazonaws.ssm#DoesNotExistException": + throw await de_DoesNotExistExceptionRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_UpdateManagedInstanceRoleCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_UpdateManagedInstanceRoleCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = _json(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_UpdateManagedInstanceRoleCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "InvalidInstanceId": + case "com.amazonaws.ssm#InvalidInstanceId": + throw await de_InvalidInstanceIdRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_UpdateOpsItemCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_UpdateOpsItemCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = _json(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_UpdateOpsItemCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "OpsItemAccessDeniedException": + case "com.amazonaws.ssm#OpsItemAccessDeniedException": + throw await de_OpsItemAccessDeniedExceptionRes(parsedOutput, context); + case "OpsItemAlreadyExistsException": + case "com.amazonaws.ssm#OpsItemAlreadyExistsException": + throw await de_OpsItemAlreadyExistsExceptionRes(parsedOutput, context); + case "OpsItemConflictException": + case "com.amazonaws.ssm#OpsItemConflictException": + throw await de_OpsItemConflictExceptionRes(parsedOutput, context); + case "OpsItemInvalidParameterException": + case "com.amazonaws.ssm#OpsItemInvalidParameterException": + throw await de_OpsItemInvalidParameterExceptionRes(parsedOutput, context); + case "OpsItemLimitExceededException": + case "com.amazonaws.ssm#OpsItemLimitExceededException": + throw await de_OpsItemLimitExceededExceptionRes(parsedOutput, context); + case "OpsItemNotFoundException": + case "com.amazonaws.ssm#OpsItemNotFoundException": + throw await de_OpsItemNotFoundExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_UpdateOpsMetadataCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_UpdateOpsMetadataCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = _json(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_UpdateOpsMetadataCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "OpsMetadataInvalidArgumentException": + case "com.amazonaws.ssm#OpsMetadataInvalidArgumentException": + throw await de_OpsMetadataInvalidArgumentExceptionRes(parsedOutput, context); + case "OpsMetadataKeyLimitExceededException": + case "com.amazonaws.ssm#OpsMetadataKeyLimitExceededException": + throw await de_OpsMetadataKeyLimitExceededExceptionRes(parsedOutput, context); + case "OpsMetadataNotFoundException": + case "com.amazonaws.ssm#OpsMetadataNotFoundException": + throw await de_OpsMetadataNotFoundExceptionRes(parsedOutput, context); + case "OpsMetadataTooManyUpdatesException": + case "com.amazonaws.ssm#OpsMetadataTooManyUpdatesException": + throw await de_OpsMetadataTooManyUpdatesExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_UpdatePatchBaselineCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_UpdatePatchBaselineCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = de_UpdatePatchBaselineResult(data, context); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_UpdatePatchBaselineCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "DoesNotExistException": + case "com.amazonaws.ssm#DoesNotExistException": + throw await de_DoesNotExistExceptionRes(parsedOutput, context); + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_UpdateResourceDataSyncCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_UpdateResourceDataSyncCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = _json(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_UpdateResourceDataSyncCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "ResourceDataSyncConflictException": + case "com.amazonaws.ssm#ResourceDataSyncConflictException": + throw await de_ResourceDataSyncConflictExceptionRes(parsedOutput, context); + case "ResourceDataSyncInvalidConfigurationException": + case "com.amazonaws.ssm#ResourceDataSyncInvalidConfigurationException": + throw await de_ResourceDataSyncInvalidConfigurationExceptionRes(parsedOutput, context); + case "ResourceDataSyncNotFoundException": + case "com.amazonaws.ssm#ResourceDataSyncNotFoundException": + throw await de_ResourceDataSyncNotFoundExceptionRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +export const de_UpdateServiceSettingCommand = async (output, context) => { + if (output.statusCode >= 300) { + return de_UpdateServiceSettingCommandError(output, context); + } + const data = await parseBody(output.body, context); + let contents = {}; + contents = _json(data); + const response = { + $metadata: deserializeMetadata(output), + ...contents, + }; + return response; +}; +const de_UpdateServiceSettingCommandError = async (output, context) => { + const parsedOutput = { + ...output, + body: await parseErrorBody(output.body, context), + }; + const errorCode = loadRestJsonErrorCode(output, parsedOutput.body); + switch (errorCode) { + case "InternalServerError": + case "com.amazonaws.ssm#InternalServerError": + throw await de_InternalServerErrorRes(parsedOutput, context); + case "ServiceSettingNotFound": + case "com.amazonaws.ssm#ServiceSettingNotFound": + throw await de_ServiceSettingNotFoundRes(parsedOutput, context); + case "TooManyUpdates": + case "com.amazonaws.ssm#TooManyUpdates": + throw await de_TooManyUpdatesRes(parsedOutput, context); + default: + const parsedBody = parsedOutput.body; + return throwDefaultError({ + output, + parsedBody, + errorCode, + }); + } +}; +const de_AlreadyExistsExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new AlreadyExistsException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_AssociatedInstancesRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new AssociatedInstances({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_AssociationAlreadyExistsRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new AssociationAlreadyExists({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_AssociationDoesNotExistRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new AssociationDoesNotExist({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_AssociationExecutionDoesNotExistRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new AssociationExecutionDoesNotExist({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_AssociationLimitExceededRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new AssociationLimitExceeded({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_AssociationVersionLimitExceededRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new AssociationVersionLimitExceeded({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_AutomationDefinitionNotApprovedExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new AutomationDefinitionNotApprovedException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_AutomationDefinitionNotFoundExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new AutomationDefinitionNotFoundException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_AutomationDefinitionVersionNotFoundExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new AutomationDefinitionVersionNotFoundException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_AutomationExecutionLimitExceededExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new AutomationExecutionLimitExceededException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_AutomationExecutionNotFoundExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new AutomationExecutionNotFoundException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_AutomationStepNotFoundExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new AutomationStepNotFoundException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_ComplianceTypeCountLimitExceededExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new ComplianceTypeCountLimitExceededException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_CustomSchemaCountLimitExceededExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new CustomSchemaCountLimitExceededException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_DocumentAlreadyExistsRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new DocumentAlreadyExists({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_DocumentLimitExceededRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new DocumentLimitExceeded({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_DocumentPermissionLimitRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new DocumentPermissionLimit({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_DocumentVersionLimitExceededRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new DocumentVersionLimitExceeded({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_DoesNotExistExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new DoesNotExistException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_DuplicateDocumentContentRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new DuplicateDocumentContent({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_DuplicateDocumentVersionNameRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new DuplicateDocumentVersionName({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_DuplicateInstanceIdRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new DuplicateInstanceId({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_FeatureNotAvailableExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new FeatureNotAvailableException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_HierarchyLevelLimitExceededExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new HierarchyLevelLimitExceededException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_HierarchyTypeMismatchExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new HierarchyTypeMismatchException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_IdempotentParameterMismatchRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new IdempotentParameterMismatch({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_IncompatiblePolicyExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new IncompatiblePolicyException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_InternalServerErrorRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new InternalServerError({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_InvalidActivationRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new InvalidActivation({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_InvalidActivationIdRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new InvalidActivationId({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_InvalidAggregatorExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new InvalidAggregatorException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_InvalidAllowedPatternExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new InvalidAllowedPatternException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_InvalidAssociationRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new InvalidAssociation({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_InvalidAssociationVersionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new InvalidAssociationVersion({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_InvalidAutomationExecutionParametersExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new InvalidAutomationExecutionParametersException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_InvalidAutomationSignalExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new InvalidAutomationSignalException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_InvalidAutomationStatusUpdateExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new InvalidAutomationStatusUpdateException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_InvalidCommandIdRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new InvalidCommandId({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_InvalidDeleteInventoryParametersExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new InvalidDeleteInventoryParametersException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_InvalidDeletionIdExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new InvalidDeletionIdException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_InvalidDocumentRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new InvalidDocument({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_InvalidDocumentContentRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new InvalidDocumentContent({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_InvalidDocumentOperationRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new InvalidDocumentOperation({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_InvalidDocumentSchemaVersionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new InvalidDocumentSchemaVersion({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_InvalidDocumentTypeRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new InvalidDocumentType({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_InvalidDocumentVersionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new InvalidDocumentVersion({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_InvalidFilterRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new InvalidFilter({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_InvalidFilterKeyRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new InvalidFilterKey({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_InvalidFilterOptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new InvalidFilterOption({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_InvalidFilterValueRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new InvalidFilterValue({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_InvalidInstanceIdRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new InvalidInstanceId({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_InvalidInstanceInformationFilterValueRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new InvalidInstanceInformationFilterValue({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_InvalidInventoryGroupExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new InvalidInventoryGroupException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_InvalidInventoryItemContextExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new InvalidInventoryItemContextException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_InvalidInventoryRequestExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new InvalidInventoryRequestException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_InvalidItemContentExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new InvalidItemContentException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_InvalidKeyIdRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new InvalidKeyId({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_InvalidNextTokenRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new InvalidNextToken({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_InvalidNotificationConfigRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new InvalidNotificationConfig({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_InvalidOptionExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new InvalidOptionException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_InvalidOutputFolderRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new InvalidOutputFolder({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_InvalidOutputLocationRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new InvalidOutputLocation({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_InvalidParametersRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new InvalidParameters({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_InvalidPermissionTypeRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new InvalidPermissionType({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_InvalidPluginNameRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new InvalidPluginName({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_InvalidPolicyAttributeExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new InvalidPolicyAttributeException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_InvalidPolicyTypeExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new InvalidPolicyTypeException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_InvalidResourceIdRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new InvalidResourceId({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_InvalidResourceTypeRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new InvalidResourceType({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_InvalidResultAttributeExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new InvalidResultAttributeException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_InvalidRoleRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new InvalidRole({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_InvalidScheduleRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new InvalidSchedule({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_InvalidTagRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new InvalidTag({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_InvalidTargetRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new InvalidTarget({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_InvalidTargetMapsRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new InvalidTargetMaps({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_InvalidTypeNameExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new InvalidTypeNameException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_InvalidUpdateRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new InvalidUpdate({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_InvocationDoesNotExistRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new InvocationDoesNotExist({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_ItemContentMismatchExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new ItemContentMismatchException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_ItemSizeLimitExceededExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new ItemSizeLimitExceededException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_MaxDocumentSizeExceededRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new MaxDocumentSizeExceeded({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_OpsItemAccessDeniedExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new OpsItemAccessDeniedException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_OpsItemAlreadyExistsExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new OpsItemAlreadyExistsException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_OpsItemConflictExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new OpsItemConflictException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_OpsItemInvalidParameterExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new OpsItemInvalidParameterException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_OpsItemLimitExceededExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new OpsItemLimitExceededException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_OpsItemNotFoundExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new OpsItemNotFoundException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_OpsItemRelatedItemAlreadyExistsExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new OpsItemRelatedItemAlreadyExistsException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_OpsItemRelatedItemAssociationNotFoundExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new OpsItemRelatedItemAssociationNotFoundException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_OpsMetadataAlreadyExistsExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new OpsMetadataAlreadyExistsException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_OpsMetadataInvalidArgumentExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new OpsMetadataInvalidArgumentException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_OpsMetadataKeyLimitExceededExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new OpsMetadataKeyLimitExceededException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_OpsMetadataLimitExceededExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new OpsMetadataLimitExceededException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_OpsMetadataNotFoundExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new OpsMetadataNotFoundException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_OpsMetadataTooManyUpdatesExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new OpsMetadataTooManyUpdatesException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_ParameterAlreadyExistsRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new ParameterAlreadyExists({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_ParameterLimitExceededRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new ParameterLimitExceeded({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_ParameterMaxVersionLimitExceededRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new ParameterMaxVersionLimitExceeded({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_ParameterNotFoundRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new ParameterNotFound({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_ParameterPatternMismatchExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new ParameterPatternMismatchException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_ParameterVersionLabelLimitExceededRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new ParameterVersionLabelLimitExceeded({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_ParameterVersionNotFoundRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new ParameterVersionNotFound({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_PoliciesLimitExceededExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new PoliciesLimitExceededException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_ResourceDataSyncAlreadyExistsExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new ResourceDataSyncAlreadyExistsException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_ResourceDataSyncConflictExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new ResourceDataSyncConflictException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_ResourceDataSyncCountExceededExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new ResourceDataSyncCountExceededException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_ResourceDataSyncInvalidConfigurationExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new ResourceDataSyncInvalidConfigurationException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_ResourceDataSyncNotFoundExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new ResourceDataSyncNotFoundException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_ResourceInUseExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new ResourceInUseException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_ResourceLimitExceededExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new ResourceLimitExceededException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_ResourcePolicyConflictExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new ResourcePolicyConflictException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_ResourcePolicyInvalidParameterExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new ResourcePolicyInvalidParameterException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_ResourcePolicyLimitExceededExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new ResourcePolicyLimitExceededException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_ServiceSettingNotFoundRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new ServiceSettingNotFound({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_StatusUnchangedRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new StatusUnchanged({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_SubTypeCountLimitExceededExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new SubTypeCountLimitExceededException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_TargetInUseExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new TargetInUseException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_TargetNotConnectedRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new TargetNotConnected({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_TooManyTagsErrorRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new TooManyTagsError({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_TooManyUpdatesRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new TooManyUpdates({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_TotalSizeLimitExceededExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new TotalSizeLimitExceededException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_UnsupportedCalendarExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new UnsupportedCalendarException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_UnsupportedFeatureRequiredExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new UnsupportedFeatureRequiredException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_UnsupportedInventoryItemContextExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new UnsupportedInventoryItemContextException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_UnsupportedInventorySchemaVersionExceptionRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new UnsupportedInventorySchemaVersionException({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_UnsupportedOperatingSystemRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new UnsupportedOperatingSystem({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_UnsupportedParameterTypeRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new UnsupportedParameterType({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const de_UnsupportedPlatformTypeRes = async (parsedOutput, context) => { + const body = parsedOutput.body; + const deserialized = _json(body); + const exception = new UnsupportedPlatformType({ + $metadata: deserializeMetadata(parsedOutput), + ...deserialized, + }); + return __decorateServiceException(exception, body); +}; +const se_AssociationStatus = (input, context) => { + return take(input, { + AdditionalInfo: [], + Date: (_) => Math.round(_.getTime() / 1000), + Message: [], + Name: [], + }); +}; +const se_ComplianceExecutionSummary = (input, context) => { + return take(input, { + ExecutionId: [], + ExecutionTime: (_) => Math.round(_.getTime() / 1000), + ExecutionType: [], + }); +}; +const se_CreateActivationRequest = (input, context) => { + return take(input, { + DefaultInstanceName: [], + Description: [], + ExpirationDate: (_) => Math.round(_.getTime() / 1000), + IamRole: [], + RegistrationLimit: [], + RegistrationMetadata: _json, + Tags: _json, + }); +}; +const se_CreateMaintenanceWindowRequest = (input, context) => { + return take(input, { + AllowUnassociatedTargets: [], + ClientToken: [true, (_) => _ ?? generateIdempotencyToken()], + Cutoff: [], + Description: [], + Duration: [], + EndDate: [], + Name: [], + Schedule: [], + ScheduleOffset: [], + ScheduleTimezone: [], + StartDate: [], + Tags: _json, + }); +}; +const se_CreateOpsItemRequest = (input, context) => { + return take(input, { + AccountId: [], + ActualEndTime: (_) => Math.round(_.getTime() / 1000), + ActualStartTime: (_) => Math.round(_.getTime() / 1000), + Category: [], + Description: [], + Notifications: _json, + OperationalData: _json, + OpsItemType: [], + PlannedEndTime: (_) => Math.round(_.getTime() / 1000), + PlannedStartTime: (_) => Math.round(_.getTime() / 1000), + Priority: [], + RelatedOpsItems: _json, + Severity: [], + Source: [], + Tags: _json, + Title: [], + }); +}; +const se_CreatePatchBaselineRequest = (input, context) => { + return take(input, { + ApprovalRules: _json, + ApprovedPatches: _json, + ApprovedPatchesComplianceLevel: [], + ApprovedPatchesEnableNonSecurity: [], + ClientToken: [true, (_) => _ ?? generateIdempotencyToken()], + Description: [], + GlobalFilters: _json, + Name: [], + OperatingSystem: [], + RejectedPatches: _json, + RejectedPatchesAction: [], + Sources: _json, + Tags: _json, + }); +}; +const se_DeleteInventoryRequest = (input, context) => { + return take(input, { + ClientToken: [true, (_) => _ ?? generateIdempotencyToken()], + DryRun: [], + SchemaDeleteOption: [], + TypeName: [], + }); +}; +const se_GetInventoryRequest = (input, context) => { + return take(input, { + Aggregators: (_) => se_InventoryAggregatorList(_, context), + Filters: _json, + MaxResults: [], + NextToken: [], + ResultAttributes: _json, + }); +}; +const se_GetOpsSummaryRequest = (input, context) => { + return take(input, { + Aggregators: (_) => se_OpsAggregatorList(_, context), + Filters: _json, + MaxResults: [], + NextToken: [], + ResultAttributes: _json, + SyncName: [], + }); +}; +const se_InventoryAggregator = (input, context) => { + return take(input, { + Aggregators: (_) => se_InventoryAggregatorList(_, context), + Expression: [], + Groups: _json, + }); +}; +const se_InventoryAggregatorList = (input, context) => { + return input + .filter((e) => e != null) + .map((entry) => { + return se_InventoryAggregator(entry, context); + }); +}; +const se_MaintenanceWindowLambdaParameters = (input, context) => { + return take(input, { + ClientContext: [], + Payload: context.base64Encoder, + Qualifier: [], + }); +}; +const se_MaintenanceWindowTaskInvocationParameters = (input, context) => { + return take(input, { + Automation: _json, + Lambda: (_) => se_MaintenanceWindowLambdaParameters(_, context), + RunCommand: _json, + StepFunctions: _json, + }); +}; +const se_OpsAggregator = (input, context) => { + return take(input, { + AggregatorType: [], + Aggregators: (_) => se_OpsAggregatorList(_, context), + AttributeName: [], + Filters: _json, + TypeName: [], + Values: _json, + }); +}; +const se_OpsAggregatorList = (input, context) => { + return input + .filter((e) => e != null) + .map((entry) => { + return se_OpsAggregator(entry, context); + }); +}; +const se_PutComplianceItemsRequest = (input, context) => { + return take(input, { + ComplianceType: [], + ExecutionSummary: (_) => se_ComplianceExecutionSummary(_, context), + ItemContentHash: [], + Items: _json, + ResourceId: [], + ResourceType: [], + UploadType: [], + }); +}; +const se_RegisterTargetWithMaintenanceWindowRequest = (input, context) => { + return take(input, { + ClientToken: [true, (_) => _ ?? generateIdempotencyToken()], + Description: [], + Name: [], + OwnerInformation: [], + ResourceType: [], + Targets: _json, + WindowId: [], + }); +}; +const se_RegisterTaskWithMaintenanceWindowRequest = (input, context) => { + return take(input, { + AlarmConfiguration: _json, + ClientToken: [true, (_) => _ ?? generateIdempotencyToken()], + CutoffBehavior: [], + Description: [], + LoggingInfo: _json, + MaxConcurrency: [], + MaxErrors: [], + Name: [], + Priority: [], + ServiceRoleArn: [], + Targets: _json, + TaskArn: [], + TaskInvocationParameters: (_) => se_MaintenanceWindowTaskInvocationParameters(_, context), + TaskParameters: _json, + TaskType: [], + WindowId: [], + }); +}; +const se_StartChangeRequestExecutionRequest = (input, context) => { + return take(input, { + AutoApprove: [], + ChangeDetails: [], + ChangeRequestName: [], + ClientToken: [], + DocumentName: [], + DocumentVersion: [], + Parameters: _json, + Runbooks: _json, + ScheduledEndTime: (_) => Math.round(_.getTime() / 1000), + ScheduledTime: (_) => Math.round(_.getTime() / 1000), + Tags: _json, + }); +}; +const se_UpdateAssociationStatusRequest = (input, context) => { + return take(input, { + AssociationStatus: (_) => se_AssociationStatus(_, context), + InstanceId: [], + Name: [], + }); +}; +const se_UpdateMaintenanceWindowTaskRequest = (input, context) => { + return take(input, { + AlarmConfiguration: _json, + CutoffBehavior: [], + Description: [], + LoggingInfo: _json, + MaxConcurrency: [], + MaxErrors: [], + Name: [], + Priority: [], + Replace: [], + ServiceRoleArn: [], + Targets: _json, + TaskArn: [], + TaskInvocationParameters: (_) => se_MaintenanceWindowTaskInvocationParameters(_, context), + TaskParameters: _json, + WindowId: [], + WindowTaskId: [], + }); +}; +const se_UpdateOpsItemRequest = (input, context) => { + return take(input, { + ActualEndTime: (_) => Math.round(_.getTime() / 1000), + ActualStartTime: (_) => Math.round(_.getTime() / 1000), + Category: [], + Description: [], + Notifications: _json, + OperationalData: _json, + OperationalDataToDelete: _json, + OpsItemArn: [], + OpsItemId: [], + PlannedEndTime: (_) => Math.round(_.getTime() / 1000), + PlannedStartTime: (_) => Math.round(_.getTime() / 1000), + Priority: [], + RelatedOpsItems: _json, + Severity: [], + Status: [], + Title: [], + }); +}; +const de_Activation = (output, context) => { + return take(output, { + ActivationId: __expectString, + CreatedDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + DefaultInstanceName: __expectString, + Description: __expectString, + ExpirationDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + Expired: __expectBoolean, + IamRole: __expectString, + RegistrationLimit: __expectInt32, + RegistrationsCount: __expectInt32, + Tags: _json, + }); +}; +const de_ActivationList = (output, context) => { + const retVal = (output || []) + .filter((e) => e != null) + .map((entry) => { + return de_Activation(entry, context); + }); + return retVal; +}; +const de_Association = (output, context) => { + return take(output, { + AssociationId: __expectString, + AssociationName: __expectString, + AssociationVersion: __expectString, + DocumentVersion: __expectString, + InstanceId: __expectString, + LastExecutionDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + Name: __expectString, + Overview: _json, + ScheduleExpression: __expectString, + ScheduleOffset: __expectInt32, + TargetMaps: _json, + Targets: _json, + }); +}; +const de_AssociationDescription = (output, context) => { + return take(output, { + AlarmConfiguration: _json, + ApplyOnlyAtCronInterval: __expectBoolean, + AssociationId: __expectString, + AssociationName: __expectString, + AssociationVersion: __expectString, + AutomationTargetParameterName: __expectString, + CalendarNames: _json, + ComplianceSeverity: __expectString, + Date: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + DocumentVersion: __expectString, + InstanceId: __expectString, + LastExecutionDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + LastSuccessfulExecutionDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + LastUpdateAssociationDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + MaxConcurrency: __expectString, + MaxErrors: __expectString, + Name: __expectString, + OutputLocation: _json, + Overview: _json, + Parameters: _json, + ScheduleExpression: __expectString, + ScheduleOffset: __expectInt32, + Status: (_) => de_AssociationStatus(_, context), + SyncCompliance: __expectString, + TargetLocations: _json, + TargetMaps: _json, + Targets: _json, + TriggeredAlarms: _json, + }); +}; +const de_AssociationDescriptionList = (output, context) => { + const retVal = (output || []) + .filter((e) => e != null) + .map((entry) => { + return de_AssociationDescription(entry, context); + }); + return retVal; +}; +const de_AssociationExecution = (output, context) => { + return take(output, { + AlarmConfiguration: _json, + AssociationId: __expectString, + AssociationVersion: __expectString, + CreatedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + DetailedStatus: __expectString, + ExecutionId: __expectString, + LastExecutionDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + ResourceCountByStatus: __expectString, + Status: __expectString, + TriggeredAlarms: _json, + }); +}; +const de_AssociationExecutionsList = (output, context) => { + const retVal = (output || []) + .filter((e) => e != null) + .map((entry) => { + return de_AssociationExecution(entry, context); + }); + return retVal; +}; +const de_AssociationExecutionTarget = (output, context) => { + return take(output, { + AssociationId: __expectString, + AssociationVersion: __expectString, + DetailedStatus: __expectString, + ExecutionId: __expectString, + LastExecutionDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + OutputSource: _json, + ResourceId: __expectString, + ResourceType: __expectString, + Status: __expectString, + }); +}; +const de_AssociationExecutionTargetsList = (output, context) => { + const retVal = (output || []) + .filter((e) => e != null) + .map((entry) => { + return de_AssociationExecutionTarget(entry, context); + }); + return retVal; +}; +const de_AssociationList = (output, context) => { + const retVal = (output || []) + .filter((e) => e != null) + .map((entry) => { + return de_Association(entry, context); + }); + return retVal; +}; +const de_AssociationStatus = (output, context) => { + return take(output, { + AdditionalInfo: __expectString, + Date: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + Message: __expectString, + Name: __expectString, + }); +}; +const de_AssociationVersionInfo = (output, context) => { + return take(output, { + ApplyOnlyAtCronInterval: __expectBoolean, + AssociationId: __expectString, + AssociationName: __expectString, + AssociationVersion: __expectString, + CalendarNames: _json, + ComplianceSeverity: __expectString, + CreatedDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + DocumentVersion: __expectString, + MaxConcurrency: __expectString, + MaxErrors: __expectString, + Name: __expectString, + OutputLocation: _json, + Parameters: _json, + ScheduleExpression: __expectString, + ScheduleOffset: __expectInt32, + SyncCompliance: __expectString, + TargetLocations: _json, + TargetMaps: _json, + Targets: _json, + }); +}; +const de_AssociationVersionList = (output, context) => { + const retVal = (output || []) + .filter((e) => e != null) + .map((entry) => { + return de_AssociationVersionInfo(entry, context); + }); + return retVal; +}; +const de_AutomationExecution = (output, context) => { + return take(output, { + AlarmConfiguration: _json, + AssociationId: __expectString, + AutomationExecutionId: __expectString, + AutomationExecutionStatus: __expectString, + AutomationSubtype: __expectString, + ChangeRequestName: __expectString, + CurrentAction: __expectString, + CurrentStepName: __expectString, + DocumentName: __expectString, + DocumentVersion: __expectString, + ExecutedBy: __expectString, + ExecutionEndTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + ExecutionStartTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + FailureMessage: __expectString, + MaxConcurrency: __expectString, + MaxErrors: __expectString, + Mode: __expectString, + OpsItemId: __expectString, + Outputs: _json, + Parameters: _json, + ParentAutomationExecutionId: __expectString, + ProgressCounters: _json, + ResolvedTargets: _json, + Runbooks: _json, + ScheduledTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + StepExecutions: (_) => de_StepExecutionList(_, context), + StepExecutionsTruncated: __expectBoolean, + Target: __expectString, + TargetLocations: _json, + TargetMaps: _json, + TargetParameterName: __expectString, + Targets: _json, + TriggeredAlarms: _json, + Variables: _json, + }); +}; +const de_AutomationExecutionMetadata = (output, context) => { + return take(output, { + AlarmConfiguration: _json, + AssociationId: __expectString, + AutomationExecutionId: __expectString, + AutomationExecutionStatus: __expectString, + AutomationSubtype: __expectString, + AutomationType: __expectString, + ChangeRequestName: __expectString, + CurrentAction: __expectString, + CurrentStepName: __expectString, + DocumentName: __expectString, + DocumentVersion: __expectString, + ExecutedBy: __expectString, + ExecutionEndTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + ExecutionStartTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + FailureMessage: __expectString, + LogFile: __expectString, + MaxConcurrency: __expectString, + MaxErrors: __expectString, + Mode: __expectString, + OpsItemId: __expectString, + Outputs: _json, + ParentAutomationExecutionId: __expectString, + ResolvedTargets: _json, + Runbooks: _json, + ScheduledTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + Target: __expectString, + TargetMaps: _json, + TargetParameterName: __expectString, + Targets: _json, + TriggeredAlarms: _json, + }); +}; +const de_AutomationExecutionMetadataList = (output, context) => { + const retVal = (output || []) + .filter((e) => e != null) + .map((entry) => { + return de_AutomationExecutionMetadata(entry, context); + }); + return retVal; +}; +const de_Command = (output, context) => { + return take(output, { + AlarmConfiguration: _json, + CloudWatchOutputConfig: _json, + CommandId: __expectString, + Comment: __expectString, + CompletedCount: __expectInt32, + DeliveryTimedOutCount: __expectInt32, + DocumentName: __expectString, + DocumentVersion: __expectString, + ErrorCount: __expectInt32, + ExpiresAfter: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + InstanceIds: _json, + MaxConcurrency: __expectString, + MaxErrors: __expectString, + NotificationConfig: _json, + OutputS3BucketName: __expectString, + OutputS3KeyPrefix: __expectString, + OutputS3Region: __expectString, + Parameters: _json, + RequestedDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + ServiceRole: __expectString, + Status: __expectString, + StatusDetails: __expectString, + TargetCount: __expectInt32, + Targets: _json, + TimeoutSeconds: __expectInt32, + TriggeredAlarms: _json, + }); +}; +const de_CommandInvocation = (output, context) => { + return take(output, { + CloudWatchOutputConfig: _json, + CommandId: __expectString, + CommandPlugins: (_) => de_CommandPluginList(_, context), + Comment: __expectString, + DocumentName: __expectString, + DocumentVersion: __expectString, + InstanceId: __expectString, + InstanceName: __expectString, + NotificationConfig: _json, + RequestedDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + ServiceRole: __expectString, + StandardErrorUrl: __expectString, + StandardOutputUrl: __expectString, + Status: __expectString, + StatusDetails: __expectString, + TraceOutput: __expectString, + }); +}; +const de_CommandInvocationList = (output, context) => { + const retVal = (output || []) + .filter((e) => e != null) + .map((entry) => { + return de_CommandInvocation(entry, context); + }); + return retVal; +}; +const de_CommandList = (output, context) => { + const retVal = (output || []) + .filter((e) => e != null) + .map((entry) => { + return de_Command(entry, context); + }); + return retVal; +}; +const de_CommandPlugin = (output, context) => { + return take(output, { + Name: __expectString, + Output: __expectString, + OutputS3BucketName: __expectString, + OutputS3KeyPrefix: __expectString, + OutputS3Region: __expectString, + ResponseCode: __expectInt32, + ResponseFinishDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + ResponseStartDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + StandardErrorUrl: __expectString, + StandardOutputUrl: __expectString, + Status: __expectString, + StatusDetails: __expectString, + }); +}; +const de_CommandPluginList = (output, context) => { + const retVal = (output || []) + .filter((e) => e != null) + .map((entry) => { + return de_CommandPlugin(entry, context); + }); + return retVal; +}; +const de_ComplianceExecutionSummary = (output, context) => { + return take(output, { + ExecutionId: __expectString, + ExecutionTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + ExecutionType: __expectString, + }); +}; +const de_ComplianceItem = (output, context) => { + return take(output, { + ComplianceType: __expectString, + Details: _json, + ExecutionSummary: (_) => de_ComplianceExecutionSummary(_, context), + Id: __expectString, + ResourceId: __expectString, + ResourceType: __expectString, + Severity: __expectString, + Status: __expectString, + Title: __expectString, + }); +}; +const de_ComplianceItemList = (output, context) => { + const retVal = (output || []) + .filter((e) => e != null) + .map((entry) => { + return de_ComplianceItem(entry, context); + }); + return retVal; +}; +const de_CreateAssociationBatchResult = (output, context) => { + return take(output, { + Failed: _json, + Successful: (_) => de_AssociationDescriptionList(_, context), + }); +}; +const de_CreateAssociationResult = (output, context) => { + return take(output, { + AssociationDescription: (_) => de_AssociationDescription(_, context), + }); +}; +const de_CreateDocumentResult = (output, context) => { + return take(output, { + DocumentDescription: (_) => de_DocumentDescription(_, context), + }); +}; +const de_DescribeActivationsResult = (output, context) => { + return take(output, { + ActivationList: (_) => de_ActivationList(_, context), + NextToken: __expectString, + }); +}; +const de_DescribeAssociationExecutionsResult = (output, context) => { + return take(output, { + AssociationExecutions: (_) => de_AssociationExecutionsList(_, context), + NextToken: __expectString, + }); +}; +const de_DescribeAssociationExecutionTargetsResult = (output, context) => { + return take(output, { + AssociationExecutionTargets: (_) => de_AssociationExecutionTargetsList(_, context), + NextToken: __expectString, + }); +}; +const de_DescribeAssociationResult = (output, context) => { + return take(output, { + AssociationDescription: (_) => de_AssociationDescription(_, context), + }); +}; +const de_DescribeAutomationExecutionsResult = (output, context) => { + return take(output, { + AutomationExecutionMetadataList: (_) => de_AutomationExecutionMetadataList(_, context), + NextToken: __expectString, + }); +}; +const de_DescribeAutomationStepExecutionsResult = (output, context) => { + return take(output, { + NextToken: __expectString, + StepExecutions: (_) => de_StepExecutionList(_, context), + }); +}; +const de_DescribeAvailablePatchesResult = (output, context) => { + return take(output, { + NextToken: __expectString, + Patches: (_) => de_PatchList(_, context), + }); +}; +const de_DescribeDocumentResult = (output, context) => { + return take(output, { + Document: (_) => de_DocumentDescription(_, context), + }); +}; +const de_DescribeEffectivePatchesForPatchBaselineResult = (output, context) => { + return take(output, { + EffectivePatches: (_) => de_EffectivePatchList(_, context), + NextToken: __expectString, + }); +}; +const de_DescribeInstanceAssociationsStatusResult = (output, context) => { + return take(output, { + InstanceAssociationStatusInfos: (_) => de_InstanceAssociationStatusInfos(_, context), + NextToken: __expectString, + }); +}; +const de_DescribeInstanceInformationResult = (output, context) => { + return take(output, { + InstanceInformationList: (_) => de_InstanceInformationList(_, context), + NextToken: __expectString, + }); +}; +const de_DescribeInstancePatchesResult = (output, context) => { + return take(output, { + NextToken: __expectString, + Patches: (_) => de_PatchComplianceDataList(_, context), + }); +}; +const de_DescribeInstancePatchStatesForPatchGroupResult = (output, context) => { + return take(output, { + InstancePatchStates: (_) => de_InstancePatchStatesList(_, context), + NextToken: __expectString, + }); +}; +const de_DescribeInstancePatchStatesResult = (output, context) => { + return take(output, { + InstancePatchStates: (_) => de_InstancePatchStateList(_, context), + NextToken: __expectString, + }); +}; +const de_DescribeInventoryDeletionsResult = (output, context) => { + return take(output, { + InventoryDeletions: (_) => de_InventoryDeletionsList(_, context), + NextToken: __expectString, + }); +}; +const de_DescribeMaintenanceWindowExecutionsResult = (output, context) => { + return take(output, { + NextToken: __expectString, + WindowExecutions: (_) => de_MaintenanceWindowExecutionList(_, context), + }); +}; +const de_DescribeMaintenanceWindowExecutionTaskInvocationsResult = (output, context) => { + return take(output, { + NextToken: __expectString, + WindowExecutionTaskInvocationIdentities: (_) => de_MaintenanceWindowExecutionTaskInvocationIdentityList(_, context), + }); +}; +const de_DescribeMaintenanceWindowExecutionTasksResult = (output, context) => { + return take(output, { + NextToken: __expectString, + WindowExecutionTaskIdentities: (_) => de_MaintenanceWindowExecutionTaskIdentityList(_, context), + }); +}; +const de_DescribeOpsItemsResponse = (output, context) => { + return take(output, { + NextToken: __expectString, + OpsItemSummaries: (_) => de_OpsItemSummaries(_, context), + }); +}; +const de_DescribeParametersResult = (output, context) => { + return take(output, { + NextToken: __expectString, + Parameters: (_) => de_ParameterMetadataList(_, context), + }); +}; +const de_DescribeSessionsResponse = (output, context) => { + return take(output, { + NextToken: __expectString, + Sessions: (_) => de_SessionList(_, context), + }); +}; +const de_DocumentDescription = (output, context) => { + return take(output, { + ApprovedVersion: __expectString, + AttachmentsInformation: _json, + Author: __expectString, + Category: _json, + CategoryEnum: _json, + CreatedDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + DefaultVersion: __expectString, + Description: __expectString, + DisplayName: __expectString, + DocumentFormat: __expectString, + DocumentType: __expectString, + DocumentVersion: __expectString, + Hash: __expectString, + HashType: __expectString, + LatestVersion: __expectString, + Name: __expectString, + Owner: __expectString, + Parameters: _json, + PendingReviewVersion: __expectString, + PlatformTypes: _json, + Requires: _json, + ReviewInformation: (_) => de_ReviewInformationList(_, context), + ReviewStatus: __expectString, + SchemaVersion: __expectString, + Sha1: __expectString, + Status: __expectString, + StatusInformation: __expectString, + Tags: _json, + TargetType: __expectString, + VersionName: __expectString, + }); +}; +const de_DocumentIdentifier = (output, context) => { + return take(output, { + Author: __expectString, + CreatedDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + DisplayName: __expectString, + DocumentFormat: __expectString, + DocumentType: __expectString, + DocumentVersion: __expectString, + Name: __expectString, + Owner: __expectString, + PlatformTypes: _json, + Requires: _json, + ReviewStatus: __expectString, + SchemaVersion: __expectString, + Tags: _json, + TargetType: __expectString, + VersionName: __expectString, + }); +}; +const de_DocumentIdentifierList = (output, context) => { + const retVal = (output || []) + .filter((e) => e != null) + .map((entry) => { + return de_DocumentIdentifier(entry, context); + }); + return retVal; +}; +const de_DocumentMetadataResponseInfo = (output, context) => { + return take(output, { + ReviewerResponse: (_) => de_DocumentReviewerResponseList(_, context), + }); +}; +const de_DocumentReviewerResponseList = (output, context) => { + const retVal = (output || []) + .filter((e) => e != null) + .map((entry) => { + return de_DocumentReviewerResponseSource(entry, context); + }); + return retVal; +}; +const de_DocumentReviewerResponseSource = (output, context) => { + return take(output, { + Comment: _json, + CreateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + ReviewStatus: __expectString, + Reviewer: __expectString, + UpdatedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + }); +}; +const de_DocumentVersionInfo = (output, context) => { + return take(output, { + CreatedDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + DisplayName: __expectString, + DocumentFormat: __expectString, + DocumentVersion: __expectString, + IsDefaultVersion: __expectBoolean, + Name: __expectString, + ReviewStatus: __expectString, + Status: __expectString, + StatusInformation: __expectString, + VersionName: __expectString, + }); +}; +const de_DocumentVersionList = (output, context) => { + const retVal = (output || []) + .filter((e) => e != null) + .map((entry) => { + return de_DocumentVersionInfo(entry, context); + }); + return retVal; +}; +const de_EffectivePatch = (output, context) => { + return take(output, { + Patch: (_) => de_Patch(_, context), + PatchStatus: (_) => de_PatchStatus(_, context), + }); +}; +const de_EffectivePatchList = (output, context) => { + const retVal = (output || []) + .filter((e) => e != null) + .map((entry) => { + return de_EffectivePatch(entry, context); + }); + return retVal; +}; +const de_GetAutomationExecutionResult = (output, context) => { + return take(output, { + AutomationExecution: (_) => de_AutomationExecution(_, context), + }); +}; +const de_GetDocumentResult = (output, context) => { + return take(output, { + AttachmentsContent: _json, + Content: __expectString, + CreatedDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + DisplayName: __expectString, + DocumentFormat: __expectString, + DocumentType: __expectString, + DocumentVersion: __expectString, + Name: __expectString, + Requires: _json, + ReviewStatus: __expectString, + Status: __expectString, + StatusInformation: __expectString, + VersionName: __expectString, + }); +}; +const de_GetMaintenanceWindowExecutionResult = (output, context) => { + return take(output, { + EndTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + StartTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + Status: __expectString, + StatusDetails: __expectString, + TaskIds: _json, + WindowExecutionId: __expectString, + }); +}; +const de_GetMaintenanceWindowExecutionTaskInvocationResult = (output, context) => { + return take(output, { + EndTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + ExecutionId: __expectString, + InvocationId: __expectString, + OwnerInformation: __expectString, + Parameters: __expectString, + StartTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + Status: __expectString, + StatusDetails: __expectString, + TaskExecutionId: __expectString, + TaskType: __expectString, + WindowExecutionId: __expectString, + WindowTargetId: __expectString, + }); +}; +const de_GetMaintenanceWindowExecutionTaskResult = (output, context) => { + return take(output, { + AlarmConfiguration: _json, + EndTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + MaxConcurrency: __expectString, + MaxErrors: __expectString, + Priority: __expectInt32, + ServiceRole: __expectString, + StartTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + Status: __expectString, + StatusDetails: __expectString, + TaskArn: __expectString, + TaskExecutionId: __expectString, + TaskParameters: _json, + TriggeredAlarms: _json, + Type: __expectString, + WindowExecutionId: __expectString, + }); +}; +const de_GetMaintenanceWindowResult = (output, context) => { + return take(output, { + AllowUnassociatedTargets: __expectBoolean, + CreatedDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + Cutoff: __expectInt32, + Description: __expectString, + Duration: __expectInt32, + Enabled: __expectBoolean, + EndDate: __expectString, + ModifiedDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + Name: __expectString, + NextExecutionTime: __expectString, + Schedule: __expectString, + ScheduleOffset: __expectInt32, + ScheduleTimezone: __expectString, + StartDate: __expectString, + WindowId: __expectString, + }); +}; +const de_GetMaintenanceWindowTaskResult = (output, context) => { + return take(output, { + AlarmConfiguration: _json, + CutoffBehavior: __expectString, + Description: __expectString, + LoggingInfo: _json, + MaxConcurrency: __expectString, + MaxErrors: __expectString, + Name: __expectString, + Priority: __expectInt32, + ServiceRoleArn: __expectString, + Targets: _json, + TaskArn: __expectString, + TaskInvocationParameters: (_) => de_MaintenanceWindowTaskInvocationParameters(_, context), + TaskParameters: _json, + TaskType: __expectString, + WindowId: __expectString, + WindowTaskId: __expectString, + }); +}; +const de_GetOpsItemResponse = (output, context) => { + return take(output, { + OpsItem: (_) => de_OpsItem(_, context), + }); +}; +const de_GetParameterHistoryResult = (output, context) => { + return take(output, { + NextToken: __expectString, + Parameters: (_) => de_ParameterHistoryList(_, context), + }); +}; +const de_GetParameterResult = (output, context) => { + return take(output, { + Parameter: (_) => de_Parameter(_, context), + }); +}; +const de_GetParametersByPathResult = (output, context) => { + return take(output, { + NextToken: __expectString, + Parameters: (_) => de_ParameterList(_, context), + }); +}; +const de_GetParametersResult = (output, context) => { + return take(output, { + InvalidParameters: _json, + Parameters: (_) => de_ParameterList(_, context), + }); +}; +const de_GetPatchBaselineResult = (output, context) => { + return take(output, { + ApprovalRules: _json, + ApprovedPatches: _json, + ApprovedPatchesComplianceLevel: __expectString, + ApprovedPatchesEnableNonSecurity: __expectBoolean, + BaselineId: __expectString, + CreatedDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + Description: __expectString, + GlobalFilters: _json, + ModifiedDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + Name: __expectString, + OperatingSystem: __expectString, + PatchGroups: _json, + RejectedPatches: _json, + RejectedPatchesAction: __expectString, + Sources: _json, + }); +}; +const de_GetServiceSettingResult = (output, context) => { + return take(output, { + ServiceSetting: (_) => de_ServiceSetting(_, context), + }); +}; +const de_InstanceAssociationStatusInfo = (output, context) => { + return take(output, { + AssociationId: __expectString, + AssociationName: __expectString, + AssociationVersion: __expectString, + DetailedStatus: __expectString, + DocumentVersion: __expectString, + ErrorCode: __expectString, + ExecutionDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + ExecutionSummary: __expectString, + InstanceId: __expectString, + Name: __expectString, + OutputUrl: _json, + Status: __expectString, + }); +}; +const de_InstanceAssociationStatusInfos = (output, context) => { + const retVal = (output || []) + .filter((e) => e != null) + .map((entry) => { + return de_InstanceAssociationStatusInfo(entry, context); + }); + return retVal; +}; +const de_InstanceInformation = (output, context) => { + return take(output, { + ActivationId: __expectString, + AgentVersion: __expectString, + AssociationOverview: _json, + AssociationStatus: __expectString, + ComputerName: __expectString, + IPAddress: __expectString, + IamRole: __expectString, + InstanceId: __expectString, + IsLatestVersion: __expectBoolean, + LastAssociationExecutionDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + LastPingDateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + LastSuccessfulAssociationExecutionDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + Name: __expectString, + PingStatus: __expectString, + PlatformName: __expectString, + PlatformType: __expectString, + PlatformVersion: __expectString, + RegistrationDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + ResourceType: __expectString, + SourceId: __expectString, + SourceType: __expectString, + }); +}; +const de_InstanceInformationList = (output, context) => { + const retVal = (output || []) + .filter((e) => e != null) + .map((entry) => { + return de_InstanceInformation(entry, context); + }); + return retVal; +}; +const de_InstancePatchState = (output, context) => { + return take(output, { + BaselineId: __expectString, + CriticalNonCompliantCount: __expectInt32, + FailedCount: __expectInt32, + InstallOverrideList: __expectString, + InstalledCount: __expectInt32, + InstalledOtherCount: __expectInt32, + InstalledPendingRebootCount: __expectInt32, + InstalledRejectedCount: __expectInt32, + InstanceId: __expectString, + LastNoRebootInstallOperationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + MissingCount: __expectInt32, + NotApplicableCount: __expectInt32, + Operation: __expectString, + OperationEndTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + OperationStartTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + OtherNonCompliantCount: __expectInt32, + OwnerInformation: __expectString, + PatchGroup: __expectString, + RebootOption: __expectString, + SecurityNonCompliantCount: __expectInt32, + SnapshotId: __expectString, + UnreportedNotApplicableCount: __expectInt32, + }); +}; +const de_InstancePatchStateList = (output, context) => { + const retVal = (output || []) + .filter((e) => e != null) + .map((entry) => { + return de_InstancePatchState(entry, context); + }); + return retVal; +}; +const de_InstancePatchStatesList = (output, context) => { + const retVal = (output || []) + .filter((e) => e != null) + .map((entry) => { + return de_InstancePatchState(entry, context); + }); + return retVal; +}; +const de_InventoryDeletionsList = (output, context) => { + const retVal = (output || []) + .filter((e) => e != null) + .map((entry) => { + return de_InventoryDeletionStatusItem(entry, context); + }); + return retVal; +}; +const de_InventoryDeletionStatusItem = (output, context) => { + return take(output, { + DeletionId: __expectString, + DeletionStartTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + DeletionSummary: _json, + LastStatus: __expectString, + LastStatusMessage: __expectString, + LastStatusUpdateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + TypeName: __expectString, + }); +}; +const de_ListAssociationsResult = (output, context) => { + return take(output, { + Associations: (_) => de_AssociationList(_, context), + NextToken: __expectString, + }); +}; +const de_ListAssociationVersionsResult = (output, context) => { + return take(output, { + AssociationVersions: (_) => de_AssociationVersionList(_, context), + NextToken: __expectString, + }); +}; +const de_ListCommandInvocationsResult = (output, context) => { + return take(output, { + CommandInvocations: (_) => de_CommandInvocationList(_, context), + NextToken: __expectString, + }); +}; +const de_ListCommandsResult = (output, context) => { + return take(output, { + Commands: (_) => de_CommandList(_, context), + NextToken: __expectString, + }); +}; +const de_ListComplianceItemsResult = (output, context) => { + return take(output, { + ComplianceItems: (_) => de_ComplianceItemList(_, context), + NextToken: __expectString, + }); +}; +const de_ListDocumentMetadataHistoryResponse = (output, context) => { + return take(output, { + Author: __expectString, + DocumentVersion: __expectString, + Metadata: (_) => de_DocumentMetadataResponseInfo(_, context), + Name: __expectString, + NextToken: __expectString, + }); +}; +const de_ListDocumentsResult = (output, context) => { + return take(output, { + DocumentIdentifiers: (_) => de_DocumentIdentifierList(_, context), + NextToken: __expectString, + }); +}; +const de_ListDocumentVersionsResult = (output, context) => { + return take(output, { + DocumentVersions: (_) => de_DocumentVersionList(_, context), + NextToken: __expectString, + }); +}; +const de_ListOpsItemEventsResponse = (output, context) => { + return take(output, { + NextToken: __expectString, + Summaries: (_) => de_OpsItemEventSummaries(_, context), + }); +}; +const de_ListOpsItemRelatedItemsResponse = (output, context) => { + return take(output, { + NextToken: __expectString, + Summaries: (_) => de_OpsItemRelatedItemSummaries(_, context), + }); +}; +const de_ListOpsMetadataResult = (output, context) => { + return take(output, { + NextToken: __expectString, + OpsMetadataList: (_) => de_OpsMetadataList(_, context), + }); +}; +const de_ListResourceComplianceSummariesResult = (output, context) => { + return take(output, { + NextToken: __expectString, + ResourceComplianceSummaryItems: (_) => de_ResourceComplianceSummaryItemList(_, context), + }); +}; +const de_ListResourceDataSyncResult = (output, context) => { + return take(output, { + NextToken: __expectString, + ResourceDataSyncItems: (_) => de_ResourceDataSyncItemList(_, context), + }); +}; +const de_MaintenanceWindowExecution = (output, context) => { + return take(output, { + EndTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + StartTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + Status: __expectString, + StatusDetails: __expectString, + WindowExecutionId: __expectString, + WindowId: __expectString, + }); +}; +const de_MaintenanceWindowExecutionList = (output, context) => { + const retVal = (output || []) + .filter((e) => e != null) + .map((entry) => { + return de_MaintenanceWindowExecution(entry, context); + }); + return retVal; +}; +const de_MaintenanceWindowExecutionTaskIdentity = (output, context) => { + return take(output, { + AlarmConfiguration: _json, + EndTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + StartTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + Status: __expectString, + StatusDetails: __expectString, + TaskArn: __expectString, + TaskExecutionId: __expectString, + TaskType: __expectString, + TriggeredAlarms: _json, + WindowExecutionId: __expectString, + }); +}; +const de_MaintenanceWindowExecutionTaskIdentityList = (output, context) => { + const retVal = (output || []) + .filter((e) => e != null) + .map((entry) => { + return de_MaintenanceWindowExecutionTaskIdentity(entry, context); + }); + return retVal; +}; +const de_MaintenanceWindowExecutionTaskInvocationIdentity = (output, context) => { + return take(output, { + EndTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + ExecutionId: __expectString, + InvocationId: __expectString, + OwnerInformation: __expectString, + Parameters: __expectString, + StartTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + Status: __expectString, + StatusDetails: __expectString, + TaskExecutionId: __expectString, + TaskType: __expectString, + WindowExecutionId: __expectString, + WindowTargetId: __expectString, + }); +}; +const de_MaintenanceWindowExecutionTaskInvocationIdentityList = (output, context) => { + const retVal = (output || []) + .filter((e) => e != null) + .map((entry) => { + return de_MaintenanceWindowExecutionTaskInvocationIdentity(entry, context); + }); + return retVal; +}; +const de_MaintenanceWindowLambdaParameters = (output, context) => { + return take(output, { + ClientContext: __expectString, + Payload: context.base64Decoder, + Qualifier: __expectString, + }); +}; +const de_MaintenanceWindowTaskInvocationParameters = (output, context) => { + return take(output, { + Automation: _json, + Lambda: (_) => de_MaintenanceWindowLambdaParameters(_, context), + RunCommand: _json, + StepFunctions: _json, + }); +}; +const de_OpsItem = (output, context) => { + return take(output, { + ActualEndTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + ActualStartTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + Category: __expectString, + CreatedBy: __expectString, + CreatedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + Description: __expectString, + LastModifiedBy: __expectString, + LastModifiedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + Notifications: _json, + OperationalData: _json, + OpsItemArn: __expectString, + OpsItemId: __expectString, + OpsItemType: __expectString, + PlannedEndTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + PlannedStartTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + Priority: __expectInt32, + RelatedOpsItems: _json, + Severity: __expectString, + Source: __expectString, + Status: __expectString, + Title: __expectString, + Version: __expectString, + }); +}; +const de_OpsItemEventSummaries = (output, context) => { + const retVal = (output || []) + .filter((e) => e != null) + .map((entry) => { + return de_OpsItemEventSummary(entry, context); + }); + return retVal; +}; +const de_OpsItemEventSummary = (output, context) => { + return take(output, { + CreatedBy: _json, + CreatedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + Detail: __expectString, + DetailType: __expectString, + EventId: __expectString, + OpsItemId: __expectString, + Source: __expectString, + }); +}; +const de_OpsItemRelatedItemSummaries = (output, context) => { + const retVal = (output || []) + .filter((e) => e != null) + .map((entry) => { + return de_OpsItemRelatedItemSummary(entry, context); + }); + return retVal; +}; +const de_OpsItemRelatedItemSummary = (output, context) => { + return take(output, { + AssociationId: __expectString, + AssociationType: __expectString, + CreatedBy: _json, + CreatedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + LastModifiedBy: _json, + LastModifiedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + OpsItemId: __expectString, + ResourceType: __expectString, + ResourceUri: __expectString, + }); +}; +const de_OpsItemSummaries = (output, context) => { + const retVal = (output || []) + .filter((e) => e != null) + .map((entry) => { + return de_OpsItemSummary(entry, context); + }); + return retVal; +}; +const de_OpsItemSummary = (output, context) => { + return take(output, { + ActualEndTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + ActualStartTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + Category: __expectString, + CreatedBy: __expectString, + CreatedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + LastModifiedBy: __expectString, + LastModifiedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + OperationalData: _json, + OpsItemId: __expectString, + OpsItemType: __expectString, + PlannedEndTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + PlannedStartTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + Priority: __expectInt32, + Severity: __expectString, + Source: __expectString, + Status: __expectString, + Title: __expectString, + }); +}; +const de_OpsMetadata = (output, context) => { + return take(output, { + CreationDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + LastModifiedDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + LastModifiedUser: __expectString, + OpsMetadataArn: __expectString, + ResourceId: __expectString, + }); +}; +const de_OpsMetadataList = (output, context) => { + const retVal = (output || []) + .filter((e) => e != null) + .map((entry) => { + return de_OpsMetadata(entry, context); + }); + return retVal; +}; +const de_Parameter = (output, context) => { + return take(output, { + ARN: __expectString, + DataType: __expectString, + LastModifiedDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + Name: __expectString, + Selector: __expectString, + SourceResult: __expectString, + Type: __expectString, + Value: __expectString, + Version: __expectLong, + }); +}; +const de_ParameterHistory = (output, context) => { + return take(output, { + AllowedPattern: __expectString, + DataType: __expectString, + Description: __expectString, + KeyId: __expectString, + Labels: _json, + LastModifiedDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + LastModifiedUser: __expectString, + Name: __expectString, + Policies: _json, + Tier: __expectString, + Type: __expectString, + Value: __expectString, + Version: __expectLong, + }); +}; +const de_ParameterHistoryList = (output, context) => { + const retVal = (output || []) + .filter((e) => e != null) + .map((entry) => { + return de_ParameterHistory(entry, context); + }); + return retVal; +}; +const de_ParameterList = (output, context) => { + const retVal = (output || []) + .filter((e) => e != null) + .map((entry) => { + return de_Parameter(entry, context); + }); + return retVal; +}; +const de_ParameterMetadata = (output, context) => { + return take(output, { + AllowedPattern: __expectString, + DataType: __expectString, + Description: __expectString, + KeyId: __expectString, + LastModifiedDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + LastModifiedUser: __expectString, + Name: __expectString, + Policies: _json, + Tier: __expectString, + Type: __expectString, + Version: __expectLong, + }); +}; +const de_ParameterMetadataList = (output, context) => { + const retVal = (output || []) + .filter((e) => e != null) + .map((entry) => { + return de_ParameterMetadata(entry, context); + }); + return retVal; +}; +const de_Patch = (output, context) => { + return take(output, { + AdvisoryIds: _json, + Arch: __expectString, + BugzillaIds: _json, + CVEIds: _json, + Classification: __expectString, + ContentUrl: __expectString, + Description: __expectString, + Epoch: __expectInt32, + Id: __expectString, + KbNumber: __expectString, + Language: __expectString, + MsrcNumber: __expectString, + MsrcSeverity: __expectString, + Name: __expectString, + Product: __expectString, + ProductFamily: __expectString, + Release: __expectString, + ReleaseDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + Repository: __expectString, + Severity: __expectString, + Title: __expectString, + Vendor: __expectString, + Version: __expectString, + }); +}; +const de_PatchComplianceData = (output, context) => { + return take(output, { + CVEIds: __expectString, + Classification: __expectString, + InstalledTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + KBId: __expectString, + Severity: __expectString, + State: __expectString, + Title: __expectString, + }); +}; +const de_PatchComplianceDataList = (output, context) => { + const retVal = (output || []) + .filter((e) => e != null) + .map((entry) => { + return de_PatchComplianceData(entry, context); + }); + return retVal; +}; +const de_PatchList = (output, context) => { + const retVal = (output || []) + .filter((e) => e != null) + .map((entry) => { + return de_Patch(entry, context); + }); + return retVal; +}; +const de_PatchStatus = (output, context) => { + return take(output, { + ApprovalDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + ComplianceLevel: __expectString, + DeploymentStatus: __expectString, + }); +}; +const de_ResetServiceSettingResult = (output, context) => { + return take(output, { + ServiceSetting: (_) => de_ServiceSetting(_, context), + }); +}; +const de_ResourceComplianceSummaryItem = (output, context) => { + return take(output, { + ComplianceType: __expectString, + CompliantSummary: _json, + ExecutionSummary: (_) => de_ComplianceExecutionSummary(_, context), + NonCompliantSummary: _json, + OverallSeverity: __expectString, + ResourceId: __expectString, + ResourceType: __expectString, + Status: __expectString, + }); +}; +const de_ResourceComplianceSummaryItemList = (output, context) => { + const retVal = (output || []) + .filter((e) => e != null) + .map((entry) => { + return de_ResourceComplianceSummaryItem(entry, context); + }); + return retVal; +}; +const de_ResourceDataSyncItem = (output, context) => { + return take(output, { + LastStatus: __expectString, + LastSuccessfulSyncTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + LastSyncStatusMessage: __expectString, + LastSyncTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + S3Destination: _json, + SyncCreatedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + SyncLastModifiedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + SyncName: __expectString, + SyncSource: _json, + SyncType: __expectString, + }); +}; +const de_ResourceDataSyncItemList = (output, context) => { + const retVal = (output || []) + .filter((e) => e != null) + .map((entry) => { + return de_ResourceDataSyncItem(entry, context); + }); + return retVal; +}; +const de_ReviewInformation = (output, context) => { + return take(output, { + ReviewedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + Reviewer: __expectString, + Status: __expectString, + }); +}; +const de_ReviewInformationList = (output, context) => { + const retVal = (output || []) + .filter((e) => e != null) + .map((entry) => { + return de_ReviewInformation(entry, context); + }); + return retVal; +}; +const de_SendCommandResult = (output, context) => { + return take(output, { + Command: (_) => de_Command(_, context), + }); +}; +const de_ServiceSetting = (output, context) => { + return take(output, { + ARN: __expectString, + LastModifiedDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + LastModifiedUser: __expectString, + SettingId: __expectString, + SettingValue: __expectString, + Status: __expectString, + }); +}; +const de_Session = (output, context) => { + return take(output, { + Details: __expectString, + DocumentName: __expectString, + EndDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + MaxSessionDuration: __expectString, + OutputUrl: _json, + Owner: __expectString, + Reason: __expectString, + SessionId: __expectString, + StartDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + Status: __expectString, + Target: __expectString, + }); +}; +const de_SessionList = (output, context) => { + const retVal = (output || []) + .filter((e) => e != null) + .map((entry) => { + return de_Session(entry, context); + }); + return retVal; +}; +const de_StepExecution = (output, context) => { + return take(output, { + Action: __expectString, + ExecutionEndTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + ExecutionStartTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + FailureDetails: _json, + FailureMessage: __expectString, + Inputs: _json, + IsCritical: __expectBoolean, + IsEnd: __expectBoolean, + MaxAttempts: __expectInt32, + NextStep: __expectString, + OnFailure: __expectString, + Outputs: _json, + OverriddenParameters: _json, + ParentStepDetails: _json, + Response: __expectString, + ResponseCode: __expectString, + StepExecutionId: __expectString, + StepName: __expectString, + StepStatus: __expectString, + TargetLocation: _json, + Targets: _json, + TimeoutSeconds: __expectLong, + TriggeredAlarms: _json, + ValidNextSteps: _json, + }); +}; +const de_StepExecutionList = (output, context) => { + const retVal = (output || []) + .filter((e) => e != null) + .map((entry) => { + return de_StepExecution(entry, context); + }); + return retVal; +}; +const de_UpdateAssociationResult = (output, context) => { + return take(output, { + AssociationDescription: (_) => de_AssociationDescription(_, context), + }); +}; +const de_UpdateAssociationStatusResult = (output, context) => { + return take(output, { + AssociationDescription: (_) => de_AssociationDescription(_, context), + }); +}; +const de_UpdateDocumentResult = (output, context) => { + return take(output, { + DocumentDescription: (_) => de_DocumentDescription(_, context), + }); +}; +const de_UpdateMaintenanceWindowTaskResult = (output, context) => { + return take(output, { + AlarmConfiguration: _json, + CutoffBehavior: __expectString, + Description: __expectString, + LoggingInfo: _json, + MaxConcurrency: __expectString, + MaxErrors: __expectString, + Name: __expectString, + Priority: __expectInt32, + ServiceRoleArn: __expectString, + Targets: _json, + TaskArn: __expectString, + TaskInvocationParameters: (_) => de_MaintenanceWindowTaskInvocationParameters(_, context), + TaskParameters: _json, + WindowId: __expectString, + WindowTaskId: __expectString, + }); +}; +const de_UpdatePatchBaselineResult = (output, context) => { + return take(output, { + ApprovalRules: _json, + ApprovedPatches: _json, + ApprovedPatchesComplianceLevel: __expectString, + ApprovedPatchesEnableNonSecurity: __expectBoolean, + BaselineId: __expectString, + CreatedDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + Description: __expectString, + GlobalFilters: _json, + ModifiedDate: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))), + Name: __expectString, + OperatingSystem: __expectString, + RejectedPatches: _json, + RejectedPatchesAction: __expectString, + Sources: _json, + }); +}; +const deserializeMetadata = (output) => ({ + httpStatusCode: output.statusCode, + requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"], + extendedRequestId: output.headers["x-amz-id-2"], + cfId: output.headers["x-amz-cf-id"], +}); +const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body)); +const throwDefaultError = withBaseException(__BaseException); +const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => { + const { hostname, protocol = "https", port, path: basePath } = await context.endpoint(); + const contents = { + protocol, + hostname, + port, + method: "POST", + path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path, + headers, + }; + if (resolvedHostname !== undefined) { + contents.hostname = resolvedHostname; + } + if (body !== undefined) { + contents.body = body; + } + return new __HttpRequest(contents); +}; +function sharedHeaders(operation) { + return { + "content-type": "application/x-amz-json-1.1", + "x-amz-target": `AmazonSSM.${operation}`, + }; +} +const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => { + if (encoded.length) { + return JSON.parse(encoded); + } + return {}; +}); +const parseErrorBody = async (errorBody, context) => { + const value = await parseBody(errorBody, context); + value.message = value.message ?? value.Message; + return value; +}; +const loadRestJsonErrorCode = (output, data) => { + const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase()); + const sanitizeErrorCode = (rawValue) => { + let cleanValue = rawValue; + if (typeof cleanValue === "number") { + cleanValue = cleanValue.toString(); + } + if (cleanValue.indexOf(",") >= 0) { + cleanValue = cleanValue.split(",")[0]; + } + if (cleanValue.indexOf(":") >= 0) { + cleanValue = cleanValue.split(":")[0]; + } + if (cleanValue.indexOf("#") >= 0) { + cleanValue = cleanValue.split("#")[1]; + } + return cleanValue; + }; + const headerKey = findKey(output.headers, "x-amzn-errortype"); + if (headerKey !== undefined) { + return sanitizeErrorCode(output.headers[headerKey]); + } + if (data.code !== undefined) { + return sanitizeErrorCode(data.code); + } + if (data["__type"] !== undefined) { + return sanitizeErrorCode(data["__type"]); + } +}; diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/runtimeConfig.browser.js b/node_modules/@aws-sdk/client-ssm/dist-es/runtimeConfig.browser.js similarity index 92% rename from node_modules/@aws-sdk/client-lambda/dist-es/runtimeConfig.browser.js rename to node_modules/@aws-sdk/client-ssm/dist-es/runtimeConfig.browser.js index 667ac5d4..0794d655 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-es/runtimeConfig.browser.js +++ b/node_modules/@aws-sdk/client-ssm/dist-es/runtimeConfig.browser.js @@ -2,7 +2,6 @@ import packageInfo from "../package.json"; import { Sha256 } from "@aws-crypto/sha256-browser"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser"; import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@smithy/config-resolver"; -import { eventStreamSerdeProvider } from "@smithy/eventstream-serde-browser"; import { FetchHttpHandler as RequestHandler, streamCollector } from "@smithy/fetch-http-handler"; import { invalidProvider } from "@smithy/invalid-dependency"; import { calculateBodyLength } from "@smithy/util-body-length-browser"; @@ -23,7 +22,6 @@ export const getRuntimeConfig = (config) => { credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))), defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), - eventStreamSerdeProvider: config?.eventStreamSerdeProvider ?? eventStreamSerdeProvider, maxAttempts: config?.maxAttempts ?? DEFAULT_MAX_ATTEMPTS, region: config?.region ?? invalidProvider("Region is missing"), requestHandler: config?.requestHandler ?? new RequestHandler(defaultConfigProvider), diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/runtimeConfig.js b/node_modules/@aws-sdk/client-ssm/dist-es/runtimeConfig.js similarity index 94% rename from node_modules/@aws-sdk/client-lambda/dist-es/runtimeConfig.js rename to node_modules/@aws-sdk/client-ssm/dist-es/runtimeConfig.js index 8e84af04..9d18b003 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-es/runtimeConfig.js +++ b/node_modules/@aws-sdk/client-ssm/dist-es/runtimeConfig.js @@ -4,7 +4,6 @@ import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/cor import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node"; import { defaultUserAgent } from "@aws-sdk/util-user-agent-node"; import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@smithy/config-resolver"; -import { eventStreamSerdeProvider } from "@smithy/eventstream-serde-node"; import { Hash } from "@smithy/hash-node"; import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry"; import { loadConfig as loadNodeConfig } from "@smithy/node-config-provider"; @@ -30,7 +29,6 @@ export const getRuntimeConfig = (config) => { credentialDefaultProvider: config?.credentialDefaultProvider ?? decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: config?.defaultUserAgentProvider ?? defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), - eventStreamSerdeProvider: config?.eventStreamSerdeProvider ?? eventStreamSerdeProvider, maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: config?.requestHandler ?? new RequestHandler(defaultConfigProvider), diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/runtimeConfig.native.js b/node_modules/@aws-sdk/client-ssm/dist-es/runtimeConfig.native.js similarity index 100% rename from node_modules/@aws-sdk/client-lambda/dist-es/runtimeConfig.native.js rename to node_modules/@aws-sdk/client-ssm/dist-es/runtimeConfig.native.js diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/runtimeConfig.shared.js b/node_modules/@aws-sdk/client-ssm/dist-es/runtimeConfig.shared.js similarity index 91% rename from node_modules/@aws-sdk/client-lambda/dist-es/runtimeConfig.shared.js rename to node_modules/@aws-sdk/client-ssm/dist-es/runtimeConfig.shared.js index dd62fc5a..a5edd4ea 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-es/runtimeConfig.shared.js +++ b/node_modules/@aws-sdk/client-ssm/dist-es/runtimeConfig.shared.js @@ -5,14 +5,14 @@ import { fromUtf8, toUtf8 } from "@smithy/util-utf8"; import { defaultEndpointResolver } from "./endpoint/endpointResolver"; export const getRuntimeConfig = (config) => { return { - apiVersion: "2015-03-31", + apiVersion: "2014-11-06", base64Decoder: config?.base64Decoder ?? fromBase64, base64Encoder: config?.base64Encoder ?? toBase64, disableHostPrefix: config?.disableHostPrefix ?? false, endpointProvider: config?.endpointProvider ?? defaultEndpointResolver, extensions: config?.extensions ?? [], logger: config?.logger ?? new NoOpLogger(), - serviceId: config?.serviceId ?? "Lambda", + serviceId: config?.serviceId ?? "SSM", urlParser: config?.urlParser ?? parseUrl, utf8Decoder: config?.utf8Decoder ?? fromUtf8, utf8Encoder: config?.utf8Encoder ?? toUtf8, diff --git a/node_modules/@aws-sdk/client-lambda/dist-es/runtimeExtensions.js b/node_modules/@aws-sdk/client-ssm/dist-es/runtimeExtensions.js similarity index 100% rename from node_modules/@aws-sdk/client-lambda/dist-es/runtimeExtensions.js rename to node_modules/@aws-sdk/client-ssm/dist-es/runtimeExtensions.js diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/waiters/index.js b/node_modules/@aws-sdk/client-ssm/dist-es/waiters/index.js new file mode 100644 index 00000000..88427106 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/waiters/index.js @@ -0,0 +1 @@ +export * from "./waitForCommandExecuted"; diff --git a/node_modules/@aws-sdk/client-ssm/dist-es/waiters/waitForCommandExecuted.js b/node_modules/@aws-sdk/client-ssm/dist-es/waiters/waitForCommandExecuted.js new file mode 100644 index 00000000..7ab7764b --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-es/waiters/waitForCommandExecuted.js @@ -0,0 +1,97 @@ +import { checkExceptions, createWaiter, WaiterState } from "@smithy/util-waiter"; +import { GetCommandInvocationCommand } from "../commands/GetCommandInvocationCommand"; +const checkState = async (client, input) => { + let reason; + try { + const result = await client.send(new GetCommandInvocationCommand(input)); + reason = result; + try { + const returnComparator = () => { + return result.Status; + }; + if (returnComparator() === "Pending") { + return { state: WaiterState.RETRY, reason }; + } + } + catch (e) { } + try { + const returnComparator = () => { + return result.Status; + }; + if (returnComparator() === "InProgress") { + return { state: WaiterState.RETRY, reason }; + } + } + catch (e) { } + try { + const returnComparator = () => { + return result.Status; + }; + if (returnComparator() === "Delayed") { + return { state: WaiterState.RETRY, reason }; + } + } + catch (e) { } + try { + const returnComparator = () => { + return result.Status; + }; + if (returnComparator() === "Success") { + return { state: WaiterState.SUCCESS, reason }; + } + } + catch (e) { } + try { + const returnComparator = () => { + return result.Status; + }; + if (returnComparator() === "Cancelled") { + return { state: WaiterState.FAILURE, reason }; + } + } + catch (e) { } + try { + const returnComparator = () => { + return result.Status; + }; + if (returnComparator() === "TimedOut") { + return { state: WaiterState.FAILURE, reason }; + } + } + catch (e) { } + try { + const returnComparator = () => { + return result.Status; + }; + if (returnComparator() === "Failed") { + return { state: WaiterState.FAILURE, reason }; + } + } + catch (e) { } + try { + const returnComparator = () => { + return result.Status; + }; + if (returnComparator() === "Cancelling") { + return { state: WaiterState.FAILURE, reason }; + } + } + catch (e) { } + } + catch (exception) { + reason = exception; + if (exception.name && exception.name == "InvocationDoesNotExist") { + return { state: WaiterState.RETRY, reason }; + } + } + return { state: WaiterState.RETRY, reason }; +}; +export const waitForCommandExecuted = async (params, input) => { + const serviceDefaults = { minDelay: 5, maxDelay: 120 }; + return createWaiter({ ...serviceDefaults, ...params }, input, checkState); +}; +export const waitUntilCommandExecuted = async (params, input) => { + const serviceDefaults = { minDelay: 5, maxDelay: 120 }; + const result = await createWaiter({ ...serviceDefaults, ...params }, input, checkState); + return checkExceptions(result); +}; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/SSM.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/SSM.d.ts new file mode 100644 index 00000000..9b54b8ac --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/SSM.d.ts @@ -0,0 +1,1018 @@ +import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types"; +import { AddTagsToResourceCommandInput, AddTagsToResourceCommandOutput } from "./commands/AddTagsToResourceCommand"; +import { AssociateOpsItemRelatedItemCommandInput, AssociateOpsItemRelatedItemCommandOutput } from "./commands/AssociateOpsItemRelatedItemCommand"; +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 { CreateOpsMetadataCommandInput, CreateOpsMetadataCommandOutput } from "./commands/CreateOpsMetadataCommand"; +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 { DeleteOpsItemCommandInput, DeleteOpsItemCommandOutput } from "./commands/DeleteOpsItemCommand"; +import { DeleteOpsMetadataCommandInput, DeleteOpsMetadataCommandOutput } from "./commands/DeleteOpsMetadataCommand"; +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 { DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput } from "./commands/DeleteResourcePolicyCommand"; +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 { DescribeAssociationExecutionsCommandInput, DescribeAssociationExecutionsCommandOutput } from "./commands/DescribeAssociationExecutionsCommand"; +import { DescribeAssociationExecutionTargetsCommandInput, DescribeAssociationExecutionTargetsCommandOutput } from "./commands/DescribeAssociationExecutionTargetsCommand"; +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 { DescribeInstancePatchesCommandInput, DescribeInstancePatchesCommandOutput } from "./commands/DescribeInstancePatchesCommand"; +import { DescribeInstancePatchStatesCommandInput, DescribeInstancePatchStatesCommandOutput } from "./commands/DescribeInstancePatchStatesCommand"; +import { DescribeInstancePatchStatesForPatchGroupCommandInput, DescribeInstancePatchStatesForPatchGroupCommandOutput } from "./commands/DescribeInstancePatchStatesForPatchGroupCommand"; +import { DescribeInventoryDeletionsCommandInput, DescribeInventoryDeletionsCommandOutput } from "./commands/DescribeInventoryDeletionsCommand"; +import { DescribeMaintenanceWindowExecutionsCommandInput, DescribeMaintenanceWindowExecutionsCommandOutput } from "./commands/DescribeMaintenanceWindowExecutionsCommand"; +import { DescribeMaintenanceWindowExecutionTaskInvocationsCommandInput, DescribeMaintenanceWindowExecutionTaskInvocationsCommandOutput } from "./commands/DescribeMaintenanceWindowExecutionTaskInvocationsCommand"; +import { DescribeMaintenanceWindowExecutionTasksCommandInput, DescribeMaintenanceWindowExecutionTasksCommandOutput } from "./commands/DescribeMaintenanceWindowExecutionTasksCommand"; +import { DescribeMaintenanceWindowScheduleCommandInput, DescribeMaintenanceWindowScheduleCommandOutput } from "./commands/DescribeMaintenanceWindowScheduleCommand"; +import { DescribeMaintenanceWindowsCommandInput, DescribeMaintenanceWindowsCommandOutput } from "./commands/DescribeMaintenanceWindowsCommand"; +import { DescribeMaintenanceWindowsForTargetCommandInput, DescribeMaintenanceWindowsForTargetCommandOutput } from "./commands/DescribeMaintenanceWindowsForTargetCommand"; +import { DescribeMaintenanceWindowTargetsCommandInput, DescribeMaintenanceWindowTargetsCommandOutput } from "./commands/DescribeMaintenanceWindowTargetsCommand"; +import { DescribeMaintenanceWindowTasksCommandInput, DescribeMaintenanceWindowTasksCommandOutput } from "./commands/DescribeMaintenanceWindowTasksCommand"; +import { DescribeOpsItemsCommandInput, DescribeOpsItemsCommandOutput } from "./commands/DescribeOpsItemsCommand"; +import { DescribeParametersCommandInput, DescribeParametersCommandOutput } from "./commands/DescribeParametersCommand"; +import { DescribePatchBaselinesCommandInput, DescribePatchBaselinesCommandOutput } from "./commands/DescribePatchBaselinesCommand"; +import { DescribePatchGroupsCommandInput, DescribePatchGroupsCommandOutput } from "./commands/DescribePatchGroupsCommand"; +import { DescribePatchGroupStateCommandInput, DescribePatchGroupStateCommandOutput } from "./commands/DescribePatchGroupStateCommand"; +import { DescribePatchPropertiesCommandInput, DescribePatchPropertiesCommandOutput } from "./commands/DescribePatchPropertiesCommand"; +import { DescribeSessionsCommandInput, DescribeSessionsCommandOutput } from "./commands/DescribeSessionsCommand"; +import { DisassociateOpsItemRelatedItemCommandInput, DisassociateOpsItemRelatedItemCommandOutput } from "./commands/DisassociateOpsItemRelatedItemCommand"; +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 { GetOpsMetadataCommandInput, GetOpsMetadataCommandOutput } from "./commands/GetOpsMetadataCommand"; +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 { GetResourcePoliciesCommandInput, GetResourcePoliciesCommandOutput } from "./commands/GetResourcePoliciesCommand"; +import { GetServiceSettingCommandInput, GetServiceSettingCommandOutput } from "./commands/GetServiceSettingCommand"; +import { LabelParameterVersionCommandInput, LabelParameterVersionCommandOutput } from "./commands/LabelParameterVersionCommand"; +import { ListAssociationsCommandInput, ListAssociationsCommandOutput } from "./commands/ListAssociationsCommand"; +import { ListAssociationVersionsCommandInput, ListAssociationVersionsCommandOutput } from "./commands/ListAssociationVersionsCommand"; +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 { ListDocumentMetadataHistoryCommandInput, ListDocumentMetadataHistoryCommandOutput } from "./commands/ListDocumentMetadataHistoryCommand"; +import { ListDocumentsCommandInput, ListDocumentsCommandOutput } from "./commands/ListDocumentsCommand"; +import { ListDocumentVersionsCommandInput, ListDocumentVersionsCommandOutput } from "./commands/ListDocumentVersionsCommand"; +import { ListInventoryEntriesCommandInput, ListInventoryEntriesCommandOutput } from "./commands/ListInventoryEntriesCommand"; +import { ListOpsItemEventsCommandInput, ListOpsItemEventsCommandOutput } from "./commands/ListOpsItemEventsCommand"; +import { ListOpsItemRelatedItemsCommandInput, ListOpsItemRelatedItemsCommandOutput } from "./commands/ListOpsItemRelatedItemsCommand"; +import { ListOpsMetadataCommandInput, ListOpsMetadataCommandOutput } from "./commands/ListOpsMetadataCommand"; +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 { PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput } from "./commands/PutResourcePolicyCommand"; +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 { StartChangeRequestExecutionCommandInput, StartChangeRequestExecutionCommandOutput } from "./commands/StartChangeRequestExecutionCommand"; +import { StartSessionCommandInput, StartSessionCommandOutput } from "./commands/StartSessionCommand"; +import { StopAutomationExecutionCommandInput, StopAutomationExecutionCommandOutput } from "./commands/StopAutomationExecutionCommand"; +import { TerminateSessionCommandInput, TerminateSessionCommandOutput } from "./commands/TerminateSessionCommand"; +import { UnlabelParameterVersionCommandInput, UnlabelParameterVersionCommandOutput } from "./commands/UnlabelParameterVersionCommand"; +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 { UpdateDocumentMetadataCommandInput, UpdateDocumentMetadataCommandOutput } from "./commands/UpdateDocumentMetadataCommand"; +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 { UpdateOpsMetadataCommandInput, UpdateOpsMetadataCommandOutput } from "./commands/UpdateOpsMetadataCommand"; +import { UpdatePatchBaselineCommandInput, UpdatePatchBaselineCommandOutput } from "./commands/UpdatePatchBaselineCommand"; +import { UpdateResourceDataSyncCommandInput, UpdateResourceDataSyncCommandOutput } from "./commands/UpdateResourceDataSyncCommand"; +import { UpdateServiceSettingCommandInput, UpdateServiceSettingCommandOutput } from "./commands/UpdateServiceSettingCommand"; +import { SSMClient } from "./SSMClient"; +export interface SSM { + /** + * @see {@link AddTagsToResourceCommand} + */ + addTagsToResource(args: AddTagsToResourceCommandInput, options?: __HttpHandlerOptions): Promise; + addTagsToResource(args: AddTagsToResourceCommandInput, cb: (err: any, data?: AddTagsToResourceCommandOutput) => void): void; + addTagsToResource(args: AddTagsToResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AddTagsToResourceCommandOutput) => void): void; + /** + * @see {@link AssociateOpsItemRelatedItemCommand} + */ + associateOpsItemRelatedItem(args: AssociateOpsItemRelatedItemCommandInput, options?: __HttpHandlerOptions): Promise; + associateOpsItemRelatedItem(args: AssociateOpsItemRelatedItemCommandInput, cb: (err: any, data?: AssociateOpsItemRelatedItemCommandOutput) => void): void; + associateOpsItemRelatedItem(args: AssociateOpsItemRelatedItemCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateOpsItemRelatedItemCommandOutput) => void): void; + /** + * @see {@link CancelCommandCommand} + */ + cancelCommand(args: CancelCommandCommandInput, options?: __HttpHandlerOptions): Promise; + cancelCommand(args: CancelCommandCommandInput, cb: (err: any, data?: CancelCommandCommandOutput) => void): void; + cancelCommand(args: CancelCommandCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CancelCommandCommandOutput) => void): void; + /** + * @see {@link CancelMaintenanceWindowExecutionCommand} + */ + cancelMaintenanceWindowExecution(args: CancelMaintenanceWindowExecutionCommandInput, options?: __HttpHandlerOptions): Promise; + cancelMaintenanceWindowExecution(args: CancelMaintenanceWindowExecutionCommandInput, cb: (err: any, data?: CancelMaintenanceWindowExecutionCommandOutput) => void): void; + cancelMaintenanceWindowExecution(args: CancelMaintenanceWindowExecutionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CancelMaintenanceWindowExecutionCommandOutput) => void): void; + /** + * @see {@link CreateActivationCommand} + */ + createActivation(args: CreateActivationCommandInput, options?: __HttpHandlerOptions): Promise; + createActivation(args: CreateActivationCommandInput, cb: (err: any, data?: CreateActivationCommandOutput) => void): void; + createActivation(args: CreateActivationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateActivationCommandOutput) => void): void; + /** + * @see {@link CreateAssociationCommand} + */ + createAssociation(args: CreateAssociationCommandInput, options?: __HttpHandlerOptions): Promise; + createAssociation(args: CreateAssociationCommandInput, cb: (err: any, data?: CreateAssociationCommandOutput) => void): void; + createAssociation(args: CreateAssociationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAssociationCommandOutput) => void): void; + /** + * @see {@link CreateAssociationBatchCommand} + */ + createAssociationBatch(args: CreateAssociationBatchCommandInput, options?: __HttpHandlerOptions): Promise; + createAssociationBatch(args: CreateAssociationBatchCommandInput, cb: (err: any, data?: CreateAssociationBatchCommandOutput) => void): void; + createAssociationBatch(args: CreateAssociationBatchCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateAssociationBatchCommandOutput) => void): void; + /** + * @see {@link CreateDocumentCommand} + */ + createDocument(args: CreateDocumentCommandInput, options?: __HttpHandlerOptions): Promise; + createDocument(args: CreateDocumentCommandInput, cb: (err: any, data?: CreateDocumentCommandOutput) => void): void; + createDocument(args: CreateDocumentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateDocumentCommandOutput) => void): void; + /** + * @see {@link CreateMaintenanceWindowCommand} + */ + createMaintenanceWindow(args: CreateMaintenanceWindowCommandInput, options?: __HttpHandlerOptions): Promise; + createMaintenanceWindow(args: CreateMaintenanceWindowCommandInput, cb: (err: any, data?: CreateMaintenanceWindowCommandOutput) => void): void; + createMaintenanceWindow(args: CreateMaintenanceWindowCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateMaintenanceWindowCommandOutput) => void): void; + /** + * @see {@link CreateOpsItemCommand} + */ + createOpsItem(args: CreateOpsItemCommandInput, options?: __HttpHandlerOptions): Promise; + createOpsItem(args: CreateOpsItemCommandInput, cb: (err: any, data?: CreateOpsItemCommandOutput) => void): void; + createOpsItem(args: CreateOpsItemCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateOpsItemCommandOutput) => void): void; + /** + * @see {@link CreateOpsMetadataCommand} + */ + createOpsMetadata(args: CreateOpsMetadataCommandInput, options?: __HttpHandlerOptions): Promise; + createOpsMetadata(args: CreateOpsMetadataCommandInput, cb: (err: any, data?: CreateOpsMetadataCommandOutput) => void): void; + createOpsMetadata(args: CreateOpsMetadataCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateOpsMetadataCommandOutput) => void): void; + /** + * @see {@link CreatePatchBaselineCommand} + */ + createPatchBaseline(args: CreatePatchBaselineCommandInput, options?: __HttpHandlerOptions): Promise; + createPatchBaseline(args: CreatePatchBaselineCommandInput, cb: (err: any, data?: CreatePatchBaselineCommandOutput) => void): void; + createPatchBaseline(args: CreatePatchBaselineCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreatePatchBaselineCommandOutput) => void): void; + /** + * @see {@link CreateResourceDataSyncCommand} + */ + createResourceDataSync(args: CreateResourceDataSyncCommandInput, options?: __HttpHandlerOptions): Promise; + createResourceDataSync(args: CreateResourceDataSyncCommandInput, cb: (err: any, data?: CreateResourceDataSyncCommandOutput) => void): void; + createResourceDataSync(args: CreateResourceDataSyncCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateResourceDataSyncCommandOutput) => void): void; + /** + * @see {@link DeleteActivationCommand} + */ + deleteActivation(args: DeleteActivationCommandInput, options?: __HttpHandlerOptions): Promise; + deleteActivation(args: DeleteActivationCommandInput, cb: (err: any, data?: DeleteActivationCommandOutput) => void): void; + deleteActivation(args: DeleteActivationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteActivationCommandOutput) => void): void; + /** + * @see {@link DeleteAssociationCommand} + */ + deleteAssociation(args: DeleteAssociationCommandInput, options?: __HttpHandlerOptions): Promise; + deleteAssociation(args: DeleteAssociationCommandInput, cb: (err: any, data?: DeleteAssociationCommandOutput) => void): void; + deleteAssociation(args: DeleteAssociationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteAssociationCommandOutput) => void): void; + /** + * @see {@link DeleteDocumentCommand} + */ + deleteDocument(args: DeleteDocumentCommandInput, options?: __HttpHandlerOptions): Promise; + deleteDocument(args: DeleteDocumentCommandInput, cb: (err: any, data?: DeleteDocumentCommandOutput) => void): void; + deleteDocument(args: DeleteDocumentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteDocumentCommandOutput) => void): void; + /** + * @see {@link DeleteInventoryCommand} + */ + deleteInventory(args: DeleteInventoryCommandInput, options?: __HttpHandlerOptions): Promise; + deleteInventory(args: DeleteInventoryCommandInput, cb: (err: any, data?: DeleteInventoryCommandOutput) => void): void; + deleteInventory(args: DeleteInventoryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteInventoryCommandOutput) => void): void; + /** + * @see {@link DeleteMaintenanceWindowCommand} + */ + deleteMaintenanceWindow(args: DeleteMaintenanceWindowCommandInput, options?: __HttpHandlerOptions): Promise; + deleteMaintenanceWindow(args: DeleteMaintenanceWindowCommandInput, cb: (err: any, data?: DeleteMaintenanceWindowCommandOutput) => void): void; + deleteMaintenanceWindow(args: DeleteMaintenanceWindowCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteMaintenanceWindowCommandOutput) => void): void; + /** + * @see {@link DeleteOpsItemCommand} + */ + deleteOpsItem(args: DeleteOpsItemCommandInput, options?: __HttpHandlerOptions): Promise; + deleteOpsItem(args: DeleteOpsItemCommandInput, cb: (err: any, data?: DeleteOpsItemCommandOutput) => void): void; + deleteOpsItem(args: DeleteOpsItemCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteOpsItemCommandOutput) => void): void; + /** + * @see {@link DeleteOpsMetadataCommand} + */ + deleteOpsMetadata(args: DeleteOpsMetadataCommandInput, options?: __HttpHandlerOptions): Promise; + deleteOpsMetadata(args: DeleteOpsMetadataCommandInput, cb: (err: any, data?: DeleteOpsMetadataCommandOutput) => void): void; + deleteOpsMetadata(args: DeleteOpsMetadataCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteOpsMetadataCommandOutput) => void): void; + /** + * @see {@link DeleteParameterCommand} + */ + deleteParameter(args: DeleteParameterCommandInput, options?: __HttpHandlerOptions): Promise; + deleteParameter(args: DeleteParameterCommandInput, cb: (err: any, data?: DeleteParameterCommandOutput) => void): void; + deleteParameter(args: DeleteParameterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteParameterCommandOutput) => void): void; + /** + * @see {@link DeleteParametersCommand} + */ + deleteParameters(args: DeleteParametersCommandInput, options?: __HttpHandlerOptions): Promise; + deleteParameters(args: DeleteParametersCommandInput, cb: (err: any, data?: DeleteParametersCommandOutput) => void): void; + deleteParameters(args: DeleteParametersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteParametersCommandOutput) => void): void; + /** + * @see {@link DeletePatchBaselineCommand} + */ + deletePatchBaseline(args: DeletePatchBaselineCommandInput, options?: __HttpHandlerOptions): Promise; + deletePatchBaseline(args: DeletePatchBaselineCommandInput, cb: (err: any, data?: DeletePatchBaselineCommandOutput) => void): void; + deletePatchBaseline(args: DeletePatchBaselineCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeletePatchBaselineCommandOutput) => void): void; + /** + * @see {@link DeleteResourceDataSyncCommand} + */ + deleteResourceDataSync(args: DeleteResourceDataSyncCommandInput, options?: __HttpHandlerOptions): Promise; + deleteResourceDataSync(args: DeleteResourceDataSyncCommandInput, cb: (err: any, data?: DeleteResourceDataSyncCommandOutput) => void): void; + deleteResourceDataSync(args: DeleteResourceDataSyncCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteResourceDataSyncCommandOutput) => void): void; + /** + * @see {@link DeleteResourcePolicyCommand} + */ + deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, options?: __HttpHandlerOptions): Promise; + deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void): void; + deleteResourcePolicy(args: DeleteResourcePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void): void; + /** + * @see {@link DeregisterManagedInstanceCommand} + */ + deregisterManagedInstance(args: DeregisterManagedInstanceCommandInput, options?: __HttpHandlerOptions): Promise; + deregisterManagedInstance(args: DeregisterManagedInstanceCommandInput, cb: (err: any, data?: DeregisterManagedInstanceCommandOutput) => void): void; + deregisterManagedInstance(args: DeregisterManagedInstanceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeregisterManagedInstanceCommandOutput) => void): void; + /** + * @see {@link DeregisterPatchBaselineForPatchGroupCommand} + */ + deregisterPatchBaselineForPatchGroup(args: DeregisterPatchBaselineForPatchGroupCommandInput, options?: __HttpHandlerOptions): Promise; + deregisterPatchBaselineForPatchGroup(args: DeregisterPatchBaselineForPatchGroupCommandInput, cb: (err: any, data?: DeregisterPatchBaselineForPatchGroupCommandOutput) => void): void; + deregisterPatchBaselineForPatchGroup(args: DeregisterPatchBaselineForPatchGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeregisterPatchBaselineForPatchGroupCommandOutput) => void): void; + /** + * @see {@link DeregisterTargetFromMaintenanceWindowCommand} + */ + deregisterTargetFromMaintenanceWindow(args: DeregisterTargetFromMaintenanceWindowCommandInput, options?: __HttpHandlerOptions): Promise; + deregisterTargetFromMaintenanceWindow(args: DeregisterTargetFromMaintenanceWindowCommandInput, cb: (err: any, data?: DeregisterTargetFromMaintenanceWindowCommandOutput) => void): void; + deregisterTargetFromMaintenanceWindow(args: DeregisterTargetFromMaintenanceWindowCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeregisterTargetFromMaintenanceWindowCommandOutput) => void): void; + /** + * @see {@link DeregisterTaskFromMaintenanceWindowCommand} + */ + deregisterTaskFromMaintenanceWindow(args: DeregisterTaskFromMaintenanceWindowCommandInput, options?: __HttpHandlerOptions): Promise; + deregisterTaskFromMaintenanceWindow(args: DeregisterTaskFromMaintenanceWindowCommandInput, cb: (err: any, data?: DeregisterTaskFromMaintenanceWindowCommandOutput) => void): void; + deregisterTaskFromMaintenanceWindow(args: DeregisterTaskFromMaintenanceWindowCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeregisterTaskFromMaintenanceWindowCommandOutput) => void): void; + /** + * @see {@link DescribeActivationsCommand} + */ + describeActivations(args: DescribeActivationsCommandInput, options?: __HttpHandlerOptions): Promise; + describeActivations(args: DescribeActivationsCommandInput, cb: (err: any, data?: DescribeActivationsCommandOutput) => void): void; + describeActivations(args: DescribeActivationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeActivationsCommandOutput) => void): void; + /** + * @see {@link DescribeAssociationCommand} + */ + describeAssociation(args: DescribeAssociationCommandInput, options?: __HttpHandlerOptions): Promise; + describeAssociation(args: DescribeAssociationCommandInput, cb: (err: any, data?: DescribeAssociationCommandOutput) => void): void; + describeAssociation(args: DescribeAssociationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeAssociationCommandOutput) => void): void; + /** + * @see {@link DescribeAssociationExecutionsCommand} + */ + describeAssociationExecutions(args: DescribeAssociationExecutionsCommandInput, options?: __HttpHandlerOptions): Promise; + describeAssociationExecutions(args: DescribeAssociationExecutionsCommandInput, cb: (err: any, data?: DescribeAssociationExecutionsCommandOutput) => void): void; + describeAssociationExecutions(args: DescribeAssociationExecutionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeAssociationExecutionsCommandOutput) => void): void; + /** + * @see {@link DescribeAssociationExecutionTargetsCommand} + */ + describeAssociationExecutionTargets(args: DescribeAssociationExecutionTargetsCommandInput, options?: __HttpHandlerOptions): Promise; + describeAssociationExecutionTargets(args: DescribeAssociationExecutionTargetsCommandInput, cb: (err: any, data?: DescribeAssociationExecutionTargetsCommandOutput) => void): void; + describeAssociationExecutionTargets(args: DescribeAssociationExecutionTargetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeAssociationExecutionTargetsCommandOutput) => void): void; + /** + * @see {@link DescribeAutomationExecutionsCommand} + */ + describeAutomationExecutions(args: DescribeAutomationExecutionsCommandInput, options?: __HttpHandlerOptions): Promise; + describeAutomationExecutions(args: DescribeAutomationExecutionsCommandInput, cb: (err: any, data?: DescribeAutomationExecutionsCommandOutput) => void): void; + describeAutomationExecutions(args: DescribeAutomationExecutionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeAutomationExecutionsCommandOutput) => void): void; + /** + * @see {@link DescribeAutomationStepExecutionsCommand} + */ + describeAutomationStepExecutions(args: DescribeAutomationStepExecutionsCommandInput, options?: __HttpHandlerOptions): Promise; + describeAutomationStepExecutions(args: DescribeAutomationStepExecutionsCommandInput, cb: (err: any, data?: DescribeAutomationStepExecutionsCommandOutput) => void): void; + describeAutomationStepExecutions(args: DescribeAutomationStepExecutionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeAutomationStepExecutionsCommandOutput) => void): void; + /** + * @see {@link DescribeAvailablePatchesCommand} + */ + describeAvailablePatches(args: DescribeAvailablePatchesCommandInput, options?: __HttpHandlerOptions): Promise; + describeAvailablePatches(args: DescribeAvailablePatchesCommandInput, cb: (err: any, data?: DescribeAvailablePatchesCommandOutput) => void): void; + describeAvailablePatches(args: DescribeAvailablePatchesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeAvailablePatchesCommandOutput) => void): void; + /** + * @see {@link DescribeDocumentCommand} + */ + describeDocument(args: DescribeDocumentCommandInput, options?: __HttpHandlerOptions): Promise; + describeDocument(args: DescribeDocumentCommandInput, cb: (err: any, data?: DescribeDocumentCommandOutput) => void): void; + describeDocument(args: DescribeDocumentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeDocumentCommandOutput) => void): void; + /** + * @see {@link DescribeDocumentPermissionCommand} + */ + describeDocumentPermission(args: DescribeDocumentPermissionCommandInput, options?: __HttpHandlerOptions): Promise; + describeDocumentPermission(args: DescribeDocumentPermissionCommandInput, cb: (err: any, data?: DescribeDocumentPermissionCommandOutput) => void): void; + describeDocumentPermission(args: DescribeDocumentPermissionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeDocumentPermissionCommandOutput) => void): void; + /** + * @see {@link DescribeEffectiveInstanceAssociationsCommand} + */ + describeEffectiveInstanceAssociations(args: DescribeEffectiveInstanceAssociationsCommandInput, options?: __HttpHandlerOptions): Promise; + describeEffectiveInstanceAssociations(args: DescribeEffectiveInstanceAssociationsCommandInput, cb: (err: any, data?: DescribeEffectiveInstanceAssociationsCommandOutput) => void): void; + describeEffectiveInstanceAssociations(args: DescribeEffectiveInstanceAssociationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeEffectiveInstanceAssociationsCommandOutput) => void): void; + /** + * @see {@link DescribeEffectivePatchesForPatchBaselineCommand} + */ + describeEffectivePatchesForPatchBaseline(args: DescribeEffectivePatchesForPatchBaselineCommandInput, options?: __HttpHandlerOptions): Promise; + describeEffectivePatchesForPatchBaseline(args: DescribeEffectivePatchesForPatchBaselineCommandInput, cb: (err: any, data?: DescribeEffectivePatchesForPatchBaselineCommandOutput) => void): void; + describeEffectivePatchesForPatchBaseline(args: DescribeEffectivePatchesForPatchBaselineCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeEffectivePatchesForPatchBaselineCommandOutput) => void): void; + /** + * @see {@link DescribeInstanceAssociationsStatusCommand} + */ + describeInstanceAssociationsStatus(args: DescribeInstanceAssociationsStatusCommandInput, options?: __HttpHandlerOptions): Promise; + describeInstanceAssociationsStatus(args: DescribeInstanceAssociationsStatusCommandInput, cb: (err: any, data?: DescribeInstanceAssociationsStatusCommandOutput) => void): void; + describeInstanceAssociationsStatus(args: DescribeInstanceAssociationsStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeInstanceAssociationsStatusCommandOutput) => void): void; + /** + * @see {@link DescribeInstanceInformationCommand} + */ + describeInstanceInformation(args: DescribeInstanceInformationCommandInput, options?: __HttpHandlerOptions): Promise; + describeInstanceInformation(args: DescribeInstanceInformationCommandInput, cb: (err: any, data?: DescribeInstanceInformationCommandOutput) => void): void; + describeInstanceInformation(args: DescribeInstanceInformationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeInstanceInformationCommandOutput) => void): void; + /** + * @see {@link DescribeInstancePatchesCommand} + */ + describeInstancePatches(args: DescribeInstancePatchesCommandInput, options?: __HttpHandlerOptions): Promise; + describeInstancePatches(args: DescribeInstancePatchesCommandInput, cb: (err: any, data?: DescribeInstancePatchesCommandOutput) => void): void; + describeInstancePatches(args: DescribeInstancePatchesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeInstancePatchesCommandOutput) => void): void; + /** + * @see {@link DescribeInstancePatchStatesCommand} + */ + describeInstancePatchStates(args: DescribeInstancePatchStatesCommandInput, options?: __HttpHandlerOptions): Promise; + describeInstancePatchStates(args: DescribeInstancePatchStatesCommandInput, cb: (err: any, data?: DescribeInstancePatchStatesCommandOutput) => void): void; + describeInstancePatchStates(args: DescribeInstancePatchStatesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeInstancePatchStatesCommandOutput) => void): void; + /** + * @see {@link DescribeInstancePatchStatesForPatchGroupCommand} + */ + describeInstancePatchStatesForPatchGroup(args: DescribeInstancePatchStatesForPatchGroupCommandInput, options?: __HttpHandlerOptions): Promise; + describeInstancePatchStatesForPatchGroup(args: DescribeInstancePatchStatesForPatchGroupCommandInput, cb: (err: any, data?: DescribeInstancePatchStatesForPatchGroupCommandOutput) => void): void; + describeInstancePatchStatesForPatchGroup(args: DescribeInstancePatchStatesForPatchGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeInstancePatchStatesForPatchGroupCommandOutput) => void): void; + /** + * @see {@link DescribeInventoryDeletionsCommand} + */ + describeInventoryDeletions(args: DescribeInventoryDeletionsCommandInput, options?: __HttpHandlerOptions): Promise; + describeInventoryDeletions(args: DescribeInventoryDeletionsCommandInput, cb: (err: any, data?: DescribeInventoryDeletionsCommandOutput) => void): void; + describeInventoryDeletions(args: DescribeInventoryDeletionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeInventoryDeletionsCommandOutput) => void): void; + /** + * @see {@link DescribeMaintenanceWindowExecutionsCommand} + */ + describeMaintenanceWindowExecutions(args: DescribeMaintenanceWindowExecutionsCommandInput, options?: __HttpHandlerOptions): Promise; + describeMaintenanceWindowExecutions(args: DescribeMaintenanceWindowExecutionsCommandInput, cb: (err: any, data?: DescribeMaintenanceWindowExecutionsCommandOutput) => void): void; + describeMaintenanceWindowExecutions(args: DescribeMaintenanceWindowExecutionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeMaintenanceWindowExecutionsCommandOutput) => void): void; + /** + * @see {@link DescribeMaintenanceWindowExecutionTaskInvocationsCommand} + */ + describeMaintenanceWindowExecutionTaskInvocations(args: DescribeMaintenanceWindowExecutionTaskInvocationsCommandInput, options?: __HttpHandlerOptions): Promise; + describeMaintenanceWindowExecutionTaskInvocations(args: DescribeMaintenanceWindowExecutionTaskInvocationsCommandInput, cb: (err: any, data?: DescribeMaintenanceWindowExecutionTaskInvocationsCommandOutput) => void): void; + describeMaintenanceWindowExecutionTaskInvocations(args: DescribeMaintenanceWindowExecutionTaskInvocationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeMaintenanceWindowExecutionTaskInvocationsCommandOutput) => void): void; + /** + * @see {@link DescribeMaintenanceWindowExecutionTasksCommand} + */ + describeMaintenanceWindowExecutionTasks(args: DescribeMaintenanceWindowExecutionTasksCommandInput, options?: __HttpHandlerOptions): Promise; + describeMaintenanceWindowExecutionTasks(args: DescribeMaintenanceWindowExecutionTasksCommandInput, cb: (err: any, data?: DescribeMaintenanceWindowExecutionTasksCommandOutput) => void): void; + describeMaintenanceWindowExecutionTasks(args: DescribeMaintenanceWindowExecutionTasksCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeMaintenanceWindowExecutionTasksCommandOutput) => void): void; + /** + * @see {@link DescribeMaintenanceWindowsCommand} + */ + describeMaintenanceWindows(args: DescribeMaintenanceWindowsCommandInput, options?: __HttpHandlerOptions): Promise; + describeMaintenanceWindows(args: DescribeMaintenanceWindowsCommandInput, cb: (err: any, data?: DescribeMaintenanceWindowsCommandOutput) => void): void; + describeMaintenanceWindows(args: DescribeMaintenanceWindowsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeMaintenanceWindowsCommandOutput) => void): void; + /** + * @see {@link DescribeMaintenanceWindowScheduleCommand} + */ + describeMaintenanceWindowSchedule(args: DescribeMaintenanceWindowScheduleCommandInput, options?: __HttpHandlerOptions): Promise; + describeMaintenanceWindowSchedule(args: DescribeMaintenanceWindowScheduleCommandInput, cb: (err: any, data?: DescribeMaintenanceWindowScheduleCommandOutput) => void): void; + describeMaintenanceWindowSchedule(args: DescribeMaintenanceWindowScheduleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeMaintenanceWindowScheduleCommandOutput) => void): void; + /** + * @see {@link DescribeMaintenanceWindowsForTargetCommand} + */ + describeMaintenanceWindowsForTarget(args: DescribeMaintenanceWindowsForTargetCommandInput, options?: __HttpHandlerOptions): Promise; + describeMaintenanceWindowsForTarget(args: DescribeMaintenanceWindowsForTargetCommandInput, cb: (err: any, data?: DescribeMaintenanceWindowsForTargetCommandOutput) => void): void; + describeMaintenanceWindowsForTarget(args: DescribeMaintenanceWindowsForTargetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeMaintenanceWindowsForTargetCommandOutput) => void): void; + /** + * @see {@link DescribeMaintenanceWindowTargetsCommand} + */ + describeMaintenanceWindowTargets(args: DescribeMaintenanceWindowTargetsCommandInput, options?: __HttpHandlerOptions): Promise; + describeMaintenanceWindowTargets(args: DescribeMaintenanceWindowTargetsCommandInput, cb: (err: any, data?: DescribeMaintenanceWindowTargetsCommandOutput) => void): void; + describeMaintenanceWindowTargets(args: DescribeMaintenanceWindowTargetsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeMaintenanceWindowTargetsCommandOutput) => void): void; + /** + * @see {@link DescribeMaintenanceWindowTasksCommand} + */ + describeMaintenanceWindowTasks(args: DescribeMaintenanceWindowTasksCommandInput, options?: __HttpHandlerOptions): Promise; + describeMaintenanceWindowTasks(args: DescribeMaintenanceWindowTasksCommandInput, cb: (err: any, data?: DescribeMaintenanceWindowTasksCommandOutput) => void): void; + describeMaintenanceWindowTasks(args: DescribeMaintenanceWindowTasksCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeMaintenanceWindowTasksCommandOutput) => void): void; + /** + * @see {@link DescribeOpsItemsCommand} + */ + describeOpsItems(args: DescribeOpsItemsCommandInput, options?: __HttpHandlerOptions): Promise; + describeOpsItems(args: DescribeOpsItemsCommandInput, cb: (err: any, data?: DescribeOpsItemsCommandOutput) => void): void; + describeOpsItems(args: DescribeOpsItemsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeOpsItemsCommandOutput) => void): void; + /** + * @see {@link DescribeParametersCommand} + */ + describeParameters(args: DescribeParametersCommandInput, options?: __HttpHandlerOptions): Promise; + describeParameters(args: DescribeParametersCommandInput, cb: (err: any, data?: DescribeParametersCommandOutput) => void): void; + describeParameters(args: DescribeParametersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeParametersCommandOutput) => void): void; + /** + * @see {@link DescribePatchBaselinesCommand} + */ + describePatchBaselines(args: DescribePatchBaselinesCommandInput, options?: __HttpHandlerOptions): Promise; + describePatchBaselines(args: DescribePatchBaselinesCommandInput, cb: (err: any, data?: DescribePatchBaselinesCommandOutput) => void): void; + describePatchBaselines(args: DescribePatchBaselinesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribePatchBaselinesCommandOutput) => void): void; + /** + * @see {@link DescribePatchGroupsCommand} + */ + describePatchGroups(args: DescribePatchGroupsCommandInput, options?: __HttpHandlerOptions): Promise; + describePatchGroups(args: DescribePatchGroupsCommandInput, cb: (err: any, data?: DescribePatchGroupsCommandOutput) => void): void; + describePatchGroups(args: DescribePatchGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribePatchGroupsCommandOutput) => void): void; + /** + * @see {@link DescribePatchGroupStateCommand} + */ + describePatchGroupState(args: DescribePatchGroupStateCommandInput, options?: __HttpHandlerOptions): Promise; + describePatchGroupState(args: DescribePatchGroupStateCommandInput, cb: (err: any, data?: DescribePatchGroupStateCommandOutput) => void): void; + describePatchGroupState(args: DescribePatchGroupStateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribePatchGroupStateCommandOutput) => void): void; + /** + * @see {@link DescribePatchPropertiesCommand} + */ + describePatchProperties(args: DescribePatchPropertiesCommandInput, options?: __HttpHandlerOptions): Promise; + describePatchProperties(args: DescribePatchPropertiesCommandInput, cb: (err: any, data?: DescribePatchPropertiesCommandOutput) => void): void; + describePatchProperties(args: DescribePatchPropertiesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribePatchPropertiesCommandOutput) => void): void; + /** + * @see {@link DescribeSessionsCommand} + */ + describeSessions(args: DescribeSessionsCommandInput, options?: __HttpHandlerOptions): Promise; + describeSessions(args: DescribeSessionsCommandInput, cb: (err: any, data?: DescribeSessionsCommandOutput) => void): void; + describeSessions(args: DescribeSessionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeSessionsCommandOutput) => void): void; + /** + * @see {@link DisassociateOpsItemRelatedItemCommand} + */ + disassociateOpsItemRelatedItem(args: DisassociateOpsItemRelatedItemCommandInput, options?: __HttpHandlerOptions): Promise; + disassociateOpsItemRelatedItem(args: DisassociateOpsItemRelatedItemCommandInput, cb: (err: any, data?: DisassociateOpsItemRelatedItemCommandOutput) => void): void; + disassociateOpsItemRelatedItem(args: DisassociateOpsItemRelatedItemCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateOpsItemRelatedItemCommandOutput) => void): void; + /** + * @see {@link GetAutomationExecutionCommand} + */ + getAutomationExecution(args: GetAutomationExecutionCommandInput, options?: __HttpHandlerOptions): Promise; + getAutomationExecution(args: GetAutomationExecutionCommandInput, cb: (err: any, data?: GetAutomationExecutionCommandOutput) => void): void; + getAutomationExecution(args: GetAutomationExecutionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAutomationExecutionCommandOutput) => void): void; + /** + * @see {@link GetCalendarStateCommand} + */ + getCalendarState(args: GetCalendarStateCommandInput, options?: __HttpHandlerOptions): Promise; + getCalendarState(args: GetCalendarStateCommandInput, cb: (err: any, data?: GetCalendarStateCommandOutput) => void): void; + getCalendarState(args: GetCalendarStateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCalendarStateCommandOutput) => void): void; + /** + * @see {@link GetCommandInvocationCommand} + */ + getCommandInvocation(args: GetCommandInvocationCommandInput, options?: __HttpHandlerOptions): Promise; + getCommandInvocation(args: GetCommandInvocationCommandInput, cb: (err: any, data?: GetCommandInvocationCommandOutput) => void): void; + getCommandInvocation(args: GetCommandInvocationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCommandInvocationCommandOutput) => void): void; + /** + * @see {@link GetConnectionStatusCommand} + */ + getConnectionStatus(args: GetConnectionStatusCommandInput, options?: __HttpHandlerOptions): Promise; + getConnectionStatus(args: GetConnectionStatusCommandInput, cb: (err: any, data?: GetConnectionStatusCommandOutput) => void): void; + getConnectionStatus(args: GetConnectionStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetConnectionStatusCommandOutput) => void): void; + /** + * @see {@link GetDefaultPatchBaselineCommand} + */ + getDefaultPatchBaseline(args: GetDefaultPatchBaselineCommandInput, options?: __HttpHandlerOptions): Promise; + getDefaultPatchBaseline(args: GetDefaultPatchBaselineCommandInput, cb: (err: any, data?: GetDefaultPatchBaselineCommandOutput) => void): void; + getDefaultPatchBaseline(args: GetDefaultPatchBaselineCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDefaultPatchBaselineCommandOutput) => void): void; + /** + * @see {@link GetDeployablePatchSnapshotForInstanceCommand} + */ + getDeployablePatchSnapshotForInstance(args: GetDeployablePatchSnapshotForInstanceCommandInput, options?: __HttpHandlerOptions): Promise; + getDeployablePatchSnapshotForInstance(args: GetDeployablePatchSnapshotForInstanceCommandInput, cb: (err: any, data?: GetDeployablePatchSnapshotForInstanceCommandOutput) => void): void; + getDeployablePatchSnapshotForInstance(args: GetDeployablePatchSnapshotForInstanceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDeployablePatchSnapshotForInstanceCommandOutput) => void): void; + /** + * @see {@link GetDocumentCommand} + */ + getDocument(args: GetDocumentCommandInput, options?: __HttpHandlerOptions): Promise; + getDocument(args: GetDocumentCommandInput, cb: (err: any, data?: GetDocumentCommandOutput) => void): void; + getDocument(args: GetDocumentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDocumentCommandOutput) => void): void; + /** + * @see {@link GetInventoryCommand} + */ + getInventory(args: GetInventoryCommandInput, options?: __HttpHandlerOptions): Promise; + getInventory(args: GetInventoryCommandInput, cb: (err: any, data?: GetInventoryCommandOutput) => void): void; + getInventory(args: GetInventoryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetInventoryCommandOutput) => void): void; + /** + * @see {@link GetInventorySchemaCommand} + */ + getInventorySchema(args: GetInventorySchemaCommandInput, options?: __HttpHandlerOptions): Promise; + getInventorySchema(args: GetInventorySchemaCommandInput, cb: (err: any, data?: GetInventorySchemaCommandOutput) => void): void; + getInventorySchema(args: GetInventorySchemaCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetInventorySchemaCommandOutput) => void): void; + /** + * @see {@link GetMaintenanceWindowCommand} + */ + getMaintenanceWindow(args: GetMaintenanceWindowCommandInput, options?: __HttpHandlerOptions): Promise; + getMaintenanceWindow(args: GetMaintenanceWindowCommandInput, cb: (err: any, data?: GetMaintenanceWindowCommandOutput) => void): void; + getMaintenanceWindow(args: GetMaintenanceWindowCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetMaintenanceWindowCommandOutput) => void): void; + /** + * @see {@link GetMaintenanceWindowExecutionCommand} + */ + getMaintenanceWindowExecution(args: GetMaintenanceWindowExecutionCommandInput, options?: __HttpHandlerOptions): Promise; + getMaintenanceWindowExecution(args: GetMaintenanceWindowExecutionCommandInput, cb: (err: any, data?: GetMaintenanceWindowExecutionCommandOutput) => void): void; + getMaintenanceWindowExecution(args: GetMaintenanceWindowExecutionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetMaintenanceWindowExecutionCommandOutput) => void): void; + /** + * @see {@link GetMaintenanceWindowExecutionTaskCommand} + */ + getMaintenanceWindowExecutionTask(args: GetMaintenanceWindowExecutionTaskCommandInput, options?: __HttpHandlerOptions): Promise; + getMaintenanceWindowExecutionTask(args: GetMaintenanceWindowExecutionTaskCommandInput, cb: (err: any, data?: GetMaintenanceWindowExecutionTaskCommandOutput) => void): void; + getMaintenanceWindowExecutionTask(args: GetMaintenanceWindowExecutionTaskCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetMaintenanceWindowExecutionTaskCommandOutput) => void): void; + /** + * @see {@link GetMaintenanceWindowExecutionTaskInvocationCommand} + */ + getMaintenanceWindowExecutionTaskInvocation(args: GetMaintenanceWindowExecutionTaskInvocationCommandInput, options?: __HttpHandlerOptions): Promise; + getMaintenanceWindowExecutionTaskInvocation(args: GetMaintenanceWindowExecutionTaskInvocationCommandInput, cb: (err: any, data?: GetMaintenanceWindowExecutionTaskInvocationCommandOutput) => void): void; + getMaintenanceWindowExecutionTaskInvocation(args: GetMaintenanceWindowExecutionTaskInvocationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetMaintenanceWindowExecutionTaskInvocationCommandOutput) => void): void; + /** + * @see {@link GetMaintenanceWindowTaskCommand} + */ + getMaintenanceWindowTask(args: GetMaintenanceWindowTaskCommandInput, options?: __HttpHandlerOptions): Promise; + getMaintenanceWindowTask(args: GetMaintenanceWindowTaskCommandInput, cb: (err: any, data?: GetMaintenanceWindowTaskCommandOutput) => void): void; + getMaintenanceWindowTask(args: GetMaintenanceWindowTaskCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetMaintenanceWindowTaskCommandOutput) => void): void; + /** + * @see {@link GetOpsItemCommand} + */ + getOpsItem(args: GetOpsItemCommandInput, options?: __HttpHandlerOptions): Promise; + getOpsItem(args: GetOpsItemCommandInput, cb: (err: any, data?: GetOpsItemCommandOutput) => void): void; + getOpsItem(args: GetOpsItemCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetOpsItemCommandOutput) => void): void; + /** + * @see {@link GetOpsMetadataCommand} + */ + getOpsMetadata(args: GetOpsMetadataCommandInput, options?: __HttpHandlerOptions): Promise; + getOpsMetadata(args: GetOpsMetadataCommandInput, cb: (err: any, data?: GetOpsMetadataCommandOutput) => void): void; + getOpsMetadata(args: GetOpsMetadataCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetOpsMetadataCommandOutput) => void): void; + /** + * @see {@link GetOpsSummaryCommand} + */ + getOpsSummary(args: GetOpsSummaryCommandInput, options?: __HttpHandlerOptions): Promise; + getOpsSummary(args: GetOpsSummaryCommandInput, cb: (err: any, data?: GetOpsSummaryCommandOutput) => void): void; + getOpsSummary(args: GetOpsSummaryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetOpsSummaryCommandOutput) => void): void; + /** + * @see {@link GetParameterCommand} + */ + getParameter(args: GetParameterCommandInput, options?: __HttpHandlerOptions): Promise; + getParameter(args: GetParameterCommandInput, cb: (err: any, data?: GetParameterCommandOutput) => void): void; + getParameter(args: GetParameterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetParameterCommandOutput) => void): void; + /** + * @see {@link GetParameterHistoryCommand} + */ + getParameterHistory(args: GetParameterHistoryCommandInput, options?: __HttpHandlerOptions): Promise; + getParameterHistory(args: GetParameterHistoryCommandInput, cb: (err: any, data?: GetParameterHistoryCommandOutput) => void): void; + getParameterHistory(args: GetParameterHistoryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetParameterHistoryCommandOutput) => void): void; + /** + * @see {@link GetParametersCommand} + */ + getParameters(args: GetParametersCommandInput, options?: __HttpHandlerOptions): Promise; + getParameters(args: GetParametersCommandInput, cb: (err: any, data?: GetParametersCommandOutput) => void): void; + getParameters(args: GetParametersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetParametersCommandOutput) => void): void; + /** + * @see {@link GetParametersByPathCommand} + */ + getParametersByPath(args: GetParametersByPathCommandInput, options?: __HttpHandlerOptions): Promise; + getParametersByPath(args: GetParametersByPathCommandInput, cb: (err: any, data?: GetParametersByPathCommandOutput) => void): void; + getParametersByPath(args: GetParametersByPathCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetParametersByPathCommandOutput) => void): void; + /** + * @see {@link GetPatchBaselineCommand} + */ + getPatchBaseline(args: GetPatchBaselineCommandInput, options?: __HttpHandlerOptions): Promise; + getPatchBaseline(args: GetPatchBaselineCommandInput, cb: (err: any, data?: GetPatchBaselineCommandOutput) => void): void; + getPatchBaseline(args: GetPatchBaselineCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPatchBaselineCommandOutput) => void): void; + /** + * @see {@link GetPatchBaselineForPatchGroupCommand} + */ + getPatchBaselineForPatchGroup(args: GetPatchBaselineForPatchGroupCommandInput, options?: __HttpHandlerOptions): Promise; + getPatchBaselineForPatchGroup(args: GetPatchBaselineForPatchGroupCommandInput, cb: (err: any, data?: GetPatchBaselineForPatchGroupCommandOutput) => void): void; + getPatchBaselineForPatchGroup(args: GetPatchBaselineForPatchGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPatchBaselineForPatchGroupCommandOutput) => void): void; + /** + * @see {@link GetResourcePoliciesCommand} + */ + getResourcePolicies(args: GetResourcePoliciesCommandInput, options?: __HttpHandlerOptions): Promise; + getResourcePolicies(args: GetResourcePoliciesCommandInput, cb: (err: any, data?: GetResourcePoliciesCommandOutput) => void): void; + getResourcePolicies(args: GetResourcePoliciesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetResourcePoliciesCommandOutput) => void): void; + /** + * @see {@link GetServiceSettingCommand} + */ + getServiceSetting(args: GetServiceSettingCommandInput, options?: __HttpHandlerOptions): Promise; + getServiceSetting(args: GetServiceSettingCommandInput, cb: (err: any, data?: GetServiceSettingCommandOutput) => void): void; + getServiceSetting(args: GetServiceSettingCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetServiceSettingCommandOutput) => void): void; + /** + * @see {@link LabelParameterVersionCommand} + */ + labelParameterVersion(args: LabelParameterVersionCommandInput, options?: __HttpHandlerOptions): Promise; + labelParameterVersion(args: LabelParameterVersionCommandInput, cb: (err: any, data?: LabelParameterVersionCommandOutput) => void): void; + labelParameterVersion(args: LabelParameterVersionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: LabelParameterVersionCommandOutput) => void): void; + /** + * @see {@link ListAssociationsCommand} + */ + listAssociations(args: ListAssociationsCommandInput, options?: __HttpHandlerOptions): Promise; + listAssociations(args: ListAssociationsCommandInput, cb: (err: any, data?: ListAssociationsCommandOutput) => void): void; + listAssociations(args: ListAssociationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAssociationsCommandOutput) => void): void; + /** + * @see {@link ListAssociationVersionsCommand} + */ + listAssociationVersions(args: ListAssociationVersionsCommandInput, options?: __HttpHandlerOptions): Promise; + listAssociationVersions(args: ListAssociationVersionsCommandInput, cb: (err: any, data?: ListAssociationVersionsCommandOutput) => void): void; + listAssociationVersions(args: ListAssociationVersionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAssociationVersionsCommandOutput) => void): void; + /** + * @see {@link ListCommandInvocationsCommand} + */ + listCommandInvocations(args: ListCommandInvocationsCommandInput, options?: __HttpHandlerOptions): Promise; + listCommandInvocations(args: ListCommandInvocationsCommandInput, cb: (err: any, data?: ListCommandInvocationsCommandOutput) => void): void; + listCommandInvocations(args: ListCommandInvocationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListCommandInvocationsCommandOutput) => void): void; + /** + * @see {@link ListCommandsCommand} + */ + listCommands(args: ListCommandsCommandInput, options?: __HttpHandlerOptions): Promise; + listCommands(args: ListCommandsCommandInput, cb: (err: any, data?: ListCommandsCommandOutput) => void): void; + listCommands(args: ListCommandsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListCommandsCommandOutput) => void): void; + /** + * @see {@link ListComplianceItemsCommand} + */ + listComplianceItems(args: ListComplianceItemsCommandInput, options?: __HttpHandlerOptions): Promise; + listComplianceItems(args: ListComplianceItemsCommandInput, cb: (err: any, data?: ListComplianceItemsCommandOutput) => void): void; + listComplianceItems(args: ListComplianceItemsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListComplianceItemsCommandOutput) => void): void; + /** + * @see {@link ListComplianceSummariesCommand} + */ + listComplianceSummaries(args: ListComplianceSummariesCommandInput, options?: __HttpHandlerOptions): Promise; + listComplianceSummaries(args: ListComplianceSummariesCommandInput, cb: (err: any, data?: ListComplianceSummariesCommandOutput) => void): void; + listComplianceSummaries(args: ListComplianceSummariesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListComplianceSummariesCommandOutput) => void): void; + /** + * @see {@link ListDocumentMetadataHistoryCommand} + */ + listDocumentMetadataHistory(args: ListDocumentMetadataHistoryCommandInput, options?: __HttpHandlerOptions): Promise; + listDocumentMetadataHistory(args: ListDocumentMetadataHistoryCommandInput, cb: (err: any, data?: ListDocumentMetadataHistoryCommandOutput) => void): void; + listDocumentMetadataHistory(args: ListDocumentMetadataHistoryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDocumentMetadataHistoryCommandOutput) => void): void; + /** + * @see {@link ListDocumentsCommand} + */ + listDocuments(args: ListDocumentsCommandInput, options?: __HttpHandlerOptions): Promise; + listDocuments(args: ListDocumentsCommandInput, cb: (err: any, data?: ListDocumentsCommandOutput) => void): void; + listDocuments(args: ListDocumentsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDocumentsCommandOutput) => void): void; + /** + * @see {@link ListDocumentVersionsCommand} + */ + listDocumentVersions(args: ListDocumentVersionsCommandInput, options?: __HttpHandlerOptions): Promise; + listDocumentVersions(args: ListDocumentVersionsCommandInput, cb: (err: any, data?: ListDocumentVersionsCommandOutput) => void): void; + listDocumentVersions(args: ListDocumentVersionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDocumentVersionsCommandOutput) => void): void; + /** + * @see {@link ListInventoryEntriesCommand} + */ + listInventoryEntries(args: ListInventoryEntriesCommandInput, options?: __HttpHandlerOptions): Promise; + listInventoryEntries(args: ListInventoryEntriesCommandInput, cb: (err: any, data?: ListInventoryEntriesCommandOutput) => void): void; + listInventoryEntries(args: ListInventoryEntriesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListInventoryEntriesCommandOutput) => void): void; + /** + * @see {@link ListOpsItemEventsCommand} + */ + listOpsItemEvents(args: ListOpsItemEventsCommandInput, options?: __HttpHandlerOptions): Promise; + listOpsItemEvents(args: ListOpsItemEventsCommandInput, cb: (err: any, data?: ListOpsItemEventsCommandOutput) => void): void; + listOpsItemEvents(args: ListOpsItemEventsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListOpsItemEventsCommandOutput) => void): void; + /** + * @see {@link ListOpsItemRelatedItemsCommand} + */ + listOpsItemRelatedItems(args: ListOpsItemRelatedItemsCommandInput, options?: __HttpHandlerOptions): Promise; + listOpsItemRelatedItems(args: ListOpsItemRelatedItemsCommandInput, cb: (err: any, data?: ListOpsItemRelatedItemsCommandOutput) => void): void; + listOpsItemRelatedItems(args: ListOpsItemRelatedItemsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListOpsItemRelatedItemsCommandOutput) => void): void; + /** + * @see {@link ListOpsMetadataCommand} + */ + listOpsMetadata(args: ListOpsMetadataCommandInput, options?: __HttpHandlerOptions): Promise; + listOpsMetadata(args: ListOpsMetadataCommandInput, cb: (err: any, data?: ListOpsMetadataCommandOutput) => void): void; + listOpsMetadata(args: ListOpsMetadataCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListOpsMetadataCommandOutput) => void): void; + /** + * @see {@link ListResourceComplianceSummariesCommand} + */ + listResourceComplianceSummaries(args: ListResourceComplianceSummariesCommandInput, options?: __HttpHandlerOptions): Promise; + listResourceComplianceSummaries(args: ListResourceComplianceSummariesCommandInput, cb: (err: any, data?: ListResourceComplianceSummariesCommandOutput) => void): void; + listResourceComplianceSummaries(args: ListResourceComplianceSummariesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListResourceComplianceSummariesCommandOutput) => void): void; + /** + * @see {@link ListResourceDataSyncCommand} + */ + listResourceDataSync(args: ListResourceDataSyncCommandInput, options?: __HttpHandlerOptions): Promise; + listResourceDataSync(args: ListResourceDataSyncCommandInput, cb: (err: any, data?: ListResourceDataSyncCommandOutput) => void): void; + listResourceDataSync(args: ListResourceDataSyncCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListResourceDataSyncCommandOutput) => void): void; + /** + * @see {@link ListTagsForResourceCommand} + */ + listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise; + listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void; + listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void; + /** + * @see {@link ModifyDocumentPermissionCommand} + */ + modifyDocumentPermission(args: ModifyDocumentPermissionCommandInput, options?: __HttpHandlerOptions): Promise; + modifyDocumentPermission(args: ModifyDocumentPermissionCommandInput, cb: (err: any, data?: ModifyDocumentPermissionCommandOutput) => void): void; + modifyDocumentPermission(args: ModifyDocumentPermissionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ModifyDocumentPermissionCommandOutput) => void): void; + /** + * @see {@link PutComplianceItemsCommand} + */ + putComplianceItems(args: PutComplianceItemsCommandInput, options?: __HttpHandlerOptions): Promise; + putComplianceItems(args: PutComplianceItemsCommandInput, cb: (err: any, data?: PutComplianceItemsCommandOutput) => void): void; + putComplianceItems(args: PutComplianceItemsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutComplianceItemsCommandOutput) => void): void; + /** + * @see {@link PutInventoryCommand} + */ + putInventory(args: PutInventoryCommandInput, options?: __HttpHandlerOptions): Promise; + putInventory(args: PutInventoryCommandInput, cb: (err: any, data?: PutInventoryCommandOutput) => void): void; + putInventory(args: PutInventoryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutInventoryCommandOutput) => void): void; + /** + * @see {@link PutParameterCommand} + */ + putParameter(args: PutParameterCommandInput, options?: __HttpHandlerOptions): Promise; + putParameter(args: PutParameterCommandInput, cb: (err: any, data?: PutParameterCommandOutput) => void): void; + putParameter(args: PutParameterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutParameterCommandOutput) => void): void; + /** + * @see {@link PutResourcePolicyCommand} + */ + putResourcePolicy(args: PutResourcePolicyCommandInput, options?: __HttpHandlerOptions): Promise; + putResourcePolicy(args: PutResourcePolicyCommandInput, cb: (err: any, data?: PutResourcePolicyCommandOutput) => void): void; + putResourcePolicy(args: PutResourcePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutResourcePolicyCommandOutput) => void): void; + /** + * @see {@link RegisterDefaultPatchBaselineCommand} + */ + registerDefaultPatchBaseline(args: RegisterDefaultPatchBaselineCommandInput, options?: __HttpHandlerOptions): Promise; + registerDefaultPatchBaseline(args: RegisterDefaultPatchBaselineCommandInput, cb: (err: any, data?: RegisterDefaultPatchBaselineCommandOutput) => void): void; + registerDefaultPatchBaseline(args: RegisterDefaultPatchBaselineCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RegisterDefaultPatchBaselineCommandOutput) => void): void; + /** + * @see {@link RegisterPatchBaselineForPatchGroupCommand} + */ + registerPatchBaselineForPatchGroup(args: RegisterPatchBaselineForPatchGroupCommandInput, options?: __HttpHandlerOptions): Promise; + registerPatchBaselineForPatchGroup(args: RegisterPatchBaselineForPatchGroupCommandInput, cb: (err: any, data?: RegisterPatchBaselineForPatchGroupCommandOutput) => void): void; + registerPatchBaselineForPatchGroup(args: RegisterPatchBaselineForPatchGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RegisterPatchBaselineForPatchGroupCommandOutput) => void): void; + /** + * @see {@link RegisterTargetWithMaintenanceWindowCommand} + */ + registerTargetWithMaintenanceWindow(args: RegisterTargetWithMaintenanceWindowCommandInput, options?: __HttpHandlerOptions): Promise; + registerTargetWithMaintenanceWindow(args: RegisterTargetWithMaintenanceWindowCommandInput, cb: (err: any, data?: RegisterTargetWithMaintenanceWindowCommandOutput) => void): void; + registerTargetWithMaintenanceWindow(args: RegisterTargetWithMaintenanceWindowCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RegisterTargetWithMaintenanceWindowCommandOutput) => void): void; + /** + * @see {@link RegisterTaskWithMaintenanceWindowCommand} + */ + registerTaskWithMaintenanceWindow(args: RegisterTaskWithMaintenanceWindowCommandInput, options?: __HttpHandlerOptions): Promise; + registerTaskWithMaintenanceWindow(args: RegisterTaskWithMaintenanceWindowCommandInput, cb: (err: any, data?: RegisterTaskWithMaintenanceWindowCommandOutput) => void): void; + registerTaskWithMaintenanceWindow(args: RegisterTaskWithMaintenanceWindowCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RegisterTaskWithMaintenanceWindowCommandOutput) => void): void; + /** + * @see {@link RemoveTagsFromResourceCommand} + */ + removeTagsFromResource(args: RemoveTagsFromResourceCommandInput, options?: __HttpHandlerOptions): Promise; + removeTagsFromResource(args: RemoveTagsFromResourceCommandInput, cb: (err: any, data?: RemoveTagsFromResourceCommandOutput) => void): void; + removeTagsFromResource(args: RemoveTagsFromResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RemoveTagsFromResourceCommandOutput) => void): void; + /** + * @see {@link ResetServiceSettingCommand} + */ + resetServiceSetting(args: ResetServiceSettingCommandInput, options?: __HttpHandlerOptions): Promise; + resetServiceSetting(args: ResetServiceSettingCommandInput, cb: (err: any, data?: ResetServiceSettingCommandOutput) => void): void; + resetServiceSetting(args: ResetServiceSettingCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ResetServiceSettingCommandOutput) => void): void; + /** + * @see {@link ResumeSessionCommand} + */ + resumeSession(args: ResumeSessionCommandInput, options?: __HttpHandlerOptions): Promise; + resumeSession(args: ResumeSessionCommandInput, cb: (err: any, data?: ResumeSessionCommandOutput) => void): void; + resumeSession(args: ResumeSessionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ResumeSessionCommandOutput) => void): void; + /** + * @see {@link SendAutomationSignalCommand} + */ + sendAutomationSignal(args: SendAutomationSignalCommandInput, options?: __HttpHandlerOptions): Promise; + sendAutomationSignal(args: SendAutomationSignalCommandInput, cb: (err: any, data?: SendAutomationSignalCommandOutput) => void): void; + sendAutomationSignal(args: SendAutomationSignalCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SendAutomationSignalCommandOutput) => void): void; + /** + * @see {@link SendCommandCommand} + */ + sendCommand(args: SendCommandCommandInput, options?: __HttpHandlerOptions): Promise; + sendCommand(args: SendCommandCommandInput, cb: (err: any, data?: SendCommandCommandOutput) => void): void; + sendCommand(args: SendCommandCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: SendCommandCommandOutput) => void): void; + /** + * @see {@link StartAssociationsOnceCommand} + */ + startAssociationsOnce(args: StartAssociationsOnceCommandInput, options?: __HttpHandlerOptions): Promise; + startAssociationsOnce(args: StartAssociationsOnceCommandInput, cb: (err: any, data?: StartAssociationsOnceCommandOutput) => void): void; + startAssociationsOnce(args: StartAssociationsOnceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartAssociationsOnceCommandOutput) => void): void; + /** + * @see {@link StartAutomationExecutionCommand} + */ + startAutomationExecution(args: StartAutomationExecutionCommandInput, options?: __HttpHandlerOptions): Promise; + startAutomationExecution(args: StartAutomationExecutionCommandInput, cb: (err: any, data?: StartAutomationExecutionCommandOutput) => void): void; + startAutomationExecution(args: StartAutomationExecutionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartAutomationExecutionCommandOutput) => void): void; + /** + * @see {@link StartChangeRequestExecutionCommand} + */ + startChangeRequestExecution(args: StartChangeRequestExecutionCommandInput, options?: __HttpHandlerOptions): Promise; + startChangeRequestExecution(args: StartChangeRequestExecutionCommandInput, cb: (err: any, data?: StartChangeRequestExecutionCommandOutput) => void): void; + startChangeRequestExecution(args: StartChangeRequestExecutionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartChangeRequestExecutionCommandOutput) => void): void; + /** + * @see {@link StartSessionCommand} + */ + startSession(args: StartSessionCommandInput, options?: __HttpHandlerOptions): Promise; + startSession(args: StartSessionCommandInput, cb: (err: any, data?: StartSessionCommandOutput) => void): void; + startSession(args: StartSessionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartSessionCommandOutput) => void): void; + /** + * @see {@link StopAutomationExecutionCommand} + */ + stopAutomationExecution(args: StopAutomationExecutionCommandInput, options?: __HttpHandlerOptions): Promise; + stopAutomationExecution(args: StopAutomationExecutionCommandInput, cb: (err: any, data?: StopAutomationExecutionCommandOutput) => void): void; + stopAutomationExecution(args: StopAutomationExecutionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopAutomationExecutionCommandOutput) => void): void; + /** + * @see {@link TerminateSessionCommand} + */ + terminateSession(args: TerminateSessionCommandInput, options?: __HttpHandlerOptions): Promise; + terminateSession(args: TerminateSessionCommandInput, cb: (err: any, data?: TerminateSessionCommandOutput) => void): void; + terminateSession(args: TerminateSessionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TerminateSessionCommandOutput) => void): void; + /** + * @see {@link UnlabelParameterVersionCommand} + */ + unlabelParameterVersion(args: UnlabelParameterVersionCommandInput, options?: __HttpHandlerOptions): Promise; + unlabelParameterVersion(args: UnlabelParameterVersionCommandInput, cb: (err: any, data?: UnlabelParameterVersionCommandOutput) => void): void; + unlabelParameterVersion(args: UnlabelParameterVersionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UnlabelParameterVersionCommandOutput) => void): void; + /** + * @see {@link UpdateAssociationCommand} + */ + updateAssociation(args: UpdateAssociationCommandInput, options?: __HttpHandlerOptions): Promise; + updateAssociation(args: UpdateAssociationCommandInput, cb: (err: any, data?: UpdateAssociationCommandOutput) => void): void; + updateAssociation(args: UpdateAssociationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateAssociationCommandOutput) => void): void; + /** + * @see {@link UpdateAssociationStatusCommand} + */ + updateAssociationStatus(args: UpdateAssociationStatusCommandInput, options?: __HttpHandlerOptions): Promise; + updateAssociationStatus(args: UpdateAssociationStatusCommandInput, cb: (err: any, data?: UpdateAssociationStatusCommandOutput) => void): void; + updateAssociationStatus(args: UpdateAssociationStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateAssociationStatusCommandOutput) => void): void; + /** + * @see {@link UpdateDocumentCommand} + */ + updateDocument(args: UpdateDocumentCommandInput, options?: __HttpHandlerOptions): Promise; + updateDocument(args: UpdateDocumentCommandInput, cb: (err: any, data?: UpdateDocumentCommandOutput) => void): void; + updateDocument(args: UpdateDocumentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateDocumentCommandOutput) => void): void; + /** + * @see {@link UpdateDocumentDefaultVersionCommand} + */ + updateDocumentDefaultVersion(args: UpdateDocumentDefaultVersionCommandInput, options?: __HttpHandlerOptions): Promise; + updateDocumentDefaultVersion(args: UpdateDocumentDefaultVersionCommandInput, cb: (err: any, data?: UpdateDocumentDefaultVersionCommandOutput) => void): void; + updateDocumentDefaultVersion(args: UpdateDocumentDefaultVersionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateDocumentDefaultVersionCommandOutput) => void): void; + /** + * @see {@link UpdateDocumentMetadataCommand} + */ + updateDocumentMetadata(args: UpdateDocumentMetadataCommandInput, options?: __HttpHandlerOptions): Promise; + updateDocumentMetadata(args: UpdateDocumentMetadataCommandInput, cb: (err: any, data?: UpdateDocumentMetadataCommandOutput) => void): void; + updateDocumentMetadata(args: UpdateDocumentMetadataCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateDocumentMetadataCommandOutput) => void): void; + /** + * @see {@link UpdateMaintenanceWindowCommand} + */ + updateMaintenanceWindow(args: UpdateMaintenanceWindowCommandInput, options?: __HttpHandlerOptions): Promise; + updateMaintenanceWindow(args: UpdateMaintenanceWindowCommandInput, cb: (err: any, data?: UpdateMaintenanceWindowCommandOutput) => void): void; + updateMaintenanceWindow(args: UpdateMaintenanceWindowCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateMaintenanceWindowCommandOutput) => void): void; + /** + * @see {@link UpdateMaintenanceWindowTargetCommand} + */ + updateMaintenanceWindowTarget(args: UpdateMaintenanceWindowTargetCommandInput, options?: __HttpHandlerOptions): Promise; + updateMaintenanceWindowTarget(args: UpdateMaintenanceWindowTargetCommandInput, cb: (err: any, data?: UpdateMaintenanceWindowTargetCommandOutput) => void): void; + updateMaintenanceWindowTarget(args: UpdateMaintenanceWindowTargetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateMaintenanceWindowTargetCommandOutput) => void): void; + /** + * @see {@link UpdateMaintenanceWindowTaskCommand} + */ + updateMaintenanceWindowTask(args: UpdateMaintenanceWindowTaskCommandInput, options?: __HttpHandlerOptions): Promise; + updateMaintenanceWindowTask(args: UpdateMaintenanceWindowTaskCommandInput, cb: (err: any, data?: UpdateMaintenanceWindowTaskCommandOutput) => void): void; + updateMaintenanceWindowTask(args: UpdateMaintenanceWindowTaskCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateMaintenanceWindowTaskCommandOutput) => void): void; + /** + * @see {@link UpdateManagedInstanceRoleCommand} + */ + updateManagedInstanceRole(args: UpdateManagedInstanceRoleCommandInput, options?: __HttpHandlerOptions): Promise; + updateManagedInstanceRole(args: UpdateManagedInstanceRoleCommandInput, cb: (err: any, data?: UpdateManagedInstanceRoleCommandOutput) => void): void; + updateManagedInstanceRole(args: UpdateManagedInstanceRoleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateManagedInstanceRoleCommandOutput) => void): void; + /** + * @see {@link UpdateOpsItemCommand} + */ + updateOpsItem(args: UpdateOpsItemCommandInput, options?: __HttpHandlerOptions): Promise; + updateOpsItem(args: UpdateOpsItemCommandInput, cb: (err: any, data?: UpdateOpsItemCommandOutput) => void): void; + updateOpsItem(args: UpdateOpsItemCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateOpsItemCommandOutput) => void): void; + /** + * @see {@link UpdateOpsMetadataCommand} + */ + updateOpsMetadata(args: UpdateOpsMetadataCommandInput, options?: __HttpHandlerOptions): Promise; + updateOpsMetadata(args: UpdateOpsMetadataCommandInput, cb: (err: any, data?: UpdateOpsMetadataCommandOutput) => void): void; + updateOpsMetadata(args: UpdateOpsMetadataCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateOpsMetadataCommandOutput) => void): void; + /** + * @see {@link UpdatePatchBaselineCommand} + */ + updatePatchBaseline(args: UpdatePatchBaselineCommandInput, options?: __HttpHandlerOptions): Promise; + updatePatchBaseline(args: UpdatePatchBaselineCommandInput, cb: (err: any, data?: UpdatePatchBaselineCommandOutput) => void): void; + updatePatchBaseline(args: UpdatePatchBaselineCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdatePatchBaselineCommandOutput) => void): void; + /** + * @see {@link UpdateResourceDataSyncCommand} + */ + updateResourceDataSync(args: UpdateResourceDataSyncCommandInput, options?: __HttpHandlerOptions): Promise; + updateResourceDataSync(args: UpdateResourceDataSyncCommandInput, cb: (err: any, data?: UpdateResourceDataSyncCommandOutput) => void): void; + updateResourceDataSync(args: UpdateResourceDataSyncCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateResourceDataSyncCommandOutput) => void): void; + /** + * @see {@link UpdateServiceSettingCommand} + */ + updateServiceSetting(args: UpdateServiceSettingCommandInput, options?: __HttpHandlerOptions): Promise; + updateServiceSetting(args: UpdateServiceSettingCommandInput, cb: (err: any, data?: UpdateServiceSettingCommandOutput) => void): void; + updateServiceSetting(args: UpdateServiceSettingCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateServiceSettingCommandOutput) => void): void; +} +/** + * @public + *

Amazon Web Services Systems Manager is the operations hub for your Amazon Web Services applications and resources and a secure + * end-to-end management solution for hybrid cloud environments that enables safe and secure + * operations at scale.

+ *

This reference is intended to be used with the Amazon Web Services Systems Manager User Guide. To get started, see Setting up Amazon Web Services Systems Manager.

+ *

+ * Related resources + *

+ * + */ +export declare class SSM extends SSMClient implements SSM { +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/SSMClient.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/SSMClient.d.ts new file mode 100644 index 00000000..7f8d059c --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/SSMClient.d.ts @@ -0,0 +1,343 @@ +import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header"; +import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing"; +import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent"; +import { Credentials as __Credentials } from "@aws-sdk/types"; +import { RegionInputConfig, RegionResolvedConfig } from "@smithy/config-resolver"; +import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-endpoint"; +import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry"; +import { HttpHandler as __HttpHandler } from "@smithy/protocol-http"; +import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client"; +import { BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types"; +import { AddTagsToResourceCommandInput, AddTagsToResourceCommandOutput } from "./commands/AddTagsToResourceCommand"; +import { AssociateOpsItemRelatedItemCommandInput, AssociateOpsItemRelatedItemCommandOutput } from "./commands/AssociateOpsItemRelatedItemCommand"; +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 { CreateOpsMetadataCommandInput, CreateOpsMetadataCommandOutput } from "./commands/CreateOpsMetadataCommand"; +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 { DeleteOpsItemCommandInput, DeleteOpsItemCommandOutput } from "./commands/DeleteOpsItemCommand"; +import { DeleteOpsMetadataCommandInput, DeleteOpsMetadataCommandOutput } from "./commands/DeleteOpsMetadataCommand"; +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 { DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput } from "./commands/DeleteResourcePolicyCommand"; +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 { DescribeAssociationExecutionsCommandInput, DescribeAssociationExecutionsCommandOutput } from "./commands/DescribeAssociationExecutionsCommand"; +import { DescribeAssociationExecutionTargetsCommandInput, DescribeAssociationExecutionTargetsCommandOutput } from "./commands/DescribeAssociationExecutionTargetsCommand"; +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 { DescribeInstancePatchesCommandInput, DescribeInstancePatchesCommandOutput } from "./commands/DescribeInstancePatchesCommand"; +import { DescribeInstancePatchStatesCommandInput, DescribeInstancePatchStatesCommandOutput } from "./commands/DescribeInstancePatchStatesCommand"; +import { DescribeInstancePatchStatesForPatchGroupCommandInput, DescribeInstancePatchStatesForPatchGroupCommandOutput } from "./commands/DescribeInstancePatchStatesForPatchGroupCommand"; +import { DescribeInventoryDeletionsCommandInput, DescribeInventoryDeletionsCommandOutput } from "./commands/DescribeInventoryDeletionsCommand"; +import { DescribeMaintenanceWindowExecutionsCommandInput, DescribeMaintenanceWindowExecutionsCommandOutput } from "./commands/DescribeMaintenanceWindowExecutionsCommand"; +import { DescribeMaintenanceWindowExecutionTaskInvocationsCommandInput, DescribeMaintenanceWindowExecutionTaskInvocationsCommandOutput } from "./commands/DescribeMaintenanceWindowExecutionTaskInvocationsCommand"; +import { DescribeMaintenanceWindowExecutionTasksCommandInput, DescribeMaintenanceWindowExecutionTasksCommandOutput } from "./commands/DescribeMaintenanceWindowExecutionTasksCommand"; +import { DescribeMaintenanceWindowScheduleCommandInput, DescribeMaintenanceWindowScheduleCommandOutput } from "./commands/DescribeMaintenanceWindowScheduleCommand"; +import { DescribeMaintenanceWindowsCommandInput, DescribeMaintenanceWindowsCommandOutput } from "./commands/DescribeMaintenanceWindowsCommand"; +import { DescribeMaintenanceWindowsForTargetCommandInput, DescribeMaintenanceWindowsForTargetCommandOutput } from "./commands/DescribeMaintenanceWindowsForTargetCommand"; +import { DescribeMaintenanceWindowTargetsCommandInput, DescribeMaintenanceWindowTargetsCommandOutput } from "./commands/DescribeMaintenanceWindowTargetsCommand"; +import { DescribeMaintenanceWindowTasksCommandInput, DescribeMaintenanceWindowTasksCommandOutput } from "./commands/DescribeMaintenanceWindowTasksCommand"; +import { DescribeOpsItemsCommandInput, DescribeOpsItemsCommandOutput } from "./commands/DescribeOpsItemsCommand"; +import { DescribeParametersCommandInput, DescribeParametersCommandOutput } from "./commands/DescribeParametersCommand"; +import { DescribePatchBaselinesCommandInput, DescribePatchBaselinesCommandOutput } from "./commands/DescribePatchBaselinesCommand"; +import { DescribePatchGroupsCommandInput, DescribePatchGroupsCommandOutput } from "./commands/DescribePatchGroupsCommand"; +import { DescribePatchGroupStateCommandInput, DescribePatchGroupStateCommandOutput } from "./commands/DescribePatchGroupStateCommand"; +import { DescribePatchPropertiesCommandInput, DescribePatchPropertiesCommandOutput } from "./commands/DescribePatchPropertiesCommand"; +import { DescribeSessionsCommandInput, DescribeSessionsCommandOutput } from "./commands/DescribeSessionsCommand"; +import { DisassociateOpsItemRelatedItemCommandInput, DisassociateOpsItemRelatedItemCommandOutput } from "./commands/DisassociateOpsItemRelatedItemCommand"; +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 { GetOpsMetadataCommandInput, GetOpsMetadataCommandOutput } from "./commands/GetOpsMetadataCommand"; +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 { GetResourcePoliciesCommandInput, GetResourcePoliciesCommandOutput } from "./commands/GetResourcePoliciesCommand"; +import { GetServiceSettingCommandInput, GetServiceSettingCommandOutput } from "./commands/GetServiceSettingCommand"; +import { LabelParameterVersionCommandInput, LabelParameterVersionCommandOutput } from "./commands/LabelParameterVersionCommand"; +import { ListAssociationsCommandInput, ListAssociationsCommandOutput } from "./commands/ListAssociationsCommand"; +import { ListAssociationVersionsCommandInput, ListAssociationVersionsCommandOutput } from "./commands/ListAssociationVersionsCommand"; +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 { ListDocumentMetadataHistoryCommandInput, ListDocumentMetadataHistoryCommandOutput } from "./commands/ListDocumentMetadataHistoryCommand"; +import { ListDocumentsCommandInput, ListDocumentsCommandOutput } from "./commands/ListDocumentsCommand"; +import { ListDocumentVersionsCommandInput, ListDocumentVersionsCommandOutput } from "./commands/ListDocumentVersionsCommand"; +import { ListInventoryEntriesCommandInput, ListInventoryEntriesCommandOutput } from "./commands/ListInventoryEntriesCommand"; +import { ListOpsItemEventsCommandInput, ListOpsItemEventsCommandOutput } from "./commands/ListOpsItemEventsCommand"; +import { ListOpsItemRelatedItemsCommandInput, ListOpsItemRelatedItemsCommandOutput } from "./commands/ListOpsItemRelatedItemsCommand"; +import { ListOpsMetadataCommandInput, ListOpsMetadataCommandOutput } from "./commands/ListOpsMetadataCommand"; +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 { PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput } from "./commands/PutResourcePolicyCommand"; +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 { StartChangeRequestExecutionCommandInput, StartChangeRequestExecutionCommandOutput } from "./commands/StartChangeRequestExecutionCommand"; +import { StartSessionCommandInput, StartSessionCommandOutput } from "./commands/StartSessionCommand"; +import { StopAutomationExecutionCommandInput, StopAutomationExecutionCommandOutput } from "./commands/StopAutomationExecutionCommand"; +import { TerminateSessionCommandInput, TerminateSessionCommandOutput } from "./commands/TerminateSessionCommand"; +import { UnlabelParameterVersionCommandInput, UnlabelParameterVersionCommandOutput } from "./commands/UnlabelParameterVersionCommand"; +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 { UpdateDocumentMetadataCommandInput, UpdateDocumentMetadataCommandOutput } from "./commands/UpdateDocumentMetadataCommand"; +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 { UpdateOpsMetadataCommandInput, UpdateOpsMetadataCommandOutput } from "./commands/UpdateOpsMetadataCommand"; +import { UpdatePatchBaselineCommandInput, UpdatePatchBaselineCommandOutput } from "./commands/UpdatePatchBaselineCommand"; +import { UpdateResourceDataSyncCommandInput, UpdateResourceDataSyncCommandOutput } from "./commands/UpdateResourceDataSyncCommand"; +import { UpdateServiceSettingCommandInput, UpdateServiceSettingCommandOutput } from "./commands/UpdateServiceSettingCommand"; +import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters"; +import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions"; +export { __Client }; +/** + * @public + */ +export type ServiceInputTypes = AddTagsToResourceCommandInput | AssociateOpsItemRelatedItemCommandInput | CancelCommandCommandInput | CancelMaintenanceWindowExecutionCommandInput | CreateActivationCommandInput | CreateAssociationBatchCommandInput | CreateAssociationCommandInput | CreateDocumentCommandInput | CreateMaintenanceWindowCommandInput | CreateOpsItemCommandInput | CreateOpsMetadataCommandInput | CreatePatchBaselineCommandInput | CreateResourceDataSyncCommandInput | DeleteActivationCommandInput | DeleteAssociationCommandInput | DeleteDocumentCommandInput | DeleteInventoryCommandInput | DeleteMaintenanceWindowCommandInput | DeleteOpsItemCommandInput | DeleteOpsMetadataCommandInput | DeleteParameterCommandInput | DeleteParametersCommandInput | DeletePatchBaselineCommandInput | DeleteResourceDataSyncCommandInput | DeleteResourcePolicyCommandInput | DeregisterManagedInstanceCommandInput | DeregisterPatchBaselineForPatchGroupCommandInput | DeregisterTargetFromMaintenanceWindowCommandInput | DeregisterTaskFromMaintenanceWindowCommandInput | DescribeActivationsCommandInput | DescribeAssociationCommandInput | DescribeAssociationExecutionTargetsCommandInput | DescribeAssociationExecutionsCommandInput | DescribeAutomationExecutionsCommandInput | DescribeAutomationStepExecutionsCommandInput | DescribeAvailablePatchesCommandInput | DescribeDocumentCommandInput | DescribeDocumentPermissionCommandInput | DescribeEffectiveInstanceAssociationsCommandInput | DescribeEffectivePatchesForPatchBaselineCommandInput | DescribeInstanceAssociationsStatusCommandInput | DescribeInstanceInformationCommandInput | DescribeInstancePatchStatesCommandInput | DescribeInstancePatchStatesForPatchGroupCommandInput | DescribeInstancePatchesCommandInput | DescribeInventoryDeletionsCommandInput | DescribeMaintenanceWindowExecutionTaskInvocationsCommandInput | DescribeMaintenanceWindowExecutionTasksCommandInput | DescribeMaintenanceWindowExecutionsCommandInput | DescribeMaintenanceWindowScheduleCommandInput | DescribeMaintenanceWindowTargetsCommandInput | DescribeMaintenanceWindowTasksCommandInput | DescribeMaintenanceWindowsCommandInput | DescribeMaintenanceWindowsForTargetCommandInput | DescribeOpsItemsCommandInput | DescribeParametersCommandInput | DescribePatchBaselinesCommandInput | DescribePatchGroupStateCommandInput | DescribePatchGroupsCommandInput | DescribePatchPropertiesCommandInput | DescribeSessionsCommandInput | DisassociateOpsItemRelatedItemCommandInput | GetAutomationExecutionCommandInput | GetCalendarStateCommandInput | GetCommandInvocationCommandInput | GetConnectionStatusCommandInput | GetDefaultPatchBaselineCommandInput | GetDeployablePatchSnapshotForInstanceCommandInput | GetDocumentCommandInput | GetInventoryCommandInput | GetInventorySchemaCommandInput | GetMaintenanceWindowCommandInput | GetMaintenanceWindowExecutionCommandInput | GetMaintenanceWindowExecutionTaskCommandInput | GetMaintenanceWindowExecutionTaskInvocationCommandInput | GetMaintenanceWindowTaskCommandInput | GetOpsItemCommandInput | GetOpsMetadataCommandInput | GetOpsSummaryCommandInput | GetParameterCommandInput | GetParameterHistoryCommandInput | GetParametersByPathCommandInput | GetParametersCommandInput | GetPatchBaselineCommandInput | GetPatchBaselineForPatchGroupCommandInput | GetResourcePoliciesCommandInput | GetServiceSettingCommandInput | LabelParameterVersionCommandInput | ListAssociationVersionsCommandInput | ListAssociationsCommandInput | ListCommandInvocationsCommandInput | ListCommandsCommandInput | ListComplianceItemsCommandInput | ListComplianceSummariesCommandInput | ListDocumentMetadataHistoryCommandInput | ListDocumentVersionsCommandInput | ListDocumentsCommandInput | ListInventoryEntriesCommandInput | ListOpsItemEventsCommandInput | ListOpsItemRelatedItemsCommandInput | ListOpsMetadataCommandInput | ListResourceComplianceSummariesCommandInput | ListResourceDataSyncCommandInput | ListTagsForResourceCommandInput | ModifyDocumentPermissionCommandInput | PutComplianceItemsCommandInput | PutInventoryCommandInput | PutParameterCommandInput | PutResourcePolicyCommandInput | RegisterDefaultPatchBaselineCommandInput | RegisterPatchBaselineForPatchGroupCommandInput | RegisterTargetWithMaintenanceWindowCommandInput | RegisterTaskWithMaintenanceWindowCommandInput | RemoveTagsFromResourceCommandInput | ResetServiceSettingCommandInput | ResumeSessionCommandInput | SendAutomationSignalCommandInput | SendCommandCommandInput | StartAssociationsOnceCommandInput | StartAutomationExecutionCommandInput | StartChangeRequestExecutionCommandInput | StartSessionCommandInput | StopAutomationExecutionCommandInput | TerminateSessionCommandInput | UnlabelParameterVersionCommandInput | UpdateAssociationCommandInput | UpdateAssociationStatusCommandInput | UpdateDocumentCommandInput | UpdateDocumentDefaultVersionCommandInput | UpdateDocumentMetadataCommandInput | UpdateMaintenanceWindowCommandInput | UpdateMaintenanceWindowTargetCommandInput | UpdateMaintenanceWindowTaskCommandInput | UpdateManagedInstanceRoleCommandInput | UpdateOpsItemCommandInput | UpdateOpsMetadataCommandInput | UpdatePatchBaselineCommandInput | UpdateResourceDataSyncCommandInput | UpdateServiceSettingCommandInput; +/** + * @public + */ +export type ServiceOutputTypes = AddTagsToResourceCommandOutput | AssociateOpsItemRelatedItemCommandOutput | CancelCommandCommandOutput | CancelMaintenanceWindowExecutionCommandOutput | CreateActivationCommandOutput | CreateAssociationBatchCommandOutput | CreateAssociationCommandOutput | CreateDocumentCommandOutput | CreateMaintenanceWindowCommandOutput | CreateOpsItemCommandOutput | CreateOpsMetadataCommandOutput | CreatePatchBaselineCommandOutput | CreateResourceDataSyncCommandOutput | DeleteActivationCommandOutput | DeleteAssociationCommandOutput | DeleteDocumentCommandOutput | DeleteInventoryCommandOutput | DeleteMaintenanceWindowCommandOutput | DeleteOpsItemCommandOutput | DeleteOpsMetadataCommandOutput | DeleteParameterCommandOutput | DeleteParametersCommandOutput | DeletePatchBaselineCommandOutput | DeleteResourceDataSyncCommandOutput | DeleteResourcePolicyCommandOutput | DeregisterManagedInstanceCommandOutput | DeregisterPatchBaselineForPatchGroupCommandOutput | DeregisterTargetFromMaintenanceWindowCommandOutput | DeregisterTaskFromMaintenanceWindowCommandOutput | DescribeActivationsCommandOutput | DescribeAssociationCommandOutput | DescribeAssociationExecutionTargetsCommandOutput | DescribeAssociationExecutionsCommandOutput | DescribeAutomationExecutionsCommandOutput | DescribeAutomationStepExecutionsCommandOutput | DescribeAvailablePatchesCommandOutput | DescribeDocumentCommandOutput | DescribeDocumentPermissionCommandOutput | DescribeEffectiveInstanceAssociationsCommandOutput | DescribeEffectivePatchesForPatchBaselineCommandOutput | DescribeInstanceAssociationsStatusCommandOutput | DescribeInstanceInformationCommandOutput | DescribeInstancePatchStatesCommandOutput | DescribeInstancePatchStatesForPatchGroupCommandOutput | DescribeInstancePatchesCommandOutput | DescribeInventoryDeletionsCommandOutput | DescribeMaintenanceWindowExecutionTaskInvocationsCommandOutput | DescribeMaintenanceWindowExecutionTasksCommandOutput | DescribeMaintenanceWindowExecutionsCommandOutput | DescribeMaintenanceWindowScheduleCommandOutput | DescribeMaintenanceWindowTargetsCommandOutput | DescribeMaintenanceWindowTasksCommandOutput | DescribeMaintenanceWindowsCommandOutput | DescribeMaintenanceWindowsForTargetCommandOutput | DescribeOpsItemsCommandOutput | DescribeParametersCommandOutput | DescribePatchBaselinesCommandOutput | DescribePatchGroupStateCommandOutput | DescribePatchGroupsCommandOutput | DescribePatchPropertiesCommandOutput | DescribeSessionsCommandOutput | DisassociateOpsItemRelatedItemCommandOutput | GetAutomationExecutionCommandOutput | GetCalendarStateCommandOutput | GetCommandInvocationCommandOutput | GetConnectionStatusCommandOutput | GetDefaultPatchBaselineCommandOutput | GetDeployablePatchSnapshotForInstanceCommandOutput | GetDocumentCommandOutput | GetInventoryCommandOutput | GetInventorySchemaCommandOutput | GetMaintenanceWindowCommandOutput | GetMaintenanceWindowExecutionCommandOutput | GetMaintenanceWindowExecutionTaskCommandOutput | GetMaintenanceWindowExecutionTaskInvocationCommandOutput | GetMaintenanceWindowTaskCommandOutput | GetOpsItemCommandOutput | GetOpsMetadataCommandOutput | GetOpsSummaryCommandOutput | GetParameterCommandOutput | GetParameterHistoryCommandOutput | GetParametersByPathCommandOutput | GetParametersCommandOutput | GetPatchBaselineCommandOutput | GetPatchBaselineForPatchGroupCommandOutput | GetResourcePoliciesCommandOutput | GetServiceSettingCommandOutput | LabelParameterVersionCommandOutput | ListAssociationVersionsCommandOutput | ListAssociationsCommandOutput | ListCommandInvocationsCommandOutput | ListCommandsCommandOutput | ListComplianceItemsCommandOutput | ListComplianceSummariesCommandOutput | ListDocumentMetadataHistoryCommandOutput | ListDocumentVersionsCommandOutput | ListDocumentsCommandOutput | ListInventoryEntriesCommandOutput | ListOpsItemEventsCommandOutput | ListOpsItemRelatedItemsCommandOutput | ListOpsMetadataCommandOutput | ListResourceComplianceSummariesCommandOutput | ListResourceDataSyncCommandOutput | ListTagsForResourceCommandOutput | ModifyDocumentPermissionCommandOutput | PutComplianceItemsCommandOutput | PutInventoryCommandOutput | PutParameterCommandOutput | PutResourcePolicyCommandOutput | RegisterDefaultPatchBaselineCommandOutput | RegisterPatchBaselineForPatchGroupCommandOutput | RegisterTargetWithMaintenanceWindowCommandOutput | RegisterTaskWithMaintenanceWindowCommandOutput | RemoveTagsFromResourceCommandOutput | ResetServiceSettingCommandOutput | ResumeSessionCommandOutput | SendAutomationSignalCommandOutput | SendCommandCommandOutput | StartAssociationsOnceCommandOutput | StartAutomationExecutionCommandOutput | StartChangeRequestExecutionCommandOutput | StartSessionCommandOutput | StopAutomationExecutionCommandOutput | TerminateSessionCommandOutput | UnlabelParameterVersionCommandOutput | UpdateAssociationCommandOutput | UpdateAssociationStatusCommandOutput | UpdateDocumentCommandOutput | UpdateDocumentDefaultVersionCommandOutput | UpdateDocumentMetadataCommandOutput | UpdateMaintenanceWindowCommandOutput | UpdateMaintenanceWindowTargetCommandOutput | UpdateMaintenanceWindowTaskCommandOutput | UpdateManagedInstanceRoleCommandOutput | UpdateOpsItemCommandOutput | UpdateOpsMetadataCommandOutput | UpdatePatchBaselineCommandOutput | UpdateResourceDataSyncCommandOutput | UpdateServiceSettingCommandOutput; +/** + * @public + */ +export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> { + /** + * The HTTP handler to use. Fetch in browser and Https in Nodejs. + */ + requestHandler?: __HttpHandler; + /** + * A constructor for a class implementing the {@link @smithy/types#ChecksumConstructor} interface + * that computes the SHA-256 HMAC or checksum of a string or binary buffer. + * @internal + */ + sha256?: __ChecksumConstructor | __HashConstructor; + /** + * The function that will be used to convert strings into HTTP endpoints. + * @internal + */ + urlParser?: __UrlParser; + /** + * A function that can calculate the length of a request body. + * @internal + */ + bodyLengthChecker?: __BodyLengthCalculator; + /** + * A function that converts a stream into an array of bytes. + * @internal + */ + streamCollector?: __StreamCollector; + /** + * The function that will be used to convert a base64-encoded string to a byte array. + * @internal + */ + base64Decoder?: __Decoder; + /** + * The function that will be used to convert binary data to a base64-encoded string. + * @internal + */ + base64Encoder?: __Encoder; + /** + * The function that will be used to convert a UTF8-encoded string to a byte array. + * @internal + */ + utf8Decoder?: __Decoder; + /** + * The function that will be used to convert binary data to a UTF-8 encoded string. + * @internal + */ + utf8Encoder?: __Encoder; + /** + * The runtime environment. + * @internal + */ + runtime?: string; + /** + * Disable dynamically changing the endpoint of the client based on the hostPrefix + * trait of an operation. + */ + disableHostPrefix?: boolean; + /** + * Unique service identifier. + * @internal + */ + serviceId?: string; + /** + * Enables IPv6/IPv4 dualstack endpoint. + */ + useDualstackEndpoint?: boolean | __Provider; + /** + * Enables FIPS compatible endpoints. + */ + useFipsEndpoint?: boolean | __Provider; + /** + * The AWS region to which this client will send requests + */ + region?: string | __Provider; + /** + * Default credentials provider; Not available in browser runtime. + * @internal + */ + credentialDefaultProvider?: (input: any) => __Provider<__Credentials>; + /** + * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header + * @internal + */ + defaultUserAgentProvider?: Provider<__UserAgent>; + /** + * Value for how many times a request will be made at most in case of retry. + */ + maxAttempts?: number | __Provider; + /** + * Specifies which retry algorithm to use. + * @see https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-smithy-util-retry/Enum/RETRY_MODES/ + * + */ + retryMode?: string | __Provider; + /** + * Optional logger for logging debug/info/warn/error. + */ + logger?: __Logger; + /** + * Optional extensions + */ + extensions?: RuntimeExtension[]; + /** + * The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK. + */ + defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>; +} +/** + * @public + */ +export type SSMClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & ClientInputEndpointParameters; +/** + * @public + * + * The configuration interface of SSMClient class constructor that set the region, credentials and other options. + */ +export interface SSMClientConfig extends SSMClientConfigType { +} +/** + * @public + */ +export type SSMClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required & RuntimeExtensionsConfig & RegionResolvedConfig & EndpointResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & ClientResolvedEndpointParameters; +/** + * @public + * + * The resolved configuration interface of SSMClient class. This is resolved and normalized from the {@link SSMClientConfig | constructor configuration interface}. + */ +export interface SSMClientResolvedConfig extends SSMClientResolvedConfigType { +} +/** + * @public + *

Amazon Web Services Systems Manager is the operations hub for your Amazon Web Services applications and resources and a secure + * end-to-end management solution for hybrid cloud environments that enables safe and secure + * operations at scale.

+ *

This reference is intended to be used with the Amazon Web Services Systems Manager User Guide. To get started, see Setting up Amazon Web Services Systems Manager.

+ *

+ * Related resources + *

+ * + */ +export declare class SSMClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig> { + /** + * The resolved configuration of SSMClient class. This is resolved and normalized from the {@link SSMClientConfig | constructor configuration interface}. + */ + readonly config: SSMClientResolvedConfig; + constructor(...[configuration]: __CheckOptionalClientConfig); + /** + * Destroy underlying resources, like sockets. It's usually not necessary to do this. + * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed. + * Otherwise, sockets might stay open for quite a long time before the server terminates them. + */ + destroy(): void; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/AddTagsToResourceCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/AddTagsToResourceCommand.d.ts new file mode 100644 index 00000000..b8c73b6f --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/AddTagsToResourceCommand.d.ts @@ -0,0 +1,141 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { AddTagsToResourceRequest, AddTagsToResourceResult } from "../models/models_0"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link AddTagsToResourceCommand}. + */ +export interface AddTagsToResourceCommandInput extends AddTagsToResourceRequest { +} +/** + * @public + * + * The output of {@link AddTagsToResourceCommand}. + */ +export interface AddTagsToResourceCommandOutput extends AddTagsToResourceResult, __MetadataBearer { +} +/** + * @public + *

Adds or overwrites one or more tags for the specified resource. Tags + * are metadata that you can assign to your automations, documents, managed nodes, maintenance + * windows, Parameter Store parameters, and patch baselines. Tags enable you to categorize your + * resources in different ways, for example, by purpose, owner, or environment. Each tag consists of + * a key and an optional value, both of which you define. For example, you could define a set of + * tags for your account's managed nodes that helps you track each node's owner and stack level. For + * example:

+ *
    + *
  • + *

    + * Key=Owner,Value=DbAdmin + *

    + *
  • + *
  • + *

    + * Key=Owner,Value=SysAdmin + *

    + *
  • + *
  • + *

    + * Key=Owner,Value=Dev + *

    + *
  • + *
  • + *

    + * Key=Stack,Value=Production + *

    + *
  • + *
  • + *

    + * Key=Stack,Value=Pre-Production + *

    + *
  • + *
  • + *

    + * Key=Stack,Value=Test + *

    + *
  • + *
+ *

Most resources can have a maximum of 50 tags. Automations can have a maximum of 5 + * tags.

+ *

We recommend that you devise a set of tag keys that meets your needs for each resource type. + * Using a consistent set of tag keys makes it easier for you to manage your resources. You can + * search and filter the resources based on the tags you add. Tags don't have any semantic meaning + * to and are interpreted strictly as a string of characters.

+ *

For more information about using tags with Amazon Elastic Compute Cloud (Amazon EC2) instances, see Tagging your Amazon EC2 + * resources in the Amazon EC2 User Guide.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, AddTagsToResourceCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, AddTagsToResourceCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // AddTagsToResourceRequest + * ResourceType: "Document" || "ManagedInstance" || "MaintenanceWindow" || "Parameter" || "PatchBaseline" || "OpsItem" || "OpsMetadata" || "Automation" || "Association", // required + * ResourceId: "STRING_VALUE", // required + * Tags: [ // TagList // required + * { // Tag + * Key: "STRING_VALUE", // required + * Value: "STRING_VALUE", // required + * }, + * ], + * }; + * const command = new AddTagsToResourceCommand(input); + * const response = await client.send(command); + * // {}; + * + * ``` + * + * @param AddTagsToResourceCommandInput - {@link AddTagsToResourceCommandInput} + * @returns {@link AddTagsToResourceCommandOutput} + * @see {@link AddTagsToResourceCommandInput} for command's `input` shape. + * @see {@link AddTagsToResourceCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link InvalidResourceId} (client fault) + *

The resource ID isn't valid. Verify that you entered the correct ID and try again.

+ * + * @throws {@link InvalidResourceType} (client fault) + *

The resource type isn't valid. For example, if you are attempting to tag an EC2 instance, + * the instance must be a registered managed node.

+ * + * @throws {@link TooManyTagsError} (client fault) + *

The Targets parameter includes too many tags. Remove one or more tags and try + * the command again.

+ * + * @throws {@link TooManyUpdates} (client fault) + *

There are concurrent updates for a resource that supports one update at a time.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class AddTagsToResourceCommand extends $Command { + readonly input: AddTagsToResourceCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: AddTagsToResourceCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/AssociateOpsItemRelatedItemCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/AssociateOpsItemRelatedItemCommand.d.ts new file mode 100644 index 00000000..0c389fc0 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/AssociateOpsItemRelatedItemCommand.d.ts @@ -0,0 +1,97 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { AssociateOpsItemRelatedItemRequest, AssociateOpsItemRelatedItemResponse } from "../models/models_0"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link AssociateOpsItemRelatedItemCommand}. + */ +export interface AssociateOpsItemRelatedItemCommandInput extends AssociateOpsItemRelatedItemRequest { +} +/** + * @public + * + * The output of {@link AssociateOpsItemRelatedItemCommand}. + */ +export interface AssociateOpsItemRelatedItemCommandOutput extends AssociateOpsItemRelatedItemResponse, __MetadataBearer { +} +/** + * @public + *

Associates a related item to a Systems Manager OpsCenter OpsItem. For example, you can associate an + * Incident Manager incident or analysis with an OpsItem. Incident Manager and OpsCenter are capabilities of + * Amazon Web Services Systems Manager.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, AssociateOpsItemRelatedItemCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, AssociateOpsItemRelatedItemCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // AssociateOpsItemRelatedItemRequest + * OpsItemId: "STRING_VALUE", // required + * AssociationType: "STRING_VALUE", // required + * ResourceType: "STRING_VALUE", // required + * ResourceUri: "STRING_VALUE", // required + * }; + * const command = new AssociateOpsItemRelatedItemCommand(input); + * const response = await client.send(command); + * // { // AssociateOpsItemRelatedItemResponse + * // AssociationId: "STRING_VALUE", + * // }; + * + * ``` + * + * @param AssociateOpsItemRelatedItemCommandInput - {@link AssociateOpsItemRelatedItemCommandInput} + * @returns {@link AssociateOpsItemRelatedItemCommandOutput} + * @see {@link AssociateOpsItemRelatedItemCommandInput} for command's `input` shape. + * @see {@link AssociateOpsItemRelatedItemCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link OpsItemConflictException} (client fault) + *

The specified OpsItem is in the process of being deleted.

+ * + * @throws {@link OpsItemInvalidParameterException} (client fault) + *

A specified parameter argument isn't valid. Verify the available arguments and try + * again.

+ * + * @throws {@link OpsItemLimitExceededException} (client fault) + *

The request caused OpsItems to exceed one or more quotas.

+ * + * @throws {@link OpsItemNotFoundException} (client fault) + *

The specified OpsItem ID doesn't exist. Verify the ID and try again.

+ * + * @throws {@link OpsItemRelatedItemAlreadyExistsException} (client fault) + *

The Amazon Resource Name (ARN) is already associated with the OpsItem.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class AssociateOpsItemRelatedItemCommand extends $Command { + readonly input: AssociateOpsItemRelatedItemCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: AssociateOpsItemRelatedItemCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/CancelCommandCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/CancelCommandCommand.d.ts new file mode 100644 index 00000000..f8d4f22b --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/CancelCommandCommand.d.ts @@ -0,0 +1,104 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { CancelCommandRequest, CancelCommandResult } from "../models/models_0"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link CancelCommandCommand}. + */ +export interface CancelCommandCommandInput extends CancelCommandRequest { +} +/** + * @public + * + * The output of {@link CancelCommandCommand}. + */ +export interface CancelCommandCommandOutput extends CancelCommandResult, __MetadataBearer { +} +/** + * @public + *

Attempts to cancel the command specified by the Command ID. There is no guarantee that the + * command will be terminated and the underlying process stopped.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, CancelCommandCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, CancelCommandCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // CancelCommandRequest + * CommandId: "STRING_VALUE", // required + * InstanceIds: [ // InstanceIdList + * "STRING_VALUE", + * ], + * }; + * const command = new CancelCommandCommand(input); + * const response = await client.send(command); + * // {}; + * + * ``` + * + * @param CancelCommandCommandInput - {@link CancelCommandCommandInput} + * @returns {@link CancelCommandCommandOutput} + * @see {@link CancelCommandCommandInput} for command's `input` shape. + * @see {@link CancelCommandCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link DuplicateInstanceId} (client fault) + *

You can't specify a managed node ID in more than one association.

+ * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link InvalidCommandId} (client fault) + *

The specified command ID isn't valid. Verify the ID and try again.

+ * + * @throws {@link InvalidInstanceId} (client fault) + *

The following problems can cause this exception:

+ *
    + *
  • + *

    You don't have permission to access the managed node.

    + *
  • + *
  • + *

    Amazon Web Services Systems Manager Agent(SSM Agent) isn't running. Verify that SSM Agent is + * running.

    + *
  • + *
  • + *

    SSM Agent isn't registered with the SSM endpoint. Try reinstalling SSM Agent.

    + *
  • + *
  • + *

    The managed node isn't in valid state. Valid states are: Running, + * Pending, Stopped, and Stopping. Invalid states are: + * Shutting-down and Terminated.

    + *
  • + *
+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class CancelCommandCommand extends $Command { + readonly input: CancelCommandCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: CancelCommandCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/CancelMaintenanceWindowExecutionCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/CancelMaintenanceWindowExecutionCommand.d.ts new file mode 100644 index 00000000..dd68c09b --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/CancelMaintenanceWindowExecutionCommand.d.ts @@ -0,0 +1,84 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { CancelMaintenanceWindowExecutionRequest, CancelMaintenanceWindowExecutionResult } from "../models/models_0"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link CancelMaintenanceWindowExecutionCommand}. + */ +export interface CancelMaintenanceWindowExecutionCommandInput extends CancelMaintenanceWindowExecutionRequest { +} +/** + * @public + * + * The output of {@link CancelMaintenanceWindowExecutionCommand}. + */ +export interface CancelMaintenanceWindowExecutionCommandOutput extends CancelMaintenanceWindowExecutionResult, __MetadataBearer { +} +/** + * @public + *

Stops a maintenance window execution that is already in progress and cancels any tasks in + * the window that haven't already starting running. Tasks already in progress will continue to + * completion.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, CancelMaintenanceWindowExecutionCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, CancelMaintenanceWindowExecutionCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // CancelMaintenanceWindowExecutionRequest + * WindowExecutionId: "STRING_VALUE", // required + * }; + * const command = new CancelMaintenanceWindowExecutionCommand(input); + * const response = await client.send(command); + * // { // CancelMaintenanceWindowExecutionResult + * // WindowExecutionId: "STRING_VALUE", + * // }; + * + * ``` + * + * @param CancelMaintenanceWindowExecutionCommandInput - {@link CancelMaintenanceWindowExecutionCommandInput} + * @returns {@link CancelMaintenanceWindowExecutionCommandOutput} + * @see {@link CancelMaintenanceWindowExecutionCommandInput} for command's `input` shape. + * @see {@link CancelMaintenanceWindowExecutionCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link DoesNotExistException} (client fault) + *

Error returned when the ID specified for a resource, such as a maintenance window or patch + * baseline, doesn't exist.

+ *

For information about resource quotas in Amazon Web Services Systems Manager, see Systems Manager service quotas in the + * Amazon Web Services General Reference.

+ * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class CancelMaintenanceWindowExecutionCommand extends $Command { + readonly input: CancelMaintenanceWindowExecutionCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: CancelMaintenanceWindowExecutionCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateActivationCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateActivationCommand.d.ts new file mode 100644 index 00000000..1a00b5d1 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateActivationCommand.d.ts @@ -0,0 +1,106 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { CreateActivationRequest, CreateActivationResult } from "../models/models_0"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link CreateActivationCommand}. + */ +export interface CreateActivationCommandInput extends CreateActivationRequest { +} +/** + * @public + * + * The output of {@link CreateActivationCommand}. + */ +export interface CreateActivationCommandOutput extends CreateActivationResult, __MetadataBearer { +} +/** + * @public + *

Generates an activation code and activation ID you can use to register your on-premises + * servers, edge devices, or virtual machine (VM) with Amazon Web Services Systems Manager. Registering these machines with + * Systems Manager makes it possible to manage them using Systems Manager capabilities. You use the activation code and + * ID when installing SSM Agent on machines in your hybrid environment. For more information about + * requirements for managing on-premises machines using Systems Manager, see Setting up + * Amazon Web Services Systems Manager for hybrid environments in the Amazon Web Services Systems Manager User Guide.

+ * + *

Amazon Elastic Compute Cloud (Amazon EC2) instances, edge devices, and on-premises servers and VMs that are + * configured for Systems Manager are all called managed nodes.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, CreateActivationCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, CreateActivationCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // CreateActivationRequest + * Description: "STRING_VALUE", + * DefaultInstanceName: "STRING_VALUE", + * IamRole: "STRING_VALUE", // required + * RegistrationLimit: Number("int"), + * ExpirationDate: new Date("TIMESTAMP"), + * Tags: [ // TagList + * { // Tag + * Key: "STRING_VALUE", // required + * Value: "STRING_VALUE", // required + * }, + * ], + * RegistrationMetadata: [ // RegistrationMetadataList + * { // RegistrationMetadataItem + * Key: "STRING_VALUE", // required + * Value: "STRING_VALUE", // required + * }, + * ], + * }; + * const command = new CreateActivationCommand(input); + * const response = await client.send(command); + * // { // CreateActivationResult + * // ActivationId: "STRING_VALUE", + * // ActivationCode: "STRING_VALUE", + * // }; + * + * ``` + * + * @param CreateActivationCommandInput - {@link CreateActivationCommandInput} + * @returns {@link CreateActivationCommandOutput} + * @see {@link CreateActivationCommandInput} for command's `input` shape. + * @see {@link CreateActivationCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link InvalidParameters} (client fault) + *

You must specify values for all required parameters in the Amazon Web Services Systems Manager document (SSM + * document). You can only supply values to parameters defined in the SSM document.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class CreateActivationCommand extends $Command { + readonly input: CreateActivationCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: CreateActivationCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateAssociationBatchCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateAssociationBatchCommand.d.ts new file mode 100644 index 00000000..a3016c5f --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateAssociationBatchCommand.d.ts @@ -0,0 +1,373 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { CreateAssociationBatchRequest, CreateAssociationBatchResult } from "../models/models_0"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link CreateAssociationBatchCommand}. + */ +export interface CreateAssociationBatchCommandInput extends CreateAssociationBatchRequest { +} +/** + * @public + * + * The output of {@link CreateAssociationBatchCommand}. + */ +export interface CreateAssociationBatchCommandOutput extends CreateAssociationBatchResult, __MetadataBearer { +} +/** + * @public + *

Associates the specified Amazon Web Services Systems Manager document (SSM document) with the specified managed nodes + * or targets.

+ *

When you associate a document with one or more managed nodes using IDs or tags, Amazon Web Services Systems Manager + * Agent (SSM Agent) running on the managed node processes the document and configures the node as + * specified.

+ *

If you associate a document with a managed node that already has an associated document, the + * system returns the AssociationAlreadyExists exception.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, CreateAssociationBatchCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, CreateAssociationBatchCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // CreateAssociationBatchRequest + * Entries: [ // CreateAssociationBatchRequestEntries // required + * { // CreateAssociationBatchRequestEntry + * Name: "STRING_VALUE", // required + * InstanceId: "STRING_VALUE", + * Parameters: { // Parameters + * "": [ // ParameterValueList + * "STRING_VALUE", + * ], + * }, + * AutomationTargetParameterName: "STRING_VALUE", + * DocumentVersion: "STRING_VALUE", + * Targets: [ // Targets + * { // Target + * Key: "STRING_VALUE", + * Values: [ // TargetValues + * "STRING_VALUE", + * ], + * }, + * ], + * ScheduleExpression: "STRING_VALUE", + * OutputLocation: { // InstanceAssociationOutputLocation + * S3Location: { // S3OutputLocation + * OutputS3Region: "STRING_VALUE", + * OutputS3BucketName: "STRING_VALUE", + * OutputS3KeyPrefix: "STRING_VALUE", + * }, + * }, + * AssociationName: "STRING_VALUE", + * MaxErrors: "STRING_VALUE", + * MaxConcurrency: "STRING_VALUE", + * ComplianceSeverity: "CRITICAL" || "HIGH" || "MEDIUM" || "LOW" || "UNSPECIFIED", + * SyncCompliance: "AUTO" || "MANUAL", + * ApplyOnlyAtCronInterval: true || false, + * CalendarNames: [ // CalendarNameOrARNList + * "STRING_VALUE", + * ], + * TargetLocations: [ // TargetLocations + * { // TargetLocation + * Accounts: [ // Accounts + * "STRING_VALUE", + * ], + * Regions: [ // Regions + * "STRING_VALUE", + * ], + * TargetLocationMaxConcurrency: "STRING_VALUE", + * TargetLocationMaxErrors: "STRING_VALUE", + * ExecutionRoleName: "STRING_VALUE", + * TargetLocationAlarmConfiguration: { // AlarmConfiguration + * IgnorePollAlarmFailure: true || false, + * Alarms: [ // AlarmList // required + * { // Alarm + * Name: "STRING_VALUE", // required + * }, + * ], + * }, + * }, + * ], + * ScheduleOffset: Number("int"), + * TargetMaps: [ // TargetMaps + * { // TargetMap + * "": [ // TargetMapValueList + * "STRING_VALUE", + * ], + * }, + * ], + * AlarmConfiguration: { + * IgnorePollAlarmFailure: true || false, + * Alarms: [ // required + * { + * Name: "STRING_VALUE", // required + * }, + * ], + * }, + * }, + * ], + * }; + * const command = new CreateAssociationBatchCommand(input); + * const response = await client.send(command); + * // { // CreateAssociationBatchResult + * // Successful: [ // AssociationDescriptionList + * // { // AssociationDescription + * // Name: "STRING_VALUE", + * // InstanceId: "STRING_VALUE", + * // AssociationVersion: "STRING_VALUE", + * // Date: new Date("TIMESTAMP"), + * // LastUpdateAssociationDate: new Date("TIMESTAMP"), + * // Status: { // AssociationStatus + * // Date: new Date("TIMESTAMP"), // required + * // Name: "Pending" || "Success" || "Failed", // required + * // Message: "STRING_VALUE", // required + * // AdditionalInfo: "STRING_VALUE", + * // }, + * // Overview: { // AssociationOverview + * // Status: "STRING_VALUE", + * // DetailedStatus: "STRING_VALUE", + * // AssociationStatusAggregatedCount: { // AssociationStatusAggregatedCount + * // "": Number("int"), + * // }, + * // }, + * // DocumentVersion: "STRING_VALUE", + * // AutomationTargetParameterName: "STRING_VALUE", + * // Parameters: { // Parameters + * // "": [ // ParameterValueList + * // "STRING_VALUE", + * // ], + * // }, + * // AssociationId: "STRING_VALUE", + * // Targets: [ // Targets + * // { // Target + * // Key: "STRING_VALUE", + * // Values: [ // TargetValues + * // "STRING_VALUE", + * // ], + * // }, + * // ], + * // ScheduleExpression: "STRING_VALUE", + * // OutputLocation: { // InstanceAssociationOutputLocation + * // S3Location: { // S3OutputLocation + * // OutputS3Region: "STRING_VALUE", + * // OutputS3BucketName: "STRING_VALUE", + * // OutputS3KeyPrefix: "STRING_VALUE", + * // }, + * // }, + * // LastExecutionDate: new Date("TIMESTAMP"), + * // LastSuccessfulExecutionDate: new Date("TIMESTAMP"), + * // AssociationName: "STRING_VALUE", + * // MaxErrors: "STRING_VALUE", + * // MaxConcurrency: "STRING_VALUE", + * // ComplianceSeverity: "CRITICAL" || "HIGH" || "MEDIUM" || "LOW" || "UNSPECIFIED", + * // SyncCompliance: "AUTO" || "MANUAL", + * // ApplyOnlyAtCronInterval: true || false, + * // CalendarNames: [ // CalendarNameOrARNList + * // "STRING_VALUE", + * // ], + * // TargetLocations: [ // TargetLocations + * // { // TargetLocation + * // Accounts: [ // Accounts + * // "STRING_VALUE", + * // ], + * // Regions: [ // Regions + * // "STRING_VALUE", + * // ], + * // TargetLocationMaxConcurrency: "STRING_VALUE", + * // TargetLocationMaxErrors: "STRING_VALUE", + * // ExecutionRoleName: "STRING_VALUE", + * // TargetLocationAlarmConfiguration: { // AlarmConfiguration + * // IgnorePollAlarmFailure: true || false, + * // Alarms: [ // AlarmList // required + * // { // Alarm + * // Name: "STRING_VALUE", // required + * // }, + * // ], + * // }, + * // }, + * // ], + * // ScheduleOffset: Number("int"), + * // TargetMaps: [ // TargetMaps + * // { // TargetMap + * // "": [ // TargetMapValueList + * // "STRING_VALUE", + * // ], + * // }, + * // ], + * // AlarmConfiguration: { + * // IgnorePollAlarmFailure: true || false, + * // Alarms: [ // required + * // { + * // Name: "STRING_VALUE", // required + * // }, + * // ], + * // }, + * // TriggeredAlarms: [ // AlarmStateInformationList + * // { // AlarmStateInformation + * // Name: "STRING_VALUE", // required + * // State: "UNKNOWN" || "ALARM", // required + * // }, + * // ], + * // }, + * // ], + * // Failed: [ // FailedCreateAssociationList + * // { // FailedCreateAssociation + * // Entry: { // CreateAssociationBatchRequestEntry + * // Name: "STRING_VALUE", // required + * // InstanceId: "STRING_VALUE", + * // Parameters: { + * // "": [ + * // "STRING_VALUE", + * // ], + * // }, + * // AutomationTargetParameterName: "STRING_VALUE", + * // DocumentVersion: "STRING_VALUE", + * // Targets: [ + * // { + * // Key: "STRING_VALUE", + * // Values: [ + * // "STRING_VALUE", + * // ], + * // }, + * // ], + * // ScheduleExpression: "STRING_VALUE", + * // OutputLocation: { + * // S3Location: { + * // OutputS3Region: "STRING_VALUE", + * // OutputS3BucketName: "STRING_VALUE", + * // OutputS3KeyPrefix: "STRING_VALUE", + * // }, + * // }, + * // AssociationName: "STRING_VALUE", + * // MaxErrors: "STRING_VALUE", + * // MaxConcurrency: "STRING_VALUE", + * // ComplianceSeverity: "CRITICAL" || "HIGH" || "MEDIUM" || "LOW" || "UNSPECIFIED", + * // SyncCompliance: "AUTO" || "MANUAL", + * // ApplyOnlyAtCronInterval: true || false, + * // CalendarNames: [ + * // "STRING_VALUE", + * // ], + * // TargetLocations: [ + * // { + * // Accounts: [ + * // "STRING_VALUE", + * // ], + * // Regions: [ + * // "STRING_VALUE", + * // ], + * // TargetLocationMaxConcurrency: "STRING_VALUE", + * // TargetLocationMaxErrors: "STRING_VALUE", + * // ExecutionRoleName: "STRING_VALUE", + * // TargetLocationAlarmConfiguration: "", + * // }, + * // ], + * // ScheduleOffset: Number("int"), + * // TargetMaps: [ + * // { + * // "": [ + * // "STRING_VALUE", + * // ], + * // }, + * // ], + * // AlarmConfiguration: "", + * // }, + * // Message: "STRING_VALUE", + * // Fault: "Client" || "Server" || "Unknown", + * // }, + * // ], + * // }; + * + * ``` + * + * @param CreateAssociationBatchCommandInput - {@link CreateAssociationBatchCommandInput} + * @returns {@link CreateAssociationBatchCommandOutput} + * @see {@link CreateAssociationBatchCommandInput} for command's `input` shape. + * @see {@link CreateAssociationBatchCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link AssociationLimitExceeded} (client fault) + *

You can have at most 2,000 active associations.

+ * + * @throws {@link DuplicateInstanceId} (client fault) + *

You can't specify a managed node ID in more than one association.

+ * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link InvalidDocument} (client fault) + *

The specified SSM document doesn't exist.

+ * + * @throws {@link InvalidDocumentVersion} (client fault) + *

The document version isn't valid or doesn't exist.

+ * + * @throws {@link InvalidInstanceId} (client fault) + *

The following problems can cause this exception:

+ *
    + *
  • + *

    You don't have permission to access the managed node.

    + *
  • + *
  • + *

    Amazon Web Services Systems Manager Agent(SSM Agent) isn't running. Verify that SSM Agent is + * running.

    + *
  • + *
  • + *

    SSM Agent isn't registered with the SSM endpoint. Try reinstalling SSM Agent.

    + *
  • + *
  • + *

    The managed node isn't in valid state. Valid states are: Running, + * Pending, Stopped, and Stopping. Invalid states are: + * Shutting-down and Terminated.

    + *
  • + *
+ * + * @throws {@link InvalidOutputLocation} (client fault) + *

The output location isn't valid or doesn't exist.

+ * + * @throws {@link InvalidParameters} (client fault) + *

You must specify values for all required parameters in the Amazon Web Services Systems Manager document (SSM + * document). You can only supply values to parameters defined in the SSM document.

+ * + * @throws {@link InvalidSchedule} (client fault) + *

The schedule is invalid. Verify your cron or rate expression and try again.

+ * + * @throws {@link InvalidTarget} (client fault) + *

The target isn't valid or doesn't exist. It might not be configured for Systems Manager or you might + * not have permission to perform the operation.

+ * + * @throws {@link InvalidTargetMaps} (client fault) + *

TargetMap parameter isn't valid.

+ * + * @throws {@link UnsupportedPlatformType} (client fault) + *

The document doesn't support the platform type of the given managed node ID(s). For example, + * you sent an document for a Windows managed node to a Linux node.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class CreateAssociationBatchCommand extends $Command { + readonly input: CreateAssociationBatchCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: CreateAssociationBatchCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateAssociationCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateAssociationCommand.d.ts new file mode 100644 index 00000000..aaee8878 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateAssociationCommand.d.ts @@ -0,0 +1,314 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { CreateAssociationRequest, CreateAssociationResult } from "../models/models_0"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link CreateAssociationCommand}. + */ +export interface CreateAssociationCommandInput extends CreateAssociationRequest { +} +/** + * @public + * + * The output of {@link CreateAssociationCommand}. + */ +export interface CreateAssociationCommandOutput extends CreateAssociationResult, __MetadataBearer { +} +/** + * @public + *

A State Manager association defines the state that you want to maintain on your managed + * nodes. For example, an association can specify that anti-virus software must be installed and + * running on your managed nodes, or that certain ports must be closed. For static targets, the + * association specifies a schedule for when the configuration is reapplied. For dynamic targets, + * such as an Amazon Web Services resource group or an Amazon Web Services autoscaling group, State Manager, a capability of + * Amazon Web Services Systems Manager applies the configuration when new managed nodes are added to the group. The + * association also specifies actions to take when applying the configuration. For example, an + * association for anti-virus software might run once a day. If the software isn't installed, then + * State Manager installs it. If the software is installed, but the service isn't running, then the + * association might instruct State Manager to start the service.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, CreateAssociationCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, CreateAssociationCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // CreateAssociationRequest + * Name: "STRING_VALUE", // required + * DocumentVersion: "STRING_VALUE", + * InstanceId: "STRING_VALUE", + * Parameters: { // Parameters + * "": [ // ParameterValueList + * "STRING_VALUE", + * ], + * }, + * Targets: [ // Targets + * { // Target + * Key: "STRING_VALUE", + * Values: [ // TargetValues + * "STRING_VALUE", + * ], + * }, + * ], + * ScheduleExpression: "STRING_VALUE", + * OutputLocation: { // InstanceAssociationOutputLocation + * S3Location: { // S3OutputLocation + * OutputS3Region: "STRING_VALUE", + * OutputS3BucketName: "STRING_VALUE", + * OutputS3KeyPrefix: "STRING_VALUE", + * }, + * }, + * AssociationName: "STRING_VALUE", + * AutomationTargetParameterName: "STRING_VALUE", + * MaxErrors: "STRING_VALUE", + * MaxConcurrency: "STRING_VALUE", + * ComplianceSeverity: "CRITICAL" || "HIGH" || "MEDIUM" || "LOW" || "UNSPECIFIED", + * SyncCompliance: "AUTO" || "MANUAL", + * ApplyOnlyAtCronInterval: true || false, + * CalendarNames: [ // CalendarNameOrARNList + * "STRING_VALUE", + * ], + * TargetLocations: [ // TargetLocations + * { // TargetLocation + * Accounts: [ // Accounts + * "STRING_VALUE", + * ], + * Regions: [ // Regions + * "STRING_VALUE", + * ], + * TargetLocationMaxConcurrency: "STRING_VALUE", + * TargetLocationMaxErrors: "STRING_VALUE", + * ExecutionRoleName: "STRING_VALUE", + * TargetLocationAlarmConfiguration: { // AlarmConfiguration + * IgnorePollAlarmFailure: true || false, + * Alarms: [ // AlarmList // required + * { // Alarm + * Name: "STRING_VALUE", // required + * }, + * ], + * }, + * }, + * ], + * ScheduleOffset: Number("int"), + * TargetMaps: [ // TargetMaps + * { // TargetMap + * "": [ // TargetMapValueList + * "STRING_VALUE", + * ], + * }, + * ], + * Tags: [ // TagList + * { // Tag + * Key: "STRING_VALUE", // required + * Value: "STRING_VALUE", // required + * }, + * ], + * AlarmConfiguration: { + * IgnorePollAlarmFailure: true || false, + * Alarms: [ // required + * { + * Name: "STRING_VALUE", // required + * }, + * ], + * }, + * }; + * const command = new CreateAssociationCommand(input); + * const response = await client.send(command); + * // { // CreateAssociationResult + * // AssociationDescription: { // AssociationDescription + * // Name: "STRING_VALUE", + * // InstanceId: "STRING_VALUE", + * // AssociationVersion: "STRING_VALUE", + * // Date: new Date("TIMESTAMP"), + * // LastUpdateAssociationDate: new Date("TIMESTAMP"), + * // Status: { // AssociationStatus + * // Date: new Date("TIMESTAMP"), // required + * // Name: "Pending" || "Success" || "Failed", // required + * // Message: "STRING_VALUE", // required + * // AdditionalInfo: "STRING_VALUE", + * // }, + * // Overview: { // AssociationOverview + * // Status: "STRING_VALUE", + * // DetailedStatus: "STRING_VALUE", + * // AssociationStatusAggregatedCount: { // AssociationStatusAggregatedCount + * // "": Number("int"), + * // }, + * // }, + * // DocumentVersion: "STRING_VALUE", + * // AutomationTargetParameterName: "STRING_VALUE", + * // Parameters: { // Parameters + * // "": [ // ParameterValueList + * // "STRING_VALUE", + * // ], + * // }, + * // AssociationId: "STRING_VALUE", + * // Targets: [ // Targets + * // { // Target + * // Key: "STRING_VALUE", + * // Values: [ // TargetValues + * // "STRING_VALUE", + * // ], + * // }, + * // ], + * // ScheduleExpression: "STRING_VALUE", + * // OutputLocation: { // InstanceAssociationOutputLocation + * // S3Location: { // S3OutputLocation + * // OutputS3Region: "STRING_VALUE", + * // OutputS3BucketName: "STRING_VALUE", + * // OutputS3KeyPrefix: "STRING_VALUE", + * // }, + * // }, + * // LastExecutionDate: new Date("TIMESTAMP"), + * // LastSuccessfulExecutionDate: new Date("TIMESTAMP"), + * // AssociationName: "STRING_VALUE", + * // MaxErrors: "STRING_VALUE", + * // MaxConcurrency: "STRING_VALUE", + * // ComplianceSeverity: "CRITICAL" || "HIGH" || "MEDIUM" || "LOW" || "UNSPECIFIED", + * // SyncCompliance: "AUTO" || "MANUAL", + * // ApplyOnlyAtCronInterval: true || false, + * // CalendarNames: [ // CalendarNameOrARNList + * // "STRING_VALUE", + * // ], + * // TargetLocations: [ // TargetLocations + * // { // TargetLocation + * // Accounts: [ // Accounts + * // "STRING_VALUE", + * // ], + * // Regions: [ // Regions + * // "STRING_VALUE", + * // ], + * // TargetLocationMaxConcurrency: "STRING_VALUE", + * // TargetLocationMaxErrors: "STRING_VALUE", + * // ExecutionRoleName: "STRING_VALUE", + * // TargetLocationAlarmConfiguration: { // AlarmConfiguration + * // IgnorePollAlarmFailure: true || false, + * // Alarms: [ // AlarmList // required + * // { // Alarm + * // Name: "STRING_VALUE", // required + * // }, + * // ], + * // }, + * // }, + * // ], + * // ScheduleOffset: Number("int"), + * // TargetMaps: [ // TargetMaps + * // { // TargetMap + * // "": [ // TargetMapValueList + * // "STRING_VALUE", + * // ], + * // }, + * // ], + * // AlarmConfiguration: { + * // IgnorePollAlarmFailure: true || false, + * // Alarms: [ // required + * // { + * // Name: "STRING_VALUE", // required + * // }, + * // ], + * // }, + * // TriggeredAlarms: [ // AlarmStateInformationList + * // { // AlarmStateInformation + * // Name: "STRING_VALUE", // required + * // State: "UNKNOWN" || "ALARM", // required + * // }, + * // ], + * // }, + * // }; + * + * ``` + * + * @param CreateAssociationCommandInput - {@link CreateAssociationCommandInput} + * @returns {@link CreateAssociationCommandOutput} + * @see {@link CreateAssociationCommandInput} for command's `input` shape. + * @see {@link CreateAssociationCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link AssociationAlreadyExists} (client fault) + *

The specified association already exists.

+ * + * @throws {@link AssociationLimitExceeded} (client fault) + *

You can have at most 2,000 active associations.

+ * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link InvalidDocument} (client fault) + *

The specified SSM document doesn't exist.

+ * + * @throws {@link InvalidDocumentVersion} (client fault) + *

The document version isn't valid or doesn't exist.

+ * + * @throws {@link InvalidInstanceId} (client fault) + *

The following problems can cause this exception:

+ *
    + *
  • + *

    You don't have permission to access the managed node.

    + *
  • + *
  • + *

    Amazon Web Services Systems Manager Agent(SSM Agent) isn't running. Verify that SSM Agent is + * running.

    + *
  • + *
  • + *

    SSM Agent isn't registered with the SSM endpoint. Try reinstalling SSM Agent.

    + *
  • + *
  • + *

    The managed node isn't in valid state. Valid states are: Running, + * Pending, Stopped, and Stopping. Invalid states are: + * Shutting-down and Terminated.

    + *
  • + *
+ * + * @throws {@link InvalidOutputLocation} (client fault) + *

The output location isn't valid or doesn't exist.

+ * + * @throws {@link InvalidParameters} (client fault) + *

You must specify values for all required parameters in the Amazon Web Services Systems Manager document (SSM + * document). You can only supply values to parameters defined in the SSM document.

+ * + * @throws {@link InvalidSchedule} (client fault) + *

The schedule is invalid. Verify your cron or rate expression and try again.

+ * + * @throws {@link InvalidTag} (client fault) + *

The specified tag key or value isn't valid.

+ * + * @throws {@link InvalidTarget} (client fault) + *

The target isn't valid or doesn't exist. It might not be configured for Systems Manager or you might + * not have permission to perform the operation.

+ * + * @throws {@link InvalidTargetMaps} (client fault) + *

TargetMap parameter isn't valid.

+ * + * @throws {@link UnsupportedPlatformType} (client fault) + *

The document doesn't support the platform type of the given managed node ID(s). For example, + * you sent an document for a Windows managed node to a Linux node.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class CreateAssociationCommand extends $Command { + readonly input: CreateAssociationCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: CreateAssociationCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateDocumentCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateDocumentCommand.d.ts new file mode 100644 index 00000000..243f5eea --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateDocumentCommand.d.ts @@ -0,0 +1,189 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { CreateDocumentRequest, CreateDocumentResult } from "../models/models_0"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link CreateDocumentCommand}. + */ +export interface CreateDocumentCommandInput extends CreateDocumentRequest { +} +/** + * @public + * + * The output of {@link CreateDocumentCommand}. + */ +export interface CreateDocumentCommandOutput extends CreateDocumentResult, __MetadataBearer { +} +/** + * @public + *

Creates a Amazon Web Services Systems Manager (SSM document). An SSM document defines the actions that Systems Manager performs + * on your managed nodes. For more information about SSM documents, including information about + * supported schemas, features, and syntax, see Amazon Web Services Systems Manager Documents in the + * Amazon Web Services Systems Manager User Guide.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, CreateDocumentCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, CreateDocumentCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // CreateDocumentRequest + * Content: "STRING_VALUE", // required + * Requires: [ // DocumentRequiresList + * { // DocumentRequires + * Name: "STRING_VALUE", // required + * Version: "STRING_VALUE", + * RequireType: "STRING_VALUE", + * VersionName: "STRING_VALUE", + * }, + * ], + * Attachments: [ // AttachmentsSourceList + * { // AttachmentsSource + * Key: "SourceUrl" || "S3FileUrl" || "AttachmentReference", + * Values: [ // AttachmentsSourceValues + * "STRING_VALUE", + * ], + * Name: "STRING_VALUE", + * }, + * ], + * Name: "STRING_VALUE", // required + * DisplayName: "STRING_VALUE", + * VersionName: "STRING_VALUE", + * DocumentType: "Command" || "Policy" || "Automation" || "Session" || "Package" || "ApplicationConfiguration" || "ApplicationConfigurationSchema" || "DeploymentStrategy" || "ChangeCalendar" || "Automation.ChangeTemplate" || "ProblemAnalysis" || "ProblemAnalysisTemplate" || "CloudFormation" || "ConformancePackTemplate" || "QuickSetup", + * DocumentFormat: "YAML" || "JSON" || "TEXT", + * TargetType: "STRING_VALUE", + * Tags: [ // TagList + * { // Tag + * Key: "STRING_VALUE", // required + * Value: "STRING_VALUE", // required + * }, + * ], + * }; + * const command = new CreateDocumentCommand(input); + * const response = await client.send(command); + * // { // CreateDocumentResult + * // DocumentDescription: { // DocumentDescription + * // Sha1: "STRING_VALUE", + * // Hash: "STRING_VALUE", + * // HashType: "Sha256" || "Sha1", + * // Name: "STRING_VALUE", + * // DisplayName: "STRING_VALUE", + * // VersionName: "STRING_VALUE", + * // Owner: "STRING_VALUE", + * // CreatedDate: new Date("TIMESTAMP"), + * // Status: "Creating" || "Active" || "Updating" || "Deleting" || "Failed", + * // StatusInformation: "STRING_VALUE", + * // DocumentVersion: "STRING_VALUE", + * // Description: "STRING_VALUE", + * // Parameters: [ // DocumentParameterList + * // { // DocumentParameter + * // Name: "STRING_VALUE", + * // Type: "String" || "StringList", + * // Description: "STRING_VALUE", + * // DefaultValue: "STRING_VALUE", + * // }, + * // ], + * // PlatformTypes: [ // PlatformTypeList + * // "Windows" || "Linux" || "MacOS", + * // ], + * // DocumentType: "Command" || "Policy" || "Automation" || "Session" || "Package" || "ApplicationConfiguration" || "ApplicationConfigurationSchema" || "DeploymentStrategy" || "ChangeCalendar" || "Automation.ChangeTemplate" || "ProblemAnalysis" || "ProblemAnalysisTemplate" || "CloudFormation" || "ConformancePackTemplate" || "QuickSetup", + * // SchemaVersion: "STRING_VALUE", + * // LatestVersion: "STRING_VALUE", + * // DefaultVersion: "STRING_VALUE", + * // DocumentFormat: "YAML" || "JSON" || "TEXT", + * // TargetType: "STRING_VALUE", + * // Tags: [ // TagList + * // { // Tag + * // Key: "STRING_VALUE", // required + * // Value: "STRING_VALUE", // required + * // }, + * // ], + * // AttachmentsInformation: [ // AttachmentInformationList + * // { // AttachmentInformation + * // Name: "STRING_VALUE", + * // }, + * // ], + * // Requires: [ // DocumentRequiresList + * // { // DocumentRequires + * // Name: "STRING_VALUE", // required + * // Version: "STRING_VALUE", + * // RequireType: "STRING_VALUE", + * // VersionName: "STRING_VALUE", + * // }, + * // ], + * // Author: "STRING_VALUE", + * // ReviewInformation: [ // ReviewInformationList + * // { // ReviewInformation + * // ReviewedTime: new Date("TIMESTAMP"), + * // Status: "APPROVED" || "NOT_REVIEWED" || "PENDING" || "REJECTED", + * // Reviewer: "STRING_VALUE", + * // }, + * // ], + * // ApprovedVersion: "STRING_VALUE", + * // PendingReviewVersion: "STRING_VALUE", + * // ReviewStatus: "APPROVED" || "NOT_REVIEWED" || "PENDING" || "REJECTED", + * // Category: [ // CategoryList + * // "STRING_VALUE", + * // ], + * // CategoryEnum: [ // CategoryEnumList + * // "STRING_VALUE", + * // ], + * // }, + * // }; + * + * ``` + * + * @param CreateDocumentCommandInput - {@link CreateDocumentCommandInput} + * @returns {@link CreateDocumentCommandOutput} + * @see {@link CreateDocumentCommandInput} for command's `input` shape. + * @see {@link CreateDocumentCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link DocumentAlreadyExists} (client fault) + *

The specified document already exists.

+ * + * @throws {@link DocumentLimitExceeded} (client fault) + *

You can have at most 500 active SSM documents.

+ * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link InvalidDocumentContent} (client fault) + *

The content for the document isn't valid.

+ * + * @throws {@link InvalidDocumentSchemaVersion} (client fault) + *

The version of the document schema isn't supported.

+ * + * @throws {@link MaxDocumentSizeExceeded} (client fault) + *

The size limit of a document is 64 KB.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class CreateDocumentCommand extends $Command { + readonly input: CreateDocumentCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: CreateDocumentCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateMaintenanceWindowCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateMaintenanceWindowCommand.d.ts new file mode 100644 index 00000000..6301c29b --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateMaintenanceWindowCommand.d.ts @@ -0,0 +1,110 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { CreateMaintenanceWindowRequest, CreateMaintenanceWindowResult } from "../models/models_0"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link CreateMaintenanceWindowCommand}. + */ +export interface CreateMaintenanceWindowCommandInput extends CreateMaintenanceWindowRequest { +} +/** + * @public + * + * The output of {@link CreateMaintenanceWindowCommand}. + */ +export interface CreateMaintenanceWindowCommandOutput extends CreateMaintenanceWindowResult, __MetadataBearer { +} +/** + * @public + *

Creates a new maintenance window.

+ * + *

The value you specify for Duration determines the specific end time for the + * maintenance window based on the time it begins. No maintenance window tasks are permitted to + * start after the resulting endtime minus the number of hours you specify for Cutoff. + * For example, if the maintenance window starts at 3 PM, the duration is three hours, and the + * value you specify for Cutoff is one hour, no maintenance window tasks can start + * after 5 PM.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, CreateMaintenanceWindowCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, CreateMaintenanceWindowCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // CreateMaintenanceWindowRequest + * Name: "STRING_VALUE", // required + * Description: "STRING_VALUE", + * StartDate: "STRING_VALUE", + * EndDate: "STRING_VALUE", + * Schedule: "STRING_VALUE", // required + * ScheduleTimezone: "STRING_VALUE", + * ScheduleOffset: Number("int"), + * Duration: Number("int"), // required + * Cutoff: Number("int"), // required + * AllowUnassociatedTargets: true || false, // required + * ClientToken: "STRING_VALUE", + * Tags: [ // TagList + * { // Tag + * Key: "STRING_VALUE", // required + * Value: "STRING_VALUE", // required + * }, + * ], + * }; + * const command = new CreateMaintenanceWindowCommand(input); + * const response = await client.send(command); + * // { // CreateMaintenanceWindowResult + * // WindowId: "STRING_VALUE", + * // }; + * + * ``` + * + * @param CreateMaintenanceWindowCommandInput - {@link CreateMaintenanceWindowCommandInput} + * @returns {@link CreateMaintenanceWindowCommandOutput} + * @see {@link CreateMaintenanceWindowCommandInput} for command's `input` shape. + * @see {@link CreateMaintenanceWindowCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link IdempotentParameterMismatch} (client fault) + *

Error returned when an idempotent operation is retried and the parameters don't match the + * original call to the API with the same idempotency token.

+ * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link ResourceLimitExceededException} (client fault) + *

Error returned when the caller has exceeded the default resource quotas. For example, too + * many maintenance windows or patch baselines have been created.

+ *

For information about resource quotas in Systems Manager, see Systems Manager service quotas in the + * Amazon Web Services General Reference.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class CreateMaintenanceWindowCommand extends $Command { + readonly input: CreateMaintenanceWindowCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: CreateMaintenanceWindowCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateOpsItemCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateOpsItemCommand.d.ts new file mode 100644 index 00000000..81b2ec6d --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateOpsItemCommand.d.ts @@ -0,0 +1,130 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { CreateOpsItemRequest, CreateOpsItemResponse } from "../models/models_0"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link CreateOpsItemCommand}. + */ +export interface CreateOpsItemCommandInput extends CreateOpsItemRequest { +} +/** + * @public + * + * The output of {@link CreateOpsItemCommand}. + */ +export interface CreateOpsItemCommandOutput extends CreateOpsItemResponse, __MetadataBearer { +} +/** + * @public + *

Creates a new OpsItem. You must have permission in Identity and Access Management (IAM) to create a new OpsItem. For more information, see Set up OpsCenter in the + * Amazon Web Services Systems Manager User Guide.

+ *

Operations engineers and IT professionals use Amazon Web Services Systems Manager OpsCenter to view, investigate, and + * remediate operational issues impacting the performance and health of their Amazon Web Services resources. For + * more information, see Amazon Web Services Systems Manager OpsCenter in the + * Amazon Web Services Systems Manager User Guide.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, CreateOpsItemCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, CreateOpsItemCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // CreateOpsItemRequest + * Description: "STRING_VALUE", // required + * OpsItemType: "STRING_VALUE", + * OperationalData: { // OpsItemOperationalData + * "": { // OpsItemDataValue + * Value: "STRING_VALUE", + * Type: "SearchableString" || "String", + * }, + * }, + * Notifications: [ // OpsItemNotifications + * { // OpsItemNotification + * Arn: "STRING_VALUE", + * }, + * ], + * Priority: Number("int"), + * RelatedOpsItems: [ // RelatedOpsItems + * { // RelatedOpsItem + * OpsItemId: "STRING_VALUE", // required + * }, + * ], + * Source: "STRING_VALUE", // required + * Title: "STRING_VALUE", // required + * Tags: [ // TagList + * { // Tag + * Key: "STRING_VALUE", // required + * Value: "STRING_VALUE", // required + * }, + * ], + * Category: "STRING_VALUE", + * Severity: "STRING_VALUE", + * ActualStartTime: new Date("TIMESTAMP"), + * ActualEndTime: new Date("TIMESTAMP"), + * PlannedStartTime: new Date("TIMESTAMP"), + * PlannedEndTime: new Date("TIMESTAMP"), + * AccountId: "STRING_VALUE", + * }; + * const command = new CreateOpsItemCommand(input); + * const response = await client.send(command); + * // { // CreateOpsItemResponse + * // OpsItemId: "STRING_VALUE", + * // OpsItemArn: "STRING_VALUE", + * // }; + * + * ``` + * + * @param CreateOpsItemCommandInput - {@link CreateOpsItemCommandInput} + * @returns {@link CreateOpsItemCommandOutput} + * @see {@link CreateOpsItemCommandInput} for command's `input` shape. + * @see {@link CreateOpsItemCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link OpsItemAccessDeniedException} (client fault) + *

You don't have permission to view OpsItems in the specified account. Verify that your account + * is configured either as a Systems Manager delegated administrator or that you are logged into the Organizations + * management account.

+ * + * @throws {@link OpsItemAlreadyExistsException} (client fault) + *

The OpsItem already exists.

+ * + * @throws {@link OpsItemInvalidParameterException} (client fault) + *

A specified parameter argument isn't valid. Verify the available arguments and try + * again.

+ * + * @throws {@link OpsItemLimitExceededException} (client fault) + *

The request caused OpsItems to exceed one or more quotas.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class CreateOpsItemCommand extends $Command { + readonly input: CreateOpsItemCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: CreateOpsItemCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateOpsMetadataCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateOpsMetadataCommand.d.ts new file mode 100644 index 00000000..ee415cab --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateOpsMetadataCommand.d.ts @@ -0,0 +1,102 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { CreateOpsMetadataRequest, CreateOpsMetadataResult } from "../models/models_0"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link CreateOpsMetadataCommand}. + */ +export interface CreateOpsMetadataCommandInput extends CreateOpsMetadataRequest { +} +/** + * @public + * + * The output of {@link CreateOpsMetadataCommand}. + */ +export interface CreateOpsMetadataCommandOutput extends CreateOpsMetadataResult, __MetadataBearer { +} +/** + * @public + *

If you create a new application in Application Manager, Amazon Web Services Systems Manager calls this API operation to specify + * information about the new application, including the application type.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, CreateOpsMetadataCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, CreateOpsMetadataCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // CreateOpsMetadataRequest + * ResourceId: "STRING_VALUE", // required + * Metadata: { // MetadataMap + * "": { // MetadataValue + * Value: "STRING_VALUE", + * }, + * }, + * Tags: [ // TagList + * { // Tag + * Key: "STRING_VALUE", // required + * Value: "STRING_VALUE", // required + * }, + * ], + * }; + * const command = new CreateOpsMetadataCommand(input); + * const response = await client.send(command); + * // { // CreateOpsMetadataResult + * // OpsMetadataArn: "STRING_VALUE", + * // }; + * + * ``` + * + * @param CreateOpsMetadataCommandInput - {@link CreateOpsMetadataCommandInput} + * @returns {@link CreateOpsMetadataCommandOutput} + * @see {@link CreateOpsMetadataCommandInput} for command's `input` shape. + * @see {@link CreateOpsMetadataCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link OpsMetadataAlreadyExistsException} (client fault) + *

An OpsMetadata object already exists for the selected resource.

+ * + * @throws {@link OpsMetadataInvalidArgumentException} (client fault) + *

One of the arguments passed is invalid.

+ * + * @throws {@link OpsMetadataLimitExceededException} (client fault) + *

Your account reached the maximum number of OpsMetadata objects allowed by Application Manager. The + * maximum is 200 OpsMetadata objects. Delete one or more OpsMetadata object and try again.

+ * + * @throws {@link OpsMetadataTooManyUpdatesException} (client fault) + *

The system is processing too many concurrent updates. Wait a few moments and try + * again.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class CreateOpsMetadataCommand extends $Command { + readonly input: CreateOpsMetadataCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: CreateOpsMetadataCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreatePatchBaselineCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreatePatchBaselineCommand.d.ts new file mode 100644 index 00000000..6ba163a7 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreatePatchBaselineCommand.d.ts @@ -0,0 +1,147 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { CreatePatchBaselineRequest, CreatePatchBaselineResult } from "../models/models_0"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link CreatePatchBaselineCommand}. + */ +export interface CreatePatchBaselineCommandInput extends CreatePatchBaselineRequest { +} +/** + * @public + * + * The output of {@link CreatePatchBaselineCommand}. + */ +export interface CreatePatchBaselineCommandOutput extends CreatePatchBaselineResult, __MetadataBearer { +} +/** + * @public + *

Creates a patch baseline.

+ * + *

For information about valid key-value pairs in PatchFilters for each supported + * operating system type, see PatchFilter.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, CreatePatchBaselineCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, CreatePatchBaselineCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // CreatePatchBaselineRequest + * OperatingSystem: "WINDOWS" || "AMAZON_LINUX" || "AMAZON_LINUX_2" || "AMAZON_LINUX_2022" || "UBUNTU" || "REDHAT_ENTERPRISE_LINUX" || "SUSE" || "CENTOS" || "ORACLE_LINUX" || "DEBIAN" || "MACOS" || "RASPBIAN" || "ROCKY_LINUX" || "ALMA_LINUX" || "AMAZON_LINUX_2023", + * Name: "STRING_VALUE", // required + * GlobalFilters: { // PatchFilterGroup + * PatchFilters: [ // PatchFilterList // required + * { // PatchFilter + * Key: "ARCH" || "ADVISORY_ID" || "BUGZILLA_ID" || "PATCH_SET" || "PRODUCT" || "PRODUCT_FAMILY" || "CLASSIFICATION" || "CVE_ID" || "EPOCH" || "MSRC_SEVERITY" || "NAME" || "PATCH_ID" || "SECTION" || "PRIORITY" || "REPOSITORY" || "RELEASE" || "SEVERITY" || "SECURITY" || "VERSION", // required + * Values: [ // PatchFilterValueList // required + * "STRING_VALUE", + * ], + * }, + * ], + * }, + * ApprovalRules: { // PatchRuleGroup + * PatchRules: [ // PatchRuleList // required + * { // PatchRule + * PatchFilterGroup: { + * PatchFilters: [ // required + * { + * Key: "ARCH" || "ADVISORY_ID" || "BUGZILLA_ID" || "PATCH_SET" || "PRODUCT" || "PRODUCT_FAMILY" || "CLASSIFICATION" || "CVE_ID" || "EPOCH" || "MSRC_SEVERITY" || "NAME" || "PATCH_ID" || "SECTION" || "PRIORITY" || "REPOSITORY" || "RELEASE" || "SEVERITY" || "SECURITY" || "VERSION", // required + * Values: [ // required + * "STRING_VALUE", + * ], + * }, + * ], + * }, + * ComplianceLevel: "CRITICAL" || "HIGH" || "MEDIUM" || "LOW" || "INFORMATIONAL" || "UNSPECIFIED", + * ApproveAfterDays: Number("int"), + * ApproveUntilDate: "STRING_VALUE", + * EnableNonSecurity: true || false, + * }, + * ], + * }, + * ApprovedPatches: [ // PatchIdList + * "STRING_VALUE", + * ], + * ApprovedPatchesComplianceLevel: "CRITICAL" || "HIGH" || "MEDIUM" || "LOW" || "INFORMATIONAL" || "UNSPECIFIED", + * ApprovedPatchesEnableNonSecurity: true || false, + * RejectedPatches: [ + * "STRING_VALUE", + * ], + * RejectedPatchesAction: "ALLOW_AS_DEPENDENCY" || "BLOCK", + * Description: "STRING_VALUE", + * Sources: [ // PatchSourceList + * { // PatchSource + * Name: "STRING_VALUE", // required + * Products: [ // PatchSourceProductList // required + * "STRING_VALUE", + * ], + * Configuration: "STRING_VALUE", // required + * }, + * ], + * ClientToken: "STRING_VALUE", + * Tags: [ // TagList + * { // Tag + * Key: "STRING_VALUE", // required + * Value: "STRING_VALUE", // required + * }, + * ], + * }; + * const command = new CreatePatchBaselineCommand(input); + * const response = await client.send(command); + * // { // CreatePatchBaselineResult + * // BaselineId: "STRING_VALUE", + * // }; + * + * ``` + * + * @param CreatePatchBaselineCommandInput - {@link CreatePatchBaselineCommandInput} + * @returns {@link CreatePatchBaselineCommandOutput} + * @see {@link CreatePatchBaselineCommandInput} for command's `input` shape. + * @see {@link CreatePatchBaselineCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link IdempotentParameterMismatch} (client fault) + *

Error returned when an idempotent operation is retried and the parameters don't match the + * original call to the API with the same idempotency token.

+ * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link ResourceLimitExceededException} (client fault) + *

Error returned when the caller has exceeded the default resource quotas. For example, too + * many maintenance windows or patch baselines have been created.

+ *

For information about resource quotas in Systems Manager, see Systems Manager service quotas in the + * Amazon Web Services General Reference.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class CreatePatchBaselineCommand extends $Command { + readonly input: CreatePatchBaselineCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: CreatePatchBaselineCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateResourceDataSyncCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateResourceDataSyncCommand.d.ts new file mode 100644 index 00000000..779deccc --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/CreateResourceDataSyncCommand.d.ts @@ -0,0 +1,130 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { CreateResourceDataSyncRequest, CreateResourceDataSyncResult } from "../models/models_0"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link CreateResourceDataSyncCommand}. + */ +export interface CreateResourceDataSyncCommandInput extends CreateResourceDataSyncRequest { +} +/** + * @public + * + * The output of {@link CreateResourceDataSyncCommand}. + */ +export interface CreateResourceDataSyncCommandOutput extends CreateResourceDataSyncResult, __MetadataBearer { +} +/** + * @public + *

A resource data sync helps you view data from multiple sources in a single location. + * Amazon Web Services Systems Manager offers two types of resource data sync: SyncToDestination and + * SyncFromSource.

+ *

You can configure Systems Manager Inventory to use the SyncToDestination type to + * synchronize Inventory data from multiple Amazon Web Services Regions to a single Amazon Simple Storage Service (Amazon S3) bucket. For more information, see Configuring resource data + * sync for Inventory in the Amazon Web Services Systems Manager User Guide.

+ *

You can configure Systems Manager Explorer to use the SyncFromSource type to synchronize + * operational work items (OpsItems) and operational data (OpsData) from multiple Amazon Web Services Regions to a + * single Amazon S3 bucket. This type can synchronize OpsItems and OpsData from multiple + * Amazon Web Services accounts and Amazon Web Services Regions or EntireOrganization by using Organizations. For more + * information, see Setting up Systems Manager + * Explorer to display data from multiple accounts and Regions in the + * Amazon Web Services Systems Manager User Guide.

+ *

A resource data sync is an asynchronous operation that returns immediately. After a + * successful initial sync is completed, the system continuously syncs data. To check the status of + * a sync, use the ListResourceDataSync.

+ * + *

By default, data isn't encrypted in Amazon S3. We strongly recommend that you + * enable encryption in Amazon S3 to ensure secure data storage. We also recommend that you + * secure access to the Amazon S3 bucket by creating a restrictive bucket policy.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, CreateResourceDataSyncCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, CreateResourceDataSyncCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // CreateResourceDataSyncRequest + * SyncName: "STRING_VALUE", // required + * S3Destination: { // ResourceDataSyncS3Destination + * BucketName: "STRING_VALUE", // required + * Prefix: "STRING_VALUE", + * SyncFormat: "JsonSerDe", // required + * Region: "STRING_VALUE", // required + * AWSKMSKeyARN: "STRING_VALUE", + * DestinationDataSharing: { // ResourceDataSyncDestinationDataSharing + * DestinationDataSharingType: "STRING_VALUE", + * }, + * }, + * SyncType: "STRING_VALUE", + * SyncSource: { // ResourceDataSyncSource + * SourceType: "STRING_VALUE", // required + * AwsOrganizationsSource: { // ResourceDataSyncAwsOrganizationsSource + * OrganizationSourceType: "STRING_VALUE", // required + * OrganizationalUnits: [ // ResourceDataSyncOrganizationalUnitList + * { // ResourceDataSyncOrganizationalUnit + * OrganizationalUnitId: "STRING_VALUE", + * }, + * ], + * }, + * SourceRegions: [ // ResourceDataSyncSourceRegionList // required + * "STRING_VALUE", + * ], + * IncludeFutureRegions: true || false, + * EnableAllOpsDataSources: true || false, + * }, + * }; + * const command = new CreateResourceDataSyncCommand(input); + * const response = await client.send(command); + * // {}; + * + * ``` + * + * @param CreateResourceDataSyncCommandInput - {@link CreateResourceDataSyncCommandInput} + * @returns {@link CreateResourceDataSyncCommandOutput} + * @see {@link CreateResourceDataSyncCommandInput} for command's `input` shape. + * @see {@link CreateResourceDataSyncCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link ResourceDataSyncAlreadyExistsException} (client fault) + *

A sync configuration with the same name already exists.

+ * + * @throws {@link ResourceDataSyncCountExceededException} (client fault) + *

You have exceeded the allowed maximum sync configurations.

+ * + * @throws {@link ResourceDataSyncInvalidConfigurationException} (client fault) + *

The specified sync configuration is invalid.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class CreateResourceDataSyncCommand extends $Command { + readonly input: CreateResourceDataSyncCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: CreateResourceDataSyncCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteActivationCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteActivationCommand.d.ts new file mode 100644 index 00000000..5944488a --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteActivationCommand.d.ts @@ -0,0 +1,87 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { DeleteActivationRequest, DeleteActivationResult } from "../models/models_0"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link DeleteActivationCommand}. + */ +export interface DeleteActivationCommandInput extends DeleteActivationRequest { +} +/** + * @public + * + * The output of {@link DeleteActivationCommand}. + */ +export interface DeleteActivationCommandOutput extends DeleteActivationResult, __MetadataBearer { +} +/** + * @public + *

Deletes an activation. You aren't required to delete an activation. If you delete an + * activation, you can no longer use it to register additional managed nodes. Deleting an activation + * doesn't de-register managed nodes. You must manually de-register managed nodes.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, DeleteActivationCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, DeleteActivationCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // DeleteActivationRequest + * ActivationId: "STRING_VALUE", // required + * }; + * const command = new DeleteActivationCommand(input); + * const response = await client.send(command); + * // {}; + * + * ``` + * + * @param DeleteActivationCommandInput - {@link DeleteActivationCommandInput} + * @returns {@link DeleteActivationCommandOutput} + * @see {@link DeleteActivationCommandInput} for command's `input` shape. + * @see {@link DeleteActivationCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link InvalidActivation} (client fault) + *

The activation isn't valid. The activation might have been deleted, or the ActivationId and + * the ActivationCode don't match.

+ * + * @throws {@link InvalidActivationId} (client fault) + *

The activation ID isn't valid. Verify the you entered the correct ActivationId or + * ActivationCode and try again.

+ * + * @throws {@link TooManyUpdates} (client fault) + *

There are concurrent updates for a resource that supports one update at a time.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class DeleteActivationCommand extends $Command { + readonly input: DeleteActivationCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: DeleteActivationCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteAssociationCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteAssociationCommand.d.ts new file mode 100644 index 00000000..6caea72d --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteAssociationCommand.d.ts @@ -0,0 +1,111 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { DeleteAssociationRequest, DeleteAssociationResult } from "../models/models_0"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link DeleteAssociationCommand}. + */ +export interface DeleteAssociationCommandInput extends DeleteAssociationRequest { +} +/** + * @public + * + * The output of {@link DeleteAssociationCommand}. + */ +export interface DeleteAssociationCommandOutput extends DeleteAssociationResult, __MetadataBearer { +} +/** + * @public + *

Disassociates the specified Amazon Web Services Systems Manager document (SSM document) from the specified managed + * node. If you created the association by using the Targets parameter, then you must + * delete the association by using the association ID.

+ *

When you disassociate a document from a managed node, it doesn't change the configuration of + * the node. To change the configuration state of a managed node after you disassociate a document, + * you must create a new document with the desired configuration and associate it with the + * node.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, DeleteAssociationCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, DeleteAssociationCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // DeleteAssociationRequest + * Name: "STRING_VALUE", + * InstanceId: "STRING_VALUE", + * AssociationId: "STRING_VALUE", + * }; + * const command = new DeleteAssociationCommand(input); + * const response = await client.send(command); + * // {}; + * + * ``` + * + * @param DeleteAssociationCommandInput - {@link DeleteAssociationCommandInput} + * @returns {@link DeleteAssociationCommandOutput} + * @see {@link DeleteAssociationCommandInput} for command's `input` shape. + * @see {@link DeleteAssociationCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link AssociationDoesNotExist} (client fault) + *

The specified association doesn't exist.

+ * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link InvalidDocument} (client fault) + *

The specified SSM document doesn't exist.

+ * + * @throws {@link InvalidInstanceId} (client fault) + *

The following problems can cause this exception:

+ *
    + *
  • + *

    You don't have permission to access the managed node.

    + *
  • + *
  • + *

    Amazon Web Services Systems Manager Agent(SSM Agent) isn't running. Verify that SSM Agent is + * running.

    + *
  • + *
  • + *

    SSM Agent isn't registered with the SSM endpoint. Try reinstalling SSM Agent.

    + *
  • + *
  • + *

    The managed node isn't in valid state. Valid states are: Running, + * Pending, Stopped, and Stopping. Invalid states are: + * Shutting-down and Terminated.

    + *
  • + *
+ * + * @throws {@link TooManyUpdates} (client fault) + *

There are concurrent updates for a resource that supports one update at a time.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class DeleteAssociationCommand extends $Command { + readonly input: DeleteAssociationCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: DeleteAssociationCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteDocumentCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteDocumentCommand.d.ts new file mode 100644 index 00000000..72fe51ae --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteDocumentCommand.d.ts @@ -0,0 +1,89 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { DeleteDocumentRequest, DeleteDocumentResult } from "../models/models_0"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link DeleteDocumentCommand}. + */ +export interface DeleteDocumentCommandInput extends DeleteDocumentRequest { +} +/** + * @public + * + * The output of {@link DeleteDocumentCommand}. + */ +export interface DeleteDocumentCommandOutput extends DeleteDocumentResult, __MetadataBearer { +} +/** + * @public + *

Deletes the Amazon Web Services Systems Manager document (SSM document) and all managed node associations to the + * document.

+ *

Before you delete the document, we recommend that you use DeleteAssociation to disassociate all managed nodes that are associated with the document.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, DeleteDocumentCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, DeleteDocumentCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // DeleteDocumentRequest + * Name: "STRING_VALUE", // required + * DocumentVersion: "STRING_VALUE", + * VersionName: "STRING_VALUE", + * Force: true || false, + * }; + * const command = new DeleteDocumentCommand(input); + * const response = await client.send(command); + * // {}; + * + * ``` + * + * @param DeleteDocumentCommandInput - {@link DeleteDocumentCommandInput} + * @returns {@link DeleteDocumentCommandOutput} + * @see {@link DeleteDocumentCommandInput} for command's `input` shape. + * @see {@link DeleteDocumentCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link AssociatedInstances} (client fault) + *

You must disassociate a document from all managed nodes before you can delete it.

+ * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link InvalidDocument} (client fault) + *

The specified SSM document doesn't exist.

+ * + * @throws {@link InvalidDocumentOperation} (client fault) + *

You attempted to delete a document while it is still shared. You must stop sharing the + * document before you can delete it.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class DeleteDocumentCommand extends $Command { + readonly input: DeleteDocumentCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: DeleteDocumentCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteInventoryCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteInventoryCommand.d.ts new file mode 100644 index 00000000..bd9408aa --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteInventoryCommand.d.ts @@ -0,0 +1,105 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { DeleteInventoryRequest, DeleteInventoryResult } from "../models/models_0"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link DeleteInventoryCommand}. + */ +export interface DeleteInventoryCommandInput extends DeleteInventoryRequest { +} +/** + * @public + * + * The output of {@link DeleteInventoryCommand}. + */ +export interface DeleteInventoryCommandOutput extends DeleteInventoryResult, __MetadataBearer { +} +/** + * @public + *

Delete a custom inventory type or the data associated with a custom Inventory type. Deleting + * a custom inventory type is also referred to as deleting a custom inventory schema.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, DeleteInventoryCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, DeleteInventoryCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // DeleteInventoryRequest + * TypeName: "STRING_VALUE", // required + * SchemaDeleteOption: "DisableSchema" || "DeleteSchema", + * DryRun: true || false, + * ClientToken: "STRING_VALUE", + * }; + * const command = new DeleteInventoryCommand(input); + * const response = await client.send(command); + * // { // DeleteInventoryResult + * // DeletionId: "STRING_VALUE", + * // TypeName: "STRING_VALUE", + * // DeletionSummary: { // InventoryDeletionSummary + * // TotalCount: Number("int"), + * // RemainingCount: Number("int"), + * // SummaryItems: [ // InventoryDeletionSummaryItems + * // { // InventoryDeletionSummaryItem + * // Version: "STRING_VALUE", + * // Count: Number("int"), + * // RemainingCount: Number("int"), + * // }, + * // ], + * // }, + * // }; + * + * ``` + * + * @param DeleteInventoryCommandInput - {@link DeleteInventoryCommandInput} + * @returns {@link DeleteInventoryCommandOutput} + * @see {@link DeleteInventoryCommandInput} for command's `input` shape. + * @see {@link DeleteInventoryCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link InvalidDeleteInventoryParametersException} (client fault) + *

One or more of the parameters specified for the delete operation isn't valid. Verify all + * parameters and try again.

+ * + * @throws {@link InvalidInventoryRequestException} (client fault) + *

The request isn't valid.

+ * + * @throws {@link InvalidOptionException} (client fault) + *

The delete inventory option specified isn't valid. Verify the option and try again.

+ * + * @throws {@link InvalidTypeNameException} (client fault) + *

The parameter type name isn't valid.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class DeleteInventoryCommand extends $Command { + readonly input: DeleteInventoryCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: DeleteInventoryCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteMaintenanceWindowCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteMaintenanceWindowCommand.d.ts new file mode 100644 index 00000000..8b3fca2e --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteMaintenanceWindowCommand.d.ts @@ -0,0 +1,76 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { DeleteMaintenanceWindowRequest, DeleteMaintenanceWindowResult } from "../models/models_0"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link DeleteMaintenanceWindowCommand}. + */ +export interface DeleteMaintenanceWindowCommandInput extends DeleteMaintenanceWindowRequest { +} +/** + * @public + * + * The output of {@link DeleteMaintenanceWindowCommand}. + */ +export interface DeleteMaintenanceWindowCommandOutput extends DeleteMaintenanceWindowResult, __MetadataBearer { +} +/** + * @public + *

Deletes a maintenance window.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, DeleteMaintenanceWindowCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, DeleteMaintenanceWindowCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // DeleteMaintenanceWindowRequest + * WindowId: "STRING_VALUE", // required + * }; + * const command = new DeleteMaintenanceWindowCommand(input); + * const response = await client.send(command); + * // { // DeleteMaintenanceWindowResult + * // WindowId: "STRING_VALUE", + * // }; + * + * ``` + * + * @param DeleteMaintenanceWindowCommandInput - {@link DeleteMaintenanceWindowCommandInput} + * @returns {@link DeleteMaintenanceWindowCommandOutput} + * @see {@link DeleteMaintenanceWindowCommandInput} for command's `input` shape. + * @see {@link DeleteMaintenanceWindowCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class DeleteMaintenanceWindowCommand extends $Command { + readonly input: DeleteMaintenanceWindowCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: DeleteMaintenanceWindowCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteOpsItemCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteOpsItemCommand.d.ts new file mode 100644 index 00000000..1598ac4e --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteOpsItemCommand.d.ts @@ -0,0 +1,105 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { DeleteOpsItemRequest, DeleteOpsItemResponse } from "../models/models_0"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link DeleteOpsItemCommand}. + */ +export interface DeleteOpsItemCommandInput extends DeleteOpsItemRequest { +} +/** + * @public + * + * The output of {@link DeleteOpsItemCommand}. + */ +export interface DeleteOpsItemCommandOutput extends DeleteOpsItemResponse, __MetadataBearer { +} +/** + * @public + *

Delete an OpsItem. You must have permission in Identity and Access Management (IAM) to + * delete an OpsItem.

+ * + *

Note the following important information about this operation.

+ *
    + *
  • + *

    Deleting an OpsItem is irreversible. You can't restore a deleted OpsItem.

    + *
  • + *
  • + *

    This operation uses an eventual consistency model, which means the + * system can take a few minutes to complete this operation. If you delete an OpsItem and + * immediately call, for example, GetOpsItem, the deleted OpsItem might still + * appear in the response.

    + *
  • + *
  • + *

    This operation is idempotent. The system doesn't throw an exception if you repeatedly + * call this operation for the same OpsItem. If the first call is successful, all additional calls + * return the same successful response as the first call.

    + *
  • + *
  • + *

    This operation doesn't support cross-account calls. A delegated administrator or + * management account can't delete OpsItems in other accounts, even if OpsCenter has been set up for + * cross-account administration. For more information about cross-account administration, see + * Setting up + * OpsCenter to centrally manage OpsItems across accounts in the Systems Manager User Guide.

    + *
  • + *
+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, DeleteOpsItemCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, DeleteOpsItemCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // DeleteOpsItemRequest + * OpsItemId: "STRING_VALUE", // required + * }; + * const command = new DeleteOpsItemCommand(input); + * const response = await client.send(command); + * // {}; + * + * ``` + * + * @param DeleteOpsItemCommandInput - {@link DeleteOpsItemCommandInput} + * @returns {@link DeleteOpsItemCommandOutput} + * @see {@link DeleteOpsItemCommandInput} for command's `input` shape. + * @see {@link DeleteOpsItemCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link OpsItemInvalidParameterException} (client fault) + *

A specified parameter argument isn't valid. Verify the available arguments and try + * again.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class DeleteOpsItemCommand extends $Command { + readonly input: DeleteOpsItemCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: DeleteOpsItemCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteOpsMetadataCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteOpsMetadataCommand.d.ts new file mode 100644 index 00000000..d41c2d1f --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteOpsMetadataCommand.d.ts @@ -0,0 +1,80 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { DeleteOpsMetadataRequest, DeleteOpsMetadataResult } from "../models/models_0"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link DeleteOpsMetadataCommand}. + */ +export interface DeleteOpsMetadataCommandInput extends DeleteOpsMetadataRequest { +} +/** + * @public + * + * The output of {@link DeleteOpsMetadataCommand}. + */ +export interface DeleteOpsMetadataCommandOutput extends DeleteOpsMetadataResult, __MetadataBearer { +} +/** + * @public + *

Delete OpsMetadata related to an application.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, DeleteOpsMetadataCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, DeleteOpsMetadataCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // DeleteOpsMetadataRequest + * OpsMetadataArn: "STRING_VALUE", // required + * }; + * const command = new DeleteOpsMetadataCommand(input); + * const response = await client.send(command); + * // {}; + * + * ``` + * + * @param DeleteOpsMetadataCommandInput - {@link DeleteOpsMetadataCommandInput} + * @returns {@link DeleteOpsMetadataCommandOutput} + * @see {@link DeleteOpsMetadataCommandInput} for command's `input` shape. + * @see {@link DeleteOpsMetadataCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link OpsMetadataInvalidArgumentException} (client fault) + *

One of the arguments passed is invalid.

+ * + * @throws {@link OpsMetadataNotFoundException} (client fault) + *

The OpsMetadata object doesn't exist.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class DeleteOpsMetadataCommand extends $Command { + readonly input: DeleteOpsMetadataCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: DeleteOpsMetadataCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteParameterCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteParameterCommand.d.ts new file mode 100644 index 00000000..e32cf751 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteParameterCommand.d.ts @@ -0,0 +1,78 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { DeleteParameterRequest, DeleteParameterResult } from "../models/models_0"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link DeleteParameterCommand}. + */ +export interface DeleteParameterCommandInput extends DeleteParameterRequest { +} +/** + * @public + * + * The output of {@link DeleteParameterCommand}. + */ +export interface DeleteParameterCommandOutput extends DeleteParameterResult, __MetadataBearer { +} +/** + * @public + *

Delete a parameter from the system. After deleting a parameter, wait for at least 30 seconds + * to create a parameter with the same name.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, DeleteParameterCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, DeleteParameterCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // DeleteParameterRequest + * Name: "STRING_VALUE", // required + * }; + * const command = new DeleteParameterCommand(input); + * const response = await client.send(command); + * // {}; + * + * ``` + * + * @param DeleteParameterCommandInput - {@link DeleteParameterCommandInput} + * @returns {@link DeleteParameterCommandOutput} + * @see {@link DeleteParameterCommandInput} for command's `input` shape. + * @see {@link DeleteParameterCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link ParameterNotFound} (client fault) + *

The parameter couldn't be found. Verify the name and try again.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class DeleteParameterCommand extends $Command { + readonly input: DeleteParameterCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: DeleteParameterCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteParametersCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteParametersCommand.d.ts new file mode 100644 index 00000000..c2bb777c --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteParametersCommand.d.ts @@ -0,0 +1,84 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { DeleteParametersRequest, DeleteParametersResult } from "../models/models_0"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link DeleteParametersCommand}. + */ +export interface DeleteParametersCommandInput extends DeleteParametersRequest { +} +/** + * @public + * + * The output of {@link DeleteParametersCommand}. + */ +export interface DeleteParametersCommandOutput extends DeleteParametersResult, __MetadataBearer { +} +/** + * @public + *

Delete a list of parameters. After deleting a parameter, wait for at least 30 seconds to + * create a parameter with the same name.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, DeleteParametersCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, DeleteParametersCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // DeleteParametersRequest + * Names: [ // ParameterNameList // required + * "STRING_VALUE", + * ], + * }; + * const command = new DeleteParametersCommand(input); + * const response = await client.send(command); + * // { // DeleteParametersResult + * // DeletedParameters: [ // ParameterNameList + * // "STRING_VALUE", + * // ], + * // InvalidParameters: [ + * // "STRING_VALUE", + * // ], + * // }; + * + * ``` + * + * @param DeleteParametersCommandInput - {@link DeleteParametersCommandInput} + * @returns {@link DeleteParametersCommandOutput} + * @see {@link DeleteParametersCommandInput} for command's `input` shape. + * @see {@link DeleteParametersCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class DeleteParametersCommand extends $Command { + readonly input: DeleteParametersCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: DeleteParametersCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeletePatchBaselineCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeletePatchBaselineCommand.d.ts new file mode 100644 index 00000000..7c19b026 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeletePatchBaselineCommand.d.ts @@ -0,0 +1,80 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { DeletePatchBaselineRequest, DeletePatchBaselineResult } from "../models/models_0"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link DeletePatchBaselineCommand}. + */ +export interface DeletePatchBaselineCommandInput extends DeletePatchBaselineRequest { +} +/** + * @public + * + * The output of {@link DeletePatchBaselineCommand}. + */ +export interface DeletePatchBaselineCommandOutput extends DeletePatchBaselineResult, __MetadataBearer { +} +/** + * @public + *

Deletes a patch baseline.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, DeletePatchBaselineCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, DeletePatchBaselineCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // DeletePatchBaselineRequest + * BaselineId: "STRING_VALUE", // required + * }; + * const command = new DeletePatchBaselineCommand(input); + * const response = await client.send(command); + * // { // DeletePatchBaselineResult + * // BaselineId: "STRING_VALUE", + * // }; + * + * ``` + * + * @param DeletePatchBaselineCommandInput - {@link DeletePatchBaselineCommandInput} + * @returns {@link DeletePatchBaselineCommandOutput} + * @see {@link DeletePatchBaselineCommandInput} for command's `input` shape. + * @see {@link DeletePatchBaselineCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link ResourceInUseException} (client fault) + *

Error returned if an attempt is made to delete a patch baseline that is registered for a + * patch group.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class DeletePatchBaselineCommand extends $Command { + readonly input: DeletePatchBaselineCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: DeletePatchBaselineCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteResourceDataSyncCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteResourceDataSyncCommand.d.ts new file mode 100644 index 00000000..1c8072ca --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteResourceDataSyncCommand.d.ts @@ -0,0 +1,83 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { DeleteResourceDataSyncRequest, DeleteResourceDataSyncResult } from "../models/models_0"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link DeleteResourceDataSyncCommand}. + */ +export interface DeleteResourceDataSyncCommandInput extends DeleteResourceDataSyncRequest { +} +/** + * @public + * + * The output of {@link DeleteResourceDataSyncCommand}. + */ +export interface DeleteResourceDataSyncCommandOutput extends DeleteResourceDataSyncResult, __MetadataBearer { +} +/** + * @public + *

Deletes a resource data sync configuration. After the configuration is deleted, changes to + * data on managed nodes are no longer synced to or from the target. Deleting a sync configuration + * doesn't delete data.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, DeleteResourceDataSyncCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, DeleteResourceDataSyncCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // DeleteResourceDataSyncRequest + * SyncName: "STRING_VALUE", // required + * SyncType: "STRING_VALUE", + * }; + * const command = new DeleteResourceDataSyncCommand(input); + * const response = await client.send(command); + * // {}; + * + * ``` + * + * @param DeleteResourceDataSyncCommandInput - {@link DeleteResourceDataSyncCommandInput} + * @returns {@link DeleteResourceDataSyncCommandOutput} + * @see {@link DeleteResourceDataSyncCommandInput} for command's `input` shape. + * @see {@link DeleteResourceDataSyncCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link ResourceDataSyncInvalidConfigurationException} (client fault) + *

The specified sync configuration is invalid.

+ * + * @throws {@link ResourceDataSyncNotFoundException} (client fault) + *

The specified sync name wasn't found.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class DeleteResourceDataSyncCommand extends $Command { + readonly input: DeleteResourceDataSyncCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: DeleteResourceDataSyncCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteResourcePolicyCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteResourcePolicyCommand.d.ts new file mode 100644 index 00000000..585e6dbb --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeleteResourcePolicyCommand.d.ts @@ -0,0 +1,88 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { DeleteResourcePolicyRequest, DeleteResourcePolicyResponse } from "../models/models_0"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link DeleteResourcePolicyCommand}. + */ +export interface DeleteResourcePolicyCommandInput extends DeleteResourcePolicyRequest { +} +/** + * @public + * + * The output of {@link DeleteResourcePolicyCommand}. + */ +export interface DeleteResourcePolicyCommandOutput extends DeleteResourcePolicyResponse, __MetadataBearer { +} +/** + * @public + *

Deletes a Systems Manager resource policy. A resource policy helps you to define the IAM entity (for example, an Amazon Web Services account) that can manage your Systems Manager resources. Currently, + * OpsItemGroup is the only resource that supports Systems Manager resource policies. The + * resource policy for OpsItemGroup enables Amazon Web Services accounts to view and interact with + * OpsCenter operational work items (OpsItems).

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, DeleteResourcePolicyCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, DeleteResourcePolicyCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // DeleteResourcePolicyRequest + * ResourceArn: "STRING_VALUE", // required + * PolicyId: "STRING_VALUE", // required + * PolicyHash: "STRING_VALUE", // required + * }; + * const command = new DeleteResourcePolicyCommand(input); + * const response = await client.send(command); + * // {}; + * + * ``` + * + * @param DeleteResourcePolicyCommandInput - {@link DeleteResourcePolicyCommandInput} + * @returns {@link DeleteResourcePolicyCommandOutput} + * @see {@link DeleteResourcePolicyCommandInput} for command's `input` shape. + * @see {@link DeleteResourcePolicyCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link ResourcePolicyConflictException} (client fault) + *

The hash provided in the call doesn't match the stored hash. This exception is thrown when + * trying to update an obsolete policy version or when multiple requests to update a policy are + * sent.

+ * + * @throws {@link ResourcePolicyInvalidParameterException} (client fault) + *

One or more parameters specified for the call aren't valid. Verify the parameters and their + * values and try again.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class DeleteResourcePolicyCommand extends $Command { + readonly input: DeleteResourcePolicyCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: DeleteResourcePolicyCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeregisterManagedInstanceCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeregisterManagedInstanceCommand.d.ts new file mode 100644 index 00000000..99e5119a --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeregisterManagedInstanceCommand.d.ts @@ -0,0 +1,96 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { DeregisterManagedInstanceRequest, DeregisterManagedInstanceResult } from "../models/models_0"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link DeregisterManagedInstanceCommand}. + */ +export interface DeregisterManagedInstanceCommandInput extends DeregisterManagedInstanceRequest { +} +/** + * @public + * + * The output of {@link DeregisterManagedInstanceCommand}. + */ +export interface DeregisterManagedInstanceCommandOutput extends DeregisterManagedInstanceResult, __MetadataBearer { +} +/** + * @public + *

Removes the server or virtual machine from the list of registered servers. You can + * reregister the node again at any time. If you don't plan to use Run Command on the server, we + * suggest uninstalling SSM Agent first.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, DeregisterManagedInstanceCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, DeregisterManagedInstanceCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // DeregisterManagedInstanceRequest + * InstanceId: "STRING_VALUE", // required + * }; + * const command = new DeregisterManagedInstanceCommand(input); + * const response = await client.send(command); + * // {}; + * + * ``` + * + * @param DeregisterManagedInstanceCommandInput - {@link DeregisterManagedInstanceCommandInput} + * @returns {@link DeregisterManagedInstanceCommandOutput} + * @see {@link DeregisterManagedInstanceCommandInput} for command's `input` shape. + * @see {@link DeregisterManagedInstanceCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link InvalidInstanceId} (client fault) + *

The following problems can cause this exception:

+ *
    + *
  • + *

    You don't have permission to access the managed node.

    + *
  • + *
  • + *

    Amazon Web Services Systems Manager Agent(SSM Agent) isn't running. Verify that SSM Agent is + * running.

    + *
  • + *
  • + *

    SSM Agent isn't registered with the SSM endpoint. Try reinstalling SSM Agent.

    + *
  • + *
  • + *

    The managed node isn't in valid state. Valid states are: Running, + * Pending, Stopped, and Stopping. Invalid states are: + * Shutting-down and Terminated.

    + *
  • + *
+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class DeregisterManagedInstanceCommand extends $Command { + readonly input: DeregisterManagedInstanceCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: DeregisterManagedInstanceCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeregisterPatchBaselineForPatchGroupCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeregisterPatchBaselineForPatchGroupCommand.d.ts new file mode 100644 index 00000000..8c1763d0 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeregisterPatchBaselineForPatchGroupCommand.d.ts @@ -0,0 +1,81 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { DeregisterPatchBaselineForPatchGroupRequest, DeregisterPatchBaselineForPatchGroupResult } from "../models/models_0"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link DeregisterPatchBaselineForPatchGroupCommand}. + */ +export interface DeregisterPatchBaselineForPatchGroupCommandInput extends DeregisterPatchBaselineForPatchGroupRequest { +} +/** + * @public + * + * The output of {@link DeregisterPatchBaselineForPatchGroupCommand}. + */ +export interface DeregisterPatchBaselineForPatchGroupCommandOutput extends DeregisterPatchBaselineForPatchGroupResult, __MetadataBearer { +} +/** + * @public + *

Removes a patch group from a patch baseline.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, DeregisterPatchBaselineForPatchGroupCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, DeregisterPatchBaselineForPatchGroupCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // DeregisterPatchBaselineForPatchGroupRequest + * BaselineId: "STRING_VALUE", // required + * PatchGroup: "STRING_VALUE", // required + * }; + * const command = new DeregisterPatchBaselineForPatchGroupCommand(input); + * const response = await client.send(command); + * // { // DeregisterPatchBaselineForPatchGroupResult + * // BaselineId: "STRING_VALUE", + * // PatchGroup: "STRING_VALUE", + * // }; + * + * ``` + * + * @param DeregisterPatchBaselineForPatchGroupCommandInput - {@link DeregisterPatchBaselineForPatchGroupCommandInput} + * @returns {@link DeregisterPatchBaselineForPatchGroupCommandOutput} + * @see {@link DeregisterPatchBaselineForPatchGroupCommandInput} for command's `input` shape. + * @see {@link DeregisterPatchBaselineForPatchGroupCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link InvalidResourceId} (client fault) + *

The resource ID isn't valid. Verify that you entered the correct ID and try again.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class DeregisterPatchBaselineForPatchGroupCommand extends $Command { + readonly input: DeregisterPatchBaselineForPatchGroupCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: DeregisterPatchBaselineForPatchGroupCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeregisterTargetFromMaintenanceWindowCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeregisterTargetFromMaintenanceWindowCommand.d.ts new file mode 100644 index 00000000..819823d2 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeregisterTargetFromMaintenanceWindowCommand.d.ts @@ -0,0 +1,89 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { DeregisterTargetFromMaintenanceWindowRequest, DeregisterTargetFromMaintenanceWindowResult } from "../models/models_0"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link DeregisterTargetFromMaintenanceWindowCommand}. + */ +export interface DeregisterTargetFromMaintenanceWindowCommandInput extends DeregisterTargetFromMaintenanceWindowRequest { +} +/** + * @public + * + * The output of {@link DeregisterTargetFromMaintenanceWindowCommand}. + */ +export interface DeregisterTargetFromMaintenanceWindowCommandOutput extends DeregisterTargetFromMaintenanceWindowResult, __MetadataBearer { +} +/** + * @public + *

Removes a target from a maintenance window.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, DeregisterTargetFromMaintenanceWindowCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, DeregisterTargetFromMaintenanceWindowCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // DeregisterTargetFromMaintenanceWindowRequest + * WindowId: "STRING_VALUE", // required + * WindowTargetId: "STRING_VALUE", // required + * Safe: true || false, + * }; + * const command = new DeregisterTargetFromMaintenanceWindowCommand(input); + * const response = await client.send(command); + * // { // DeregisterTargetFromMaintenanceWindowResult + * // WindowId: "STRING_VALUE", + * // WindowTargetId: "STRING_VALUE", + * // }; + * + * ``` + * + * @param DeregisterTargetFromMaintenanceWindowCommandInput - {@link DeregisterTargetFromMaintenanceWindowCommandInput} + * @returns {@link DeregisterTargetFromMaintenanceWindowCommandOutput} + * @see {@link DeregisterTargetFromMaintenanceWindowCommandInput} for command's `input` shape. + * @see {@link DeregisterTargetFromMaintenanceWindowCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link DoesNotExistException} (client fault) + *

Error returned when the ID specified for a resource, such as a maintenance window or patch + * baseline, doesn't exist.

+ *

For information about resource quotas in Amazon Web Services Systems Manager, see Systems Manager service quotas in the + * Amazon Web Services General Reference.

+ * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link TargetInUseException} (client fault) + *

You specified the Safe option for the DeregisterTargetFromMaintenanceWindow + * operation, but the target is still referenced in a task.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class DeregisterTargetFromMaintenanceWindowCommand extends $Command { + readonly input: DeregisterTargetFromMaintenanceWindowCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: DeregisterTargetFromMaintenanceWindowCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeregisterTaskFromMaintenanceWindowCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeregisterTaskFromMaintenanceWindowCommand.d.ts new file mode 100644 index 00000000..53f90324 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/DeregisterTaskFromMaintenanceWindowCommand.d.ts @@ -0,0 +1,84 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { DeregisterTaskFromMaintenanceWindowRequest, DeregisterTaskFromMaintenanceWindowResult } from "../models/models_0"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link DeregisterTaskFromMaintenanceWindowCommand}. + */ +export interface DeregisterTaskFromMaintenanceWindowCommandInput extends DeregisterTaskFromMaintenanceWindowRequest { +} +/** + * @public + * + * The output of {@link DeregisterTaskFromMaintenanceWindowCommand}. + */ +export interface DeregisterTaskFromMaintenanceWindowCommandOutput extends DeregisterTaskFromMaintenanceWindowResult, __MetadataBearer { +} +/** + * @public + *

Removes a task from a maintenance window.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, DeregisterTaskFromMaintenanceWindowCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, DeregisterTaskFromMaintenanceWindowCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // DeregisterTaskFromMaintenanceWindowRequest + * WindowId: "STRING_VALUE", // required + * WindowTaskId: "STRING_VALUE", // required + * }; + * const command = new DeregisterTaskFromMaintenanceWindowCommand(input); + * const response = await client.send(command); + * // { // DeregisterTaskFromMaintenanceWindowResult + * // WindowId: "STRING_VALUE", + * // WindowTaskId: "STRING_VALUE", + * // }; + * + * ``` + * + * @param DeregisterTaskFromMaintenanceWindowCommandInput - {@link DeregisterTaskFromMaintenanceWindowCommandInput} + * @returns {@link DeregisterTaskFromMaintenanceWindowCommandOutput} + * @see {@link DeregisterTaskFromMaintenanceWindowCommandInput} for command's `input` shape. + * @see {@link DeregisterTaskFromMaintenanceWindowCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link DoesNotExistException} (client fault) + *

Error returned when the ID specified for a resource, such as a maintenance window or patch + * baseline, doesn't exist.

+ *

For information about resource quotas in Amazon Web Services Systems Manager, see Systems Manager service quotas in the + * Amazon Web Services General Reference.

+ * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class DeregisterTaskFromMaintenanceWindowCommand extends $Command { + readonly input: DeregisterTaskFromMaintenanceWindowCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: DeregisterTaskFromMaintenanceWindowCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeActivationsCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeActivationsCommand.d.ts new file mode 100644 index 00000000..e0ea362d --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeActivationsCommand.d.ts @@ -0,0 +1,113 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { DescribeActivationsRequest, DescribeActivationsResult } from "../models/models_0"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link DescribeActivationsCommand}. + */ +export interface DescribeActivationsCommandInput extends DescribeActivationsRequest { +} +/** + * @public + * + * The output of {@link DescribeActivationsCommand}. + */ +export interface DescribeActivationsCommandOutput extends DescribeActivationsResult, __MetadataBearer { +} +/** + * @public + *

Describes details about the activation, such as the date and time the activation was + * created, its expiration date, the Identity and Access Management (IAM) role assigned to + * the managed nodes in the activation, and the number of nodes registered by using this + * activation.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, DescribeActivationsCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, DescribeActivationsCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // DescribeActivationsRequest + * Filters: [ // DescribeActivationsFilterList + * { // DescribeActivationsFilter + * FilterKey: "ActivationIds" || "DefaultInstanceName" || "IamRole", + * FilterValues: [ // StringList + * "STRING_VALUE", + * ], + * }, + * ], + * MaxResults: Number("int"), + * NextToken: "STRING_VALUE", + * }; + * const command = new DescribeActivationsCommand(input); + * const response = await client.send(command); + * // { // DescribeActivationsResult + * // ActivationList: [ // ActivationList + * // { // Activation + * // ActivationId: "STRING_VALUE", + * // Description: "STRING_VALUE", + * // DefaultInstanceName: "STRING_VALUE", + * // IamRole: "STRING_VALUE", + * // RegistrationLimit: Number("int"), + * // RegistrationsCount: Number("int"), + * // ExpirationDate: new Date("TIMESTAMP"), + * // Expired: true || false, + * // CreatedDate: new Date("TIMESTAMP"), + * // Tags: [ // TagList + * // { // Tag + * // Key: "STRING_VALUE", // required + * // Value: "STRING_VALUE", // required + * // }, + * // ], + * // }, + * // ], + * // NextToken: "STRING_VALUE", + * // }; + * + * ``` + * + * @param DescribeActivationsCommandInput - {@link DescribeActivationsCommandInput} + * @returns {@link DescribeActivationsCommandOutput} + * @see {@link DescribeActivationsCommandInput} for command's `input` shape. + * @see {@link DescribeActivationsCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link InvalidFilter} (client fault) + *

The filter name isn't valid. Verify the you entered the correct name and try again.

+ * + * @throws {@link InvalidNextToken} (client fault) + *

The specified token isn't valid.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class DescribeActivationsCommand extends $Command { + readonly input: DescribeActivationsCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: DescribeActivationsCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeAssociationCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeAssociationCommand.d.ts new file mode 100644 index 00000000..e31ffcda --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeAssociationCommand.d.ts @@ -0,0 +1,209 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { DescribeAssociationRequest, DescribeAssociationResult } from "../models/models_0"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link DescribeAssociationCommand}. + */ +export interface DescribeAssociationCommandInput extends DescribeAssociationRequest { +} +/** + * @public + * + * The output of {@link DescribeAssociationCommand}. + */ +export interface DescribeAssociationCommandOutput extends DescribeAssociationResult, __MetadataBearer { +} +/** + * @public + *

Describes the association for the specified target or managed node. If you created the + * association by using the Targets parameter, then you must retrieve the association + * by using the association ID.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, DescribeAssociationCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, DescribeAssociationCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // DescribeAssociationRequest + * Name: "STRING_VALUE", + * InstanceId: "STRING_VALUE", + * AssociationId: "STRING_VALUE", + * AssociationVersion: "STRING_VALUE", + * }; + * const command = new DescribeAssociationCommand(input); + * const response = await client.send(command); + * // { // DescribeAssociationResult + * // AssociationDescription: { // AssociationDescription + * // Name: "STRING_VALUE", + * // InstanceId: "STRING_VALUE", + * // AssociationVersion: "STRING_VALUE", + * // Date: new Date("TIMESTAMP"), + * // LastUpdateAssociationDate: new Date("TIMESTAMP"), + * // Status: { // AssociationStatus + * // Date: new Date("TIMESTAMP"), // required + * // Name: "Pending" || "Success" || "Failed", // required + * // Message: "STRING_VALUE", // required + * // AdditionalInfo: "STRING_VALUE", + * // }, + * // Overview: { // AssociationOverview + * // Status: "STRING_VALUE", + * // DetailedStatus: "STRING_VALUE", + * // AssociationStatusAggregatedCount: { // AssociationStatusAggregatedCount + * // "": Number("int"), + * // }, + * // }, + * // DocumentVersion: "STRING_VALUE", + * // AutomationTargetParameterName: "STRING_VALUE", + * // Parameters: { // Parameters + * // "": [ // ParameterValueList + * // "STRING_VALUE", + * // ], + * // }, + * // AssociationId: "STRING_VALUE", + * // Targets: [ // Targets + * // { // Target + * // Key: "STRING_VALUE", + * // Values: [ // TargetValues + * // "STRING_VALUE", + * // ], + * // }, + * // ], + * // ScheduleExpression: "STRING_VALUE", + * // OutputLocation: { // InstanceAssociationOutputLocation + * // S3Location: { // S3OutputLocation + * // OutputS3Region: "STRING_VALUE", + * // OutputS3BucketName: "STRING_VALUE", + * // OutputS3KeyPrefix: "STRING_VALUE", + * // }, + * // }, + * // LastExecutionDate: new Date("TIMESTAMP"), + * // LastSuccessfulExecutionDate: new Date("TIMESTAMP"), + * // AssociationName: "STRING_VALUE", + * // MaxErrors: "STRING_VALUE", + * // MaxConcurrency: "STRING_VALUE", + * // ComplianceSeverity: "CRITICAL" || "HIGH" || "MEDIUM" || "LOW" || "UNSPECIFIED", + * // SyncCompliance: "AUTO" || "MANUAL", + * // ApplyOnlyAtCronInterval: true || false, + * // CalendarNames: [ // CalendarNameOrARNList + * // "STRING_VALUE", + * // ], + * // TargetLocations: [ // TargetLocations + * // { // TargetLocation + * // Accounts: [ // Accounts + * // "STRING_VALUE", + * // ], + * // Regions: [ // Regions + * // "STRING_VALUE", + * // ], + * // TargetLocationMaxConcurrency: "STRING_VALUE", + * // TargetLocationMaxErrors: "STRING_VALUE", + * // ExecutionRoleName: "STRING_VALUE", + * // TargetLocationAlarmConfiguration: { // AlarmConfiguration + * // IgnorePollAlarmFailure: true || false, + * // Alarms: [ // AlarmList // required + * // { // Alarm + * // Name: "STRING_VALUE", // required + * // }, + * // ], + * // }, + * // }, + * // ], + * // ScheduleOffset: Number("int"), + * // TargetMaps: [ // TargetMaps + * // { // TargetMap + * // "": [ // TargetMapValueList + * // "STRING_VALUE", + * // ], + * // }, + * // ], + * // AlarmConfiguration: { + * // IgnorePollAlarmFailure: true || false, + * // Alarms: [ // required + * // { + * // Name: "STRING_VALUE", // required + * // }, + * // ], + * // }, + * // TriggeredAlarms: [ // AlarmStateInformationList + * // { // AlarmStateInformation + * // Name: "STRING_VALUE", // required + * // State: "UNKNOWN" || "ALARM", // required + * // }, + * // ], + * // }, + * // }; + * + * ``` + * + * @param DescribeAssociationCommandInput - {@link DescribeAssociationCommandInput} + * @returns {@link DescribeAssociationCommandOutput} + * @see {@link DescribeAssociationCommandInput} for command's `input` shape. + * @see {@link DescribeAssociationCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link AssociationDoesNotExist} (client fault) + *

The specified association doesn't exist.

+ * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link InvalidAssociationVersion} (client fault) + *

The version you specified isn't valid. Use ListAssociationVersions to view all versions of + * an association according to the association ID. Or, use the $LATEST parameter to + * view the latest version of the association.

+ * + * @throws {@link InvalidDocument} (client fault) + *

The specified SSM document doesn't exist.

+ * + * @throws {@link InvalidInstanceId} (client fault) + *

The following problems can cause this exception:

+ *
    + *
  • + *

    You don't have permission to access the managed node.

    + *
  • + *
  • + *

    Amazon Web Services Systems Manager Agent(SSM Agent) isn't running. Verify that SSM Agent is + * running.

    + *
  • + *
  • + *

    SSM Agent isn't registered with the SSM endpoint. Try reinstalling SSM Agent.

    + *
  • + *
  • + *

    The managed node isn't in valid state. Valid states are: Running, + * Pending, Stopped, and Stopping. Invalid states are: + * Shutting-down and Terminated.

    + *
  • + *
+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class DescribeAssociationCommand extends $Command { + readonly input: DescribeAssociationCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: DescribeAssociationCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeAssociationExecutionTargetsCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeAssociationExecutionTargetsCommand.d.ts new file mode 100644 index 00000000..ceac885a --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeAssociationExecutionTargetsCommand.d.ts @@ -0,0 +1,110 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { DescribeAssociationExecutionTargetsRequest, DescribeAssociationExecutionTargetsResult } from "../models/models_0"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link DescribeAssociationExecutionTargetsCommand}. + */ +export interface DescribeAssociationExecutionTargetsCommandInput extends DescribeAssociationExecutionTargetsRequest { +} +/** + * @public + * + * The output of {@link DescribeAssociationExecutionTargetsCommand}. + */ +export interface DescribeAssociationExecutionTargetsCommandOutput extends DescribeAssociationExecutionTargetsResult, __MetadataBearer { +} +/** + * @public + *

Views information about a specific execution of a specific association.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, DescribeAssociationExecutionTargetsCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, DescribeAssociationExecutionTargetsCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // DescribeAssociationExecutionTargetsRequest + * AssociationId: "STRING_VALUE", // required + * ExecutionId: "STRING_VALUE", // required + * Filters: [ // AssociationExecutionTargetsFilterList + * { // AssociationExecutionTargetsFilter + * Key: "Status" || "ResourceId" || "ResourceType", // required + * Value: "STRING_VALUE", // required + * }, + * ], + * MaxResults: Number("int"), + * NextToken: "STRING_VALUE", + * }; + * const command = new DescribeAssociationExecutionTargetsCommand(input); + * const response = await client.send(command); + * // { // DescribeAssociationExecutionTargetsResult + * // AssociationExecutionTargets: [ // AssociationExecutionTargetsList + * // { // AssociationExecutionTarget + * // AssociationId: "STRING_VALUE", + * // AssociationVersion: "STRING_VALUE", + * // ExecutionId: "STRING_VALUE", + * // ResourceId: "STRING_VALUE", + * // ResourceType: "STRING_VALUE", + * // Status: "STRING_VALUE", + * // DetailedStatus: "STRING_VALUE", + * // LastExecutionDate: new Date("TIMESTAMP"), + * // OutputSource: { // OutputSource + * // OutputSourceId: "STRING_VALUE", + * // OutputSourceType: "STRING_VALUE", + * // }, + * // }, + * // ], + * // NextToken: "STRING_VALUE", + * // }; + * + * ``` + * + * @param DescribeAssociationExecutionTargetsCommandInput - {@link DescribeAssociationExecutionTargetsCommandInput} + * @returns {@link DescribeAssociationExecutionTargetsCommandOutput} + * @see {@link DescribeAssociationExecutionTargetsCommandInput} for command's `input` shape. + * @see {@link DescribeAssociationExecutionTargetsCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link AssociationDoesNotExist} (client fault) + *

The specified association doesn't exist.

+ * + * @throws {@link AssociationExecutionDoesNotExist} (client fault) + *

The specified execution ID doesn't exist. Verify the ID number and try again.

+ * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link InvalidNextToken} (client fault) + *

The specified token isn't valid.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class DescribeAssociationExecutionTargetsCommand extends $Command { + readonly input: DescribeAssociationExecutionTargetsCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: DescribeAssociationExecutionTargetsCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeAssociationExecutionsCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeAssociationExecutionsCommand.d.ts new file mode 100644 index 00000000..d9c7ee24 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeAssociationExecutionsCommand.d.ts @@ -0,0 +1,117 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { DescribeAssociationExecutionsRequest, DescribeAssociationExecutionsResult } from "../models/models_0"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link DescribeAssociationExecutionsCommand}. + */ +export interface DescribeAssociationExecutionsCommandInput extends DescribeAssociationExecutionsRequest { +} +/** + * @public + * + * The output of {@link DescribeAssociationExecutionsCommand}. + */ +export interface DescribeAssociationExecutionsCommandOutput extends DescribeAssociationExecutionsResult, __MetadataBearer { +} +/** + * @public + *

Views all executions for a specific association ID.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, DescribeAssociationExecutionsCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, DescribeAssociationExecutionsCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // DescribeAssociationExecutionsRequest + * AssociationId: "STRING_VALUE", // required + * Filters: [ // AssociationExecutionFilterList + * { // AssociationExecutionFilter + * Key: "ExecutionId" || "Status" || "CreatedTime", // required + * Value: "STRING_VALUE", // required + * Type: "EQUAL" || "LESS_THAN" || "GREATER_THAN", // required + * }, + * ], + * MaxResults: Number("int"), + * NextToken: "STRING_VALUE", + * }; + * const command = new DescribeAssociationExecutionsCommand(input); + * const response = await client.send(command); + * // { // DescribeAssociationExecutionsResult + * // AssociationExecutions: [ // AssociationExecutionsList + * // { // AssociationExecution + * // AssociationId: "STRING_VALUE", + * // AssociationVersion: "STRING_VALUE", + * // ExecutionId: "STRING_VALUE", + * // Status: "STRING_VALUE", + * // DetailedStatus: "STRING_VALUE", + * // CreatedTime: new Date("TIMESTAMP"), + * // LastExecutionDate: new Date("TIMESTAMP"), + * // ResourceCountByStatus: "STRING_VALUE", + * // AlarmConfiguration: { // AlarmConfiguration + * // IgnorePollAlarmFailure: true || false, + * // Alarms: [ // AlarmList // required + * // { // Alarm + * // Name: "STRING_VALUE", // required + * // }, + * // ], + * // }, + * // TriggeredAlarms: [ // AlarmStateInformationList + * // { // AlarmStateInformation + * // Name: "STRING_VALUE", // required + * // State: "UNKNOWN" || "ALARM", // required + * // }, + * // ], + * // }, + * // ], + * // NextToken: "STRING_VALUE", + * // }; + * + * ``` + * + * @param DescribeAssociationExecutionsCommandInput - {@link DescribeAssociationExecutionsCommandInput} + * @returns {@link DescribeAssociationExecutionsCommandOutput} + * @see {@link DescribeAssociationExecutionsCommandInput} for command's `input` shape. + * @see {@link DescribeAssociationExecutionsCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link AssociationDoesNotExist} (client fault) + *

The specified association doesn't exist.

+ * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link InvalidNextToken} (client fault) + *

The specified token isn't valid.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class DescribeAssociationExecutionsCommand extends $Command { + readonly input: DescribeAssociationExecutionsCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: DescribeAssociationExecutionsCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeAutomationExecutionsCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeAutomationExecutionsCommand.d.ts new file mode 100644 index 00000000..b627296c --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeAutomationExecutionsCommand.d.ts @@ -0,0 +1,211 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { DescribeAutomationExecutionsRequest, DescribeAutomationExecutionsResult } from "../models/models_0"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link DescribeAutomationExecutionsCommand}. + */ +export interface DescribeAutomationExecutionsCommandInput extends DescribeAutomationExecutionsRequest { +} +/** + * @public + * + * The output of {@link DescribeAutomationExecutionsCommand}. + */ +export interface DescribeAutomationExecutionsCommandOutput extends DescribeAutomationExecutionsResult, __MetadataBearer { +} +/** + * @public + *

Provides details about all active and terminated Automation executions.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, DescribeAutomationExecutionsCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, DescribeAutomationExecutionsCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // DescribeAutomationExecutionsRequest + * Filters: [ // AutomationExecutionFilterList + * { // AutomationExecutionFilter + * Key: "DocumentNamePrefix" || "ExecutionStatus" || "ExecutionId" || "ParentExecutionId" || "CurrentAction" || "StartTimeBefore" || "StartTimeAfter" || "AutomationType" || "TagKey" || "TargetResourceGroup" || "AutomationSubtype" || "OpsItemId", // required + * Values: [ // AutomationExecutionFilterValueList // required + * "STRING_VALUE", + * ], + * }, + * ], + * MaxResults: Number("int"), + * NextToken: "STRING_VALUE", + * }; + * const command = new DescribeAutomationExecutionsCommand(input); + * const response = await client.send(command); + * // { // DescribeAutomationExecutionsResult + * // AutomationExecutionMetadataList: [ // AutomationExecutionMetadataList + * // { // AutomationExecutionMetadata + * // AutomationExecutionId: "STRING_VALUE", + * // DocumentName: "STRING_VALUE", + * // DocumentVersion: "STRING_VALUE", + * // AutomationExecutionStatus: "Pending" || "InProgress" || "Waiting" || "Success" || "TimedOut" || "Cancelling" || "Cancelled" || "Failed" || "PendingApproval" || "Approved" || "Rejected" || "Scheduled" || "RunbookInProgress" || "PendingChangeCalendarOverride" || "ChangeCalendarOverrideApproved" || "ChangeCalendarOverrideRejected" || "CompletedWithSuccess" || "CompletedWithFailure" || "Exited", + * // ExecutionStartTime: new Date("TIMESTAMP"), + * // ExecutionEndTime: new Date("TIMESTAMP"), + * // ExecutedBy: "STRING_VALUE", + * // LogFile: "STRING_VALUE", + * // Outputs: { // AutomationParameterMap + * // "": [ // AutomationParameterValueList + * // "STRING_VALUE", + * // ], + * // }, + * // Mode: "Auto" || "Interactive", + * // ParentAutomationExecutionId: "STRING_VALUE", + * // CurrentStepName: "STRING_VALUE", + * // CurrentAction: "STRING_VALUE", + * // FailureMessage: "STRING_VALUE", + * // TargetParameterName: "STRING_VALUE", + * // Targets: [ // Targets + * // { // Target + * // Key: "STRING_VALUE", + * // Values: [ // TargetValues + * // "STRING_VALUE", + * // ], + * // }, + * // ], + * // TargetMaps: [ // TargetMaps + * // { // TargetMap + * // "": [ // TargetMapValueList + * // "STRING_VALUE", + * // ], + * // }, + * // ], + * // ResolvedTargets: { // ResolvedTargets + * // ParameterValues: [ // TargetParameterList + * // "STRING_VALUE", + * // ], + * // Truncated: true || false, + * // }, + * // MaxConcurrency: "STRING_VALUE", + * // MaxErrors: "STRING_VALUE", + * // Target: "STRING_VALUE", + * // AutomationType: "CrossAccount" || "Local", + * // AlarmConfiguration: { // AlarmConfiguration + * // IgnorePollAlarmFailure: true || false, + * // Alarms: [ // AlarmList // required + * // { // Alarm + * // Name: "STRING_VALUE", // required + * // }, + * // ], + * // }, + * // TriggeredAlarms: [ // AlarmStateInformationList + * // { // AlarmStateInformation + * // Name: "STRING_VALUE", // required + * // State: "UNKNOWN" || "ALARM", // required + * // }, + * // ], + * // AutomationSubtype: "ChangeRequest", + * // ScheduledTime: new Date("TIMESTAMP"), + * // Runbooks: [ // Runbooks + * // { // Runbook + * // DocumentName: "STRING_VALUE", // required + * // DocumentVersion: "STRING_VALUE", + * // Parameters: { + * // "": [ + * // "STRING_VALUE", + * // ], + * // }, + * // TargetParameterName: "STRING_VALUE", + * // Targets: [ + * // { + * // Key: "STRING_VALUE", + * // Values: [ + * // "STRING_VALUE", + * // ], + * // }, + * // ], + * // TargetMaps: [ + * // { + * // "": [ + * // "STRING_VALUE", + * // ], + * // }, + * // ], + * // MaxConcurrency: "STRING_VALUE", + * // MaxErrors: "STRING_VALUE", + * // TargetLocations: [ // TargetLocations + * // { // TargetLocation + * // Accounts: [ // Accounts + * // "STRING_VALUE", + * // ], + * // Regions: [ // Regions + * // "STRING_VALUE", + * // ], + * // TargetLocationMaxConcurrency: "STRING_VALUE", + * // TargetLocationMaxErrors: "STRING_VALUE", + * // ExecutionRoleName: "STRING_VALUE", + * // TargetLocationAlarmConfiguration: { + * // IgnorePollAlarmFailure: true || false, + * // Alarms: [ // required + * // { + * // Name: "STRING_VALUE", // required + * // }, + * // ], + * // }, + * // }, + * // ], + * // }, + * // ], + * // OpsItemId: "STRING_VALUE", + * // AssociationId: "STRING_VALUE", + * // ChangeRequestName: "STRING_VALUE", + * // }, + * // ], + * // NextToken: "STRING_VALUE", + * // }; + * + * ``` + * + * @param DescribeAutomationExecutionsCommandInput - {@link DescribeAutomationExecutionsCommandInput} + * @returns {@link DescribeAutomationExecutionsCommandOutput} + * @see {@link DescribeAutomationExecutionsCommandInput} for command's `input` shape. + * @see {@link DescribeAutomationExecutionsCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link InvalidFilterKey} (client fault) + *

The specified key isn't valid.

+ * + * @throws {@link InvalidFilterValue} (client fault) + *

The filter value isn't valid. Verify the value and try again.

+ * + * @throws {@link InvalidNextToken} (client fault) + *

The specified token isn't valid.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class DescribeAutomationExecutionsCommand extends $Command { + readonly input: DescribeAutomationExecutionsCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: DescribeAutomationExecutionsCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeAutomationStepExecutionsCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeAutomationStepExecutionsCommand.d.ts new file mode 100644 index 00000000..b767fc01 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeAutomationStepExecutionsCommand.d.ts @@ -0,0 +1,185 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { DescribeAutomationStepExecutionsRequest, DescribeAutomationStepExecutionsResult } from "../models/models_0"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link DescribeAutomationStepExecutionsCommand}. + */ +export interface DescribeAutomationStepExecutionsCommandInput extends DescribeAutomationStepExecutionsRequest { +} +/** + * @public + * + * The output of {@link DescribeAutomationStepExecutionsCommand}. + */ +export interface DescribeAutomationStepExecutionsCommandOutput extends DescribeAutomationStepExecutionsResult, __MetadataBearer { +} +/** + * @public + *

Information about all active and terminated step executions in an Automation + * workflow.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, DescribeAutomationStepExecutionsCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, DescribeAutomationStepExecutionsCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // DescribeAutomationStepExecutionsRequest + * AutomationExecutionId: "STRING_VALUE", // required + * Filters: [ // StepExecutionFilterList + * { // StepExecutionFilter + * Key: "StartTimeBefore" || "StartTimeAfter" || "StepExecutionStatus" || "StepExecutionId" || "StepName" || "Action" || "ParentStepExecutionId" || "ParentStepIteration" || "ParentStepIteratorValue", // required + * Values: [ // StepExecutionFilterValueList // required + * "STRING_VALUE", + * ], + * }, + * ], + * NextToken: "STRING_VALUE", + * MaxResults: Number("int"), + * ReverseOrder: true || false, + * }; + * const command = new DescribeAutomationStepExecutionsCommand(input); + * const response = await client.send(command); + * // { // DescribeAutomationStepExecutionsResult + * // StepExecutions: [ // StepExecutionList + * // { // StepExecution + * // StepName: "STRING_VALUE", + * // Action: "STRING_VALUE", + * // TimeoutSeconds: Number("long"), + * // OnFailure: "STRING_VALUE", + * // MaxAttempts: Number("int"), + * // ExecutionStartTime: new Date("TIMESTAMP"), + * // ExecutionEndTime: new Date("TIMESTAMP"), + * // StepStatus: "Pending" || "InProgress" || "Waiting" || "Success" || "TimedOut" || "Cancelling" || "Cancelled" || "Failed" || "PendingApproval" || "Approved" || "Rejected" || "Scheduled" || "RunbookInProgress" || "PendingChangeCalendarOverride" || "ChangeCalendarOverrideApproved" || "ChangeCalendarOverrideRejected" || "CompletedWithSuccess" || "CompletedWithFailure" || "Exited", + * // ResponseCode: "STRING_VALUE", + * // Inputs: { // NormalStringMap + * // "": "STRING_VALUE", + * // }, + * // Outputs: { // AutomationParameterMap + * // "": [ // AutomationParameterValueList + * // "STRING_VALUE", + * // ], + * // }, + * // Response: "STRING_VALUE", + * // FailureMessage: "STRING_VALUE", + * // FailureDetails: { // FailureDetails + * // FailureStage: "STRING_VALUE", + * // FailureType: "STRING_VALUE", + * // Details: { + * // "": [ + * // "STRING_VALUE", + * // ], + * // }, + * // }, + * // StepExecutionId: "STRING_VALUE", + * // OverriddenParameters: { + * // "": [ + * // "STRING_VALUE", + * // ], + * // }, + * // IsEnd: true || false, + * // NextStep: "STRING_VALUE", + * // IsCritical: true || false, + * // ValidNextSteps: [ // ValidNextStepList + * // "STRING_VALUE", + * // ], + * // Targets: [ // Targets + * // { // Target + * // Key: "STRING_VALUE", + * // Values: [ // TargetValues + * // "STRING_VALUE", + * // ], + * // }, + * // ], + * // TargetLocation: { // TargetLocation + * // Accounts: [ // Accounts + * // "STRING_VALUE", + * // ], + * // Regions: [ // Regions + * // "STRING_VALUE", + * // ], + * // TargetLocationMaxConcurrency: "STRING_VALUE", + * // TargetLocationMaxErrors: "STRING_VALUE", + * // ExecutionRoleName: "STRING_VALUE", + * // TargetLocationAlarmConfiguration: { // AlarmConfiguration + * // IgnorePollAlarmFailure: true || false, + * // Alarms: [ // AlarmList // required + * // { // Alarm + * // Name: "STRING_VALUE", // required + * // }, + * // ], + * // }, + * // }, + * // TriggeredAlarms: [ // AlarmStateInformationList + * // { // AlarmStateInformation + * // Name: "STRING_VALUE", // required + * // State: "UNKNOWN" || "ALARM", // required + * // }, + * // ], + * // ParentStepDetails: { // ParentStepDetails + * // StepExecutionId: "STRING_VALUE", + * // StepName: "STRING_VALUE", + * // Action: "STRING_VALUE", + * // Iteration: Number("int"), + * // IteratorValue: "STRING_VALUE", + * // }, + * // }, + * // ], + * // NextToken: "STRING_VALUE", + * // }; + * + * ``` + * + * @param DescribeAutomationStepExecutionsCommandInput - {@link DescribeAutomationStepExecutionsCommandInput} + * @returns {@link DescribeAutomationStepExecutionsCommandOutput} + * @see {@link DescribeAutomationStepExecutionsCommandInput} for command's `input` shape. + * @see {@link DescribeAutomationStepExecutionsCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link AutomationExecutionNotFoundException} (client fault) + *

There is no automation execution information for the requested automation execution + * ID.

+ * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link InvalidFilterKey} (client fault) + *

The specified key isn't valid.

+ * + * @throws {@link InvalidFilterValue} (client fault) + *

The filter value isn't valid. Verify the value and try again.

+ * + * @throws {@link InvalidNextToken} (client fault) + *

The specified token isn't valid.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class DescribeAutomationStepExecutionsCommand extends $Command { + readonly input: DescribeAutomationStepExecutionsCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: DescribeAutomationStepExecutionsCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeAvailablePatchesCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeAvailablePatchesCommand.d.ts new file mode 100644 index 00000000..fcb88334 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeAvailablePatchesCommand.d.ts @@ -0,0 +1,118 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { DescribeAvailablePatchesRequest, DescribeAvailablePatchesResult } from "../models/models_0"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link DescribeAvailablePatchesCommand}. + */ +export interface DescribeAvailablePatchesCommandInput extends DescribeAvailablePatchesRequest { +} +/** + * @public + * + * The output of {@link DescribeAvailablePatchesCommand}. + */ +export interface DescribeAvailablePatchesCommandOutput extends DescribeAvailablePatchesResult, __MetadataBearer { +} +/** + * @public + *

Lists all patches eligible to be included in a patch baseline.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, DescribeAvailablePatchesCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, DescribeAvailablePatchesCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // DescribeAvailablePatchesRequest + * Filters: [ // PatchOrchestratorFilterList + * { // PatchOrchestratorFilter + * Key: "STRING_VALUE", + * Values: [ // PatchOrchestratorFilterValues + * "STRING_VALUE", + * ], + * }, + * ], + * MaxResults: Number("int"), + * NextToken: "STRING_VALUE", + * }; + * const command = new DescribeAvailablePatchesCommand(input); + * const response = await client.send(command); + * // { // DescribeAvailablePatchesResult + * // Patches: [ // PatchList + * // { // Patch + * // Id: "STRING_VALUE", + * // ReleaseDate: new Date("TIMESTAMP"), + * // Title: "STRING_VALUE", + * // Description: "STRING_VALUE", + * // ContentUrl: "STRING_VALUE", + * // Vendor: "STRING_VALUE", + * // ProductFamily: "STRING_VALUE", + * // Product: "STRING_VALUE", + * // Classification: "STRING_VALUE", + * // MsrcSeverity: "STRING_VALUE", + * // KbNumber: "STRING_VALUE", + * // MsrcNumber: "STRING_VALUE", + * // Language: "STRING_VALUE", + * // AdvisoryIds: [ // PatchAdvisoryIdList + * // "STRING_VALUE", + * // ], + * // BugzillaIds: [ // PatchBugzillaIdList + * // "STRING_VALUE", + * // ], + * // CVEIds: [ // PatchCVEIdList + * // "STRING_VALUE", + * // ], + * // Name: "STRING_VALUE", + * // Epoch: Number("int"), + * // Version: "STRING_VALUE", + * // Release: "STRING_VALUE", + * // Arch: "STRING_VALUE", + * // Severity: "STRING_VALUE", + * // Repository: "STRING_VALUE", + * // }, + * // ], + * // NextToken: "STRING_VALUE", + * // }; + * + * ``` + * + * @param DescribeAvailablePatchesCommandInput - {@link DescribeAvailablePatchesCommandInput} + * @returns {@link DescribeAvailablePatchesCommandOutput} + * @see {@link DescribeAvailablePatchesCommandInput} for command's `input` shape. + * @see {@link DescribeAvailablePatchesCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class DescribeAvailablePatchesCommand extends $Command { + readonly input: DescribeAvailablePatchesCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: DescribeAvailablePatchesCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeDocumentCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeDocumentCommand.d.ts new file mode 100644 index 00000000..91936e50 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeDocumentCommand.d.ts @@ -0,0 +1,150 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { DescribeDocumentRequest, DescribeDocumentResult } from "../models/models_0"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link DescribeDocumentCommand}. + */ +export interface DescribeDocumentCommandInput extends DescribeDocumentRequest { +} +/** + * @public + * + * The output of {@link DescribeDocumentCommand}. + */ +export interface DescribeDocumentCommandOutput extends DescribeDocumentResult, __MetadataBearer { +} +/** + * @public + *

Describes the specified Amazon Web Services Systems Manager document (SSM document).

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, DescribeDocumentCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, DescribeDocumentCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // DescribeDocumentRequest + * Name: "STRING_VALUE", // required + * DocumentVersion: "STRING_VALUE", + * VersionName: "STRING_VALUE", + * }; + * const command = new DescribeDocumentCommand(input); + * const response = await client.send(command); + * // { // DescribeDocumentResult + * // Document: { // DocumentDescription + * // Sha1: "STRING_VALUE", + * // Hash: "STRING_VALUE", + * // HashType: "Sha256" || "Sha1", + * // Name: "STRING_VALUE", + * // DisplayName: "STRING_VALUE", + * // VersionName: "STRING_VALUE", + * // Owner: "STRING_VALUE", + * // CreatedDate: new Date("TIMESTAMP"), + * // Status: "Creating" || "Active" || "Updating" || "Deleting" || "Failed", + * // StatusInformation: "STRING_VALUE", + * // DocumentVersion: "STRING_VALUE", + * // Description: "STRING_VALUE", + * // Parameters: [ // DocumentParameterList + * // { // DocumentParameter + * // Name: "STRING_VALUE", + * // Type: "String" || "StringList", + * // Description: "STRING_VALUE", + * // DefaultValue: "STRING_VALUE", + * // }, + * // ], + * // PlatformTypes: [ // PlatformTypeList + * // "Windows" || "Linux" || "MacOS", + * // ], + * // DocumentType: "Command" || "Policy" || "Automation" || "Session" || "Package" || "ApplicationConfiguration" || "ApplicationConfigurationSchema" || "DeploymentStrategy" || "ChangeCalendar" || "Automation.ChangeTemplate" || "ProblemAnalysis" || "ProblemAnalysisTemplate" || "CloudFormation" || "ConformancePackTemplate" || "QuickSetup", + * // SchemaVersion: "STRING_VALUE", + * // LatestVersion: "STRING_VALUE", + * // DefaultVersion: "STRING_VALUE", + * // DocumentFormat: "YAML" || "JSON" || "TEXT", + * // TargetType: "STRING_VALUE", + * // Tags: [ // TagList + * // { // Tag + * // Key: "STRING_VALUE", // required + * // Value: "STRING_VALUE", // required + * // }, + * // ], + * // AttachmentsInformation: [ // AttachmentInformationList + * // { // AttachmentInformation + * // Name: "STRING_VALUE", + * // }, + * // ], + * // Requires: [ // DocumentRequiresList + * // { // DocumentRequires + * // Name: "STRING_VALUE", // required + * // Version: "STRING_VALUE", + * // RequireType: "STRING_VALUE", + * // VersionName: "STRING_VALUE", + * // }, + * // ], + * // Author: "STRING_VALUE", + * // ReviewInformation: [ // ReviewInformationList + * // { // ReviewInformation + * // ReviewedTime: new Date("TIMESTAMP"), + * // Status: "APPROVED" || "NOT_REVIEWED" || "PENDING" || "REJECTED", + * // Reviewer: "STRING_VALUE", + * // }, + * // ], + * // ApprovedVersion: "STRING_VALUE", + * // PendingReviewVersion: "STRING_VALUE", + * // ReviewStatus: "APPROVED" || "NOT_REVIEWED" || "PENDING" || "REJECTED", + * // Category: [ // CategoryList + * // "STRING_VALUE", + * // ], + * // CategoryEnum: [ // CategoryEnumList + * // "STRING_VALUE", + * // ], + * // }, + * // }; + * + * ``` + * + * @param DescribeDocumentCommandInput - {@link DescribeDocumentCommandInput} + * @returns {@link DescribeDocumentCommandOutput} + * @see {@link DescribeDocumentCommandInput} for command's `input` shape. + * @see {@link DescribeDocumentCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link InvalidDocument} (client fault) + *

The specified SSM document doesn't exist.

+ * + * @throws {@link InvalidDocumentVersion} (client fault) + *

The document version isn't valid or doesn't exist.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class DescribeDocumentCommand extends $Command { + readonly input: DescribeDocumentCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: DescribeDocumentCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeDocumentPermissionCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeDocumentPermissionCommand.d.ts new file mode 100644 index 00000000..de3c24dd --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeDocumentPermissionCommand.d.ts @@ -0,0 +1,104 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { DescribeDocumentPermissionRequest, DescribeDocumentPermissionResponse } from "../models/models_0"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link DescribeDocumentPermissionCommand}. + */ +export interface DescribeDocumentPermissionCommandInput extends DescribeDocumentPermissionRequest { +} +/** + * @public + * + * The output of {@link DescribeDocumentPermissionCommand}. + */ +export interface DescribeDocumentPermissionCommandOutput extends DescribeDocumentPermissionResponse, __MetadataBearer { +} +/** + * @public + *

Describes the permissions for a Amazon Web Services Systems Manager document (SSM document). If you created the + * document, you are the owner. If a document is shared, it can either be shared privately (by + * specifying a user's Amazon Web Services account ID) or publicly (All).

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, DescribeDocumentPermissionCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, DescribeDocumentPermissionCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // DescribeDocumentPermissionRequest + * Name: "STRING_VALUE", // required + * PermissionType: "Share", // required + * MaxResults: Number("int"), + * NextToken: "STRING_VALUE", + * }; + * const command = new DescribeDocumentPermissionCommand(input); + * const response = await client.send(command); + * // { // DescribeDocumentPermissionResponse + * // AccountIds: [ // AccountIdList + * // "STRING_VALUE", + * // ], + * // AccountSharingInfoList: [ // AccountSharingInfoList + * // { // AccountSharingInfo + * // AccountId: "STRING_VALUE", + * // SharedDocumentVersion: "STRING_VALUE", + * // }, + * // ], + * // NextToken: "STRING_VALUE", + * // }; + * + * ``` + * + * @param DescribeDocumentPermissionCommandInput - {@link DescribeDocumentPermissionCommandInput} + * @returns {@link DescribeDocumentPermissionCommandOutput} + * @see {@link DescribeDocumentPermissionCommandInput} for command's `input` shape. + * @see {@link DescribeDocumentPermissionCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link InvalidDocument} (client fault) + *

The specified SSM document doesn't exist.

+ * + * @throws {@link InvalidDocumentOperation} (client fault) + *

You attempted to delete a document while it is still shared. You must stop sharing the + * document before you can delete it.

+ * + * @throws {@link InvalidNextToken} (client fault) + *

The specified token isn't valid.

+ * + * @throws {@link InvalidPermissionType} (client fault) + *

The permission type isn't supported. Share is the only supported + * permission type.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class DescribeDocumentPermissionCommand extends $Command { + readonly input: DescribeDocumentPermissionCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: DescribeDocumentPermissionCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeEffectiveInstanceAssociationsCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeEffectiveInstanceAssociationsCommand.d.ts new file mode 100644 index 00000000..3f9b3cf0 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeEffectiveInstanceAssociationsCommand.d.ts @@ -0,0 +1,109 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { DescribeEffectiveInstanceAssociationsRequest, DescribeEffectiveInstanceAssociationsResult } from "../models/models_0"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link DescribeEffectiveInstanceAssociationsCommand}. + */ +export interface DescribeEffectiveInstanceAssociationsCommandInput extends DescribeEffectiveInstanceAssociationsRequest { +} +/** + * @public + * + * The output of {@link DescribeEffectiveInstanceAssociationsCommand}. + */ +export interface DescribeEffectiveInstanceAssociationsCommandOutput extends DescribeEffectiveInstanceAssociationsResult, __MetadataBearer { +} +/** + * @public + *

All associations for the managed node(s).

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, DescribeEffectiveInstanceAssociationsCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, DescribeEffectiveInstanceAssociationsCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // DescribeEffectiveInstanceAssociationsRequest + * InstanceId: "STRING_VALUE", // required + * MaxResults: Number("int"), + * NextToken: "STRING_VALUE", + * }; + * const command = new DescribeEffectiveInstanceAssociationsCommand(input); + * const response = await client.send(command); + * // { // DescribeEffectiveInstanceAssociationsResult + * // Associations: [ // InstanceAssociationList + * // { // InstanceAssociation + * // AssociationId: "STRING_VALUE", + * // InstanceId: "STRING_VALUE", + * // Content: "STRING_VALUE", + * // AssociationVersion: "STRING_VALUE", + * // }, + * // ], + * // NextToken: "STRING_VALUE", + * // }; + * + * ``` + * + * @param DescribeEffectiveInstanceAssociationsCommandInput - {@link DescribeEffectiveInstanceAssociationsCommandInput} + * @returns {@link DescribeEffectiveInstanceAssociationsCommandOutput} + * @see {@link DescribeEffectiveInstanceAssociationsCommandInput} for command's `input` shape. + * @see {@link DescribeEffectiveInstanceAssociationsCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link InvalidInstanceId} (client fault) + *

The following problems can cause this exception:

+ *
    + *
  • + *

    You don't have permission to access the managed node.

    + *
  • + *
  • + *

    Amazon Web Services Systems Manager Agent(SSM Agent) isn't running. Verify that SSM Agent is + * running.

    + *
  • + *
  • + *

    SSM Agent isn't registered with the SSM endpoint. Try reinstalling SSM Agent.

    + *
  • + *
  • + *

    The managed node isn't in valid state. Valid states are: Running, + * Pending, Stopped, and Stopping. Invalid states are: + * Shutting-down and Terminated.

    + *
  • + *
+ * + * @throws {@link InvalidNextToken} (client fault) + *

The specified token isn't valid.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class DescribeEffectiveInstanceAssociationsCommand extends $Command { + readonly input: DescribeEffectiveInstanceAssociationsCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: DescribeEffectiveInstanceAssociationsCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeEffectivePatchesForPatchBaselineCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeEffectivePatchesForPatchBaselineCommand.d.ts new file mode 100644 index 00000000..261a3a6b --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeEffectivePatchesForPatchBaselineCommand.d.ts @@ -0,0 +1,132 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { DescribeEffectivePatchesForPatchBaselineRequest, DescribeEffectivePatchesForPatchBaselineResult } from "../models/models_0"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link DescribeEffectivePatchesForPatchBaselineCommand}. + */ +export interface DescribeEffectivePatchesForPatchBaselineCommandInput extends DescribeEffectivePatchesForPatchBaselineRequest { +} +/** + * @public + * + * The output of {@link DescribeEffectivePatchesForPatchBaselineCommand}. + */ +export interface DescribeEffectivePatchesForPatchBaselineCommandOutput extends DescribeEffectivePatchesForPatchBaselineResult, __MetadataBearer { +} +/** + * @public + *

Retrieves the current effective patches (the patch and the approval state) for the specified + * patch baseline. Applies to patch baselines for Windows only.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, DescribeEffectivePatchesForPatchBaselineCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, DescribeEffectivePatchesForPatchBaselineCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // DescribeEffectivePatchesForPatchBaselineRequest + * BaselineId: "STRING_VALUE", // required + * MaxResults: Number("int"), + * NextToken: "STRING_VALUE", + * }; + * const command = new DescribeEffectivePatchesForPatchBaselineCommand(input); + * const response = await client.send(command); + * // { // DescribeEffectivePatchesForPatchBaselineResult + * // EffectivePatches: [ // EffectivePatchList + * // { // EffectivePatch + * // Patch: { // Patch + * // Id: "STRING_VALUE", + * // ReleaseDate: new Date("TIMESTAMP"), + * // Title: "STRING_VALUE", + * // Description: "STRING_VALUE", + * // ContentUrl: "STRING_VALUE", + * // Vendor: "STRING_VALUE", + * // ProductFamily: "STRING_VALUE", + * // Product: "STRING_VALUE", + * // Classification: "STRING_VALUE", + * // MsrcSeverity: "STRING_VALUE", + * // KbNumber: "STRING_VALUE", + * // MsrcNumber: "STRING_VALUE", + * // Language: "STRING_VALUE", + * // AdvisoryIds: [ // PatchAdvisoryIdList + * // "STRING_VALUE", + * // ], + * // BugzillaIds: [ // PatchBugzillaIdList + * // "STRING_VALUE", + * // ], + * // CVEIds: [ // PatchCVEIdList + * // "STRING_VALUE", + * // ], + * // Name: "STRING_VALUE", + * // Epoch: Number("int"), + * // Version: "STRING_VALUE", + * // Release: "STRING_VALUE", + * // Arch: "STRING_VALUE", + * // Severity: "STRING_VALUE", + * // Repository: "STRING_VALUE", + * // }, + * // PatchStatus: { // PatchStatus + * // DeploymentStatus: "APPROVED" || "PENDING_APPROVAL" || "EXPLICIT_APPROVED" || "EXPLICIT_REJECTED", + * // ComplianceLevel: "CRITICAL" || "HIGH" || "MEDIUM" || "LOW" || "INFORMATIONAL" || "UNSPECIFIED", + * // ApprovalDate: new Date("TIMESTAMP"), + * // }, + * // }, + * // ], + * // NextToken: "STRING_VALUE", + * // }; + * + * ``` + * + * @param DescribeEffectivePatchesForPatchBaselineCommandInput - {@link DescribeEffectivePatchesForPatchBaselineCommandInput} + * @returns {@link DescribeEffectivePatchesForPatchBaselineCommandOutput} + * @see {@link DescribeEffectivePatchesForPatchBaselineCommandInput} for command's `input` shape. + * @see {@link DescribeEffectivePatchesForPatchBaselineCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link DoesNotExistException} (client fault) + *

Error returned when the ID specified for a resource, such as a maintenance window or patch + * baseline, doesn't exist.

+ *

For information about resource quotas in Amazon Web Services Systems Manager, see Systems Manager service quotas in the + * Amazon Web Services General Reference.

+ * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link InvalidResourceId} (client fault) + *

The resource ID isn't valid. Verify that you entered the correct ID and try again.

+ * + * @throws {@link UnsupportedOperatingSystem} (client fault) + *

The operating systems you specified isn't supported, or the operation isn't supported for + * the operating system.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class DescribeEffectivePatchesForPatchBaselineCommand extends $Command { + readonly input: DescribeEffectivePatchesForPatchBaselineCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: DescribeEffectivePatchesForPatchBaselineCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeInstanceAssociationsStatusCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeInstanceAssociationsStatusCommand.d.ts new file mode 100644 index 00000000..1e2928e8 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeInstanceAssociationsStatusCommand.d.ts @@ -0,0 +1,121 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { DescribeInstanceAssociationsStatusRequest, DescribeInstanceAssociationsStatusResult } from "../models/models_0"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link DescribeInstanceAssociationsStatusCommand}. + */ +export interface DescribeInstanceAssociationsStatusCommandInput extends DescribeInstanceAssociationsStatusRequest { +} +/** + * @public + * + * The output of {@link DescribeInstanceAssociationsStatusCommand}. + */ +export interface DescribeInstanceAssociationsStatusCommandOutput extends DescribeInstanceAssociationsStatusResult, __MetadataBearer { +} +/** + * @public + *

The status of the associations for the managed node(s).

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, DescribeInstanceAssociationsStatusCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, DescribeInstanceAssociationsStatusCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // DescribeInstanceAssociationsStatusRequest + * InstanceId: "STRING_VALUE", // required + * MaxResults: Number("int"), + * NextToken: "STRING_VALUE", + * }; + * const command = new DescribeInstanceAssociationsStatusCommand(input); + * const response = await client.send(command); + * // { // DescribeInstanceAssociationsStatusResult + * // InstanceAssociationStatusInfos: [ // InstanceAssociationStatusInfos + * // { // InstanceAssociationStatusInfo + * // AssociationId: "STRING_VALUE", + * // Name: "STRING_VALUE", + * // DocumentVersion: "STRING_VALUE", + * // AssociationVersion: "STRING_VALUE", + * // InstanceId: "STRING_VALUE", + * // ExecutionDate: new Date("TIMESTAMP"), + * // Status: "STRING_VALUE", + * // DetailedStatus: "STRING_VALUE", + * // ExecutionSummary: "STRING_VALUE", + * // ErrorCode: "STRING_VALUE", + * // OutputUrl: { // InstanceAssociationOutputUrl + * // S3OutputUrl: { // S3OutputUrl + * // OutputUrl: "STRING_VALUE", + * // }, + * // }, + * // AssociationName: "STRING_VALUE", + * // }, + * // ], + * // NextToken: "STRING_VALUE", + * // }; + * + * ``` + * + * @param DescribeInstanceAssociationsStatusCommandInput - {@link DescribeInstanceAssociationsStatusCommandInput} + * @returns {@link DescribeInstanceAssociationsStatusCommandOutput} + * @see {@link DescribeInstanceAssociationsStatusCommandInput} for command's `input` shape. + * @see {@link DescribeInstanceAssociationsStatusCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link InvalidInstanceId} (client fault) + *

The following problems can cause this exception:

+ *
    + *
  • + *

    You don't have permission to access the managed node.

    + *
  • + *
  • + *

    Amazon Web Services Systems Manager Agent(SSM Agent) isn't running. Verify that SSM Agent is + * running.

    + *
  • + *
  • + *

    SSM Agent isn't registered with the SSM endpoint. Try reinstalling SSM Agent.

    + *
  • + *
  • + *

    The managed node isn't in valid state. Valid states are: Running, + * Pending, Stopped, and Stopping. Invalid states are: + * Shutting-down and Terminated.

    + *
  • + *
+ * + * @throws {@link InvalidNextToken} (client fault) + *

The specified token isn't valid.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class DescribeInstanceAssociationsStatusCommand extends $Command { + readonly input: DescribeInstanceAssociationsStatusCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: DescribeInstanceAssociationsStatusCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeInstanceInformationCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeInstanceInformationCommand.d.ts new file mode 100644 index 00000000..050924ea --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeInstanceInformationCommand.d.ts @@ -0,0 +1,161 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { DescribeInstanceInformationRequest, DescribeInstanceInformationResult } from "../models/models_0"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link DescribeInstanceInformationCommand}. + */ +export interface DescribeInstanceInformationCommandInput extends DescribeInstanceInformationRequest { +} +/** + * @public + * + * The output of {@link DescribeInstanceInformationCommand}. + */ +export interface DescribeInstanceInformationCommandOutput extends DescribeInstanceInformationResult, __MetadataBearer { +} +/** + * @public + *

Provides information about one or more of your managed nodes, including the operating system + * platform, SSM Agent version, association status, and IP address. This operation does not return + * information for nodes that are either Stopped or Terminated.

+ *

If you specify one or more node IDs, the operation returns information for those managed + * nodes. If you don't specify node IDs, it returns information for all your managed nodes. If you + * specify a node ID that isn't valid or a node that you don't own, you receive an error.

+ * + *

The IamRole field returned for this API operation is the Identity and Access Management (IAM) role assigned to on-premises managed nodes. This operation does not + * return the IAM role for EC2 instances.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, DescribeInstanceInformationCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, DescribeInstanceInformationCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // DescribeInstanceInformationRequest + * InstanceInformationFilterList: [ // InstanceInformationFilterList + * { // InstanceInformationFilter + * key: "InstanceIds" || "AgentVersion" || "PingStatus" || "PlatformTypes" || "ActivationIds" || "IamRole" || "ResourceType" || "AssociationStatus", // required + * valueSet: [ // InstanceInformationFilterValueSet // required + * "STRING_VALUE", + * ], + * }, + * ], + * Filters: [ // InstanceInformationStringFilterList + * { // InstanceInformationStringFilter + * Key: "STRING_VALUE", // required + * Values: [ // required + * "STRING_VALUE", + * ], + * }, + * ], + * MaxResults: Number("int"), + * NextToken: "STRING_VALUE", + * }; + * const command = new DescribeInstanceInformationCommand(input); + * const response = await client.send(command); + * // { // DescribeInstanceInformationResult + * // InstanceInformationList: [ // InstanceInformationList + * // { // InstanceInformation + * // InstanceId: "STRING_VALUE", + * // PingStatus: "Online" || "ConnectionLost" || "Inactive", + * // LastPingDateTime: new Date("TIMESTAMP"), + * // AgentVersion: "STRING_VALUE", + * // IsLatestVersion: true || false, + * // PlatformType: "Windows" || "Linux" || "MacOS", + * // PlatformName: "STRING_VALUE", + * // PlatformVersion: "STRING_VALUE", + * // ActivationId: "STRING_VALUE", + * // IamRole: "STRING_VALUE", + * // RegistrationDate: new Date("TIMESTAMP"), + * // ResourceType: "ManagedInstance" || "EC2Instance", + * // Name: "STRING_VALUE", + * // IPAddress: "STRING_VALUE", + * // ComputerName: "STRING_VALUE", + * // AssociationStatus: "STRING_VALUE", + * // LastAssociationExecutionDate: new Date("TIMESTAMP"), + * // LastSuccessfulAssociationExecutionDate: new Date("TIMESTAMP"), + * // AssociationOverview: { // InstanceAggregatedAssociationOverview + * // DetailedStatus: "STRING_VALUE", + * // InstanceAssociationStatusAggregatedCount: { // InstanceAssociationStatusAggregatedCount + * // "": Number("int"), + * // }, + * // }, + * // SourceId: "STRING_VALUE", + * // SourceType: "AWS::EC2::Instance" || "AWS::IoT::Thing" || "AWS::SSM::ManagedInstance", + * // }, + * // ], + * // NextToken: "STRING_VALUE", + * // }; + * + * ``` + * + * @param DescribeInstanceInformationCommandInput - {@link DescribeInstanceInformationCommandInput} + * @returns {@link DescribeInstanceInformationCommandOutput} + * @see {@link DescribeInstanceInformationCommandInput} for command's `input` shape. + * @see {@link DescribeInstanceInformationCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link InvalidFilterKey} (client fault) + *

The specified key isn't valid.

+ * + * @throws {@link InvalidInstanceId} (client fault) + *

The following problems can cause this exception:

+ *
    + *
  • + *

    You don't have permission to access the managed node.

    + *
  • + *
  • + *

    Amazon Web Services Systems Manager Agent(SSM Agent) isn't running. Verify that SSM Agent is + * running.

    + *
  • + *
  • + *

    SSM Agent isn't registered with the SSM endpoint. Try reinstalling SSM Agent.

    + *
  • + *
  • + *

    The managed node isn't in valid state. Valid states are: Running, + * Pending, Stopped, and Stopping. Invalid states are: + * Shutting-down and Terminated.

    + *
  • + *
+ * + * @throws {@link InvalidInstanceInformationFilterValue} (client fault) + *

The specified filter value isn't valid.

+ * + * @throws {@link InvalidNextToken} (client fault) + *

The specified token isn't valid.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class DescribeInstanceInformationCommand extends $Command { + readonly input: DescribeInstanceInformationCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: DescribeInstanceInformationCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeInstancePatchStatesCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeInstancePatchStatesCommand.d.ts new file mode 100644 index 00000000..93eb9533 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeInstancePatchStatesCommand.d.ts @@ -0,0 +1,109 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { DescribeInstancePatchStatesRequest, DescribeInstancePatchStatesResult } from "../models/models_0"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link DescribeInstancePatchStatesCommand}. + */ +export interface DescribeInstancePatchStatesCommandInput extends DescribeInstancePatchStatesRequest { +} +/** + * @public + * + * The output of {@link DescribeInstancePatchStatesCommand}. + */ +export interface DescribeInstancePatchStatesCommandOutput extends DescribeInstancePatchStatesResult, __MetadataBearer { +} +/** + * @public + *

Retrieves the high-level patch state of one or more managed nodes.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, DescribeInstancePatchStatesCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, DescribeInstancePatchStatesCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // DescribeInstancePatchStatesRequest + * InstanceIds: [ // InstanceIdList // required + * "STRING_VALUE", + * ], + * NextToken: "STRING_VALUE", + * MaxResults: Number("int"), + * }; + * const command = new DescribeInstancePatchStatesCommand(input); + * const response = await client.send(command); + * // { // DescribeInstancePatchStatesResult + * // InstancePatchStates: [ // InstancePatchStateList + * // { // InstancePatchState + * // InstanceId: "STRING_VALUE", // required + * // PatchGroup: "STRING_VALUE", // required + * // BaselineId: "STRING_VALUE", // required + * // SnapshotId: "STRING_VALUE", + * // InstallOverrideList: "STRING_VALUE", + * // OwnerInformation: "STRING_VALUE", + * // InstalledCount: Number("int"), + * // InstalledOtherCount: Number("int"), + * // InstalledPendingRebootCount: Number("int"), + * // InstalledRejectedCount: Number("int"), + * // MissingCount: Number("int"), + * // FailedCount: Number("int"), + * // UnreportedNotApplicableCount: Number("int"), + * // NotApplicableCount: Number("int"), + * // OperationStartTime: new Date("TIMESTAMP"), // required + * // OperationEndTime: new Date("TIMESTAMP"), // required + * // Operation: "Scan" || "Install", // required + * // LastNoRebootInstallOperationTime: new Date("TIMESTAMP"), + * // RebootOption: "RebootIfNeeded" || "NoReboot", + * // CriticalNonCompliantCount: Number("int"), + * // SecurityNonCompliantCount: Number("int"), + * // OtherNonCompliantCount: Number("int"), + * // }, + * // ], + * // NextToken: "STRING_VALUE", + * // }; + * + * ``` + * + * @param DescribeInstancePatchStatesCommandInput - {@link DescribeInstancePatchStatesCommandInput} + * @returns {@link DescribeInstancePatchStatesCommandOutput} + * @see {@link DescribeInstancePatchStatesCommandInput} for command's `input` shape. + * @see {@link DescribeInstancePatchStatesCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link InvalidNextToken} (client fault) + *

The specified token isn't valid.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class DescribeInstancePatchStatesCommand extends $Command { + readonly input: DescribeInstancePatchStatesCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: DescribeInstancePatchStatesCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeInstancePatchStatesForPatchGroupCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeInstancePatchStatesForPatchGroupCommand.d.ts new file mode 100644 index 00000000..46b492ba --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeInstancePatchStatesForPatchGroupCommand.d.ts @@ -0,0 +1,120 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { DescribeInstancePatchStatesForPatchGroupRequest, DescribeInstancePatchStatesForPatchGroupResult } from "../models/models_0"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link DescribeInstancePatchStatesForPatchGroupCommand}. + */ +export interface DescribeInstancePatchStatesForPatchGroupCommandInput extends DescribeInstancePatchStatesForPatchGroupRequest { +} +/** + * @public + * + * The output of {@link DescribeInstancePatchStatesForPatchGroupCommand}. + */ +export interface DescribeInstancePatchStatesForPatchGroupCommandOutput extends DescribeInstancePatchStatesForPatchGroupResult, __MetadataBearer { +} +/** + * @public + *

Retrieves the high-level patch state for the managed nodes in the specified patch + * group.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, DescribeInstancePatchStatesForPatchGroupCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, DescribeInstancePatchStatesForPatchGroupCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // DescribeInstancePatchStatesForPatchGroupRequest + * PatchGroup: "STRING_VALUE", // required + * Filters: [ // InstancePatchStateFilterList + * { // InstancePatchStateFilter + * Key: "STRING_VALUE", // required + * Values: [ // InstancePatchStateFilterValues // required + * "STRING_VALUE", + * ], + * Type: "Equal" || "NotEqual" || "LessThan" || "GreaterThan", // required + * }, + * ], + * NextToken: "STRING_VALUE", + * MaxResults: Number("int"), + * }; + * const command = new DescribeInstancePatchStatesForPatchGroupCommand(input); + * const response = await client.send(command); + * // { // DescribeInstancePatchStatesForPatchGroupResult + * // InstancePatchStates: [ // InstancePatchStatesList + * // { // InstancePatchState + * // InstanceId: "STRING_VALUE", // required + * // PatchGroup: "STRING_VALUE", // required + * // BaselineId: "STRING_VALUE", // required + * // SnapshotId: "STRING_VALUE", + * // InstallOverrideList: "STRING_VALUE", + * // OwnerInformation: "STRING_VALUE", + * // InstalledCount: Number("int"), + * // InstalledOtherCount: Number("int"), + * // InstalledPendingRebootCount: Number("int"), + * // InstalledRejectedCount: Number("int"), + * // MissingCount: Number("int"), + * // FailedCount: Number("int"), + * // UnreportedNotApplicableCount: Number("int"), + * // NotApplicableCount: Number("int"), + * // OperationStartTime: new Date("TIMESTAMP"), // required + * // OperationEndTime: new Date("TIMESTAMP"), // required + * // Operation: "Scan" || "Install", // required + * // LastNoRebootInstallOperationTime: new Date("TIMESTAMP"), + * // RebootOption: "RebootIfNeeded" || "NoReboot", + * // CriticalNonCompliantCount: Number("int"), + * // SecurityNonCompliantCount: Number("int"), + * // OtherNonCompliantCount: Number("int"), + * // }, + * // ], + * // NextToken: "STRING_VALUE", + * // }; + * + * ``` + * + * @param DescribeInstancePatchStatesForPatchGroupCommandInput - {@link DescribeInstancePatchStatesForPatchGroupCommandInput} + * @returns {@link DescribeInstancePatchStatesForPatchGroupCommandOutput} + * @see {@link DescribeInstancePatchStatesForPatchGroupCommandInput} for command's `input` shape. + * @see {@link DescribeInstancePatchStatesForPatchGroupCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link InvalidFilter} (client fault) + *

The filter name isn't valid. Verify the you entered the correct name and try again.

+ * + * @throws {@link InvalidNextToken} (client fault) + *

The specified token isn't valid.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class DescribeInstancePatchStatesForPatchGroupCommand extends $Command { + readonly input: DescribeInstancePatchStatesForPatchGroupCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: DescribeInstancePatchStatesForPatchGroupCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeInstancePatchesCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeInstancePatchesCommand.d.ts new file mode 100644 index 00000000..3038de36 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeInstancePatchesCommand.d.ts @@ -0,0 +1,124 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { DescribeInstancePatchesRequest, DescribeInstancePatchesResult } from "../models/models_0"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link DescribeInstancePatchesCommand}. + */ +export interface DescribeInstancePatchesCommandInput extends DescribeInstancePatchesRequest { +} +/** + * @public + * + * The output of {@link DescribeInstancePatchesCommand}. + */ +export interface DescribeInstancePatchesCommandOutput extends DescribeInstancePatchesResult, __MetadataBearer { +} +/** + * @public + *

Retrieves information about the patches on the specified managed node and their state + * relative to the patch baseline being used for the node.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, DescribeInstancePatchesCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, DescribeInstancePatchesCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // DescribeInstancePatchesRequest + * InstanceId: "STRING_VALUE", // required + * Filters: [ // PatchOrchestratorFilterList + * { // PatchOrchestratorFilter + * Key: "STRING_VALUE", + * Values: [ // PatchOrchestratorFilterValues + * "STRING_VALUE", + * ], + * }, + * ], + * NextToken: "STRING_VALUE", + * MaxResults: Number("int"), + * }; + * const command = new DescribeInstancePatchesCommand(input); + * const response = await client.send(command); + * // { // DescribeInstancePatchesResult + * // Patches: [ // PatchComplianceDataList + * // { // PatchComplianceData + * // Title: "STRING_VALUE", // required + * // KBId: "STRING_VALUE", // required + * // Classification: "STRING_VALUE", // required + * // Severity: "STRING_VALUE", // required + * // State: "INSTALLED" || "INSTALLED_OTHER" || "INSTALLED_PENDING_REBOOT" || "INSTALLED_REJECTED" || "MISSING" || "NOT_APPLICABLE" || "FAILED", // required + * // InstalledTime: new Date("TIMESTAMP"), // required + * // CVEIds: "STRING_VALUE", + * // }, + * // ], + * // NextToken: "STRING_VALUE", + * // }; + * + * ``` + * + * @param DescribeInstancePatchesCommandInput - {@link DescribeInstancePatchesCommandInput} + * @returns {@link DescribeInstancePatchesCommandOutput} + * @see {@link DescribeInstancePatchesCommandInput} for command's `input` shape. + * @see {@link DescribeInstancePatchesCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link InvalidFilter} (client fault) + *

The filter name isn't valid. Verify the you entered the correct name and try again.

+ * + * @throws {@link InvalidInstanceId} (client fault) + *

The following problems can cause this exception:

+ *
    + *
  • + *

    You don't have permission to access the managed node.

    + *
  • + *
  • + *

    Amazon Web Services Systems Manager Agent(SSM Agent) isn't running. Verify that SSM Agent is + * running.

    + *
  • + *
  • + *

    SSM Agent isn't registered with the SSM endpoint. Try reinstalling SSM Agent.

    + *
  • + *
  • + *

    The managed node isn't in valid state. Valid states are: Running, + * Pending, Stopped, and Stopping. Invalid states are: + * Shutting-down and Terminated.

    + *
  • + *
+ * + * @throws {@link InvalidNextToken} (client fault) + *

The specified token isn't valid.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class DescribeInstancePatchesCommand extends $Command { + readonly input: DescribeInstancePatchesCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: DescribeInstancePatchesCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeInventoryDeletionsCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeInventoryDeletionsCommand.d.ts new file mode 100644 index 00000000..c8081347 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeInventoryDeletionsCommand.d.ts @@ -0,0 +1,106 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { DescribeInventoryDeletionsRequest, DescribeInventoryDeletionsResult } from "../models/models_0"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link DescribeInventoryDeletionsCommand}. + */ +export interface DescribeInventoryDeletionsCommandInput extends DescribeInventoryDeletionsRequest { +} +/** + * @public + * + * The output of {@link DescribeInventoryDeletionsCommand}. + */ +export interface DescribeInventoryDeletionsCommandOutput extends DescribeInventoryDeletionsResult, __MetadataBearer { +} +/** + * @public + *

Describes a specific delete inventory operation.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, DescribeInventoryDeletionsCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, DescribeInventoryDeletionsCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // DescribeInventoryDeletionsRequest + * DeletionId: "STRING_VALUE", + * NextToken: "STRING_VALUE", + * MaxResults: Number("int"), + * }; + * const command = new DescribeInventoryDeletionsCommand(input); + * const response = await client.send(command); + * // { // DescribeInventoryDeletionsResult + * // InventoryDeletions: [ // InventoryDeletionsList + * // { // InventoryDeletionStatusItem + * // DeletionId: "STRING_VALUE", + * // TypeName: "STRING_VALUE", + * // DeletionStartTime: new Date("TIMESTAMP"), + * // LastStatus: "InProgress" || "Complete", + * // LastStatusMessage: "STRING_VALUE", + * // DeletionSummary: { // InventoryDeletionSummary + * // TotalCount: Number("int"), + * // RemainingCount: Number("int"), + * // SummaryItems: [ // InventoryDeletionSummaryItems + * // { // InventoryDeletionSummaryItem + * // Version: "STRING_VALUE", + * // Count: Number("int"), + * // RemainingCount: Number("int"), + * // }, + * // ], + * // }, + * // LastStatusUpdateTime: new Date("TIMESTAMP"), + * // }, + * // ], + * // NextToken: "STRING_VALUE", + * // }; + * + * ``` + * + * @param DescribeInventoryDeletionsCommandInput - {@link DescribeInventoryDeletionsCommandInput} + * @returns {@link DescribeInventoryDeletionsCommandOutput} + * @see {@link DescribeInventoryDeletionsCommandInput} for command's `input` shape. + * @see {@link DescribeInventoryDeletionsCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link InvalidDeletionIdException} (client fault) + *

The ID specified for the delete operation doesn't exist or isn't valid. Verify the ID and + * try again.

+ * + * @throws {@link InvalidNextToken} (client fault) + *

The specified token isn't valid.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class DescribeInventoryDeletionsCommand extends $Command { + readonly input: DescribeInventoryDeletionsCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: DescribeInventoryDeletionsCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeMaintenanceWindowExecutionTaskInvocationsCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeMaintenanceWindowExecutionTaskInvocationsCommand.d.ts new file mode 100644 index 00000000..f0490fb9 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeMaintenanceWindowExecutionTaskInvocationsCommand.d.ts @@ -0,0 +1,110 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { DescribeMaintenanceWindowExecutionTaskInvocationsRequest, DescribeMaintenanceWindowExecutionTaskInvocationsResult } from "../models/models_0"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link DescribeMaintenanceWindowExecutionTaskInvocationsCommand}. + */ +export interface DescribeMaintenanceWindowExecutionTaskInvocationsCommandInput extends DescribeMaintenanceWindowExecutionTaskInvocationsRequest { +} +/** + * @public + * + * The output of {@link DescribeMaintenanceWindowExecutionTaskInvocationsCommand}. + */ +export interface DescribeMaintenanceWindowExecutionTaskInvocationsCommandOutput extends DescribeMaintenanceWindowExecutionTaskInvocationsResult, __MetadataBearer { +} +/** + * @public + *

Retrieves the individual task executions (one per target) for a particular task run as part + * of a maintenance window execution.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, DescribeMaintenanceWindowExecutionTaskInvocationsCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, DescribeMaintenanceWindowExecutionTaskInvocationsCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // DescribeMaintenanceWindowExecutionTaskInvocationsRequest + * WindowExecutionId: "STRING_VALUE", // required + * TaskId: "STRING_VALUE", // required + * Filters: [ // MaintenanceWindowFilterList + * { // MaintenanceWindowFilter + * Key: "STRING_VALUE", + * Values: [ // MaintenanceWindowFilterValues + * "STRING_VALUE", + * ], + * }, + * ], + * MaxResults: Number("int"), + * NextToken: "STRING_VALUE", + * }; + * const command = new DescribeMaintenanceWindowExecutionTaskInvocationsCommand(input); + * const response = await client.send(command); + * // { // DescribeMaintenanceWindowExecutionTaskInvocationsResult + * // WindowExecutionTaskInvocationIdentities: [ // MaintenanceWindowExecutionTaskInvocationIdentityList + * // { // MaintenanceWindowExecutionTaskInvocationIdentity + * // WindowExecutionId: "STRING_VALUE", + * // TaskExecutionId: "STRING_VALUE", + * // InvocationId: "STRING_VALUE", + * // ExecutionId: "STRING_VALUE", + * // TaskType: "RUN_COMMAND" || "AUTOMATION" || "STEP_FUNCTIONS" || "LAMBDA", + * // Parameters: "STRING_VALUE", + * // Status: "PENDING" || "IN_PROGRESS" || "SUCCESS" || "FAILED" || "TIMED_OUT" || "CANCELLING" || "CANCELLED" || "SKIPPED_OVERLAPPING", + * // StatusDetails: "STRING_VALUE", + * // StartTime: new Date("TIMESTAMP"), + * // EndTime: new Date("TIMESTAMP"), + * // OwnerInformation: "STRING_VALUE", + * // WindowTargetId: "STRING_VALUE", + * // }, + * // ], + * // NextToken: "STRING_VALUE", + * // }; + * + * ``` + * + * @param DescribeMaintenanceWindowExecutionTaskInvocationsCommandInput - {@link DescribeMaintenanceWindowExecutionTaskInvocationsCommandInput} + * @returns {@link DescribeMaintenanceWindowExecutionTaskInvocationsCommandOutput} + * @see {@link DescribeMaintenanceWindowExecutionTaskInvocationsCommandInput} for command's `input` shape. + * @see {@link DescribeMaintenanceWindowExecutionTaskInvocationsCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link DoesNotExistException} (client fault) + *

Error returned when the ID specified for a resource, such as a maintenance window or patch + * baseline, doesn't exist.

+ *

For information about resource quotas in Amazon Web Services Systems Manager, see Systems Manager service quotas in the + * Amazon Web Services General Reference.

+ * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class DescribeMaintenanceWindowExecutionTaskInvocationsCommand extends $Command { + readonly input: DescribeMaintenanceWindowExecutionTaskInvocationsCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: DescribeMaintenanceWindowExecutionTaskInvocationsCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeMaintenanceWindowExecutionTasksCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeMaintenanceWindowExecutionTasksCommand.d.ts new file mode 100644 index 00000000..9a900cfc --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeMaintenanceWindowExecutionTasksCommand.d.ts @@ -0,0 +1,118 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { DescribeMaintenanceWindowExecutionTasksRequest, DescribeMaintenanceWindowExecutionTasksResult } from "../models/models_0"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link DescribeMaintenanceWindowExecutionTasksCommand}. + */ +export interface DescribeMaintenanceWindowExecutionTasksCommandInput extends DescribeMaintenanceWindowExecutionTasksRequest { +} +/** + * @public + * + * The output of {@link DescribeMaintenanceWindowExecutionTasksCommand}. + */ +export interface DescribeMaintenanceWindowExecutionTasksCommandOutput extends DescribeMaintenanceWindowExecutionTasksResult, __MetadataBearer { +} +/** + * @public + *

For a given maintenance window execution, lists the tasks that were run.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, DescribeMaintenanceWindowExecutionTasksCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, DescribeMaintenanceWindowExecutionTasksCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // DescribeMaintenanceWindowExecutionTasksRequest + * WindowExecutionId: "STRING_VALUE", // required + * Filters: [ // MaintenanceWindowFilterList + * { // MaintenanceWindowFilter + * Key: "STRING_VALUE", + * Values: [ // MaintenanceWindowFilterValues + * "STRING_VALUE", + * ], + * }, + * ], + * MaxResults: Number("int"), + * NextToken: "STRING_VALUE", + * }; + * const command = new DescribeMaintenanceWindowExecutionTasksCommand(input); + * const response = await client.send(command); + * // { // DescribeMaintenanceWindowExecutionTasksResult + * // WindowExecutionTaskIdentities: [ // MaintenanceWindowExecutionTaskIdentityList + * // { // MaintenanceWindowExecutionTaskIdentity + * // WindowExecutionId: "STRING_VALUE", + * // TaskExecutionId: "STRING_VALUE", + * // Status: "PENDING" || "IN_PROGRESS" || "SUCCESS" || "FAILED" || "TIMED_OUT" || "CANCELLING" || "CANCELLED" || "SKIPPED_OVERLAPPING", + * // StatusDetails: "STRING_VALUE", + * // StartTime: new Date("TIMESTAMP"), + * // EndTime: new Date("TIMESTAMP"), + * // TaskArn: "STRING_VALUE", + * // TaskType: "RUN_COMMAND" || "AUTOMATION" || "STEP_FUNCTIONS" || "LAMBDA", + * // AlarmConfiguration: { // AlarmConfiguration + * // IgnorePollAlarmFailure: true || false, + * // Alarms: [ // AlarmList // required + * // { // Alarm + * // Name: "STRING_VALUE", // required + * // }, + * // ], + * // }, + * // TriggeredAlarms: [ // AlarmStateInformationList + * // { // AlarmStateInformation + * // Name: "STRING_VALUE", // required + * // State: "UNKNOWN" || "ALARM", // required + * // }, + * // ], + * // }, + * // ], + * // NextToken: "STRING_VALUE", + * // }; + * + * ``` + * + * @param DescribeMaintenanceWindowExecutionTasksCommandInput - {@link DescribeMaintenanceWindowExecutionTasksCommandInput} + * @returns {@link DescribeMaintenanceWindowExecutionTasksCommandOutput} + * @see {@link DescribeMaintenanceWindowExecutionTasksCommandInput} for command's `input` shape. + * @see {@link DescribeMaintenanceWindowExecutionTasksCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link DoesNotExistException} (client fault) + *

Error returned when the ID specified for a resource, such as a maintenance window or patch + * baseline, doesn't exist.

+ *

For information about resource quotas in Amazon Web Services Systems Manager, see Systems Manager service quotas in the + * Amazon Web Services General Reference.

+ * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class DescribeMaintenanceWindowExecutionTasksCommand extends $Command { + readonly input: DescribeMaintenanceWindowExecutionTasksCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: DescribeMaintenanceWindowExecutionTasksCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeMaintenanceWindowExecutionsCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeMaintenanceWindowExecutionsCommand.d.ts new file mode 100644 index 00000000..8821970d --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeMaintenanceWindowExecutionsCommand.d.ts @@ -0,0 +1,98 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { DescribeMaintenanceWindowExecutionsRequest, DescribeMaintenanceWindowExecutionsResult } from "../models/models_0"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link DescribeMaintenanceWindowExecutionsCommand}. + */ +export interface DescribeMaintenanceWindowExecutionsCommandInput extends DescribeMaintenanceWindowExecutionsRequest { +} +/** + * @public + * + * The output of {@link DescribeMaintenanceWindowExecutionsCommand}. + */ +export interface DescribeMaintenanceWindowExecutionsCommandOutput extends DescribeMaintenanceWindowExecutionsResult, __MetadataBearer { +} +/** + * @public + *

Lists the executions of a maintenance window. This includes information about when the + * maintenance window was scheduled to be active, and information about tasks registered and run + * with the maintenance window.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, DescribeMaintenanceWindowExecutionsCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, DescribeMaintenanceWindowExecutionsCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // DescribeMaintenanceWindowExecutionsRequest + * WindowId: "STRING_VALUE", // required + * Filters: [ // MaintenanceWindowFilterList + * { // MaintenanceWindowFilter + * Key: "STRING_VALUE", + * Values: [ // MaintenanceWindowFilterValues + * "STRING_VALUE", + * ], + * }, + * ], + * MaxResults: Number("int"), + * NextToken: "STRING_VALUE", + * }; + * const command = new DescribeMaintenanceWindowExecutionsCommand(input); + * const response = await client.send(command); + * // { // DescribeMaintenanceWindowExecutionsResult + * // WindowExecutions: [ // MaintenanceWindowExecutionList + * // { // MaintenanceWindowExecution + * // WindowId: "STRING_VALUE", + * // WindowExecutionId: "STRING_VALUE", + * // Status: "PENDING" || "IN_PROGRESS" || "SUCCESS" || "FAILED" || "TIMED_OUT" || "CANCELLING" || "CANCELLED" || "SKIPPED_OVERLAPPING", + * // StatusDetails: "STRING_VALUE", + * // StartTime: new Date("TIMESTAMP"), + * // EndTime: new Date("TIMESTAMP"), + * // }, + * // ], + * // NextToken: "STRING_VALUE", + * // }; + * + * ``` + * + * @param DescribeMaintenanceWindowExecutionsCommandInput - {@link DescribeMaintenanceWindowExecutionsCommandInput} + * @returns {@link DescribeMaintenanceWindowExecutionsCommandOutput} + * @see {@link DescribeMaintenanceWindowExecutionsCommandInput} for command's `input` shape. + * @see {@link DescribeMaintenanceWindowExecutionsCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class DescribeMaintenanceWindowExecutionsCommand extends $Command { + readonly input: DescribeMaintenanceWindowExecutionsCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: DescribeMaintenanceWindowExecutionsCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeMaintenanceWindowScheduleCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeMaintenanceWindowScheduleCommand.d.ts new file mode 100644 index 00000000..cbc1e49a --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeMaintenanceWindowScheduleCommand.d.ts @@ -0,0 +1,108 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { DescribeMaintenanceWindowScheduleRequest, DescribeMaintenanceWindowScheduleResult } from "../models/models_0"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link DescribeMaintenanceWindowScheduleCommand}. + */ +export interface DescribeMaintenanceWindowScheduleCommandInput extends DescribeMaintenanceWindowScheduleRequest { +} +/** + * @public + * + * The output of {@link DescribeMaintenanceWindowScheduleCommand}. + */ +export interface DescribeMaintenanceWindowScheduleCommandOutput extends DescribeMaintenanceWindowScheduleResult, __MetadataBearer { +} +/** + * @public + *

Retrieves information about upcoming executions of a maintenance window.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, DescribeMaintenanceWindowScheduleCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, DescribeMaintenanceWindowScheduleCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // DescribeMaintenanceWindowScheduleRequest + * WindowId: "STRING_VALUE", + * Targets: [ // Targets + * { // Target + * Key: "STRING_VALUE", + * Values: [ // TargetValues + * "STRING_VALUE", + * ], + * }, + * ], + * ResourceType: "INSTANCE" || "RESOURCE_GROUP", + * Filters: [ // PatchOrchestratorFilterList + * { // PatchOrchestratorFilter + * Key: "STRING_VALUE", + * Values: [ // PatchOrchestratorFilterValues + * "STRING_VALUE", + * ], + * }, + * ], + * MaxResults: Number("int"), + * NextToken: "STRING_VALUE", + * }; + * const command = new DescribeMaintenanceWindowScheduleCommand(input); + * const response = await client.send(command); + * // { // DescribeMaintenanceWindowScheduleResult + * // ScheduledWindowExecutions: [ // ScheduledWindowExecutionList + * // { // ScheduledWindowExecution + * // WindowId: "STRING_VALUE", + * // Name: "STRING_VALUE", + * // ExecutionTime: "STRING_VALUE", + * // }, + * // ], + * // NextToken: "STRING_VALUE", + * // }; + * + * ``` + * + * @param DescribeMaintenanceWindowScheduleCommandInput - {@link DescribeMaintenanceWindowScheduleCommandInput} + * @returns {@link DescribeMaintenanceWindowScheduleCommandOutput} + * @see {@link DescribeMaintenanceWindowScheduleCommandInput} for command's `input` shape. + * @see {@link DescribeMaintenanceWindowScheduleCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link DoesNotExistException} (client fault) + *

Error returned when the ID specified for a resource, such as a maintenance window or patch + * baseline, doesn't exist.

+ *

For information about resource quotas in Amazon Web Services Systems Manager, see Systems Manager service quotas in the + * Amazon Web Services General Reference.

+ * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class DescribeMaintenanceWindowScheduleCommand extends $Command { + readonly input: DescribeMaintenanceWindowScheduleCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: DescribeMaintenanceWindowScheduleCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeMaintenanceWindowTargetsCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeMaintenanceWindowTargetsCommand.d.ts new file mode 100644 index 00000000..c3783680 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeMaintenanceWindowTargetsCommand.d.ts @@ -0,0 +1,110 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { DescribeMaintenanceWindowTargetsRequest, DescribeMaintenanceWindowTargetsResult } from "../models/models_0"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link DescribeMaintenanceWindowTargetsCommand}. + */ +export interface DescribeMaintenanceWindowTargetsCommandInput extends DescribeMaintenanceWindowTargetsRequest { +} +/** + * @public + * + * The output of {@link DescribeMaintenanceWindowTargetsCommand}. + */ +export interface DescribeMaintenanceWindowTargetsCommandOutput extends DescribeMaintenanceWindowTargetsResult, __MetadataBearer { +} +/** + * @public + *

Lists the targets registered with the maintenance window.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, DescribeMaintenanceWindowTargetsCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, DescribeMaintenanceWindowTargetsCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // DescribeMaintenanceWindowTargetsRequest + * WindowId: "STRING_VALUE", // required + * Filters: [ // MaintenanceWindowFilterList + * { // MaintenanceWindowFilter + * Key: "STRING_VALUE", + * Values: [ // MaintenanceWindowFilterValues + * "STRING_VALUE", + * ], + * }, + * ], + * MaxResults: Number("int"), + * NextToken: "STRING_VALUE", + * }; + * const command = new DescribeMaintenanceWindowTargetsCommand(input); + * const response = await client.send(command); + * // { // DescribeMaintenanceWindowTargetsResult + * // Targets: [ // MaintenanceWindowTargetList + * // { // MaintenanceWindowTarget + * // WindowId: "STRING_VALUE", + * // WindowTargetId: "STRING_VALUE", + * // ResourceType: "INSTANCE" || "RESOURCE_GROUP", + * // Targets: [ // Targets + * // { // Target + * // Key: "STRING_VALUE", + * // Values: [ // TargetValues + * // "STRING_VALUE", + * // ], + * // }, + * // ], + * // OwnerInformation: "STRING_VALUE", + * // Name: "STRING_VALUE", + * // Description: "STRING_VALUE", + * // }, + * // ], + * // NextToken: "STRING_VALUE", + * // }; + * + * ``` + * + * @param DescribeMaintenanceWindowTargetsCommandInput - {@link DescribeMaintenanceWindowTargetsCommandInput} + * @returns {@link DescribeMaintenanceWindowTargetsCommandOutput} + * @see {@link DescribeMaintenanceWindowTargetsCommandInput} for command's `input` shape. + * @see {@link DescribeMaintenanceWindowTargetsCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link DoesNotExistException} (client fault) + *

Error returned when the ID specified for a resource, such as a maintenance window or patch + * baseline, doesn't exist.

+ *

For information about resource quotas in Amazon Web Services Systems Manager, see Systems Manager service quotas in the + * Amazon Web Services General Reference.

+ * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class DescribeMaintenanceWindowTargetsCommand extends $Command { + readonly input: DescribeMaintenanceWindowTargetsCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: DescribeMaintenanceWindowTargetsCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeMaintenanceWindowTasksCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeMaintenanceWindowTasksCommand.d.ts new file mode 100644 index 00000000..6e51221c --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeMaintenanceWindowTasksCommand.d.ts @@ -0,0 +1,142 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { DescribeMaintenanceWindowTasksRequest } from "../models/models_0"; +import { DescribeMaintenanceWindowTasksResult } from "../models/models_1"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link DescribeMaintenanceWindowTasksCommand}. + */ +export interface DescribeMaintenanceWindowTasksCommandInput extends DescribeMaintenanceWindowTasksRequest { +} +/** + * @public + * + * The output of {@link DescribeMaintenanceWindowTasksCommand}. + */ +export interface DescribeMaintenanceWindowTasksCommandOutput extends DescribeMaintenanceWindowTasksResult, __MetadataBearer { +} +/** + * @public + *

Lists the tasks in a maintenance window.

+ * + *

For maintenance window tasks without a specified target, you can't supply values for + * --max-errors and --max-concurrency. Instead, the system inserts a + * placeholder value of 1, which may be reported in the response to this command. + * These values don't affect the running of your task and can be ignored.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, DescribeMaintenanceWindowTasksCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, DescribeMaintenanceWindowTasksCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // DescribeMaintenanceWindowTasksRequest + * WindowId: "STRING_VALUE", // required + * Filters: [ // MaintenanceWindowFilterList + * { // MaintenanceWindowFilter + * Key: "STRING_VALUE", + * Values: [ // MaintenanceWindowFilterValues + * "STRING_VALUE", + * ], + * }, + * ], + * MaxResults: Number("int"), + * NextToken: "STRING_VALUE", + * }; + * const command = new DescribeMaintenanceWindowTasksCommand(input); + * const response = await client.send(command); + * // { // DescribeMaintenanceWindowTasksResult + * // Tasks: [ // MaintenanceWindowTaskList + * // { // MaintenanceWindowTask + * // WindowId: "STRING_VALUE", + * // WindowTaskId: "STRING_VALUE", + * // TaskArn: "STRING_VALUE", + * // Type: "RUN_COMMAND" || "AUTOMATION" || "STEP_FUNCTIONS" || "LAMBDA", + * // Targets: [ // Targets + * // { // Target + * // Key: "STRING_VALUE", + * // Values: [ // TargetValues + * // "STRING_VALUE", + * // ], + * // }, + * // ], + * // TaskParameters: { // MaintenanceWindowTaskParameters + * // "": { // MaintenanceWindowTaskParameterValueExpression + * // Values: [ // MaintenanceWindowTaskParameterValueList + * // "STRING_VALUE", + * // ], + * // }, + * // }, + * // Priority: Number("int"), + * // LoggingInfo: { // LoggingInfo + * // S3BucketName: "STRING_VALUE", // required + * // S3KeyPrefix: "STRING_VALUE", + * // S3Region: "STRING_VALUE", // required + * // }, + * // ServiceRoleArn: "STRING_VALUE", + * // MaxConcurrency: "STRING_VALUE", + * // MaxErrors: "STRING_VALUE", + * // Name: "STRING_VALUE", + * // Description: "STRING_VALUE", + * // CutoffBehavior: "CONTINUE_TASK" || "CANCEL_TASK", + * // AlarmConfiguration: { // AlarmConfiguration + * // IgnorePollAlarmFailure: true || false, + * // Alarms: [ // AlarmList // required + * // { // Alarm + * // Name: "STRING_VALUE", // required + * // }, + * // ], + * // }, + * // }, + * // ], + * // NextToken: "STRING_VALUE", + * // }; + * + * ``` + * + * @param DescribeMaintenanceWindowTasksCommandInput - {@link DescribeMaintenanceWindowTasksCommandInput} + * @returns {@link DescribeMaintenanceWindowTasksCommandOutput} + * @see {@link DescribeMaintenanceWindowTasksCommandInput} for command's `input` shape. + * @see {@link DescribeMaintenanceWindowTasksCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link DoesNotExistException} (client fault) + *

Error returned when the ID specified for a resource, such as a maintenance window or patch + * baseline, doesn't exist.

+ *

For information about resource quotas in Amazon Web Services Systems Manager, see Systems Manager service quotas in the + * Amazon Web Services General Reference.

+ * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class DescribeMaintenanceWindowTasksCommand extends $Command { + readonly input: DescribeMaintenanceWindowTasksCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: DescribeMaintenanceWindowTasksCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeMaintenanceWindowsCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeMaintenanceWindowsCommand.d.ts new file mode 100644 index 00000000..92c51bfe --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeMaintenanceWindowsCommand.d.ts @@ -0,0 +1,101 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { DescribeMaintenanceWindowsRequest, DescribeMaintenanceWindowsResult } from "../models/models_0"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link DescribeMaintenanceWindowsCommand}. + */ +export interface DescribeMaintenanceWindowsCommandInput extends DescribeMaintenanceWindowsRequest { +} +/** + * @public + * + * The output of {@link DescribeMaintenanceWindowsCommand}. + */ +export interface DescribeMaintenanceWindowsCommandOutput extends DescribeMaintenanceWindowsResult, __MetadataBearer { +} +/** + * @public + *

Retrieves the maintenance windows in an Amazon Web Services account.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, DescribeMaintenanceWindowsCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, DescribeMaintenanceWindowsCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // DescribeMaintenanceWindowsRequest + * Filters: [ // MaintenanceWindowFilterList + * { // MaintenanceWindowFilter + * Key: "STRING_VALUE", + * Values: [ // MaintenanceWindowFilterValues + * "STRING_VALUE", + * ], + * }, + * ], + * MaxResults: Number("int"), + * NextToken: "STRING_VALUE", + * }; + * const command = new DescribeMaintenanceWindowsCommand(input); + * const response = await client.send(command); + * // { // DescribeMaintenanceWindowsResult + * // WindowIdentities: [ // MaintenanceWindowIdentityList + * // { // MaintenanceWindowIdentity + * // WindowId: "STRING_VALUE", + * // Name: "STRING_VALUE", + * // Description: "STRING_VALUE", + * // Enabled: true || false, + * // Duration: Number("int"), + * // Cutoff: Number("int"), + * // Schedule: "STRING_VALUE", + * // ScheduleTimezone: "STRING_VALUE", + * // ScheduleOffset: Number("int"), + * // EndDate: "STRING_VALUE", + * // StartDate: "STRING_VALUE", + * // NextExecutionTime: "STRING_VALUE", + * // }, + * // ], + * // NextToken: "STRING_VALUE", + * // }; + * + * ``` + * + * @param DescribeMaintenanceWindowsCommandInput - {@link DescribeMaintenanceWindowsCommandInput} + * @returns {@link DescribeMaintenanceWindowsCommandOutput} + * @see {@link DescribeMaintenanceWindowsCommandInput} for command's `input` shape. + * @see {@link DescribeMaintenanceWindowsCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class DescribeMaintenanceWindowsCommand extends $Command { + readonly input: DescribeMaintenanceWindowsCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: DescribeMaintenanceWindowsCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeMaintenanceWindowsForTargetCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeMaintenanceWindowsForTargetCommand.d.ts new file mode 100644 index 00000000..3afb0ffd --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeMaintenanceWindowsForTargetCommand.d.ts @@ -0,0 +1,93 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { DescribeMaintenanceWindowsForTargetRequest, DescribeMaintenanceWindowsForTargetResult } from "../models/models_0"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link DescribeMaintenanceWindowsForTargetCommand}. + */ +export interface DescribeMaintenanceWindowsForTargetCommandInput extends DescribeMaintenanceWindowsForTargetRequest { +} +/** + * @public + * + * The output of {@link DescribeMaintenanceWindowsForTargetCommand}. + */ +export interface DescribeMaintenanceWindowsForTargetCommandOutput extends DescribeMaintenanceWindowsForTargetResult, __MetadataBearer { +} +/** + * @public + *

Retrieves information about the maintenance window targets or tasks that a managed node is + * associated with.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, DescribeMaintenanceWindowsForTargetCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, DescribeMaintenanceWindowsForTargetCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // DescribeMaintenanceWindowsForTargetRequest + * Targets: [ // Targets // required + * { // Target + * Key: "STRING_VALUE", + * Values: [ // TargetValues + * "STRING_VALUE", + * ], + * }, + * ], + * ResourceType: "INSTANCE" || "RESOURCE_GROUP", // required + * MaxResults: Number("int"), + * NextToken: "STRING_VALUE", + * }; + * const command = new DescribeMaintenanceWindowsForTargetCommand(input); + * const response = await client.send(command); + * // { // DescribeMaintenanceWindowsForTargetResult + * // WindowIdentities: [ // MaintenanceWindowsForTargetList + * // { // MaintenanceWindowIdentityForTarget + * // WindowId: "STRING_VALUE", + * // Name: "STRING_VALUE", + * // }, + * // ], + * // NextToken: "STRING_VALUE", + * // }; + * + * ``` + * + * @param DescribeMaintenanceWindowsForTargetCommandInput - {@link DescribeMaintenanceWindowsForTargetCommandInput} + * @returns {@link DescribeMaintenanceWindowsForTargetCommandOutput} + * @see {@link DescribeMaintenanceWindowsForTargetCommandInput} for command's `input` shape. + * @see {@link DescribeMaintenanceWindowsForTargetCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class DescribeMaintenanceWindowsForTargetCommand extends $Command { + readonly input: DescribeMaintenanceWindowsForTargetCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: DescribeMaintenanceWindowsForTargetCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeOpsItemsCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeOpsItemsCommand.d.ts new file mode 100644 index 00000000..0a92a1a7 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeOpsItemsCommand.d.ts @@ -0,0 +1,117 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { DescribeOpsItemsRequest, DescribeOpsItemsResponse } from "../models/models_1"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link DescribeOpsItemsCommand}. + */ +export interface DescribeOpsItemsCommandInput extends DescribeOpsItemsRequest { +} +/** + * @public + * + * The output of {@link DescribeOpsItemsCommand}. + */ +export interface DescribeOpsItemsCommandOutput extends DescribeOpsItemsResponse, __MetadataBearer { +} +/** + * @public + *

Query a set of OpsItems. You must have permission in Identity and Access Management (IAM) to query a list of OpsItems. For more information, see Set up OpsCenter in the + * Amazon Web Services Systems Manager User Guide.

+ *

Operations engineers and IT professionals use Amazon Web Services Systems Manager OpsCenter to view, investigate, and + * remediate operational issues impacting the performance and health of their Amazon Web Services resources. For + * more information, see OpsCenter in the + * Amazon Web Services Systems Manager User Guide.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, DescribeOpsItemsCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, DescribeOpsItemsCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // DescribeOpsItemsRequest + * OpsItemFilters: [ // OpsItemFilters + * { // OpsItemFilter + * Key: "Status" || "CreatedBy" || "Source" || "Priority" || "Title" || "OpsItemId" || "CreatedTime" || "LastModifiedTime" || "ActualStartTime" || "ActualEndTime" || "PlannedStartTime" || "PlannedEndTime" || "OperationalData" || "OperationalDataKey" || "OperationalDataValue" || "ResourceId" || "AutomationId" || "Category" || "Severity" || "OpsItemType" || "ChangeRequestByRequesterArn" || "ChangeRequestByRequesterName" || "ChangeRequestByApproverArn" || "ChangeRequestByApproverName" || "ChangeRequestByTemplate" || "ChangeRequestByTargetsResourceGroup" || "InsightByType" || "AccountId", // required + * Values: [ // OpsItemFilterValues // required + * "STRING_VALUE", + * ], + * Operator: "Equal" || "Contains" || "GreaterThan" || "LessThan", // required + * }, + * ], + * MaxResults: Number("int"), + * NextToken: "STRING_VALUE", + * }; + * const command = new DescribeOpsItemsCommand(input); + * const response = await client.send(command); + * // { // DescribeOpsItemsResponse + * // NextToken: "STRING_VALUE", + * // OpsItemSummaries: [ // OpsItemSummaries + * // { // OpsItemSummary + * // CreatedBy: "STRING_VALUE", + * // CreatedTime: new Date("TIMESTAMP"), + * // LastModifiedBy: "STRING_VALUE", + * // LastModifiedTime: new Date("TIMESTAMP"), + * // Priority: Number("int"), + * // Source: "STRING_VALUE", + * // Status: "Open" || "InProgress" || "Resolved" || "Pending" || "TimedOut" || "Cancelling" || "Cancelled" || "Failed" || "CompletedWithSuccess" || "CompletedWithFailure" || "Scheduled" || "RunbookInProgress" || "PendingChangeCalendarOverride" || "ChangeCalendarOverrideApproved" || "ChangeCalendarOverrideRejected" || "PendingApproval" || "Approved" || "Rejected" || "Closed", + * // OpsItemId: "STRING_VALUE", + * // Title: "STRING_VALUE", + * // OperationalData: { // OpsItemOperationalData + * // "": { // OpsItemDataValue + * // Value: "STRING_VALUE", + * // Type: "SearchableString" || "String", + * // }, + * // }, + * // Category: "STRING_VALUE", + * // Severity: "STRING_VALUE", + * // OpsItemType: "STRING_VALUE", + * // ActualStartTime: new Date("TIMESTAMP"), + * // ActualEndTime: new Date("TIMESTAMP"), + * // PlannedStartTime: new Date("TIMESTAMP"), + * // PlannedEndTime: new Date("TIMESTAMP"), + * // }, + * // ], + * // }; + * + * ``` + * + * @param DescribeOpsItemsCommandInput - {@link DescribeOpsItemsCommandInput} + * @returns {@link DescribeOpsItemsCommandOutput} + * @see {@link DescribeOpsItemsCommandInput} for command's `input` shape. + * @see {@link DescribeOpsItemsCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class DescribeOpsItemsCommand extends $Command { + readonly input: DescribeOpsItemsCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: DescribeOpsItemsCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeParametersCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeParametersCommand.d.ts new file mode 100644 index 00000000..5bbfde1d --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeParametersCommand.d.ts @@ -0,0 +1,140 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { DescribeParametersRequest, DescribeParametersResult } from "../models/models_1"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link DescribeParametersCommand}. + */ +export interface DescribeParametersCommandInput extends DescribeParametersRequest { +} +/** + * @public + * + * The output of {@link DescribeParametersCommand}. + */ +export interface DescribeParametersCommandOutput extends DescribeParametersResult, __MetadataBearer { +} +/** + * @public + *

Get information about a parameter.

+ *

Request results are returned on a best-effort basis. If you specify MaxResults + * in the request, the response includes information up to the limit specified. The number of items + * returned, however, can be between zero and the value of MaxResults. If the service + * reaches an internal limit while processing the results, it stops the operation and returns the + * matching values up to that point and a NextToken. You can specify the + * NextToken in a subsequent call to get the next set of results.

+ * + *

If you change the KMS key alias for the KMS key used to encrypt a parameter, then you must + * also update the key alias the parameter uses to reference KMS. Otherwise, + * DescribeParameters retrieves whatever the original key alias was + * referencing.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, DescribeParametersCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, DescribeParametersCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // DescribeParametersRequest + * Filters: [ // ParametersFilterList + * { // ParametersFilter + * Key: "Name" || "Type" || "KeyId", // required + * Values: [ // ParametersFilterValueList // required + * "STRING_VALUE", + * ], + * }, + * ], + * ParameterFilters: [ // ParameterStringFilterList + * { // ParameterStringFilter + * Key: "STRING_VALUE", // required + * Option: "STRING_VALUE", + * Values: [ // ParameterStringFilterValueList + * "STRING_VALUE", + * ], + * }, + * ], + * MaxResults: Number("int"), + * NextToken: "STRING_VALUE", + * }; + * const command = new DescribeParametersCommand(input); + * const response = await client.send(command); + * // { // DescribeParametersResult + * // Parameters: [ // ParameterMetadataList + * // { // ParameterMetadata + * // Name: "STRING_VALUE", + * // Type: "String" || "StringList" || "SecureString", + * // KeyId: "STRING_VALUE", + * // LastModifiedDate: new Date("TIMESTAMP"), + * // LastModifiedUser: "STRING_VALUE", + * // Description: "STRING_VALUE", + * // AllowedPattern: "STRING_VALUE", + * // Version: Number("long"), + * // Tier: "Standard" || "Advanced" || "Intelligent-Tiering", + * // Policies: [ // ParameterPolicyList + * // { // ParameterInlinePolicy + * // PolicyText: "STRING_VALUE", + * // PolicyType: "STRING_VALUE", + * // PolicyStatus: "STRING_VALUE", + * // }, + * // ], + * // DataType: "STRING_VALUE", + * // }, + * // ], + * // NextToken: "STRING_VALUE", + * // }; + * + * ``` + * + * @param DescribeParametersCommandInput - {@link DescribeParametersCommandInput} + * @returns {@link DescribeParametersCommandOutput} + * @see {@link DescribeParametersCommandInput} for command's `input` shape. + * @see {@link DescribeParametersCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link InvalidFilterKey} (client fault) + *

The specified key isn't valid.

+ * + * @throws {@link InvalidFilterOption} (client fault) + *

The specified filter option isn't valid. Valid options are Equals and BeginsWith. For Path + * filter, valid options are Recursive and OneLevel.

+ * + * @throws {@link InvalidFilterValue} (client fault) + *

The filter value isn't valid. Verify the value and try again.

+ * + * @throws {@link InvalidNextToken} (client fault) + *

The specified token isn't valid.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class DescribeParametersCommand extends $Command { + readonly input: DescribeParametersCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: DescribeParametersCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribePatchBaselinesCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribePatchBaselinesCommand.d.ts new file mode 100644 index 00000000..f4c45d2c --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribePatchBaselinesCommand.d.ts @@ -0,0 +1,94 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { DescribePatchBaselinesRequest, DescribePatchBaselinesResult } from "../models/models_1"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link DescribePatchBaselinesCommand}. + */ +export interface DescribePatchBaselinesCommandInput extends DescribePatchBaselinesRequest { +} +/** + * @public + * + * The output of {@link DescribePatchBaselinesCommand}. + */ +export interface DescribePatchBaselinesCommandOutput extends DescribePatchBaselinesResult, __MetadataBearer { +} +/** + * @public + *

Lists the patch baselines in your Amazon Web Services account.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, DescribePatchBaselinesCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, DescribePatchBaselinesCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // DescribePatchBaselinesRequest + * Filters: [ // PatchOrchestratorFilterList + * { // PatchOrchestratorFilter + * Key: "STRING_VALUE", + * Values: [ // PatchOrchestratorFilterValues + * "STRING_VALUE", + * ], + * }, + * ], + * MaxResults: Number("int"), + * NextToken: "STRING_VALUE", + * }; + * const command = new DescribePatchBaselinesCommand(input); + * const response = await client.send(command); + * // { // DescribePatchBaselinesResult + * // BaselineIdentities: [ // PatchBaselineIdentityList + * // { // PatchBaselineIdentity + * // BaselineId: "STRING_VALUE", + * // BaselineName: "STRING_VALUE", + * // OperatingSystem: "WINDOWS" || "AMAZON_LINUX" || "AMAZON_LINUX_2" || "AMAZON_LINUX_2022" || "UBUNTU" || "REDHAT_ENTERPRISE_LINUX" || "SUSE" || "CENTOS" || "ORACLE_LINUX" || "DEBIAN" || "MACOS" || "RASPBIAN" || "ROCKY_LINUX" || "ALMA_LINUX" || "AMAZON_LINUX_2023", + * // BaselineDescription: "STRING_VALUE", + * // DefaultBaseline: true || false, + * // }, + * // ], + * // NextToken: "STRING_VALUE", + * // }; + * + * ``` + * + * @param DescribePatchBaselinesCommandInput - {@link DescribePatchBaselinesCommandInput} + * @returns {@link DescribePatchBaselinesCommandOutput} + * @see {@link DescribePatchBaselinesCommandInput} for command's `input` shape. + * @see {@link DescribePatchBaselinesCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class DescribePatchBaselinesCommand extends $Command { + readonly input: DescribePatchBaselinesCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: DescribePatchBaselinesCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribePatchGroupStateCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribePatchGroupStateCommand.d.ts new file mode 100644 index 00000000..5e52447e --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribePatchGroupStateCommand.d.ts @@ -0,0 +1,90 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { DescribePatchGroupStateRequest, DescribePatchGroupStateResult } from "../models/models_1"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link DescribePatchGroupStateCommand}. + */ +export interface DescribePatchGroupStateCommandInput extends DescribePatchGroupStateRequest { +} +/** + * @public + * + * The output of {@link DescribePatchGroupStateCommand}. + */ +export interface DescribePatchGroupStateCommandOutput extends DescribePatchGroupStateResult, __MetadataBearer { +} +/** + * @public + *

Returns high-level aggregated patch compliance state information for a patch group.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, DescribePatchGroupStateCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, DescribePatchGroupStateCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // DescribePatchGroupStateRequest + * PatchGroup: "STRING_VALUE", // required + * }; + * const command = new DescribePatchGroupStateCommand(input); + * const response = await client.send(command); + * // { // DescribePatchGroupStateResult + * // Instances: Number("int"), + * // InstancesWithInstalledPatches: Number("int"), + * // InstancesWithInstalledOtherPatches: Number("int"), + * // InstancesWithInstalledPendingRebootPatches: Number("int"), + * // InstancesWithInstalledRejectedPatches: Number("int"), + * // InstancesWithMissingPatches: Number("int"), + * // InstancesWithFailedPatches: Number("int"), + * // InstancesWithNotApplicablePatches: Number("int"), + * // InstancesWithUnreportedNotApplicablePatches: Number("int"), + * // InstancesWithCriticalNonCompliantPatches: Number("int"), + * // InstancesWithSecurityNonCompliantPatches: Number("int"), + * // InstancesWithOtherNonCompliantPatches: Number("int"), + * // }; + * + * ``` + * + * @param DescribePatchGroupStateCommandInput - {@link DescribePatchGroupStateCommandInput} + * @returns {@link DescribePatchGroupStateCommandOutput} + * @see {@link DescribePatchGroupStateCommandInput} for command's `input` shape. + * @see {@link DescribePatchGroupStateCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link InvalidNextToken} (client fault) + *

The specified token isn't valid.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class DescribePatchGroupStateCommand extends $Command { + readonly input: DescribePatchGroupStateCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: DescribePatchGroupStateCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribePatchGroupsCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribePatchGroupsCommand.d.ts new file mode 100644 index 00000000..c2e9382f --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribePatchGroupsCommand.d.ts @@ -0,0 +1,97 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { DescribePatchGroupsRequest, DescribePatchGroupsResult } from "../models/models_1"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link DescribePatchGroupsCommand}. + */ +export interface DescribePatchGroupsCommandInput extends DescribePatchGroupsRequest { +} +/** + * @public + * + * The output of {@link DescribePatchGroupsCommand}. + */ +export interface DescribePatchGroupsCommandOutput extends DescribePatchGroupsResult, __MetadataBearer { +} +/** + * @public + *

Lists all patch groups that have been registered with patch baselines.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, DescribePatchGroupsCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, DescribePatchGroupsCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // DescribePatchGroupsRequest + * MaxResults: Number("int"), + * Filters: [ // PatchOrchestratorFilterList + * { // PatchOrchestratorFilter + * Key: "STRING_VALUE", + * Values: [ // PatchOrchestratorFilterValues + * "STRING_VALUE", + * ], + * }, + * ], + * NextToken: "STRING_VALUE", + * }; + * const command = new DescribePatchGroupsCommand(input); + * const response = await client.send(command); + * // { // DescribePatchGroupsResult + * // Mappings: [ // PatchGroupPatchBaselineMappingList + * // { // PatchGroupPatchBaselineMapping + * // PatchGroup: "STRING_VALUE", + * // BaselineIdentity: { // PatchBaselineIdentity + * // BaselineId: "STRING_VALUE", + * // BaselineName: "STRING_VALUE", + * // OperatingSystem: "WINDOWS" || "AMAZON_LINUX" || "AMAZON_LINUX_2" || "AMAZON_LINUX_2022" || "UBUNTU" || "REDHAT_ENTERPRISE_LINUX" || "SUSE" || "CENTOS" || "ORACLE_LINUX" || "DEBIAN" || "MACOS" || "RASPBIAN" || "ROCKY_LINUX" || "ALMA_LINUX" || "AMAZON_LINUX_2023", + * // BaselineDescription: "STRING_VALUE", + * // DefaultBaseline: true || false, + * // }, + * // }, + * // ], + * // NextToken: "STRING_VALUE", + * // }; + * + * ``` + * + * @param DescribePatchGroupsCommandInput - {@link DescribePatchGroupsCommandInput} + * @returns {@link DescribePatchGroupsCommandOutput} + * @see {@link DescribePatchGroupsCommandInput} for command's `input` shape. + * @see {@link DescribePatchGroupsCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class DescribePatchGroupsCommand extends $Command { + readonly input: DescribePatchGroupsCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: DescribePatchGroupsCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribePatchPropertiesCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribePatchPropertiesCommand.d.ts new file mode 100644 index 00000000..542a6975 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribePatchPropertiesCommand.d.ts @@ -0,0 +1,148 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { DescribePatchPropertiesRequest, DescribePatchPropertiesResult } from "../models/models_1"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link DescribePatchPropertiesCommand}. + */ +export interface DescribePatchPropertiesCommandInput extends DescribePatchPropertiesRequest { +} +/** + * @public + * + * The output of {@link DescribePatchPropertiesCommand}. + */ +export interface DescribePatchPropertiesCommandOutput extends DescribePatchPropertiesResult, __MetadataBearer { +} +/** + * @public + *

Lists the properties of available patches organized by product, product family, + * classification, severity, and other properties of available patches. You can use the reported + * properties in the filters you specify in requests for operations such as CreatePatchBaseline, UpdatePatchBaseline, DescribeAvailablePatches, and DescribePatchBaselines.

+ *

The following section lists the properties that can be used in filters for each major + * operating system type:

+ *
+ *
AMAZON_LINUX
+ *
+ *

Valid properties: PRODUCT | CLASSIFICATION | + * SEVERITY + *

+ *
+ *
AMAZON_LINUX_2
+ *
+ *

Valid properties: PRODUCT | CLASSIFICATION | + * SEVERITY + *

+ *
+ *
CENTOS
+ *
+ *

Valid properties: PRODUCT | CLASSIFICATION | + * SEVERITY + *

+ *
+ *
DEBIAN
+ *
+ *

Valid properties: PRODUCT | PRIORITY + *

+ *
+ *
MACOS
+ *
+ *

Valid properties: PRODUCT | CLASSIFICATION + *

+ *
+ *
ORACLE_LINUX
+ *
+ *

Valid properties: PRODUCT | CLASSIFICATION | + * SEVERITY + *

+ *
+ *
REDHAT_ENTERPRISE_LINUX
+ *
+ *

Valid properties: PRODUCT | CLASSIFICATION | + * SEVERITY + *

+ *
+ *
SUSE
+ *
+ *

Valid properties: PRODUCT | CLASSIFICATION | + * SEVERITY + *

+ *
+ *
UBUNTU
+ *
+ *

Valid properties: PRODUCT | PRIORITY + *

+ *
+ *
WINDOWS
+ *
+ *

Valid properties: PRODUCT | PRODUCT_FAMILY | + * CLASSIFICATION | MSRC_SEVERITY + *

+ *
+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, DescribePatchPropertiesCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, DescribePatchPropertiesCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // DescribePatchPropertiesRequest + * OperatingSystem: "WINDOWS" || "AMAZON_LINUX" || "AMAZON_LINUX_2" || "AMAZON_LINUX_2022" || "UBUNTU" || "REDHAT_ENTERPRISE_LINUX" || "SUSE" || "CENTOS" || "ORACLE_LINUX" || "DEBIAN" || "MACOS" || "RASPBIAN" || "ROCKY_LINUX" || "ALMA_LINUX" || "AMAZON_LINUX_2023", // required + * Property: "PRODUCT" || "PRODUCT_FAMILY" || "CLASSIFICATION" || "MSRC_SEVERITY" || "PRIORITY" || "SEVERITY", // required + * PatchSet: "OS" || "APPLICATION", + * MaxResults: Number("int"), + * NextToken: "STRING_VALUE", + * }; + * const command = new DescribePatchPropertiesCommand(input); + * const response = await client.send(command); + * // { // DescribePatchPropertiesResult + * // Properties: [ // PatchPropertiesList + * // { // PatchPropertyEntry + * // "": "STRING_VALUE", + * // }, + * // ], + * // NextToken: "STRING_VALUE", + * // }; + * + * ``` + * + * @param DescribePatchPropertiesCommandInput - {@link DescribePatchPropertiesCommandInput} + * @returns {@link DescribePatchPropertiesCommandOutput} + * @see {@link DescribePatchPropertiesCommandInput} for command's `input` shape. + * @see {@link DescribePatchPropertiesCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class DescribePatchPropertiesCommand extends $Command { + readonly input: DescribePatchPropertiesCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: DescribePatchPropertiesCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeSessionsCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeSessionsCommand.d.ts new file mode 100644 index 00000000..b80650de --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/DescribeSessionsCommand.d.ts @@ -0,0 +1,109 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { DescribeSessionsRequest, DescribeSessionsResponse } from "../models/models_1"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link DescribeSessionsCommand}. + */ +export interface DescribeSessionsCommandInput extends DescribeSessionsRequest { +} +/** + * @public + * + * The output of {@link DescribeSessionsCommand}. + */ +export interface DescribeSessionsCommandOutput extends DescribeSessionsResponse, __MetadataBearer { +} +/** + * @public + *

Retrieves a list of all active sessions (both connected and disconnected) or terminated + * sessions from the past 30 days.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, DescribeSessionsCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, DescribeSessionsCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // DescribeSessionsRequest + * State: "Active" || "History", // required + * MaxResults: Number("int"), + * NextToken: "STRING_VALUE", + * Filters: [ // SessionFilterList + * { // SessionFilter + * key: "InvokedAfter" || "InvokedBefore" || "Target" || "Owner" || "Status" || "SessionId", // required + * value: "STRING_VALUE", // required + * }, + * ], + * }; + * const command = new DescribeSessionsCommand(input); + * const response = await client.send(command); + * // { // DescribeSessionsResponse + * // Sessions: [ // SessionList + * // { // Session + * // SessionId: "STRING_VALUE", + * // Target: "STRING_VALUE", + * // Status: "Connected" || "Connecting" || "Disconnected" || "Terminated" || "Terminating" || "Failed", + * // StartDate: new Date("TIMESTAMP"), + * // EndDate: new Date("TIMESTAMP"), + * // DocumentName: "STRING_VALUE", + * // Owner: "STRING_VALUE", + * // Reason: "STRING_VALUE", + * // Details: "STRING_VALUE", + * // OutputUrl: { // SessionManagerOutputUrl + * // S3OutputUrl: "STRING_VALUE", + * // CloudWatchOutputUrl: "STRING_VALUE", + * // }, + * // MaxSessionDuration: "STRING_VALUE", + * // }, + * // ], + * // NextToken: "STRING_VALUE", + * // }; + * + * ``` + * + * @param DescribeSessionsCommandInput - {@link DescribeSessionsCommandInput} + * @returns {@link DescribeSessionsCommandOutput} + * @see {@link DescribeSessionsCommandInput} for command's `input` shape. + * @see {@link DescribeSessionsCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link InvalidFilterKey} (client fault) + *

The specified key isn't valid.

+ * + * @throws {@link InvalidNextToken} (client fault) + *

The specified token isn't valid.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class DescribeSessionsCommand extends $Command { + readonly input: DescribeSessionsCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: DescribeSessionsCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/DisassociateOpsItemRelatedItemCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/DisassociateOpsItemRelatedItemCommand.d.ts new file mode 100644 index 00000000..6c478b5b --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/DisassociateOpsItemRelatedItemCommand.d.ts @@ -0,0 +1,91 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { DisassociateOpsItemRelatedItemRequest, DisassociateOpsItemRelatedItemResponse } from "../models/models_1"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link DisassociateOpsItemRelatedItemCommand}. + */ +export interface DisassociateOpsItemRelatedItemCommandInput extends DisassociateOpsItemRelatedItemRequest { +} +/** + * @public + * + * The output of {@link DisassociateOpsItemRelatedItemCommand}. + */ +export interface DisassociateOpsItemRelatedItemCommandOutput extends DisassociateOpsItemRelatedItemResponse, __MetadataBearer { +} +/** + * @public + *

Deletes the association between an OpsItem and a related item. For example, this API + * operation can delete an Incident Manager incident from an OpsItem. Incident Manager is a capability of + * Amazon Web Services Systems Manager.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, DisassociateOpsItemRelatedItemCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, DisassociateOpsItemRelatedItemCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // DisassociateOpsItemRelatedItemRequest + * OpsItemId: "STRING_VALUE", // required + * AssociationId: "STRING_VALUE", // required + * }; + * const command = new DisassociateOpsItemRelatedItemCommand(input); + * const response = await client.send(command); + * // {}; + * + * ``` + * + * @param DisassociateOpsItemRelatedItemCommandInput - {@link DisassociateOpsItemRelatedItemCommandInput} + * @returns {@link DisassociateOpsItemRelatedItemCommandOutput} + * @see {@link DisassociateOpsItemRelatedItemCommandInput} for command's `input` shape. + * @see {@link DisassociateOpsItemRelatedItemCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link OpsItemConflictException} (client fault) + *

The specified OpsItem is in the process of being deleted.

+ * + * @throws {@link OpsItemInvalidParameterException} (client fault) + *

A specified parameter argument isn't valid. Verify the available arguments and try + * again.

+ * + * @throws {@link OpsItemNotFoundException} (client fault) + *

The specified OpsItem ID doesn't exist. Verify the ID and try again.

+ * + * @throws {@link OpsItemRelatedItemAssociationNotFoundException} (client fault) + *

The association wasn't found using the parameters you specified in the call. Verify the + * information and try again.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class DisassociateOpsItemRelatedItemCommand extends $Command { + readonly input: DisassociateOpsItemRelatedItemCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: DisassociateOpsItemRelatedItemCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetAutomationExecutionCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetAutomationExecutionCommand.d.ts new file mode 100644 index 00000000..60b80296 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetAutomationExecutionCommand.d.ts @@ -0,0 +1,274 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { GetAutomationExecutionRequest, GetAutomationExecutionResult } from "../models/models_1"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link GetAutomationExecutionCommand}. + */ +export interface GetAutomationExecutionCommandInput extends GetAutomationExecutionRequest { +} +/** + * @public + * + * The output of {@link GetAutomationExecutionCommand}. + */ +export interface GetAutomationExecutionCommandOutput extends GetAutomationExecutionResult, __MetadataBearer { +} +/** + * @public + *

Get detailed information about a particular Automation execution.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, GetAutomationExecutionCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, GetAutomationExecutionCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // GetAutomationExecutionRequest + * AutomationExecutionId: "STRING_VALUE", // required + * }; + * const command = new GetAutomationExecutionCommand(input); + * const response = await client.send(command); + * // { // GetAutomationExecutionResult + * // AutomationExecution: { // AutomationExecution + * // AutomationExecutionId: "STRING_VALUE", + * // DocumentName: "STRING_VALUE", + * // DocumentVersion: "STRING_VALUE", + * // ExecutionStartTime: new Date("TIMESTAMP"), + * // ExecutionEndTime: new Date("TIMESTAMP"), + * // AutomationExecutionStatus: "Pending" || "InProgress" || "Waiting" || "Success" || "TimedOut" || "Cancelling" || "Cancelled" || "Failed" || "PendingApproval" || "Approved" || "Rejected" || "Scheduled" || "RunbookInProgress" || "PendingChangeCalendarOverride" || "ChangeCalendarOverrideApproved" || "ChangeCalendarOverrideRejected" || "CompletedWithSuccess" || "CompletedWithFailure" || "Exited", + * // StepExecutions: [ // StepExecutionList + * // { // StepExecution + * // StepName: "STRING_VALUE", + * // Action: "STRING_VALUE", + * // TimeoutSeconds: Number("long"), + * // OnFailure: "STRING_VALUE", + * // MaxAttempts: Number("int"), + * // ExecutionStartTime: new Date("TIMESTAMP"), + * // ExecutionEndTime: new Date("TIMESTAMP"), + * // StepStatus: "Pending" || "InProgress" || "Waiting" || "Success" || "TimedOut" || "Cancelling" || "Cancelled" || "Failed" || "PendingApproval" || "Approved" || "Rejected" || "Scheduled" || "RunbookInProgress" || "PendingChangeCalendarOverride" || "ChangeCalendarOverrideApproved" || "ChangeCalendarOverrideRejected" || "CompletedWithSuccess" || "CompletedWithFailure" || "Exited", + * // ResponseCode: "STRING_VALUE", + * // Inputs: { // NormalStringMap + * // "": "STRING_VALUE", + * // }, + * // Outputs: { // AutomationParameterMap + * // "": [ // AutomationParameterValueList + * // "STRING_VALUE", + * // ], + * // }, + * // Response: "STRING_VALUE", + * // FailureMessage: "STRING_VALUE", + * // FailureDetails: { // FailureDetails + * // FailureStage: "STRING_VALUE", + * // FailureType: "STRING_VALUE", + * // Details: { + * // "": [ + * // "STRING_VALUE", + * // ], + * // }, + * // }, + * // StepExecutionId: "STRING_VALUE", + * // OverriddenParameters: { + * // "": [ + * // "STRING_VALUE", + * // ], + * // }, + * // IsEnd: true || false, + * // NextStep: "STRING_VALUE", + * // IsCritical: true || false, + * // ValidNextSteps: [ // ValidNextStepList + * // "STRING_VALUE", + * // ], + * // Targets: [ // Targets + * // { // Target + * // Key: "STRING_VALUE", + * // Values: [ // TargetValues + * // "STRING_VALUE", + * // ], + * // }, + * // ], + * // TargetLocation: { // TargetLocation + * // Accounts: [ // Accounts + * // "STRING_VALUE", + * // ], + * // Regions: [ // Regions + * // "STRING_VALUE", + * // ], + * // TargetLocationMaxConcurrency: "STRING_VALUE", + * // TargetLocationMaxErrors: "STRING_VALUE", + * // ExecutionRoleName: "STRING_VALUE", + * // TargetLocationAlarmConfiguration: { // AlarmConfiguration + * // IgnorePollAlarmFailure: true || false, + * // Alarms: [ // AlarmList // required + * // { // Alarm + * // Name: "STRING_VALUE", // required + * // }, + * // ], + * // }, + * // }, + * // TriggeredAlarms: [ // AlarmStateInformationList + * // { // AlarmStateInformation + * // Name: "STRING_VALUE", // required + * // State: "UNKNOWN" || "ALARM", // required + * // }, + * // ], + * // ParentStepDetails: { // ParentStepDetails + * // StepExecutionId: "STRING_VALUE", + * // StepName: "STRING_VALUE", + * // Action: "STRING_VALUE", + * // Iteration: Number("int"), + * // IteratorValue: "STRING_VALUE", + * // }, + * // }, + * // ], + * // StepExecutionsTruncated: true || false, + * // Parameters: "", + * // Outputs: "", + * // FailureMessage: "STRING_VALUE", + * // Mode: "Auto" || "Interactive", + * // ParentAutomationExecutionId: "STRING_VALUE", + * // ExecutedBy: "STRING_VALUE", + * // CurrentStepName: "STRING_VALUE", + * // CurrentAction: "STRING_VALUE", + * // TargetParameterName: "STRING_VALUE", + * // Targets: [ + * // { + * // Key: "STRING_VALUE", + * // Values: [ + * // "STRING_VALUE", + * // ], + * // }, + * // ], + * // TargetMaps: [ // TargetMaps + * // { // TargetMap + * // "": [ // TargetMapValueList + * // "STRING_VALUE", + * // ], + * // }, + * // ], + * // ResolvedTargets: { // ResolvedTargets + * // ParameterValues: [ // TargetParameterList + * // "STRING_VALUE", + * // ], + * // Truncated: true || false, + * // }, + * // MaxConcurrency: "STRING_VALUE", + * // MaxErrors: "STRING_VALUE", + * // Target: "STRING_VALUE", + * // TargetLocations: [ // TargetLocations + * // { + * // Accounts: [ + * // "STRING_VALUE", + * // ], + * // Regions: [ + * // "STRING_VALUE", + * // ], + * // TargetLocationMaxConcurrency: "STRING_VALUE", + * // TargetLocationMaxErrors: "STRING_VALUE", + * // ExecutionRoleName: "STRING_VALUE", + * // TargetLocationAlarmConfiguration: { + * // IgnorePollAlarmFailure: true || false, + * // Alarms: [ // required + * // { + * // Name: "STRING_VALUE", // required + * // }, + * // ], + * // }, + * // }, + * // ], + * // ProgressCounters: { // ProgressCounters + * // TotalSteps: Number("int"), + * // SuccessSteps: Number("int"), + * // FailedSteps: Number("int"), + * // CancelledSteps: Number("int"), + * // TimedOutSteps: Number("int"), + * // }, + * // AlarmConfiguration: "", + * // TriggeredAlarms: [ + * // { + * // Name: "STRING_VALUE", // required + * // State: "UNKNOWN" || "ALARM", // required + * // }, + * // ], + * // AutomationSubtype: "ChangeRequest", + * // ScheduledTime: new Date("TIMESTAMP"), + * // Runbooks: [ // Runbooks + * // { // Runbook + * // DocumentName: "STRING_VALUE", // required + * // DocumentVersion: "STRING_VALUE", + * // Parameters: "", + * // TargetParameterName: "STRING_VALUE", + * // Targets: [ + * // { + * // Key: "STRING_VALUE", + * // Values: [ + * // "STRING_VALUE", + * // ], + * // }, + * // ], + * // TargetMaps: [ + * // { + * // "": [ + * // "STRING_VALUE", + * // ], + * // }, + * // ], + * // MaxConcurrency: "STRING_VALUE", + * // MaxErrors: "STRING_VALUE", + * // TargetLocations: [ + * // "", + * // ], + * // }, + * // ], + * // OpsItemId: "STRING_VALUE", + * // AssociationId: "STRING_VALUE", + * // ChangeRequestName: "STRING_VALUE", + * // Variables: "", + * // }, + * // }; + * + * ``` + * + * @param GetAutomationExecutionCommandInput - {@link GetAutomationExecutionCommandInput} + * @returns {@link GetAutomationExecutionCommandOutput} + * @see {@link GetAutomationExecutionCommandInput} for command's `input` shape. + * @see {@link GetAutomationExecutionCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link AutomationExecutionNotFoundException} (client fault) + *

There is no automation execution information for the requested automation execution + * ID.

+ * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class GetAutomationExecutionCommand extends $Command { + readonly input: GetAutomationExecutionCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: GetAutomationExecutionCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetCalendarStateCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetCalendarStateCommand.d.ts new file mode 100644 index 00000000..6da50da2 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetCalendarStateCommand.d.ts @@ -0,0 +1,99 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { GetCalendarStateRequest, GetCalendarStateResponse } from "../models/models_1"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link GetCalendarStateCommand}. + */ +export interface GetCalendarStateCommandInput extends GetCalendarStateRequest { +} +/** + * @public + * + * The output of {@link GetCalendarStateCommand}. + */ +export interface GetCalendarStateCommandOutput extends GetCalendarStateResponse, __MetadataBearer { +} +/** + * @public + *

Gets the state of a Amazon Web Services Systems Manager change calendar at the current time or a specified time. If + * you specify a time, GetCalendarState returns the state of the calendar at that + * specific time, and returns the next time that the change calendar state will transition. If you + * don't specify a time, GetCalendarState uses the current time. Change Calendar + * entries have two possible states: OPEN or CLOSED.

+ *

If you specify more than one calendar in a request, the command returns the status of + * OPEN only if all calendars in the request are open. If one or more calendars in the + * request are closed, the status returned is CLOSED.

+ *

For more information about Change Calendar, a capability of Amazon Web Services Systems Manager, see Amazon Web Services Systems Manager Change Calendar in the Amazon Web Services Systems Manager User Guide.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, GetCalendarStateCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, GetCalendarStateCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // GetCalendarStateRequest + * CalendarNames: [ // CalendarNameOrARNList // required + * "STRING_VALUE", + * ], + * AtTime: "STRING_VALUE", + * }; + * const command = new GetCalendarStateCommand(input); + * const response = await client.send(command); + * // { // GetCalendarStateResponse + * // State: "OPEN" || "CLOSED", + * // AtTime: "STRING_VALUE", + * // NextTransitionTime: "STRING_VALUE", + * // }; + * + * ``` + * + * @param GetCalendarStateCommandInput - {@link GetCalendarStateCommandInput} + * @returns {@link GetCalendarStateCommandOutput} + * @see {@link GetCalendarStateCommandInput} for command's `input` shape. + * @see {@link GetCalendarStateCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link InvalidDocument} (client fault) + *

The specified SSM document doesn't exist.

+ * + * @throws {@link InvalidDocumentType} (client fault) + *

The SSM document type isn't valid. Valid document types are described in the + * DocumentType property.

+ * + * @throws {@link UnsupportedCalendarException} (client fault) + *

The calendar entry contained in the specified SSM document isn't supported.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class GetCalendarStateCommand extends $Command { + readonly input: GetCalendarStateCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: GetCalendarStateCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetCommandInvocationCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetCommandInvocationCommand.d.ts new file mode 100644 index 00000000..db2aabe7 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetCommandInvocationCommand.d.ts @@ -0,0 +1,131 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { GetCommandInvocationRequest, GetCommandInvocationResult } from "../models/models_1"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link GetCommandInvocationCommand}. + */ +export interface GetCommandInvocationCommandInput extends GetCommandInvocationRequest { +} +/** + * @public + * + * The output of {@link GetCommandInvocationCommand}. + */ +export interface GetCommandInvocationCommandOutput extends GetCommandInvocationResult, __MetadataBearer { +} +/** + * @public + *

Returns detailed information about command execution for an invocation or plugin.

+ *

+ * GetCommandInvocation only gives the execution status of a plugin in a document. + * To get the command execution status on a specific managed node, use ListCommandInvocations. To get the command execution status across managed nodes, + * use ListCommands.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, GetCommandInvocationCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, GetCommandInvocationCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // GetCommandInvocationRequest + * CommandId: "STRING_VALUE", // required + * InstanceId: "STRING_VALUE", // required + * PluginName: "STRING_VALUE", + * }; + * const command = new GetCommandInvocationCommand(input); + * const response = await client.send(command); + * // { // GetCommandInvocationResult + * // CommandId: "STRING_VALUE", + * // InstanceId: "STRING_VALUE", + * // Comment: "STRING_VALUE", + * // DocumentName: "STRING_VALUE", + * // DocumentVersion: "STRING_VALUE", + * // PluginName: "STRING_VALUE", + * // ResponseCode: Number("int"), + * // ExecutionStartDateTime: "STRING_VALUE", + * // ExecutionElapsedTime: "STRING_VALUE", + * // ExecutionEndDateTime: "STRING_VALUE", + * // Status: "Pending" || "InProgress" || "Delayed" || "Success" || "Cancelled" || "TimedOut" || "Failed" || "Cancelling", + * // StatusDetails: "STRING_VALUE", + * // StandardOutputContent: "STRING_VALUE", + * // StandardOutputUrl: "STRING_VALUE", + * // StandardErrorContent: "STRING_VALUE", + * // StandardErrorUrl: "STRING_VALUE", + * // CloudWatchOutputConfig: { // CloudWatchOutputConfig + * // CloudWatchLogGroupName: "STRING_VALUE", + * // CloudWatchOutputEnabled: true || false, + * // }, + * // }; + * + * ``` + * + * @param GetCommandInvocationCommandInput - {@link GetCommandInvocationCommandInput} + * @returns {@link GetCommandInvocationCommandOutput} + * @see {@link GetCommandInvocationCommandInput} for command's `input` shape. + * @see {@link GetCommandInvocationCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link InvalidCommandId} (client fault) + *

The specified command ID isn't valid. Verify the ID and try again.

+ * + * @throws {@link InvalidInstanceId} (client fault) + *

The following problems can cause this exception:

+ *
    + *
  • + *

    You don't have permission to access the managed node.

    + *
  • + *
  • + *

    Amazon Web Services Systems Manager Agent(SSM Agent) isn't running. Verify that SSM Agent is + * running.

    + *
  • + *
  • + *

    SSM Agent isn't registered with the SSM endpoint. Try reinstalling SSM Agent.

    + *
  • + *
  • + *

    The managed node isn't in valid state. Valid states are: Running, + * Pending, Stopped, and Stopping. Invalid states are: + * Shutting-down and Terminated.

    + *
  • + *
+ * + * @throws {@link InvalidPluginName} (client fault) + *

The plugin name isn't valid.

+ * + * @throws {@link InvocationDoesNotExist} (client fault) + *

The command ID and managed node ID you specified didn't match any invocations. Verify the + * command ID and the managed node ID and try again.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class GetCommandInvocationCommand extends $Command { + readonly input: GetCommandInvocationCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: GetCommandInvocationCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetConnectionStatusCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetConnectionStatusCommand.d.ts new file mode 100644 index 00000000..e4874aa4 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetConnectionStatusCommand.d.ts @@ -0,0 +1,78 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { GetConnectionStatusRequest, GetConnectionStatusResponse } from "../models/models_1"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link GetConnectionStatusCommand}. + */ +export interface GetConnectionStatusCommandInput extends GetConnectionStatusRequest { +} +/** + * @public + * + * The output of {@link GetConnectionStatusCommand}. + */ +export interface GetConnectionStatusCommandOutput extends GetConnectionStatusResponse, __MetadataBearer { +} +/** + * @public + *

Retrieves the Session Manager connection status for a managed node to determine whether it is running + * and ready to receive Session Manager connections.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, GetConnectionStatusCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, GetConnectionStatusCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // GetConnectionStatusRequest + * Target: "STRING_VALUE", // required + * }; + * const command = new GetConnectionStatusCommand(input); + * const response = await client.send(command); + * // { // GetConnectionStatusResponse + * // Target: "STRING_VALUE", + * // Status: "connected" || "notconnected", + * // }; + * + * ``` + * + * @param GetConnectionStatusCommandInput - {@link GetConnectionStatusCommandInput} + * @returns {@link GetConnectionStatusCommandOutput} + * @see {@link GetConnectionStatusCommandInput} for command's `input` shape. + * @see {@link GetConnectionStatusCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class GetConnectionStatusCommand extends $Command { + readonly input: GetConnectionStatusCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: GetConnectionStatusCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetDefaultPatchBaselineCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetDefaultPatchBaselineCommand.d.ts new file mode 100644 index 00000000..d44f95bf --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetDefaultPatchBaselineCommand.d.ts @@ -0,0 +1,80 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { GetDefaultPatchBaselineRequest, GetDefaultPatchBaselineResult } from "../models/models_1"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link GetDefaultPatchBaselineCommand}. + */ +export interface GetDefaultPatchBaselineCommandInput extends GetDefaultPatchBaselineRequest { +} +/** + * @public + * + * The output of {@link GetDefaultPatchBaselineCommand}. + */ +export interface GetDefaultPatchBaselineCommandOutput extends GetDefaultPatchBaselineResult, __MetadataBearer { +} +/** + * @public + *

Retrieves the default patch baseline. Amazon Web Services Systems Manager supports creating multiple default patch + * baselines. For example, you can create a default patch baseline for each operating system.

+ *

If you don't specify an operating system value, the default patch baseline for Windows is + * returned.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, GetDefaultPatchBaselineCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, GetDefaultPatchBaselineCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // GetDefaultPatchBaselineRequest + * OperatingSystem: "WINDOWS" || "AMAZON_LINUX" || "AMAZON_LINUX_2" || "AMAZON_LINUX_2022" || "UBUNTU" || "REDHAT_ENTERPRISE_LINUX" || "SUSE" || "CENTOS" || "ORACLE_LINUX" || "DEBIAN" || "MACOS" || "RASPBIAN" || "ROCKY_LINUX" || "ALMA_LINUX" || "AMAZON_LINUX_2023", + * }; + * const command = new GetDefaultPatchBaselineCommand(input); + * const response = await client.send(command); + * // { // GetDefaultPatchBaselineResult + * // BaselineId: "STRING_VALUE", + * // OperatingSystem: "WINDOWS" || "AMAZON_LINUX" || "AMAZON_LINUX_2" || "AMAZON_LINUX_2022" || "UBUNTU" || "REDHAT_ENTERPRISE_LINUX" || "SUSE" || "CENTOS" || "ORACLE_LINUX" || "DEBIAN" || "MACOS" || "RASPBIAN" || "ROCKY_LINUX" || "ALMA_LINUX" || "AMAZON_LINUX_2023", + * // }; + * + * ``` + * + * @param GetDefaultPatchBaselineCommandInput - {@link GetDefaultPatchBaselineCommandInput} + * @returns {@link GetDefaultPatchBaselineCommandOutput} + * @see {@link GetDefaultPatchBaselineCommandInput} for command's `input` shape. + * @see {@link GetDefaultPatchBaselineCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class GetDefaultPatchBaselineCommand extends $Command { + readonly input: GetDefaultPatchBaselineCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: GetDefaultPatchBaselineCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetDeployablePatchSnapshotForInstanceCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetDeployablePatchSnapshotForInstanceCommand.d.ts new file mode 100644 index 00000000..a5bee5c1 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetDeployablePatchSnapshotForInstanceCommand.d.ts @@ -0,0 +1,149 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { GetDeployablePatchSnapshotForInstanceRequest, GetDeployablePatchSnapshotForInstanceResult } from "../models/models_1"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link GetDeployablePatchSnapshotForInstanceCommand}. + */ +export interface GetDeployablePatchSnapshotForInstanceCommandInput extends GetDeployablePatchSnapshotForInstanceRequest { +} +/** + * @public + * + * The output of {@link GetDeployablePatchSnapshotForInstanceCommand}. + */ +export interface GetDeployablePatchSnapshotForInstanceCommandOutput extends GetDeployablePatchSnapshotForInstanceResult, __MetadataBearer { +} +/** + * @public + *

Retrieves the current snapshot for the patch baseline the managed node uses. This API is + * primarily used by the AWS-RunPatchBaseline Systems Manager document (SSM document).

+ * + *

If you run the command locally, such as with the Command Line Interface (CLI), the system attempts to use your local Amazon Web Services credentials and the operation fails. To avoid + * this, you can run the command in the Amazon Web Services Systems Manager console. Use Run Command, a capability of + * Amazon Web Services Systems Manager, with an SSM document that enables you to target a managed node with a script or + * command. For example, run the command using the AWS-RunShellScript document or the + * AWS-RunPowerShellScript document.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, GetDeployablePatchSnapshotForInstanceCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, GetDeployablePatchSnapshotForInstanceCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // GetDeployablePatchSnapshotForInstanceRequest + * InstanceId: "STRING_VALUE", // required + * SnapshotId: "STRING_VALUE", // required + * BaselineOverride: { // BaselineOverride + * OperatingSystem: "WINDOWS" || "AMAZON_LINUX" || "AMAZON_LINUX_2" || "AMAZON_LINUX_2022" || "UBUNTU" || "REDHAT_ENTERPRISE_LINUX" || "SUSE" || "CENTOS" || "ORACLE_LINUX" || "DEBIAN" || "MACOS" || "RASPBIAN" || "ROCKY_LINUX" || "ALMA_LINUX" || "AMAZON_LINUX_2023", + * GlobalFilters: { // PatchFilterGroup + * PatchFilters: [ // PatchFilterList // required + * { // PatchFilter + * Key: "ARCH" || "ADVISORY_ID" || "BUGZILLA_ID" || "PATCH_SET" || "PRODUCT" || "PRODUCT_FAMILY" || "CLASSIFICATION" || "CVE_ID" || "EPOCH" || "MSRC_SEVERITY" || "NAME" || "PATCH_ID" || "SECTION" || "PRIORITY" || "REPOSITORY" || "RELEASE" || "SEVERITY" || "SECURITY" || "VERSION", // required + * Values: [ // PatchFilterValueList // required + * "STRING_VALUE", + * ], + * }, + * ], + * }, + * ApprovalRules: { // PatchRuleGroup + * PatchRules: [ // PatchRuleList // required + * { // PatchRule + * PatchFilterGroup: { + * PatchFilters: [ // required + * { + * Key: "ARCH" || "ADVISORY_ID" || "BUGZILLA_ID" || "PATCH_SET" || "PRODUCT" || "PRODUCT_FAMILY" || "CLASSIFICATION" || "CVE_ID" || "EPOCH" || "MSRC_SEVERITY" || "NAME" || "PATCH_ID" || "SECTION" || "PRIORITY" || "REPOSITORY" || "RELEASE" || "SEVERITY" || "SECURITY" || "VERSION", // required + * Values: [ // required + * "STRING_VALUE", + * ], + * }, + * ], + * }, + * ComplianceLevel: "CRITICAL" || "HIGH" || "MEDIUM" || "LOW" || "INFORMATIONAL" || "UNSPECIFIED", + * ApproveAfterDays: Number("int"), + * ApproveUntilDate: "STRING_VALUE", + * EnableNonSecurity: true || false, + * }, + * ], + * }, + * ApprovedPatches: [ // PatchIdList + * "STRING_VALUE", + * ], + * ApprovedPatchesComplianceLevel: "CRITICAL" || "HIGH" || "MEDIUM" || "LOW" || "INFORMATIONAL" || "UNSPECIFIED", + * RejectedPatches: [ + * "STRING_VALUE", + * ], + * RejectedPatchesAction: "ALLOW_AS_DEPENDENCY" || "BLOCK", + * ApprovedPatchesEnableNonSecurity: true || false, + * Sources: [ // PatchSourceList + * { // PatchSource + * Name: "STRING_VALUE", // required + * Products: [ // PatchSourceProductList // required + * "STRING_VALUE", + * ], + * Configuration: "STRING_VALUE", // required + * }, + * ], + * }, + * }; + * const command = new GetDeployablePatchSnapshotForInstanceCommand(input); + * const response = await client.send(command); + * // { // GetDeployablePatchSnapshotForInstanceResult + * // InstanceId: "STRING_VALUE", + * // SnapshotId: "STRING_VALUE", + * // SnapshotDownloadUrl: "STRING_VALUE", + * // Product: "STRING_VALUE", + * // }; + * + * ``` + * + * @param GetDeployablePatchSnapshotForInstanceCommandInput - {@link GetDeployablePatchSnapshotForInstanceCommandInput} + * @returns {@link GetDeployablePatchSnapshotForInstanceCommandOutput} + * @see {@link GetDeployablePatchSnapshotForInstanceCommandInput} for command's `input` shape. + * @see {@link GetDeployablePatchSnapshotForInstanceCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link UnsupportedFeatureRequiredException} (client fault) + *

Patching for applications released by Microsoft is only available on EC2 instances and + * advanced instances. To patch applications released by Microsoft on on-premises servers and VMs, + * you must enable advanced instances. For more information, see Enabling + * the advanced-instances tier in the Amazon Web Services Systems Manager User Guide.

+ * + * @throws {@link UnsupportedOperatingSystem} (client fault) + *

The operating systems you specified isn't supported, or the operation isn't supported for + * the operating system.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class GetDeployablePatchSnapshotForInstanceCommand extends $Command { + readonly input: GetDeployablePatchSnapshotForInstanceCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: GetDeployablePatchSnapshotForInstanceCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetDocumentCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetDocumentCommand.d.ts new file mode 100644 index 00000000..7d8ae70a --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetDocumentCommand.d.ts @@ -0,0 +1,112 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { GetDocumentRequest, GetDocumentResult } from "../models/models_1"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link GetDocumentCommand}. + */ +export interface GetDocumentCommandInput extends GetDocumentRequest { +} +/** + * @public + * + * The output of {@link GetDocumentCommand}. + */ +export interface GetDocumentCommandOutput extends GetDocumentResult, __MetadataBearer { +} +/** + * @public + *

Gets the contents of the specified Amazon Web Services Systems Manager document (SSM document).

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, GetDocumentCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, GetDocumentCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // GetDocumentRequest + * Name: "STRING_VALUE", // required + * VersionName: "STRING_VALUE", + * DocumentVersion: "STRING_VALUE", + * DocumentFormat: "YAML" || "JSON" || "TEXT", + * }; + * const command = new GetDocumentCommand(input); + * const response = await client.send(command); + * // { // GetDocumentResult + * // Name: "STRING_VALUE", + * // CreatedDate: new Date("TIMESTAMP"), + * // DisplayName: "STRING_VALUE", + * // VersionName: "STRING_VALUE", + * // DocumentVersion: "STRING_VALUE", + * // Status: "Creating" || "Active" || "Updating" || "Deleting" || "Failed", + * // StatusInformation: "STRING_VALUE", + * // Content: "STRING_VALUE", + * // DocumentType: "Command" || "Policy" || "Automation" || "Session" || "Package" || "ApplicationConfiguration" || "ApplicationConfigurationSchema" || "DeploymentStrategy" || "ChangeCalendar" || "Automation.ChangeTemplate" || "ProblemAnalysis" || "ProblemAnalysisTemplate" || "CloudFormation" || "ConformancePackTemplate" || "QuickSetup", + * // DocumentFormat: "YAML" || "JSON" || "TEXT", + * // Requires: [ // DocumentRequiresList + * // { // DocumentRequires + * // Name: "STRING_VALUE", // required + * // Version: "STRING_VALUE", + * // RequireType: "STRING_VALUE", + * // VersionName: "STRING_VALUE", + * // }, + * // ], + * // AttachmentsContent: [ // AttachmentContentList + * // { // AttachmentContent + * // Name: "STRING_VALUE", + * // Size: Number("long"), + * // Hash: "STRING_VALUE", + * // HashType: "Sha256", + * // Url: "STRING_VALUE", + * // }, + * // ], + * // ReviewStatus: "APPROVED" || "NOT_REVIEWED" || "PENDING" || "REJECTED", + * // }; + * + * ``` + * + * @param GetDocumentCommandInput - {@link GetDocumentCommandInput} + * @returns {@link GetDocumentCommandOutput} + * @see {@link GetDocumentCommandInput} for command's `input` shape. + * @see {@link GetDocumentCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link InvalidDocument} (client fault) + *

The specified SSM document doesn't exist.

+ * + * @throws {@link InvalidDocumentVersion} (client fault) + *

The document version isn't valid or doesn't exist.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class GetDocumentCommand extends $Command { + readonly input: GetDocumentCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: GetDocumentCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetInventoryCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetInventoryCommand.d.ts new file mode 100644 index 00000000..a3926efa --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetInventoryCommand.d.ts @@ -0,0 +1,162 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { GetInventoryResult } from "../models/models_1"; +import { GetInventoryRequest } from "../models/models_2"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link GetInventoryCommand}. + */ +export interface GetInventoryCommandInput extends GetInventoryRequest { +} +/** + * @public + * + * The output of {@link GetInventoryCommand}. + */ +export interface GetInventoryCommandOutput extends GetInventoryResult, __MetadataBearer { +} +/** + * @public + *

Query inventory information. This includes managed node status, such as Stopped + * or Terminated.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, GetInventoryCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, GetInventoryCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // GetInventoryRequest + * Filters: [ // InventoryFilterList + * { // InventoryFilter + * Key: "STRING_VALUE", // required + * Values: [ // InventoryFilterValueList // required + * "STRING_VALUE", + * ], + * Type: "Equal" || "NotEqual" || "BeginWith" || "LessThan" || "GreaterThan" || "Exists", + * }, + * ], + * Aggregators: [ // InventoryAggregatorList + * { // InventoryAggregator + * Expression: "STRING_VALUE", + * Aggregators: [ + * { + * Expression: "STRING_VALUE", + * Aggregators: "", + * Groups: [ // InventoryGroupList + * { // InventoryGroup + * Name: "STRING_VALUE", // required + * Filters: [ // required + * { + * Key: "STRING_VALUE", // required + * Values: [ // required + * "STRING_VALUE", + * ], + * Type: "Equal" || "NotEqual" || "BeginWith" || "LessThan" || "GreaterThan" || "Exists", + * }, + * ], + * }, + * ], + * }, + * ], + * Groups: [ + * { + * Name: "STRING_VALUE", // required + * Filters: "", // required + * }, + * ], + * }, + * ], + * ResultAttributes: [ // ResultAttributeList + * { // ResultAttribute + * TypeName: "STRING_VALUE", // required + * }, + * ], + * NextToken: "STRING_VALUE", + * MaxResults: Number("int"), + * }; + * const command = new GetInventoryCommand(input); + * const response = await client.send(command); + * // { // GetInventoryResult + * // Entities: [ // InventoryResultEntityList + * // { // InventoryResultEntity + * // Id: "STRING_VALUE", + * // Data: { // InventoryResultItemMap + * // "": { // InventoryResultItem + * // TypeName: "STRING_VALUE", // required + * // SchemaVersion: "STRING_VALUE", // required + * // CaptureTime: "STRING_VALUE", + * // ContentHash: "STRING_VALUE", + * // Content: [ // InventoryItemEntryList // required + * // { // InventoryItemEntry + * // "": "STRING_VALUE", + * // }, + * // ], + * // }, + * // }, + * // }, + * // ], + * // NextToken: "STRING_VALUE", + * // }; + * + * ``` + * + * @param GetInventoryCommandInput - {@link GetInventoryCommandInput} + * @returns {@link GetInventoryCommandOutput} + * @see {@link GetInventoryCommandInput} for command's `input` shape. + * @see {@link GetInventoryCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link InvalidAggregatorException} (client fault) + *

The specified aggregator isn't valid for inventory groups. Verify that the aggregator uses a + * valid inventory type such as AWS:Application or + * AWS:InstanceInformation.

+ * + * @throws {@link InvalidFilter} (client fault) + *

The filter name isn't valid. Verify the you entered the correct name and try again.

+ * + * @throws {@link InvalidInventoryGroupException} (client fault) + *

The specified inventory group isn't valid.

+ * + * @throws {@link InvalidNextToken} (client fault) + *

The specified token isn't valid.

+ * + * @throws {@link InvalidResultAttributeException} (client fault) + *

The specified inventory item result attribute isn't valid.

+ * + * @throws {@link InvalidTypeNameException} (client fault) + *

The parameter type name isn't valid.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class GetInventoryCommand extends $Command { + readonly input: GetInventoryCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: GetInventoryCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetInventorySchemaCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetInventorySchemaCommand.d.ts new file mode 100644 index 00000000..ed86300c --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetInventorySchemaCommand.d.ts @@ -0,0 +1,100 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { GetInventorySchemaRequest, GetInventorySchemaResult } from "../models/models_1"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link GetInventorySchemaCommand}. + */ +export interface GetInventorySchemaCommandInput extends GetInventorySchemaRequest { +} +/** + * @public + * + * The output of {@link GetInventorySchemaCommand}. + */ +export interface GetInventorySchemaCommandOutput extends GetInventorySchemaResult, __MetadataBearer { +} +/** + * @public + *

Return a list of inventory type names for the account, or return a list of attribute names + * for a specific Inventory item type.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, GetInventorySchemaCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, GetInventorySchemaCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // GetInventorySchemaRequest + * TypeName: "STRING_VALUE", + * NextToken: "STRING_VALUE", + * MaxResults: Number("int"), + * Aggregator: true || false, + * SubType: true || false, + * }; + * const command = new GetInventorySchemaCommand(input); + * const response = await client.send(command); + * // { // GetInventorySchemaResult + * // Schemas: [ // InventoryItemSchemaResultList + * // { // InventoryItemSchema + * // TypeName: "STRING_VALUE", // required + * // Version: "STRING_VALUE", + * // Attributes: [ // InventoryItemAttributeList // required + * // { // InventoryItemAttribute + * // Name: "STRING_VALUE", // required + * // DataType: "string" || "number", // required + * // }, + * // ], + * // DisplayName: "STRING_VALUE", + * // }, + * // ], + * // NextToken: "STRING_VALUE", + * // }; + * + * ``` + * + * @param GetInventorySchemaCommandInput - {@link GetInventorySchemaCommandInput} + * @returns {@link GetInventorySchemaCommandOutput} + * @see {@link GetInventorySchemaCommandInput} for command's `input` shape. + * @see {@link GetInventorySchemaCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link InvalidNextToken} (client fault) + *

The specified token isn't valid.

+ * + * @throws {@link InvalidTypeNameException} (client fault) + *

The parameter type name isn't valid.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class GetInventorySchemaCommand extends $Command { + readonly input: GetInventorySchemaCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: GetInventorySchemaCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetMaintenanceWindowCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetMaintenanceWindowCommand.d.ts new file mode 100644 index 00000000..55812d6d --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetMaintenanceWindowCommand.d.ts @@ -0,0 +1,96 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { GetMaintenanceWindowRequest, GetMaintenanceWindowResult } from "../models/models_1"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link GetMaintenanceWindowCommand}. + */ +export interface GetMaintenanceWindowCommandInput extends GetMaintenanceWindowRequest { +} +/** + * @public + * + * The output of {@link GetMaintenanceWindowCommand}. + */ +export interface GetMaintenanceWindowCommandOutput extends GetMaintenanceWindowResult, __MetadataBearer { +} +/** + * @public + *

Retrieves a maintenance window.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, GetMaintenanceWindowCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, GetMaintenanceWindowCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // GetMaintenanceWindowRequest + * WindowId: "STRING_VALUE", // required + * }; + * const command = new GetMaintenanceWindowCommand(input); + * const response = await client.send(command); + * // { // GetMaintenanceWindowResult + * // WindowId: "STRING_VALUE", + * // Name: "STRING_VALUE", + * // Description: "STRING_VALUE", + * // StartDate: "STRING_VALUE", + * // EndDate: "STRING_VALUE", + * // Schedule: "STRING_VALUE", + * // ScheduleTimezone: "STRING_VALUE", + * // ScheduleOffset: Number("int"), + * // NextExecutionTime: "STRING_VALUE", + * // Duration: Number("int"), + * // Cutoff: Number("int"), + * // AllowUnassociatedTargets: true || false, + * // Enabled: true || false, + * // CreatedDate: new Date("TIMESTAMP"), + * // ModifiedDate: new Date("TIMESTAMP"), + * // }; + * + * ``` + * + * @param GetMaintenanceWindowCommandInput - {@link GetMaintenanceWindowCommandInput} + * @returns {@link GetMaintenanceWindowCommandOutput} + * @see {@link GetMaintenanceWindowCommandInput} for command's `input` shape. + * @see {@link GetMaintenanceWindowCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link DoesNotExistException} (client fault) + *

Error returned when the ID specified for a resource, such as a maintenance window or patch + * baseline, doesn't exist.

+ *

For information about resource quotas in Amazon Web Services Systems Manager, see Systems Manager service quotas in the + * Amazon Web Services General Reference.

+ * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class GetMaintenanceWindowCommand extends $Command { + readonly input: GetMaintenanceWindowCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: GetMaintenanceWindowCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetMaintenanceWindowExecutionCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetMaintenanceWindowExecutionCommand.d.ts new file mode 100644 index 00000000..1c5a334c --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetMaintenanceWindowExecutionCommand.d.ts @@ -0,0 +1,89 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { GetMaintenanceWindowExecutionRequest, GetMaintenanceWindowExecutionResult } from "../models/models_1"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link GetMaintenanceWindowExecutionCommand}. + */ +export interface GetMaintenanceWindowExecutionCommandInput extends GetMaintenanceWindowExecutionRequest { +} +/** + * @public + * + * The output of {@link GetMaintenanceWindowExecutionCommand}. + */ +export interface GetMaintenanceWindowExecutionCommandOutput extends GetMaintenanceWindowExecutionResult, __MetadataBearer { +} +/** + * @public + *

Retrieves details about a specific a maintenance window execution.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, GetMaintenanceWindowExecutionCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, GetMaintenanceWindowExecutionCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // GetMaintenanceWindowExecutionRequest + * WindowExecutionId: "STRING_VALUE", // required + * }; + * const command = new GetMaintenanceWindowExecutionCommand(input); + * const response = await client.send(command); + * // { // GetMaintenanceWindowExecutionResult + * // WindowExecutionId: "STRING_VALUE", + * // TaskIds: [ // MaintenanceWindowExecutionTaskIdList + * // "STRING_VALUE", + * // ], + * // Status: "PENDING" || "IN_PROGRESS" || "SUCCESS" || "FAILED" || "TIMED_OUT" || "CANCELLING" || "CANCELLED" || "SKIPPED_OVERLAPPING", + * // StatusDetails: "STRING_VALUE", + * // StartTime: new Date("TIMESTAMP"), + * // EndTime: new Date("TIMESTAMP"), + * // }; + * + * ``` + * + * @param GetMaintenanceWindowExecutionCommandInput - {@link GetMaintenanceWindowExecutionCommandInput} + * @returns {@link GetMaintenanceWindowExecutionCommandOutput} + * @see {@link GetMaintenanceWindowExecutionCommandInput} for command's `input` shape. + * @see {@link GetMaintenanceWindowExecutionCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link DoesNotExistException} (client fault) + *

Error returned when the ID specified for a resource, such as a maintenance window or patch + * baseline, doesn't exist.

+ *

For information about resource quotas in Amazon Web Services Systems Manager, see Systems Manager service quotas in the + * Amazon Web Services General Reference.

+ * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class GetMaintenanceWindowExecutionCommand extends $Command { + readonly input: GetMaintenanceWindowExecutionCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: GetMaintenanceWindowExecutionCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetMaintenanceWindowExecutionTaskCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetMaintenanceWindowExecutionTaskCommand.d.ts new file mode 100644 index 00000000..4f5699c7 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetMaintenanceWindowExecutionTaskCommand.d.ts @@ -0,0 +1,118 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { GetMaintenanceWindowExecutionTaskRequest, GetMaintenanceWindowExecutionTaskResult } from "../models/models_1"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link GetMaintenanceWindowExecutionTaskCommand}. + */ +export interface GetMaintenanceWindowExecutionTaskCommandInput extends GetMaintenanceWindowExecutionTaskRequest { +} +/** + * @public + * + * The output of {@link GetMaintenanceWindowExecutionTaskCommand}. + */ +export interface GetMaintenanceWindowExecutionTaskCommandOutput extends GetMaintenanceWindowExecutionTaskResult, __MetadataBearer { +} +/** + * @public + *

Retrieves the details about a specific task run as part of a maintenance window + * execution.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, GetMaintenanceWindowExecutionTaskCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, GetMaintenanceWindowExecutionTaskCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // GetMaintenanceWindowExecutionTaskRequest + * WindowExecutionId: "STRING_VALUE", // required + * TaskId: "STRING_VALUE", // required + * }; + * const command = new GetMaintenanceWindowExecutionTaskCommand(input); + * const response = await client.send(command); + * // { // GetMaintenanceWindowExecutionTaskResult + * // WindowExecutionId: "STRING_VALUE", + * // TaskExecutionId: "STRING_VALUE", + * // TaskArn: "STRING_VALUE", + * // ServiceRole: "STRING_VALUE", + * // Type: "RUN_COMMAND" || "AUTOMATION" || "STEP_FUNCTIONS" || "LAMBDA", + * // TaskParameters: [ // MaintenanceWindowTaskParametersList + * // { // MaintenanceWindowTaskParameters + * // "": { // MaintenanceWindowTaskParameterValueExpression + * // Values: [ // MaintenanceWindowTaskParameterValueList + * // "STRING_VALUE", + * // ], + * // }, + * // }, + * // ], + * // Priority: Number("int"), + * // MaxConcurrency: "STRING_VALUE", + * // MaxErrors: "STRING_VALUE", + * // Status: "PENDING" || "IN_PROGRESS" || "SUCCESS" || "FAILED" || "TIMED_OUT" || "CANCELLING" || "CANCELLED" || "SKIPPED_OVERLAPPING", + * // StatusDetails: "STRING_VALUE", + * // StartTime: new Date("TIMESTAMP"), + * // EndTime: new Date("TIMESTAMP"), + * // AlarmConfiguration: { // AlarmConfiguration + * // IgnorePollAlarmFailure: true || false, + * // Alarms: [ // AlarmList // required + * // { // Alarm + * // Name: "STRING_VALUE", // required + * // }, + * // ], + * // }, + * // TriggeredAlarms: [ // AlarmStateInformationList + * // { // AlarmStateInformation + * // Name: "STRING_VALUE", // required + * // State: "UNKNOWN" || "ALARM", // required + * // }, + * // ], + * // }; + * + * ``` + * + * @param GetMaintenanceWindowExecutionTaskCommandInput - {@link GetMaintenanceWindowExecutionTaskCommandInput} + * @returns {@link GetMaintenanceWindowExecutionTaskCommandOutput} + * @see {@link GetMaintenanceWindowExecutionTaskCommandInput} for command's `input` shape. + * @see {@link GetMaintenanceWindowExecutionTaskCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link DoesNotExistException} (client fault) + *

Error returned when the ID specified for a resource, such as a maintenance window or patch + * baseline, doesn't exist.

+ *

For information about resource quotas in Amazon Web Services Systems Manager, see Systems Manager service quotas in the + * Amazon Web Services General Reference.

+ * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class GetMaintenanceWindowExecutionTaskCommand extends $Command { + readonly input: GetMaintenanceWindowExecutionTaskCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: GetMaintenanceWindowExecutionTaskCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetMaintenanceWindowExecutionTaskInvocationCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetMaintenanceWindowExecutionTaskInvocationCommand.d.ts new file mode 100644 index 00000000..6c66deff --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetMaintenanceWindowExecutionTaskInvocationCommand.d.ts @@ -0,0 +1,95 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { GetMaintenanceWindowExecutionTaskInvocationRequest, GetMaintenanceWindowExecutionTaskInvocationResult } from "../models/models_1"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link GetMaintenanceWindowExecutionTaskInvocationCommand}. + */ +export interface GetMaintenanceWindowExecutionTaskInvocationCommandInput extends GetMaintenanceWindowExecutionTaskInvocationRequest { +} +/** + * @public + * + * The output of {@link GetMaintenanceWindowExecutionTaskInvocationCommand}. + */ +export interface GetMaintenanceWindowExecutionTaskInvocationCommandOutput extends GetMaintenanceWindowExecutionTaskInvocationResult, __MetadataBearer { +} +/** + * @public + *

Retrieves information about a specific task running on a specific target.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, GetMaintenanceWindowExecutionTaskInvocationCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, GetMaintenanceWindowExecutionTaskInvocationCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // GetMaintenanceWindowExecutionTaskInvocationRequest + * WindowExecutionId: "STRING_VALUE", // required + * TaskId: "STRING_VALUE", // required + * InvocationId: "STRING_VALUE", // required + * }; + * const command = new GetMaintenanceWindowExecutionTaskInvocationCommand(input); + * const response = await client.send(command); + * // { // GetMaintenanceWindowExecutionTaskInvocationResult + * // WindowExecutionId: "STRING_VALUE", + * // TaskExecutionId: "STRING_VALUE", + * // InvocationId: "STRING_VALUE", + * // ExecutionId: "STRING_VALUE", + * // TaskType: "RUN_COMMAND" || "AUTOMATION" || "STEP_FUNCTIONS" || "LAMBDA", + * // Parameters: "STRING_VALUE", + * // Status: "PENDING" || "IN_PROGRESS" || "SUCCESS" || "FAILED" || "TIMED_OUT" || "CANCELLING" || "CANCELLED" || "SKIPPED_OVERLAPPING", + * // StatusDetails: "STRING_VALUE", + * // StartTime: new Date("TIMESTAMP"), + * // EndTime: new Date("TIMESTAMP"), + * // OwnerInformation: "STRING_VALUE", + * // WindowTargetId: "STRING_VALUE", + * // }; + * + * ``` + * + * @param GetMaintenanceWindowExecutionTaskInvocationCommandInput - {@link GetMaintenanceWindowExecutionTaskInvocationCommandInput} + * @returns {@link GetMaintenanceWindowExecutionTaskInvocationCommandOutput} + * @see {@link GetMaintenanceWindowExecutionTaskInvocationCommandInput} for command's `input` shape. + * @see {@link GetMaintenanceWindowExecutionTaskInvocationCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link DoesNotExistException} (client fault) + *

Error returned when the ID specified for a resource, such as a maintenance window or patch + * baseline, doesn't exist.

+ *

For information about resource quotas in Amazon Web Services Systems Manager, see Systems Manager service quotas in the + * Amazon Web Services General Reference.

+ * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class GetMaintenanceWindowExecutionTaskInvocationCommand extends $Command { + readonly input: GetMaintenanceWindowExecutionTaskInvocationCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: GetMaintenanceWindowExecutionTaskInvocationCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetMaintenanceWindowTaskCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetMaintenanceWindowTaskCommand.d.ts new file mode 100644 index 00000000..cc14b2bd --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetMaintenanceWindowTaskCommand.d.ts @@ -0,0 +1,173 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { GetMaintenanceWindowTaskRequest, GetMaintenanceWindowTaskResult } from "../models/models_1"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link GetMaintenanceWindowTaskCommand}. + */ +export interface GetMaintenanceWindowTaskCommandInput extends GetMaintenanceWindowTaskRequest { +} +/** + * @public + * + * The output of {@link GetMaintenanceWindowTaskCommand}. + */ +export interface GetMaintenanceWindowTaskCommandOutput extends GetMaintenanceWindowTaskResult, __MetadataBearer { +} +/** + * @public + *

Retrieves the details of a maintenance window task.

+ * + *

For maintenance window tasks without a specified target, you can't supply values for + * --max-errors and --max-concurrency. Instead, the system inserts a + * placeholder value of 1, which may be reported in the response to this command. + * These values don't affect the running of your task and can be ignored.

+ *
+ *

To retrieve a list of tasks in a maintenance window, instead use the DescribeMaintenanceWindowTasks command.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, GetMaintenanceWindowTaskCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, GetMaintenanceWindowTaskCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // GetMaintenanceWindowTaskRequest + * WindowId: "STRING_VALUE", // required + * WindowTaskId: "STRING_VALUE", // required + * }; + * const command = new GetMaintenanceWindowTaskCommand(input); + * const response = await client.send(command); + * // { // GetMaintenanceWindowTaskResult + * // WindowId: "STRING_VALUE", + * // WindowTaskId: "STRING_VALUE", + * // Targets: [ // Targets + * // { // Target + * // Key: "STRING_VALUE", + * // Values: [ // TargetValues + * // "STRING_VALUE", + * // ], + * // }, + * // ], + * // TaskArn: "STRING_VALUE", + * // ServiceRoleArn: "STRING_VALUE", + * // TaskType: "RUN_COMMAND" || "AUTOMATION" || "STEP_FUNCTIONS" || "LAMBDA", + * // TaskParameters: { // MaintenanceWindowTaskParameters + * // "": { // MaintenanceWindowTaskParameterValueExpression + * // Values: [ // MaintenanceWindowTaskParameterValueList + * // "STRING_VALUE", + * // ], + * // }, + * // }, + * // TaskInvocationParameters: { // MaintenanceWindowTaskInvocationParameters + * // RunCommand: { // MaintenanceWindowRunCommandParameters + * // Comment: "STRING_VALUE", + * // CloudWatchOutputConfig: { // CloudWatchOutputConfig + * // CloudWatchLogGroupName: "STRING_VALUE", + * // CloudWatchOutputEnabled: true || false, + * // }, + * // DocumentHash: "STRING_VALUE", + * // DocumentHashType: "Sha256" || "Sha1", + * // DocumentVersion: "STRING_VALUE", + * // NotificationConfig: { // NotificationConfig + * // NotificationArn: "STRING_VALUE", + * // NotificationEvents: [ // NotificationEventList + * // "All" || "InProgress" || "Success" || "TimedOut" || "Cancelled" || "Failed", + * // ], + * // NotificationType: "Command" || "Invocation", + * // }, + * // OutputS3BucketName: "STRING_VALUE", + * // OutputS3KeyPrefix: "STRING_VALUE", + * // Parameters: { // Parameters + * // "": [ // ParameterValueList + * // "STRING_VALUE", + * // ], + * // }, + * // ServiceRoleArn: "STRING_VALUE", + * // TimeoutSeconds: Number("int"), + * // }, + * // Automation: { // MaintenanceWindowAutomationParameters + * // DocumentVersion: "STRING_VALUE", + * // Parameters: { // AutomationParameterMap + * // "": [ // AutomationParameterValueList + * // "STRING_VALUE", + * // ], + * // }, + * // }, + * // StepFunctions: { // MaintenanceWindowStepFunctionsParameters + * // Input: "STRING_VALUE", + * // Name: "STRING_VALUE", + * // }, + * // Lambda: { // MaintenanceWindowLambdaParameters + * // ClientContext: "STRING_VALUE", + * // Qualifier: "STRING_VALUE", + * // Payload: "BLOB_VALUE", + * // }, + * // }, + * // Priority: Number("int"), + * // MaxConcurrency: "STRING_VALUE", + * // MaxErrors: "STRING_VALUE", + * // LoggingInfo: { // LoggingInfo + * // S3BucketName: "STRING_VALUE", // required + * // S3KeyPrefix: "STRING_VALUE", + * // S3Region: "STRING_VALUE", // required + * // }, + * // Name: "STRING_VALUE", + * // Description: "STRING_VALUE", + * // CutoffBehavior: "CONTINUE_TASK" || "CANCEL_TASK", + * // AlarmConfiguration: { // AlarmConfiguration + * // IgnorePollAlarmFailure: true || false, + * // Alarms: [ // AlarmList // required + * // { // Alarm + * // Name: "STRING_VALUE", // required + * // }, + * // ], + * // }, + * // }; + * + * ``` + * + * @param GetMaintenanceWindowTaskCommandInput - {@link GetMaintenanceWindowTaskCommandInput} + * @returns {@link GetMaintenanceWindowTaskCommandOutput} + * @see {@link GetMaintenanceWindowTaskCommandInput} for command's `input` shape. + * @see {@link GetMaintenanceWindowTaskCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link DoesNotExistException} (client fault) + *

Error returned when the ID specified for a resource, such as a maintenance window or patch + * baseline, doesn't exist.

+ *

For information about resource quotas in Amazon Web Services Systems Manager, see Systems Manager service quotas in the + * Amazon Web Services General Reference.

+ * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class GetMaintenanceWindowTaskCommand extends $Command { + readonly input: GetMaintenanceWindowTaskCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: GetMaintenanceWindowTaskCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetOpsItemCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetOpsItemCommand.d.ts new file mode 100644 index 00000000..157d08b5 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetOpsItemCommand.d.ts @@ -0,0 +1,127 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { GetOpsItemRequest, GetOpsItemResponse } from "../models/models_1"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link GetOpsItemCommand}. + */ +export interface GetOpsItemCommandInput extends GetOpsItemRequest { +} +/** + * @public + * + * The output of {@link GetOpsItemCommand}. + */ +export interface GetOpsItemCommandOutput extends GetOpsItemResponse, __MetadataBearer { +} +/** + * @public + *

Get information about an OpsItem by using the ID. You must have permission in Identity and Access Management (IAM) to view information about an OpsItem. For more information, + * see Set + * up OpsCenter in the Amazon Web Services Systems Manager User Guide.

+ *

Operations engineers and IT professionals use Amazon Web Services Systems Manager OpsCenter to view, investigate, and + * remediate operational issues impacting the performance and health of their Amazon Web Services resources. For + * more information, see OpsCenter in the + * Amazon Web Services Systems Manager User Guide.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, GetOpsItemCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, GetOpsItemCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // GetOpsItemRequest + * OpsItemId: "STRING_VALUE", // required + * OpsItemArn: "STRING_VALUE", + * }; + * const command = new GetOpsItemCommand(input); + * const response = await client.send(command); + * // { // GetOpsItemResponse + * // OpsItem: { // OpsItem + * // CreatedBy: "STRING_VALUE", + * // OpsItemType: "STRING_VALUE", + * // CreatedTime: new Date("TIMESTAMP"), + * // Description: "STRING_VALUE", + * // LastModifiedBy: "STRING_VALUE", + * // LastModifiedTime: new Date("TIMESTAMP"), + * // Notifications: [ // OpsItemNotifications + * // { // OpsItemNotification + * // Arn: "STRING_VALUE", + * // }, + * // ], + * // Priority: Number("int"), + * // RelatedOpsItems: [ // RelatedOpsItems + * // { // RelatedOpsItem + * // OpsItemId: "STRING_VALUE", // required + * // }, + * // ], + * // Status: "Open" || "InProgress" || "Resolved" || "Pending" || "TimedOut" || "Cancelling" || "Cancelled" || "Failed" || "CompletedWithSuccess" || "CompletedWithFailure" || "Scheduled" || "RunbookInProgress" || "PendingChangeCalendarOverride" || "ChangeCalendarOverrideApproved" || "ChangeCalendarOverrideRejected" || "PendingApproval" || "Approved" || "Rejected" || "Closed", + * // OpsItemId: "STRING_VALUE", + * // Version: "STRING_VALUE", + * // Title: "STRING_VALUE", + * // Source: "STRING_VALUE", + * // OperationalData: { // OpsItemOperationalData + * // "": { // OpsItemDataValue + * // Value: "STRING_VALUE", + * // Type: "SearchableString" || "String", + * // }, + * // }, + * // Category: "STRING_VALUE", + * // Severity: "STRING_VALUE", + * // ActualStartTime: new Date("TIMESTAMP"), + * // ActualEndTime: new Date("TIMESTAMP"), + * // PlannedStartTime: new Date("TIMESTAMP"), + * // PlannedEndTime: new Date("TIMESTAMP"), + * // OpsItemArn: "STRING_VALUE", + * // }, + * // }; + * + * ``` + * + * @param GetOpsItemCommandInput - {@link GetOpsItemCommandInput} + * @returns {@link GetOpsItemCommandOutput} + * @see {@link GetOpsItemCommandInput} for command's `input` shape. + * @see {@link GetOpsItemCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link OpsItemAccessDeniedException} (client fault) + *

You don't have permission to view OpsItems in the specified account. Verify that your account + * is configured either as a Systems Manager delegated administrator or that you are logged into the Organizations + * management account.

+ * + * @throws {@link OpsItemNotFoundException} (client fault) + *

The specified OpsItem ID doesn't exist. Verify the ID and try again.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class GetOpsItemCommand extends $Command { + readonly input: GetOpsItemCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: GetOpsItemCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetOpsMetadataCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetOpsMetadataCommand.d.ts new file mode 100644 index 00000000..d1af82cb --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetOpsMetadataCommand.d.ts @@ -0,0 +1,90 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { GetOpsMetadataRequest, GetOpsMetadataResult } from "../models/models_1"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link GetOpsMetadataCommand}. + */ +export interface GetOpsMetadataCommandInput extends GetOpsMetadataRequest { +} +/** + * @public + * + * The output of {@link GetOpsMetadataCommand}. + */ +export interface GetOpsMetadataCommandOutput extends GetOpsMetadataResult, __MetadataBearer { +} +/** + * @public + *

View operational metadata related to an application in Application Manager.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, GetOpsMetadataCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, GetOpsMetadataCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // GetOpsMetadataRequest + * OpsMetadataArn: "STRING_VALUE", // required + * MaxResults: Number("int"), + * NextToken: "STRING_VALUE", + * }; + * const command = new GetOpsMetadataCommand(input); + * const response = await client.send(command); + * // { // GetOpsMetadataResult + * // ResourceId: "STRING_VALUE", + * // Metadata: { // MetadataMap + * // "": { // MetadataValue + * // Value: "STRING_VALUE", + * // }, + * // }, + * // NextToken: "STRING_VALUE", + * // }; + * + * ``` + * + * @param GetOpsMetadataCommandInput - {@link GetOpsMetadataCommandInput} + * @returns {@link GetOpsMetadataCommandOutput} + * @see {@link GetOpsMetadataCommandInput} for command's `input` shape. + * @see {@link GetOpsMetadataCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link OpsMetadataInvalidArgumentException} (client fault) + *

One of the arguments passed is invalid.

+ * + * @throws {@link OpsMetadataNotFoundException} (client fault) + *

The OpsMetadata object doesn't exist.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class GetOpsMetadataCommand extends $Command { + readonly input: GetOpsMetadataCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: GetOpsMetadataCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetOpsSummaryCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetOpsSummaryCommand.d.ts new file mode 100644 index 00000000..16b798bc --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetOpsSummaryCommand.d.ts @@ -0,0 +1,159 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { GetOpsSummaryResult } from "../models/models_1"; +import { GetOpsSummaryRequest } from "../models/models_2"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link GetOpsSummaryCommand}. + */ +export interface GetOpsSummaryCommandInput extends GetOpsSummaryRequest { +} +/** + * @public + * + * The output of {@link GetOpsSummaryCommand}. + */ +export interface GetOpsSummaryCommandOutput extends GetOpsSummaryResult, __MetadataBearer { +} +/** + * @public + *

View a summary of operations metadata (OpsData) based on specified filters and aggregators. + * OpsData can include information about Amazon Web Services Systems Manager OpsCenter operational workitems (OpsItems) as + * well as information about any Amazon Web Services resource or service configured to report OpsData to Amazon Web Services Systems Manager + * Explorer.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, GetOpsSummaryCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, GetOpsSummaryCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // GetOpsSummaryRequest + * SyncName: "STRING_VALUE", + * Filters: [ // OpsFilterList + * { // OpsFilter + * Key: "STRING_VALUE", // required + * Values: [ // OpsFilterValueList // required + * "STRING_VALUE", + * ], + * Type: "Equal" || "NotEqual" || "BeginWith" || "LessThan" || "GreaterThan" || "Exists", + * }, + * ], + * Aggregators: [ // OpsAggregatorList + * { // OpsAggregator + * AggregatorType: "STRING_VALUE", + * TypeName: "STRING_VALUE", + * AttributeName: "STRING_VALUE", + * Values: { // OpsAggregatorValueMap + * "": "STRING_VALUE", + * }, + * Filters: [ + * { + * Key: "STRING_VALUE", // required + * Values: [ // required + * "STRING_VALUE", + * ], + * Type: "Equal" || "NotEqual" || "BeginWith" || "LessThan" || "GreaterThan" || "Exists", + * }, + * ], + * Aggregators: [ + * { + * AggregatorType: "STRING_VALUE", + * TypeName: "STRING_VALUE", + * AttributeName: "STRING_VALUE", + * Values: { + * "": "STRING_VALUE", + * }, + * Filters: "", + * Aggregators: "", + * }, + * ], + * }, + * ], + * ResultAttributes: [ // OpsResultAttributeList + * { // OpsResultAttribute + * TypeName: "STRING_VALUE", // required + * }, + * ], + * NextToken: "STRING_VALUE", + * MaxResults: Number("int"), + * }; + * const command = new GetOpsSummaryCommand(input); + * const response = await client.send(command); + * // { // GetOpsSummaryResult + * // Entities: [ // OpsEntityList + * // { // OpsEntity + * // Id: "STRING_VALUE", + * // Data: { // OpsEntityItemMap + * // "": { // OpsEntityItem + * // CaptureTime: "STRING_VALUE", + * // Content: [ // OpsEntityItemEntryList + * // { // OpsEntityItemEntry + * // "": "STRING_VALUE", + * // }, + * // ], + * // }, + * // }, + * // }, + * // ], + * // NextToken: "STRING_VALUE", + * // }; + * + * ``` + * + * @param GetOpsSummaryCommandInput - {@link GetOpsSummaryCommandInput} + * @returns {@link GetOpsSummaryCommandOutput} + * @see {@link GetOpsSummaryCommandInput} for command's `input` shape. + * @see {@link GetOpsSummaryCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link InvalidAggregatorException} (client fault) + *

The specified aggregator isn't valid for inventory groups. Verify that the aggregator uses a + * valid inventory type such as AWS:Application or + * AWS:InstanceInformation.

+ * + * @throws {@link InvalidFilter} (client fault) + *

The filter name isn't valid. Verify the you entered the correct name and try again.

+ * + * @throws {@link InvalidNextToken} (client fault) + *

The specified token isn't valid.

+ * + * @throws {@link InvalidTypeNameException} (client fault) + *

The parameter type name isn't valid.

+ * + * @throws {@link ResourceDataSyncNotFoundException} (client fault) + *

The specified sync name wasn't found.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class GetOpsSummaryCommand extends $Command { + readonly input: GetOpsSummaryCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: GetOpsSummaryCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetParameterCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetParameterCommand.d.ts new file mode 100644 index 00000000..be500e84 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetParameterCommand.d.ts @@ -0,0 +1,100 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { GetParameterRequest, GetParameterResult } from "../models/models_1"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link GetParameterCommand}. + */ +export interface GetParameterCommandInput extends GetParameterRequest { +} +/** + * @public + * + * The output of {@link GetParameterCommand}. + */ +export interface GetParameterCommandOutput extends GetParameterResult, __MetadataBearer { +} +/** + * @public + *

Get information about a single parameter by specifying the parameter name.

+ * + *

To get information about more than one parameter at a time, use the GetParameters operation.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, GetParameterCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, GetParameterCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // GetParameterRequest + * Name: "STRING_VALUE", // required + * WithDecryption: true || false, + * }; + * const command = new GetParameterCommand(input); + * const response = await client.send(command); + * // { // GetParameterResult + * // Parameter: { // Parameter + * // Name: "STRING_VALUE", + * // Type: "String" || "StringList" || "SecureString", + * // Value: "STRING_VALUE", + * // Version: Number("long"), + * // Selector: "STRING_VALUE", + * // SourceResult: "STRING_VALUE", + * // LastModifiedDate: new Date("TIMESTAMP"), + * // ARN: "STRING_VALUE", + * // DataType: "STRING_VALUE", + * // }, + * // }; + * + * ``` + * + * @param GetParameterCommandInput - {@link GetParameterCommandInput} + * @returns {@link GetParameterCommandOutput} + * @see {@link GetParameterCommandInput} for command's `input` shape. + * @see {@link GetParameterCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link InvalidKeyId} (client fault) + *

The query key ID isn't valid.

+ * + * @throws {@link ParameterNotFound} (client fault) + *

The parameter couldn't be found. Verify the name and try again.

+ * + * @throws {@link ParameterVersionNotFound} (client fault) + *

The specified parameter version wasn't found. Verify the parameter name and version, and try + * again.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class GetParameterCommand extends $Command { + readonly input: GetParameterCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: GetParameterCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetParameterHistoryCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetParameterHistoryCommand.d.ts new file mode 100644 index 00000000..e48d57a0 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetParameterHistoryCommand.d.ts @@ -0,0 +1,119 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { GetParameterHistoryRequest, GetParameterHistoryResult } from "../models/models_1"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link GetParameterHistoryCommand}. + */ +export interface GetParameterHistoryCommandInput extends GetParameterHistoryRequest { +} +/** + * @public + * + * The output of {@link GetParameterHistoryCommand}. + */ +export interface GetParameterHistoryCommandOutput extends GetParameterHistoryResult, __MetadataBearer { +} +/** + * @public + *

Retrieves the history of all changes to a parameter.

+ * + *

If you change the KMS key alias for the KMS key used to encrypt a parameter, then you must + * also update the key alias the parameter uses to reference KMS. Otherwise, + * GetParameterHistory retrieves whatever the original key alias was + * referencing.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, GetParameterHistoryCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, GetParameterHistoryCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // GetParameterHistoryRequest + * Name: "STRING_VALUE", // required + * WithDecryption: true || false, + * MaxResults: Number("int"), + * NextToken: "STRING_VALUE", + * }; + * const command = new GetParameterHistoryCommand(input); + * const response = await client.send(command); + * // { // GetParameterHistoryResult + * // Parameters: [ // ParameterHistoryList + * // { // ParameterHistory + * // Name: "STRING_VALUE", + * // Type: "String" || "StringList" || "SecureString", + * // KeyId: "STRING_VALUE", + * // LastModifiedDate: new Date("TIMESTAMP"), + * // LastModifiedUser: "STRING_VALUE", + * // Description: "STRING_VALUE", + * // Value: "STRING_VALUE", + * // AllowedPattern: "STRING_VALUE", + * // Version: Number("long"), + * // Labels: [ // ParameterLabelList + * // "STRING_VALUE", + * // ], + * // Tier: "Standard" || "Advanced" || "Intelligent-Tiering", + * // Policies: [ // ParameterPolicyList + * // { // ParameterInlinePolicy + * // PolicyText: "STRING_VALUE", + * // PolicyType: "STRING_VALUE", + * // PolicyStatus: "STRING_VALUE", + * // }, + * // ], + * // DataType: "STRING_VALUE", + * // }, + * // ], + * // NextToken: "STRING_VALUE", + * // }; + * + * ``` + * + * @param GetParameterHistoryCommandInput - {@link GetParameterHistoryCommandInput} + * @returns {@link GetParameterHistoryCommandOutput} + * @see {@link GetParameterHistoryCommandInput} for command's `input` shape. + * @see {@link GetParameterHistoryCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link InvalidKeyId} (client fault) + *

The query key ID isn't valid.

+ * + * @throws {@link InvalidNextToken} (client fault) + *

The specified token isn't valid.

+ * + * @throws {@link ParameterNotFound} (client fault) + *

The parameter couldn't be found. Verify the name and try again.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class GetParameterHistoryCommand extends $Command { + readonly input: GetParameterHistoryCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: GetParameterHistoryCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetParametersByPathCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetParametersByPathCommand.d.ts new file mode 100644 index 00000000..88a088c3 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetParametersByPathCommand.d.ts @@ -0,0 +1,124 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { GetParametersByPathRequest, GetParametersByPathResult } from "../models/models_1"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link GetParametersByPathCommand}. + */ +export interface GetParametersByPathCommandInput extends GetParametersByPathRequest { +} +/** + * @public + * + * The output of {@link GetParametersByPathCommand}. + */ +export interface GetParametersByPathCommandOutput extends GetParametersByPathResult, __MetadataBearer { +} +/** + * @public + *

Retrieve information about one or more parameters in a specific hierarchy.

+ *

Request results are returned on a best-effort basis. If you specify MaxResults + * in the request, the response includes information up to the limit specified. The number of items + * returned, however, can be between zero and the value of MaxResults. If the service + * reaches an internal limit while processing the results, it stops the operation and returns the + * matching values up to that point and a NextToken. You can specify the + * NextToken in a subsequent call to get the next set of results.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, GetParametersByPathCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, GetParametersByPathCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // GetParametersByPathRequest + * Path: "STRING_VALUE", // required + * Recursive: true || false, + * ParameterFilters: [ // ParameterStringFilterList + * { // ParameterStringFilter + * Key: "STRING_VALUE", // required + * Option: "STRING_VALUE", + * Values: [ // ParameterStringFilterValueList + * "STRING_VALUE", + * ], + * }, + * ], + * WithDecryption: true || false, + * MaxResults: Number("int"), + * NextToken: "STRING_VALUE", + * }; + * const command = new GetParametersByPathCommand(input); + * const response = await client.send(command); + * // { // GetParametersByPathResult + * // Parameters: [ // ParameterList + * // { // Parameter + * // Name: "STRING_VALUE", + * // Type: "String" || "StringList" || "SecureString", + * // Value: "STRING_VALUE", + * // Version: Number("long"), + * // Selector: "STRING_VALUE", + * // SourceResult: "STRING_VALUE", + * // LastModifiedDate: new Date("TIMESTAMP"), + * // ARN: "STRING_VALUE", + * // DataType: "STRING_VALUE", + * // }, + * // ], + * // NextToken: "STRING_VALUE", + * // }; + * + * ``` + * + * @param GetParametersByPathCommandInput - {@link GetParametersByPathCommandInput} + * @returns {@link GetParametersByPathCommandOutput} + * @see {@link GetParametersByPathCommandInput} for command's `input` shape. + * @see {@link GetParametersByPathCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link InvalidFilterKey} (client fault) + *

The specified key isn't valid.

+ * + * @throws {@link InvalidFilterOption} (client fault) + *

The specified filter option isn't valid. Valid options are Equals and BeginsWith. For Path + * filter, valid options are Recursive and OneLevel.

+ * + * @throws {@link InvalidFilterValue} (client fault) + *

The filter value isn't valid. Verify the value and try again.

+ * + * @throws {@link InvalidKeyId} (client fault) + *

The query key ID isn't valid.

+ * + * @throws {@link InvalidNextToken} (client fault) + *

The specified token isn't valid.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class GetParametersByPathCommand extends $Command { + readonly input: GetParametersByPathCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: GetParametersByPathCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetParametersCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetParametersCommand.d.ts new file mode 100644 index 00000000..602d36fc --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetParametersCommand.d.ts @@ -0,0 +1,101 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { GetParametersRequest, GetParametersResult } from "../models/models_1"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link GetParametersCommand}. + */ +export interface GetParametersCommandInput extends GetParametersRequest { +} +/** + * @public + * + * The output of {@link GetParametersCommand}. + */ +export interface GetParametersCommandOutput extends GetParametersResult, __MetadataBearer { +} +/** + * @public + *

Get information about one or more parameters by specifying multiple parameter names.

+ * + *

To get information about a single parameter, you can use the GetParameter + * operation instead.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, GetParametersCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, GetParametersCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // GetParametersRequest + * Names: [ // ParameterNameList // required + * "STRING_VALUE", + * ], + * WithDecryption: true || false, + * }; + * const command = new GetParametersCommand(input); + * const response = await client.send(command); + * // { // GetParametersResult + * // Parameters: [ // ParameterList + * // { // Parameter + * // Name: "STRING_VALUE", + * // Type: "String" || "StringList" || "SecureString", + * // Value: "STRING_VALUE", + * // Version: Number("long"), + * // Selector: "STRING_VALUE", + * // SourceResult: "STRING_VALUE", + * // LastModifiedDate: new Date("TIMESTAMP"), + * // ARN: "STRING_VALUE", + * // DataType: "STRING_VALUE", + * // }, + * // ], + * // InvalidParameters: [ // ParameterNameList + * // "STRING_VALUE", + * // ], + * // }; + * + * ``` + * + * @param GetParametersCommandInput - {@link GetParametersCommandInput} + * @returns {@link GetParametersCommandOutput} + * @see {@link GetParametersCommandInput} for command's `input` shape. + * @see {@link GetParametersCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link InvalidKeyId} (client fault) + *

The query key ID isn't valid.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class GetParametersCommand extends $Command { + readonly input: GetParametersCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: GetParametersCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetPatchBaselineCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetPatchBaselineCommand.d.ts new file mode 100644 index 00000000..6fede806 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetPatchBaselineCommand.d.ts @@ -0,0 +1,141 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { GetPatchBaselineRequest, GetPatchBaselineResult } from "../models/models_1"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link GetPatchBaselineCommand}. + */ +export interface GetPatchBaselineCommandInput extends GetPatchBaselineRequest { +} +/** + * @public + * + * The output of {@link GetPatchBaselineCommand}. + */ +export interface GetPatchBaselineCommandOutput extends GetPatchBaselineResult, __MetadataBearer { +} +/** + * @public + *

Retrieves information about a patch baseline.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, GetPatchBaselineCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, GetPatchBaselineCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // GetPatchBaselineRequest + * BaselineId: "STRING_VALUE", // required + * }; + * const command = new GetPatchBaselineCommand(input); + * const response = await client.send(command); + * // { // GetPatchBaselineResult + * // BaselineId: "STRING_VALUE", + * // Name: "STRING_VALUE", + * // OperatingSystem: "WINDOWS" || "AMAZON_LINUX" || "AMAZON_LINUX_2" || "AMAZON_LINUX_2022" || "UBUNTU" || "REDHAT_ENTERPRISE_LINUX" || "SUSE" || "CENTOS" || "ORACLE_LINUX" || "DEBIAN" || "MACOS" || "RASPBIAN" || "ROCKY_LINUX" || "ALMA_LINUX" || "AMAZON_LINUX_2023", + * // GlobalFilters: { // PatchFilterGroup + * // PatchFilters: [ // PatchFilterList // required + * // { // PatchFilter + * // Key: "ARCH" || "ADVISORY_ID" || "BUGZILLA_ID" || "PATCH_SET" || "PRODUCT" || "PRODUCT_FAMILY" || "CLASSIFICATION" || "CVE_ID" || "EPOCH" || "MSRC_SEVERITY" || "NAME" || "PATCH_ID" || "SECTION" || "PRIORITY" || "REPOSITORY" || "RELEASE" || "SEVERITY" || "SECURITY" || "VERSION", // required + * // Values: [ // PatchFilterValueList // required + * // "STRING_VALUE", + * // ], + * // }, + * // ], + * // }, + * // ApprovalRules: { // PatchRuleGroup + * // PatchRules: [ // PatchRuleList // required + * // { // PatchRule + * // PatchFilterGroup: { + * // PatchFilters: [ // required + * // { + * // Key: "ARCH" || "ADVISORY_ID" || "BUGZILLA_ID" || "PATCH_SET" || "PRODUCT" || "PRODUCT_FAMILY" || "CLASSIFICATION" || "CVE_ID" || "EPOCH" || "MSRC_SEVERITY" || "NAME" || "PATCH_ID" || "SECTION" || "PRIORITY" || "REPOSITORY" || "RELEASE" || "SEVERITY" || "SECURITY" || "VERSION", // required + * // Values: [ // required + * // "STRING_VALUE", + * // ], + * // }, + * // ], + * // }, + * // ComplianceLevel: "CRITICAL" || "HIGH" || "MEDIUM" || "LOW" || "INFORMATIONAL" || "UNSPECIFIED", + * // ApproveAfterDays: Number("int"), + * // ApproveUntilDate: "STRING_VALUE", + * // EnableNonSecurity: true || false, + * // }, + * // ], + * // }, + * // ApprovedPatches: [ // PatchIdList + * // "STRING_VALUE", + * // ], + * // ApprovedPatchesComplianceLevel: "CRITICAL" || "HIGH" || "MEDIUM" || "LOW" || "INFORMATIONAL" || "UNSPECIFIED", + * // ApprovedPatchesEnableNonSecurity: true || false, + * // RejectedPatches: [ + * // "STRING_VALUE", + * // ], + * // RejectedPatchesAction: "ALLOW_AS_DEPENDENCY" || "BLOCK", + * // PatchGroups: [ // PatchGroupList + * // "STRING_VALUE", + * // ], + * // CreatedDate: new Date("TIMESTAMP"), + * // ModifiedDate: new Date("TIMESTAMP"), + * // Description: "STRING_VALUE", + * // Sources: [ // PatchSourceList + * // { // PatchSource + * // Name: "STRING_VALUE", // required + * // Products: [ // PatchSourceProductList // required + * // "STRING_VALUE", + * // ], + * // Configuration: "STRING_VALUE", // required + * // }, + * // ], + * // }; + * + * ``` + * + * @param GetPatchBaselineCommandInput - {@link GetPatchBaselineCommandInput} + * @returns {@link GetPatchBaselineCommandOutput} + * @see {@link GetPatchBaselineCommandInput} for command's `input` shape. + * @see {@link GetPatchBaselineCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link DoesNotExistException} (client fault) + *

Error returned when the ID specified for a resource, such as a maintenance window or patch + * baseline, doesn't exist.

+ *

For information about resource quotas in Amazon Web Services Systems Manager, see Systems Manager service quotas in the + * Amazon Web Services General Reference.

+ * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link InvalidResourceId} (client fault) + *

The resource ID isn't valid. Verify that you entered the correct ID and try again.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class GetPatchBaselineCommand extends $Command { + readonly input: GetPatchBaselineCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: GetPatchBaselineCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetPatchBaselineForPatchGroupCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetPatchBaselineForPatchGroupCommand.d.ts new file mode 100644 index 00000000..34d5c421 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetPatchBaselineForPatchGroupCommand.d.ts @@ -0,0 +1,79 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { GetPatchBaselineForPatchGroupRequest, GetPatchBaselineForPatchGroupResult } from "../models/models_1"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link GetPatchBaselineForPatchGroupCommand}. + */ +export interface GetPatchBaselineForPatchGroupCommandInput extends GetPatchBaselineForPatchGroupRequest { +} +/** + * @public + * + * The output of {@link GetPatchBaselineForPatchGroupCommand}. + */ +export interface GetPatchBaselineForPatchGroupCommandOutput extends GetPatchBaselineForPatchGroupResult, __MetadataBearer { +} +/** + * @public + *

Retrieves the patch baseline that should be used for the specified patch group.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, GetPatchBaselineForPatchGroupCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, GetPatchBaselineForPatchGroupCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // GetPatchBaselineForPatchGroupRequest + * PatchGroup: "STRING_VALUE", // required + * OperatingSystem: "WINDOWS" || "AMAZON_LINUX" || "AMAZON_LINUX_2" || "AMAZON_LINUX_2022" || "UBUNTU" || "REDHAT_ENTERPRISE_LINUX" || "SUSE" || "CENTOS" || "ORACLE_LINUX" || "DEBIAN" || "MACOS" || "RASPBIAN" || "ROCKY_LINUX" || "ALMA_LINUX" || "AMAZON_LINUX_2023", + * }; + * const command = new GetPatchBaselineForPatchGroupCommand(input); + * const response = await client.send(command); + * // { // GetPatchBaselineForPatchGroupResult + * // BaselineId: "STRING_VALUE", + * // PatchGroup: "STRING_VALUE", + * // OperatingSystem: "WINDOWS" || "AMAZON_LINUX" || "AMAZON_LINUX_2" || "AMAZON_LINUX_2022" || "UBUNTU" || "REDHAT_ENTERPRISE_LINUX" || "SUSE" || "CENTOS" || "ORACLE_LINUX" || "DEBIAN" || "MACOS" || "RASPBIAN" || "ROCKY_LINUX" || "ALMA_LINUX" || "AMAZON_LINUX_2023", + * // }; + * + * ``` + * + * @param GetPatchBaselineForPatchGroupCommandInput - {@link GetPatchBaselineForPatchGroupCommandInput} + * @returns {@link GetPatchBaselineForPatchGroupCommandOutput} + * @see {@link GetPatchBaselineForPatchGroupCommandInput} for command's `input` shape. + * @see {@link GetPatchBaselineForPatchGroupCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class GetPatchBaselineForPatchGroupCommand extends $Command { + readonly input: GetPatchBaselineForPatchGroupCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: GetPatchBaselineForPatchGroupCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetResourcePoliciesCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetResourcePoliciesCommand.d.ts new file mode 100644 index 00000000..c4f68386 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetResourcePoliciesCommand.d.ts @@ -0,0 +1,89 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { GetResourcePoliciesRequest, GetResourcePoliciesResponse } from "../models/models_1"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link GetResourcePoliciesCommand}. + */ +export interface GetResourcePoliciesCommandInput extends GetResourcePoliciesRequest { +} +/** + * @public + * + * The output of {@link GetResourcePoliciesCommand}. + */ +export interface GetResourcePoliciesCommandOutput extends GetResourcePoliciesResponse, __MetadataBearer { +} +/** + * @public + *

Returns an array of the Policy object.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, GetResourcePoliciesCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, GetResourcePoliciesCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // GetResourcePoliciesRequest + * ResourceArn: "STRING_VALUE", // required + * NextToken: "STRING_VALUE", + * MaxResults: Number("int"), + * }; + * const command = new GetResourcePoliciesCommand(input); + * const response = await client.send(command); + * // { // GetResourcePoliciesResponse + * // NextToken: "STRING_VALUE", + * // Policies: [ // GetResourcePoliciesResponseEntries + * // { // GetResourcePoliciesResponseEntry + * // PolicyId: "STRING_VALUE", + * // PolicyHash: "STRING_VALUE", + * // Policy: "STRING_VALUE", + * // }, + * // ], + * // }; + * + * ``` + * + * @param GetResourcePoliciesCommandInput - {@link GetResourcePoliciesCommandInput} + * @returns {@link GetResourcePoliciesCommandOutput} + * @see {@link GetResourcePoliciesCommandInput} for command's `input` shape. + * @see {@link GetResourcePoliciesCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link ResourcePolicyInvalidParameterException} (client fault) + *

One or more parameters specified for the call aren't valid. Verify the parameters and their + * values and try again.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class GetResourcePoliciesCommand extends $Command { + readonly input: GetResourcePoliciesCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: GetResourcePoliciesCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetServiceSettingCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetServiceSettingCommand.d.ts new file mode 100644 index 00000000..bf6d718d --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/GetServiceSettingCommand.d.ts @@ -0,0 +1,100 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { GetServiceSettingRequest, GetServiceSettingResult } from "../models/models_1"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link GetServiceSettingCommand}. + */ +export interface GetServiceSettingCommandInput extends GetServiceSettingRequest { +} +/** + * @public + * + * The output of {@link GetServiceSettingCommand}. + */ +export interface GetServiceSettingCommandOutput extends GetServiceSettingResult, __MetadataBearer { +} +/** + * @public + *

+ * ServiceSetting is an account-level setting for an Amazon Web Services service. This setting + * defines how a user interacts with or uses a service or a feature of a service. For example, if an + * Amazon Web Services service charges money to the account based on feature or service usage, then the Amazon Web Services + * service team might create a default setting of false. This means the user can't use + * this feature unless they change the setting to true and intentionally opt in for a + * paid feature.

+ *

Services map a SettingId object to a setting value. Amazon Web Services services teams define + * the default value for a SettingId. You can't create a new SettingId, + * but you can overwrite the default value if you have the ssm:UpdateServiceSetting + * permission for the setting. Use the UpdateServiceSetting API operation to + * change the default setting. Or use the ResetServiceSetting to change the value + * back to the original value defined by the Amazon Web Services service team.

+ *

Query the current service setting for the Amazon Web Services account.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, GetServiceSettingCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, GetServiceSettingCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // GetServiceSettingRequest + * SettingId: "STRING_VALUE", // required + * }; + * const command = new GetServiceSettingCommand(input); + * const response = await client.send(command); + * // { // GetServiceSettingResult + * // ServiceSetting: { // ServiceSetting + * // SettingId: "STRING_VALUE", + * // SettingValue: "STRING_VALUE", + * // LastModifiedDate: new Date("TIMESTAMP"), + * // LastModifiedUser: "STRING_VALUE", + * // ARN: "STRING_VALUE", + * // Status: "STRING_VALUE", + * // }, + * // }; + * + * ``` + * + * @param GetServiceSettingCommandInput - {@link GetServiceSettingCommandInput} + * @returns {@link GetServiceSettingCommandOutput} + * @see {@link GetServiceSettingCommandInput} for command's `input` shape. + * @see {@link GetServiceSettingCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link ServiceSettingNotFound} (client fault) + *

The specified service setting wasn't found. Either the service name or the setting hasn't + * been provisioned by the Amazon Web Services service team.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class GetServiceSettingCommand extends $Command { + readonly input: GetServiceSettingCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: GetServiceSettingCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/LabelParameterVersionCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/LabelParameterVersionCommand.d.ts new file mode 100644 index 00000000..fad93bf4 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/LabelParameterVersionCommand.d.ts @@ -0,0 +1,132 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { LabelParameterVersionRequest, LabelParameterVersionResult } from "../models/models_1"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link LabelParameterVersionCommand}. + */ +export interface LabelParameterVersionCommandInput extends LabelParameterVersionRequest { +} +/** + * @public + * + * The output of {@link LabelParameterVersionCommand}. + */ +export interface LabelParameterVersionCommandOutput extends LabelParameterVersionResult, __MetadataBearer { +} +/** + * @public + *

A parameter label is a user-defined alias to help you manage different versions of a + * parameter. When you modify a parameter, Amazon Web Services Systems Manager automatically saves a new version and + * increments the version number by one. A label can help you remember the purpose of a parameter + * when there are multiple versions.

+ *

Parameter labels have the following requirements and restrictions.

+ *
    + *
  • + *

    A version of a parameter can have a maximum of 10 labels.

    + *
  • + *
  • + *

    You can't attach the same label to different versions of the same parameter. For example, + * if version 1 has the label Production, then you can't attach Production to version 2.

    + *
  • + *
  • + *

    You can move a label from one version of a parameter to another.

    + *
  • + *
  • + *

    You can't create a label when you create a new parameter. You must attach a label to a + * specific version of a parameter.

    + *
  • + *
  • + *

    If you no longer want to use a parameter label, then you can either delete it or move it + * to a different version of a parameter.

    + *
  • + *
  • + *

    A label can have a maximum of 100 characters.

    + *
  • + *
  • + *

    Labels can contain letters (case sensitive), numbers, periods (.), hyphens (-), or + * underscores (_).

    + *
  • + *
  • + *

    Labels can't begin with a number, "aws" or "ssm" (not case + * sensitive). If a label fails to meet these requirements, then the label isn't associated with a + * parameter and the system displays it in the list of InvalidLabels.

    + *
  • + *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, LabelParameterVersionCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, LabelParameterVersionCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // LabelParameterVersionRequest + * Name: "STRING_VALUE", // required + * ParameterVersion: Number("long"), + * Labels: [ // ParameterLabelList // required + * "STRING_VALUE", + * ], + * }; + * const command = new LabelParameterVersionCommand(input); + * const response = await client.send(command); + * // { // LabelParameterVersionResult + * // InvalidLabels: [ // ParameterLabelList + * // "STRING_VALUE", + * // ], + * // ParameterVersion: Number("long"), + * // }; + * + * ``` + * + * @param LabelParameterVersionCommandInput - {@link LabelParameterVersionCommandInput} + * @returns {@link LabelParameterVersionCommandOutput} + * @see {@link LabelParameterVersionCommandInput} for command's `input` shape. + * @see {@link LabelParameterVersionCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link ParameterNotFound} (client fault) + *

The parameter couldn't be found. Verify the name and try again.

+ * + * @throws {@link ParameterVersionLabelLimitExceeded} (client fault) + *

A parameter version can have a maximum of ten labels.

+ * + * @throws {@link ParameterVersionNotFound} (client fault) + *

The specified parameter version wasn't found. Verify the parameter name and version, and try + * again.

+ * + * @throws {@link TooManyUpdates} (client fault) + *

There are concurrent updates for a resource that supports one update at a time.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class LabelParameterVersionCommand extends $Command { + readonly input: LabelParameterVersionCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: LabelParameterVersionCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListAssociationVersionsCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListAssociationVersionsCommand.d.ts new file mode 100644 index 00000000..305cf90e --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListAssociationVersionsCommand.d.ts @@ -0,0 +1,152 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { ListAssociationVersionsRequest, ListAssociationVersionsResult } from "../models/models_1"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link ListAssociationVersionsCommand}. + */ +export interface ListAssociationVersionsCommandInput extends ListAssociationVersionsRequest { +} +/** + * @public + * + * The output of {@link ListAssociationVersionsCommand}. + */ +export interface ListAssociationVersionsCommandOutput extends ListAssociationVersionsResult, __MetadataBearer { +} +/** + * @public + *

Retrieves all versions of an association for a specific association ID.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, ListAssociationVersionsCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, ListAssociationVersionsCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // ListAssociationVersionsRequest + * AssociationId: "STRING_VALUE", // required + * MaxResults: Number("int"), + * NextToken: "STRING_VALUE", + * }; + * const command = new ListAssociationVersionsCommand(input); + * const response = await client.send(command); + * // { // ListAssociationVersionsResult + * // AssociationVersions: [ // AssociationVersionList + * // { // AssociationVersionInfo + * // AssociationId: "STRING_VALUE", + * // AssociationVersion: "STRING_VALUE", + * // CreatedDate: new Date("TIMESTAMP"), + * // Name: "STRING_VALUE", + * // DocumentVersion: "STRING_VALUE", + * // Parameters: { // Parameters + * // "": [ // ParameterValueList + * // "STRING_VALUE", + * // ], + * // }, + * // Targets: [ // Targets + * // { // Target + * // Key: "STRING_VALUE", + * // Values: [ // TargetValues + * // "STRING_VALUE", + * // ], + * // }, + * // ], + * // ScheduleExpression: "STRING_VALUE", + * // OutputLocation: { // InstanceAssociationOutputLocation + * // S3Location: { // S3OutputLocation + * // OutputS3Region: "STRING_VALUE", + * // OutputS3BucketName: "STRING_VALUE", + * // OutputS3KeyPrefix: "STRING_VALUE", + * // }, + * // }, + * // AssociationName: "STRING_VALUE", + * // MaxErrors: "STRING_VALUE", + * // MaxConcurrency: "STRING_VALUE", + * // ComplianceSeverity: "CRITICAL" || "HIGH" || "MEDIUM" || "LOW" || "UNSPECIFIED", + * // SyncCompliance: "AUTO" || "MANUAL", + * // ApplyOnlyAtCronInterval: true || false, + * // CalendarNames: [ // CalendarNameOrARNList + * // "STRING_VALUE", + * // ], + * // TargetLocations: [ // TargetLocations + * // { // TargetLocation + * // Accounts: [ // Accounts + * // "STRING_VALUE", + * // ], + * // Regions: [ // Regions + * // "STRING_VALUE", + * // ], + * // TargetLocationMaxConcurrency: "STRING_VALUE", + * // TargetLocationMaxErrors: "STRING_VALUE", + * // ExecutionRoleName: "STRING_VALUE", + * // TargetLocationAlarmConfiguration: { // AlarmConfiguration + * // IgnorePollAlarmFailure: true || false, + * // Alarms: [ // AlarmList // required + * // { // Alarm + * // Name: "STRING_VALUE", // required + * // }, + * // ], + * // }, + * // }, + * // ], + * // ScheduleOffset: Number("int"), + * // TargetMaps: [ // TargetMaps + * // { // TargetMap + * // "": [ // TargetMapValueList + * // "STRING_VALUE", + * // ], + * // }, + * // ], + * // }, + * // ], + * // NextToken: "STRING_VALUE", + * // }; + * + * ``` + * + * @param ListAssociationVersionsCommandInput - {@link ListAssociationVersionsCommandInput} + * @returns {@link ListAssociationVersionsCommandOutput} + * @see {@link ListAssociationVersionsCommandInput} for command's `input` shape. + * @see {@link ListAssociationVersionsCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link AssociationDoesNotExist} (client fault) + *

The specified association doesn't exist.

+ * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link InvalidNextToken} (client fault) + *

The specified token isn't valid.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class ListAssociationVersionsCommand extends $Command { + readonly input: ListAssociationVersionsCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: ListAssociationVersionsCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListAssociationsCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListAssociationsCommand.d.ts new file mode 100644 index 00000000..a56b77d4 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListAssociationsCommand.d.ts @@ -0,0 +1,123 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { ListAssociationsRequest, ListAssociationsResult } from "../models/models_1"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link ListAssociationsCommand}. + */ +export interface ListAssociationsCommandInput extends ListAssociationsRequest { +} +/** + * @public + * + * The output of {@link ListAssociationsCommand}. + */ +export interface ListAssociationsCommandOutput extends ListAssociationsResult, __MetadataBearer { +} +/** + * @public + *

Returns all State Manager associations in the current Amazon Web Services account and Amazon Web Services Region. You + * can limit the results to a specific State Manager association document or managed node by + * specifying a filter. State Manager is a capability of Amazon Web Services Systems Manager.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, ListAssociationsCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, ListAssociationsCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // ListAssociationsRequest + * AssociationFilterList: [ // AssociationFilterList + * { // AssociationFilter + * key: "InstanceId" || "Name" || "AssociationId" || "AssociationStatusName" || "LastExecutedBefore" || "LastExecutedAfter" || "AssociationName" || "ResourceGroupName", // required + * value: "STRING_VALUE", // required + * }, + * ], + * MaxResults: Number("int"), + * NextToken: "STRING_VALUE", + * }; + * const command = new ListAssociationsCommand(input); + * const response = await client.send(command); + * // { // ListAssociationsResult + * // Associations: [ // AssociationList + * // { // Association + * // Name: "STRING_VALUE", + * // InstanceId: "STRING_VALUE", + * // AssociationId: "STRING_VALUE", + * // AssociationVersion: "STRING_VALUE", + * // DocumentVersion: "STRING_VALUE", + * // Targets: [ // Targets + * // { // Target + * // Key: "STRING_VALUE", + * // Values: [ // TargetValues + * // "STRING_VALUE", + * // ], + * // }, + * // ], + * // LastExecutionDate: new Date("TIMESTAMP"), + * // Overview: { // AssociationOverview + * // Status: "STRING_VALUE", + * // DetailedStatus: "STRING_VALUE", + * // AssociationStatusAggregatedCount: { // AssociationStatusAggregatedCount + * // "": Number("int"), + * // }, + * // }, + * // ScheduleExpression: "STRING_VALUE", + * // AssociationName: "STRING_VALUE", + * // ScheduleOffset: Number("int"), + * // TargetMaps: [ // TargetMaps + * // { // TargetMap + * // "": [ // TargetMapValueList + * // "STRING_VALUE", + * // ], + * // }, + * // ], + * // }, + * // ], + * // NextToken: "STRING_VALUE", + * // }; + * + * ``` + * + * @param ListAssociationsCommandInput - {@link ListAssociationsCommandInput} + * @returns {@link ListAssociationsCommandOutput} + * @see {@link ListAssociationsCommandInput} for command's `input` shape. + * @see {@link ListAssociationsCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link InvalidNextToken} (client fault) + *

The specified token isn't valid.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class ListAssociationsCommand extends $Command { + readonly input: ListAssociationsCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: ListAssociationsCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListCommandInvocationsCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListCommandInvocationsCommand.d.ts new file mode 100644 index 00000000..68486af5 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListCommandInvocationsCommand.d.ts @@ -0,0 +1,163 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { ListCommandInvocationsRequest, ListCommandInvocationsResult } from "../models/models_1"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link ListCommandInvocationsCommand}. + */ +export interface ListCommandInvocationsCommandInput extends ListCommandInvocationsRequest { +} +/** + * @public + * + * The output of {@link ListCommandInvocationsCommand}. + */ +export interface ListCommandInvocationsCommandOutput extends ListCommandInvocationsResult, __MetadataBearer { +} +/** + * @public + *

An invocation is copy of a command sent to a specific managed node. A command can apply to + * one or more managed nodes. A command invocation applies to one managed node. For example, if a + * user runs SendCommand against three managed nodes, then a command invocation is + * created for each requested managed node ID. ListCommandInvocations provide status + * about command execution.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, ListCommandInvocationsCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, ListCommandInvocationsCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // ListCommandInvocationsRequest + * CommandId: "STRING_VALUE", + * InstanceId: "STRING_VALUE", + * MaxResults: Number("int"), + * NextToken: "STRING_VALUE", + * Filters: [ // CommandFilterList + * { // CommandFilter + * key: "InvokedAfter" || "InvokedBefore" || "Status" || "ExecutionStage" || "DocumentName", // required + * value: "STRING_VALUE", // required + * }, + * ], + * Details: true || false, + * }; + * const command = new ListCommandInvocationsCommand(input); + * const response = await client.send(command); + * // { // ListCommandInvocationsResult + * // CommandInvocations: [ // CommandInvocationList + * // { // CommandInvocation + * // CommandId: "STRING_VALUE", + * // InstanceId: "STRING_VALUE", + * // InstanceName: "STRING_VALUE", + * // Comment: "STRING_VALUE", + * // DocumentName: "STRING_VALUE", + * // DocumentVersion: "STRING_VALUE", + * // RequestedDateTime: new Date("TIMESTAMP"), + * // Status: "Pending" || "InProgress" || "Delayed" || "Success" || "Cancelled" || "TimedOut" || "Failed" || "Cancelling", + * // StatusDetails: "STRING_VALUE", + * // TraceOutput: "STRING_VALUE", + * // StandardOutputUrl: "STRING_VALUE", + * // StandardErrorUrl: "STRING_VALUE", + * // CommandPlugins: [ // CommandPluginList + * // { // CommandPlugin + * // Name: "STRING_VALUE", + * // Status: "Pending" || "InProgress" || "Success" || "TimedOut" || "Cancelled" || "Failed", + * // StatusDetails: "STRING_VALUE", + * // ResponseCode: Number("int"), + * // ResponseStartDateTime: new Date("TIMESTAMP"), + * // ResponseFinishDateTime: new Date("TIMESTAMP"), + * // Output: "STRING_VALUE", + * // StandardOutputUrl: "STRING_VALUE", + * // StandardErrorUrl: "STRING_VALUE", + * // OutputS3Region: "STRING_VALUE", + * // OutputS3BucketName: "STRING_VALUE", + * // OutputS3KeyPrefix: "STRING_VALUE", + * // }, + * // ], + * // ServiceRole: "STRING_VALUE", + * // NotificationConfig: { // NotificationConfig + * // NotificationArn: "STRING_VALUE", + * // NotificationEvents: [ // NotificationEventList + * // "All" || "InProgress" || "Success" || "TimedOut" || "Cancelled" || "Failed", + * // ], + * // NotificationType: "Command" || "Invocation", + * // }, + * // CloudWatchOutputConfig: { // CloudWatchOutputConfig + * // CloudWatchLogGroupName: "STRING_VALUE", + * // CloudWatchOutputEnabled: true || false, + * // }, + * // }, + * // ], + * // NextToken: "STRING_VALUE", + * // }; + * + * ``` + * + * @param ListCommandInvocationsCommandInput - {@link ListCommandInvocationsCommandInput} + * @returns {@link ListCommandInvocationsCommandOutput} + * @see {@link ListCommandInvocationsCommandInput} for command's `input` shape. + * @see {@link ListCommandInvocationsCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link InvalidCommandId} (client fault) + *

The specified command ID isn't valid. Verify the ID and try again.

+ * + * @throws {@link InvalidFilterKey} (client fault) + *

The specified key isn't valid.

+ * + * @throws {@link InvalidInstanceId} (client fault) + *

The following problems can cause this exception:

+ *
    + *
  • + *

    You don't have permission to access the managed node.

    + *
  • + *
  • + *

    Amazon Web Services Systems Manager Agent(SSM Agent) isn't running. Verify that SSM Agent is + * running.

    + *
  • + *
  • + *

    SSM Agent isn't registered with the SSM endpoint. Try reinstalling SSM Agent.

    + *
  • + *
  • + *

    The managed node isn't in valid state. Valid states are: Running, + * Pending, Stopped, and Stopping. Invalid states are: + * Shutting-down and Terminated.

    + *
  • + *
+ * + * @throws {@link InvalidNextToken} (client fault) + *

The specified token isn't valid.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class ListCommandInvocationsCommand extends $Command { + readonly input: ListCommandInvocationsCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: ListCommandInvocationsCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListCommandsCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListCommandsCommand.d.ts new file mode 100644 index 00000000..ffb2f4bb --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListCommandsCommand.d.ts @@ -0,0 +1,178 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { ListCommandsRequest, ListCommandsResult } from "../models/models_1"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link ListCommandsCommand}. + */ +export interface ListCommandsCommandInput extends ListCommandsRequest { +} +/** + * @public + * + * The output of {@link ListCommandsCommand}. + */ +export interface ListCommandsCommandOutput extends ListCommandsResult, __MetadataBearer { +} +/** + * @public + *

Lists the commands requested by users of the Amazon Web Services account.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, ListCommandsCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, ListCommandsCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // ListCommandsRequest + * CommandId: "STRING_VALUE", + * InstanceId: "STRING_VALUE", + * MaxResults: Number("int"), + * NextToken: "STRING_VALUE", + * Filters: [ // CommandFilterList + * { // CommandFilter + * key: "InvokedAfter" || "InvokedBefore" || "Status" || "ExecutionStage" || "DocumentName", // required + * value: "STRING_VALUE", // required + * }, + * ], + * }; + * const command = new ListCommandsCommand(input); + * const response = await client.send(command); + * // { // ListCommandsResult + * // Commands: [ // CommandList + * // { // Command + * // CommandId: "STRING_VALUE", + * // DocumentName: "STRING_VALUE", + * // DocumentVersion: "STRING_VALUE", + * // Comment: "STRING_VALUE", + * // ExpiresAfter: new Date("TIMESTAMP"), + * // Parameters: { // Parameters + * // "": [ // ParameterValueList + * // "STRING_VALUE", + * // ], + * // }, + * // InstanceIds: [ // InstanceIdList + * // "STRING_VALUE", + * // ], + * // Targets: [ // Targets + * // { // Target + * // Key: "STRING_VALUE", + * // Values: [ // TargetValues + * // "STRING_VALUE", + * // ], + * // }, + * // ], + * // RequestedDateTime: new Date("TIMESTAMP"), + * // Status: "Pending" || "InProgress" || "Success" || "Cancelled" || "Failed" || "TimedOut" || "Cancelling", + * // StatusDetails: "STRING_VALUE", + * // OutputS3Region: "STRING_VALUE", + * // OutputS3BucketName: "STRING_VALUE", + * // OutputS3KeyPrefix: "STRING_VALUE", + * // MaxConcurrency: "STRING_VALUE", + * // MaxErrors: "STRING_VALUE", + * // TargetCount: Number("int"), + * // CompletedCount: Number("int"), + * // ErrorCount: Number("int"), + * // DeliveryTimedOutCount: Number("int"), + * // ServiceRole: "STRING_VALUE", + * // NotificationConfig: { // NotificationConfig + * // NotificationArn: "STRING_VALUE", + * // NotificationEvents: [ // NotificationEventList + * // "All" || "InProgress" || "Success" || "TimedOut" || "Cancelled" || "Failed", + * // ], + * // NotificationType: "Command" || "Invocation", + * // }, + * // CloudWatchOutputConfig: { // CloudWatchOutputConfig + * // CloudWatchLogGroupName: "STRING_VALUE", + * // CloudWatchOutputEnabled: true || false, + * // }, + * // TimeoutSeconds: Number("int"), + * // AlarmConfiguration: { // AlarmConfiguration + * // IgnorePollAlarmFailure: true || false, + * // Alarms: [ // AlarmList // required + * // { // Alarm + * // Name: "STRING_VALUE", // required + * // }, + * // ], + * // }, + * // TriggeredAlarms: [ // AlarmStateInformationList + * // { // AlarmStateInformation + * // Name: "STRING_VALUE", // required + * // State: "UNKNOWN" || "ALARM", // required + * // }, + * // ], + * // }, + * // ], + * // NextToken: "STRING_VALUE", + * // }; + * + * ``` + * + * @param ListCommandsCommandInput - {@link ListCommandsCommandInput} + * @returns {@link ListCommandsCommandOutput} + * @see {@link ListCommandsCommandInput} for command's `input` shape. + * @see {@link ListCommandsCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link InvalidCommandId} (client fault) + *

The specified command ID isn't valid. Verify the ID and try again.

+ * + * @throws {@link InvalidFilterKey} (client fault) + *

The specified key isn't valid.

+ * + * @throws {@link InvalidInstanceId} (client fault) + *

The following problems can cause this exception:

+ *
    + *
  • + *

    You don't have permission to access the managed node.

    + *
  • + *
  • + *

    Amazon Web Services Systems Manager Agent(SSM Agent) isn't running. Verify that SSM Agent is + * running.

    + *
  • + *
  • + *

    SSM Agent isn't registered with the SSM endpoint. Try reinstalling SSM Agent.

    + *
  • + *
  • + *

    The managed node isn't in valid state. Valid states are: Running, + * Pending, Stopped, and Stopping. Invalid states are: + * Shutting-down and Terminated.

    + *
  • + *
+ * + * @throws {@link InvalidNextToken} (client fault) + *

The specified token isn't valid.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class ListCommandsCommand extends $Command { + readonly input: ListCommandsCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: ListCommandsCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListComplianceItemsCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListComplianceItemsCommand.d.ts new file mode 100644 index 00000000..e7a0c1fe --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListComplianceItemsCommand.d.ts @@ -0,0 +1,126 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { ListComplianceItemsRequest, ListComplianceItemsResult } from "../models/models_1"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link ListComplianceItemsCommand}. + */ +export interface ListComplianceItemsCommandInput extends ListComplianceItemsRequest { +} +/** + * @public + * + * The output of {@link ListComplianceItemsCommand}. + */ +export interface ListComplianceItemsCommandOutput extends ListComplianceItemsResult, __MetadataBearer { +} +/** + * @public + *

For a specified resource ID, this API operation returns a list of compliance statuses for + * different resource types. Currently, you can only specify one resource ID per call. List results + * depend on the criteria specified in the filter.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, ListComplianceItemsCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, ListComplianceItemsCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // ListComplianceItemsRequest + * Filters: [ // ComplianceStringFilterList + * { // ComplianceStringFilter + * Key: "STRING_VALUE", + * Values: [ // ComplianceStringFilterValueList + * "STRING_VALUE", + * ], + * Type: "EQUAL" || "NOT_EQUAL" || "BEGIN_WITH" || "LESS_THAN" || "GREATER_THAN", + * }, + * ], + * ResourceIds: [ // ComplianceResourceIdList + * "STRING_VALUE", + * ], + * ResourceTypes: [ // ComplianceResourceTypeList + * "STRING_VALUE", + * ], + * NextToken: "STRING_VALUE", + * MaxResults: Number("int"), + * }; + * const command = new ListComplianceItemsCommand(input); + * const response = await client.send(command); + * // { // ListComplianceItemsResult + * // ComplianceItems: [ // ComplianceItemList + * // { // ComplianceItem + * // ComplianceType: "STRING_VALUE", + * // ResourceType: "STRING_VALUE", + * // ResourceId: "STRING_VALUE", + * // Id: "STRING_VALUE", + * // Title: "STRING_VALUE", + * // Status: "COMPLIANT" || "NON_COMPLIANT", + * // Severity: "CRITICAL" || "HIGH" || "MEDIUM" || "LOW" || "INFORMATIONAL" || "UNSPECIFIED", + * // ExecutionSummary: { // ComplianceExecutionSummary + * // ExecutionTime: new Date("TIMESTAMP"), // required + * // ExecutionId: "STRING_VALUE", + * // ExecutionType: "STRING_VALUE", + * // }, + * // Details: { // ComplianceItemDetails + * // "": "STRING_VALUE", + * // }, + * // }, + * // ], + * // NextToken: "STRING_VALUE", + * // }; + * + * ``` + * + * @param ListComplianceItemsCommandInput - {@link ListComplianceItemsCommandInput} + * @returns {@link ListComplianceItemsCommandOutput} + * @see {@link ListComplianceItemsCommandInput} for command's `input` shape. + * @see {@link ListComplianceItemsCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link InvalidFilter} (client fault) + *

The filter name isn't valid. Verify the you entered the correct name and try again.

+ * + * @throws {@link InvalidNextToken} (client fault) + *

The specified token isn't valid.

+ * + * @throws {@link InvalidResourceId} (client fault) + *

The resource ID isn't valid. Verify that you entered the correct ID and try again.

+ * + * @throws {@link InvalidResourceType} (client fault) + *

The resource type isn't valid. For example, if you are attempting to tag an EC2 instance, + * the instance must be a registered managed node.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class ListComplianceItemsCommand extends $Command { + readonly input: ListComplianceItemsCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: ListComplianceItemsCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListComplianceSummariesCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListComplianceSummariesCommand.d.ts new file mode 100644 index 00000000..a77fe24b --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListComplianceSummariesCommand.d.ts @@ -0,0 +1,121 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { ListComplianceSummariesRequest, ListComplianceSummariesResult } from "../models/models_1"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link ListComplianceSummariesCommand}. + */ +export interface ListComplianceSummariesCommandInput extends ListComplianceSummariesRequest { +} +/** + * @public + * + * The output of {@link ListComplianceSummariesCommand}. + */ +export interface ListComplianceSummariesCommandOutput extends ListComplianceSummariesResult, __MetadataBearer { +} +/** + * @public + *

Returns a summary count of compliant and non-compliant resources for a compliance type. For + * example, this call can return State Manager associations, patches, or custom compliance types + * according to the filter criteria that you specify.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, ListComplianceSummariesCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, ListComplianceSummariesCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // ListComplianceSummariesRequest + * Filters: [ // ComplianceStringFilterList + * { // ComplianceStringFilter + * Key: "STRING_VALUE", + * Values: [ // ComplianceStringFilterValueList + * "STRING_VALUE", + * ], + * Type: "EQUAL" || "NOT_EQUAL" || "BEGIN_WITH" || "LESS_THAN" || "GREATER_THAN", + * }, + * ], + * NextToken: "STRING_VALUE", + * MaxResults: Number("int"), + * }; + * const command = new ListComplianceSummariesCommand(input); + * const response = await client.send(command); + * // { // ListComplianceSummariesResult + * // ComplianceSummaryItems: [ // ComplianceSummaryItemList + * // { // ComplianceSummaryItem + * // ComplianceType: "STRING_VALUE", + * // CompliantSummary: { // CompliantSummary + * // CompliantCount: Number("int"), + * // SeveritySummary: { // SeveritySummary + * // CriticalCount: Number("int"), + * // HighCount: Number("int"), + * // MediumCount: Number("int"), + * // LowCount: Number("int"), + * // InformationalCount: Number("int"), + * // UnspecifiedCount: Number("int"), + * // }, + * // }, + * // NonCompliantSummary: { // NonCompliantSummary + * // NonCompliantCount: Number("int"), + * // SeveritySummary: { + * // CriticalCount: Number("int"), + * // HighCount: Number("int"), + * // MediumCount: Number("int"), + * // LowCount: Number("int"), + * // InformationalCount: Number("int"), + * // UnspecifiedCount: Number("int"), + * // }, + * // }, + * // }, + * // ], + * // NextToken: "STRING_VALUE", + * // }; + * + * ``` + * + * @param ListComplianceSummariesCommandInput - {@link ListComplianceSummariesCommandInput} + * @returns {@link ListComplianceSummariesCommandOutput} + * @see {@link ListComplianceSummariesCommandInput} for command's `input` shape. + * @see {@link ListComplianceSummariesCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link InvalidFilter} (client fault) + *

The filter name isn't valid. Verify the you entered the correct name and try again.

+ * + * @throws {@link InvalidNextToken} (client fault) + *

The specified token isn't valid.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class ListComplianceSummariesCommand extends $Command { + readonly input: ListComplianceSummariesCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: ListComplianceSummariesCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListDocumentMetadataHistoryCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListDocumentMetadataHistoryCommand.d.ts new file mode 100644 index 00000000..643d7940 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListDocumentMetadataHistoryCommand.d.ts @@ -0,0 +1,108 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { ListDocumentMetadataHistoryRequest, ListDocumentMetadataHistoryResponse } from "../models/models_1"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link ListDocumentMetadataHistoryCommand}. + */ +export interface ListDocumentMetadataHistoryCommandInput extends ListDocumentMetadataHistoryRequest { +} +/** + * @public + * + * The output of {@link ListDocumentMetadataHistoryCommand}. + */ +export interface ListDocumentMetadataHistoryCommandOutput extends ListDocumentMetadataHistoryResponse, __MetadataBearer { +} +/** + * @public + *

Information about approval reviews for a version of a change template in Change Manager.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, ListDocumentMetadataHistoryCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, ListDocumentMetadataHistoryCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // ListDocumentMetadataHistoryRequest + * Name: "STRING_VALUE", // required + * DocumentVersion: "STRING_VALUE", + * Metadata: "DocumentReviews", // required + * NextToken: "STRING_VALUE", + * MaxResults: Number("int"), + * }; + * const command = new ListDocumentMetadataHistoryCommand(input); + * const response = await client.send(command); + * // { // ListDocumentMetadataHistoryResponse + * // Name: "STRING_VALUE", + * // DocumentVersion: "STRING_VALUE", + * // Author: "STRING_VALUE", + * // Metadata: { // DocumentMetadataResponseInfo + * // ReviewerResponse: [ // DocumentReviewerResponseList + * // { // DocumentReviewerResponseSource + * // CreateTime: new Date("TIMESTAMP"), + * // UpdatedTime: new Date("TIMESTAMP"), + * // ReviewStatus: "APPROVED" || "NOT_REVIEWED" || "PENDING" || "REJECTED", + * // Comment: [ // DocumentReviewCommentList + * // { // DocumentReviewCommentSource + * // Type: "Comment", + * // Content: "STRING_VALUE", + * // }, + * // ], + * // Reviewer: "STRING_VALUE", + * // }, + * // ], + * // }, + * // NextToken: "STRING_VALUE", + * // }; + * + * ``` + * + * @param ListDocumentMetadataHistoryCommandInput - {@link ListDocumentMetadataHistoryCommandInput} + * @returns {@link ListDocumentMetadataHistoryCommandOutput} + * @see {@link ListDocumentMetadataHistoryCommandInput} for command's `input` shape. + * @see {@link ListDocumentMetadataHistoryCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link InvalidDocument} (client fault) + *

The specified SSM document doesn't exist.

+ * + * @throws {@link InvalidDocumentVersion} (client fault) + *

The document version isn't valid or doesn't exist.

+ * + * @throws {@link InvalidNextToken} (client fault) + *

The specified token isn't valid.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class ListDocumentMetadataHistoryCommand extends $Command { + readonly input: ListDocumentMetadataHistoryCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: ListDocumentMetadataHistoryCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListDocumentVersionsCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListDocumentVersionsCommand.d.ts new file mode 100644 index 00000000..b247763a --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListDocumentVersionsCommand.d.ts @@ -0,0 +1,98 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { ListDocumentVersionsRequest, ListDocumentVersionsResult } from "../models/models_1"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link ListDocumentVersionsCommand}. + */ +export interface ListDocumentVersionsCommandInput extends ListDocumentVersionsRequest { +} +/** + * @public + * + * The output of {@link ListDocumentVersionsCommand}. + */ +export interface ListDocumentVersionsCommandOutput extends ListDocumentVersionsResult, __MetadataBearer { +} +/** + * @public + *

List all versions for a document.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, ListDocumentVersionsCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, ListDocumentVersionsCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // ListDocumentVersionsRequest + * Name: "STRING_VALUE", // required + * MaxResults: Number("int"), + * NextToken: "STRING_VALUE", + * }; + * const command = new ListDocumentVersionsCommand(input); + * const response = await client.send(command); + * // { // ListDocumentVersionsResult + * // DocumentVersions: [ // DocumentVersionList + * // { // DocumentVersionInfo + * // Name: "STRING_VALUE", + * // DisplayName: "STRING_VALUE", + * // DocumentVersion: "STRING_VALUE", + * // VersionName: "STRING_VALUE", + * // CreatedDate: new Date("TIMESTAMP"), + * // IsDefaultVersion: true || false, + * // DocumentFormat: "YAML" || "JSON" || "TEXT", + * // Status: "Creating" || "Active" || "Updating" || "Deleting" || "Failed", + * // StatusInformation: "STRING_VALUE", + * // ReviewStatus: "APPROVED" || "NOT_REVIEWED" || "PENDING" || "REJECTED", + * // }, + * // ], + * // NextToken: "STRING_VALUE", + * // }; + * + * ``` + * + * @param ListDocumentVersionsCommandInput - {@link ListDocumentVersionsCommandInput} + * @returns {@link ListDocumentVersionsCommandOutput} + * @see {@link ListDocumentVersionsCommandInput} for command's `input` shape. + * @see {@link ListDocumentVersionsCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link InvalidDocument} (client fault) + *

The specified SSM document doesn't exist.

+ * + * @throws {@link InvalidNextToken} (client fault) + *

The specified token isn't valid.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class ListDocumentVersionsCommand extends $Command { + readonly input: ListDocumentVersionsCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: ListDocumentVersionsCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListDocumentsCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListDocumentsCommand.d.ts new file mode 100644 index 00000000..86c22a6d --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListDocumentsCommand.d.ts @@ -0,0 +1,131 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { ListDocumentsRequest, ListDocumentsResult } from "../models/models_1"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link ListDocumentsCommand}. + */ +export interface ListDocumentsCommandInput extends ListDocumentsRequest { +} +/** + * @public + * + * The output of {@link ListDocumentsCommand}. + */ +export interface ListDocumentsCommandOutput extends ListDocumentsResult, __MetadataBearer { +} +/** + * @public + *

Returns all Systems Manager (SSM) documents in the current Amazon Web Services account and Amazon Web Services Region. You can + * limit the results of this request by using a filter.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, ListDocumentsCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, ListDocumentsCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // ListDocumentsRequest + * DocumentFilterList: [ // DocumentFilterList + * { // DocumentFilter + * key: "Name" || "Owner" || "PlatformTypes" || "DocumentType", // required + * value: "STRING_VALUE", // required + * }, + * ], + * Filters: [ // DocumentKeyValuesFilterList + * { // DocumentKeyValuesFilter + * Key: "STRING_VALUE", + * Values: [ // DocumentKeyValuesFilterValues + * "STRING_VALUE", + * ], + * }, + * ], + * MaxResults: Number("int"), + * NextToken: "STRING_VALUE", + * }; + * const command = new ListDocumentsCommand(input); + * const response = await client.send(command); + * // { // ListDocumentsResult + * // DocumentIdentifiers: [ // DocumentIdentifierList + * // { // DocumentIdentifier + * // Name: "STRING_VALUE", + * // CreatedDate: new Date("TIMESTAMP"), + * // DisplayName: "STRING_VALUE", + * // Owner: "STRING_VALUE", + * // VersionName: "STRING_VALUE", + * // PlatformTypes: [ // PlatformTypeList + * // "Windows" || "Linux" || "MacOS", + * // ], + * // DocumentVersion: "STRING_VALUE", + * // DocumentType: "Command" || "Policy" || "Automation" || "Session" || "Package" || "ApplicationConfiguration" || "ApplicationConfigurationSchema" || "DeploymentStrategy" || "ChangeCalendar" || "Automation.ChangeTemplate" || "ProblemAnalysis" || "ProblemAnalysisTemplate" || "CloudFormation" || "ConformancePackTemplate" || "QuickSetup", + * // SchemaVersion: "STRING_VALUE", + * // DocumentFormat: "YAML" || "JSON" || "TEXT", + * // TargetType: "STRING_VALUE", + * // Tags: [ // TagList + * // { // Tag + * // Key: "STRING_VALUE", // required + * // Value: "STRING_VALUE", // required + * // }, + * // ], + * // Requires: [ // DocumentRequiresList + * // { // DocumentRequires + * // Name: "STRING_VALUE", // required + * // Version: "STRING_VALUE", + * // RequireType: "STRING_VALUE", + * // VersionName: "STRING_VALUE", + * // }, + * // ], + * // ReviewStatus: "APPROVED" || "NOT_REVIEWED" || "PENDING" || "REJECTED", + * // Author: "STRING_VALUE", + * // }, + * // ], + * // NextToken: "STRING_VALUE", + * // }; + * + * ``` + * + * @param ListDocumentsCommandInput - {@link ListDocumentsCommandInput} + * @returns {@link ListDocumentsCommandOutput} + * @see {@link ListDocumentsCommandInput} for command's `input` shape. + * @see {@link ListDocumentsCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link InvalidFilterKey} (client fault) + *

The specified key isn't valid.

+ * + * @throws {@link InvalidNextToken} (client fault) + *

The specified token isn't valid.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class ListDocumentsCommand extends $Command { + readonly input: ListDocumentsCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: ListDocumentsCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListInventoryEntriesCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListInventoryEntriesCommand.d.ts new file mode 100644 index 00000000..c64c34e9 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListInventoryEntriesCommand.d.ts @@ -0,0 +1,126 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { ListInventoryEntriesRequest, ListInventoryEntriesResult } from "../models/models_1"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link ListInventoryEntriesCommand}. + */ +export interface ListInventoryEntriesCommandInput extends ListInventoryEntriesRequest { +} +/** + * @public + * + * The output of {@link ListInventoryEntriesCommand}. + */ +export interface ListInventoryEntriesCommandOutput extends ListInventoryEntriesResult, __MetadataBearer { +} +/** + * @public + *

A list of inventory items returned by the request.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, ListInventoryEntriesCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, ListInventoryEntriesCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // ListInventoryEntriesRequest + * InstanceId: "STRING_VALUE", // required + * TypeName: "STRING_VALUE", // required + * Filters: [ // InventoryFilterList + * { // InventoryFilter + * Key: "STRING_VALUE", // required + * Values: [ // InventoryFilterValueList // required + * "STRING_VALUE", + * ], + * Type: "Equal" || "NotEqual" || "BeginWith" || "LessThan" || "GreaterThan" || "Exists", + * }, + * ], + * NextToken: "STRING_VALUE", + * MaxResults: Number("int"), + * }; + * const command = new ListInventoryEntriesCommand(input); + * const response = await client.send(command); + * // { // ListInventoryEntriesResult + * // TypeName: "STRING_VALUE", + * // InstanceId: "STRING_VALUE", + * // SchemaVersion: "STRING_VALUE", + * // CaptureTime: "STRING_VALUE", + * // Entries: [ // InventoryItemEntryList + * // { // InventoryItemEntry + * // "": "STRING_VALUE", + * // }, + * // ], + * // NextToken: "STRING_VALUE", + * // }; + * + * ``` + * + * @param ListInventoryEntriesCommandInput - {@link ListInventoryEntriesCommandInput} + * @returns {@link ListInventoryEntriesCommandOutput} + * @see {@link ListInventoryEntriesCommandInput} for command's `input` shape. + * @see {@link ListInventoryEntriesCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link InvalidFilter} (client fault) + *

The filter name isn't valid. Verify the you entered the correct name and try again.

+ * + * @throws {@link InvalidInstanceId} (client fault) + *

The following problems can cause this exception:

+ *
    + *
  • + *

    You don't have permission to access the managed node.

    + *
  • + *
  • + *

    Amazon Web Services Systems Manager Agent(SSM Agent) isn't running. Verify that SSM Agent is + * running.

    + *
  • + *
  • + *

    SSM Agent isn't registered with the SSM endpoint. Try reinstalling SSM Agent.

    + *
  • + *
  • + *

    The managed node isn't in valid state. Valid states are: Running, + * Pending, Stopped, and Stopping. Invalid states are: + * Shutting-down and Terminated.

    + *
  • + *
+ * + * @throws {@link InvalidNextToken} (client fault) + *

The specified token isn't valid.

+ * + * @throws {@link InvalidTypeNameException} (client fault) + *

The parameter type name isn't valid.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class ListInventoryEntriesCommand extends $Command { + readonly input: ListInventoryEntriesCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: ListInventoryEntriesCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListOpsItemEventsCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListOpsItemEventsCommand.d.ts new file mode 100644 index 00000000..b3b71529 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListOpsItemEventsCommand.d.ts @@ -0,0 +1,110 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { ListOpsItemEventsRequest, ListOpsItemEventsResponse } from "../models/models_1"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link ListOpsItemEventsCommand}. + */ +export interface ListOpsItemEventsCommandInput extends ListOpsItemEventsRequest { +} +/** + * @public + * + * The output of {@link ListOpsItemEventsCommand}. + */ +export interface ListOpsItemEventsCommandOutput extends ListOpsItemEventsResponse, __MetadataBearer { +} +/** + * @public + *

Returns a list of all OpsItem events in the current Amazon Web Services Region and Amazon Web Services account. You can + * limit the results to events associated with specific OpsItems by specifying a filter.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, ListOpsItemEventsCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, ListOpsItemEventsCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // ListOpsItemEventsRequest + * Filters: [ // OpsItemEventFilters + * { // OpsItemEventFilter + * Key: "OpsItemId", // required + * Values: [ // OpsItemEventFilterValues // required + * "STRING_VALUE", + * ], + * Operator: "Equal", // required + * }, + * ], + * MaxResults: Number("int"), + * NextToken: "STRING_VALUE", + * }; + * const command = new ListOpsItemEventsCommand(input); + * const response = await client.send(command); + * // { // ListOpsItemEventsResponse + * // NextToken: "STRING_VALUE", + * // Summaries: [ // OpsItemEventSummaries + * // { // OpsItemEventSummary + * // OpsItemId: "STRING_VALUE", + * // EventId: "STRING_VALUE", + * // Source: "STRING_VALUE", + * // DetailType: "STRING_VALUE", + * // Detail: "STRING_VALUE", + * // CreatedBy: { // OpsItemIdentity + * // Arn: "STRING_VALUE", + * // }, + * // CreatedTime: new Date("TIMESTAMP"), + * // }, + * // ], + * // }; + * + * ``` + * + * @param ListOpsItemEventsCommandInput - {@link ListOpsItemEventsCommandInput} + * @returns {@link ListOpsItemEventsCommandOutput} + * @see {@link ListOpsItemEventsCommandInput} for command's `input` shape. + * @see {@link ListOpsItemEventsCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link OpsItemInvalidParameterException} (client fault) + *

A specified parameter argument isn't valid. Verify the available arguments and try + * again.

+ * + * @throws {@link OpsItemLimitExceededException} (client fault) + *

The request caused OpsItems to exceed one or more quotas.

+ * + * @throws {@link OpsItemNotFoundException} (client fault) + *

The specified OpsItem ID doesn't exist. Verify the ID and try again.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class ListOpsItemEventsCommand extends $Command { + readonly input: ListOpsItemEventsCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: ListOpsItemEventsCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListOpsItemRelatedItemsCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListOpsItemRelatedItemsCommand.d.ts new file mode 100644 index 00000000..7dd9eed3 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListOpsItemRelatedItemsCommand.d.ts @@ -0,0 +1,109 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { ListOpsItemRelatedItemsRequest, ListOpsItemRelatedItemsResponse } from "../models/models_1"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link ListOpsItemRelatedItemsCommand}. + */ +export interface ListOpsItemRelatedItemsCommandInput extends ListOpsItemRelatedItemsRequest { +} +/** + * @public + * + * The output of {@link ListOpsItemRelatedItemsCommand}. + */ +export interface ListOpsItemRelatedItemsCommandOutput extends ListOpsItemRelatedItemsResponse, __MetadataBearer { +} +/** + * @public + *

Lists all related-item resources associated with a Systems Manager OpsCenter OpsItem. OpsCenter is a + * capability of Amazon Web Services Systems Manager.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, ListOpsItemRelatedItemsCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, ListOpsItemRelatedItemsCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // ListOpsItemRelatedItemsRequest + * OpsItemId: "STRING_VALUE", + * Filters: [ // OpsItemRelatedItemsFilters + * { // OpsItemRelatedItemsFilter + * Key: "ResourceType" || "AssociationId" || "ResourceUri", // required + * Values: [ // OpsItemRelatedItemsFilterValues // required + * "STRING_VALUE", + * ], + * Operator: "Equal", // required + * }, + * ], + * MaxResults: Number("int"), + * NextToken: "STRING_VALUE", + * }; + * const command = new ListOpsItemRelatedItemsCommand(input); + * const response = await client.send(command); + * // { // ListOpsItemRelatedItemsResponse + * // NextToken: "STRING_VALUE", + * // Summaries: [ // OpsItemRelatedItemSummaries + * // { // OpsItemRelatedItemSummary + * // OpsItemId: "STRING_VALUE", + * // AssociationId: "STRING_VALUE", + * // ResourceType: "STRING_VALUE", + * // AssociationType: "STRING_VALUE", + * // ResourceUri: "STRING_VALUE", + * // CreatedBy: { // OpsItemIdentity + * // Arn: "STRING_VALUE", + * // }, + * // CreatedTime: new Date("TIMESTAMP"), + * // LastModifiedBy: { + * // Arn: "STRING_VALUE", + * // }, + * // LastModifiedTime: new Date("TIMESTAMP"), + * // }, + * // ], + * // }; + * + * ``` + * + * @param ListOpsItemRelatedItemsCommandInput - {@link ListOpsItemRelatedItemsCommandInput} + * @returns {@link ListOpsItemRelatedItemsCommandOutput} + * @see {@link ListOpsItemRelatedItemsCommandInput} for command's `input` shape. + * @see {@link ListOpsItemRelatedItemsCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link OpsItemInvalidParameterException} (client fault) + *

A specified parameter argument isn't valid. Verify the available arguments and try + * again.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class ListOpsItemRelatedItemsCommand extends $Command { + readonly input: ListOpsItemRelatedItemsCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: ListOpsItemRelatedItemsCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListOpsMetadataCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListOpsMetadataCommand.d.ts new file mode 100644 index 00000000..a2da4c22 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListOpsMetadataCommand.d.ts @@ -0,0 +1,98 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { ListOpsMetadataRequest, ListOpsMetadataResult } from "../models/models_1"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link ListOpsMetadataCommand}. + */ +export interface ListOpsMetadataCommandInput extends ListOpsMetadataRequest { +} +/** + * @public + * + * The output of {@link ListOpsMetadataCommand}. + */ +export interface ListOpsMetadataCommandOutput extends ListOpsMetadataResult, __MetadataBearer { +} +/** + * @public + *

Amazon Web Services Systems Manager calls this API operation when displaying all Application Manager OpsMetadata objects or + * blobs.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, ListOpsMetadataCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, ListOpsMetadataCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // ListOpsMetadataRequest + * Filters: [ // OpsMetadataFilterList + * { // OpsMetadataFilter + * Key: "STRING_VALUE", // required + * Values: [ // OpsMetadataFilterValueList // required + * "STRING_VALUE", + * ], + * }, + * ], + * MaxResults: Number("int"), + * NextToken: "STRING_VALUE", + * }; + * const command = new ListOpsMetadataCommand(input); + * const response = await client.send(command); + * // { // ListOpsMetadataResult + * // OpsMetadataList: [ // OpsMetadataList + * // { // OpsMetadata + * // ResourceId: "STRING_VALUE", + * // OpsMetadataArn: "STRING_VALUE", + * // LastModifiedDate: new Date("TIMESTAMP"), + * // LastModifiedUser: "STRING_VALUE", + * // CreationDate: new Date("TIMESTAMP"), + * // }, + * // ], + * // NextToken: "STRING_VALUE", + * // }; + * + * ``` + * + * @param ListOpsMetadataCommandInput - {@link ListOpsMetadataCommandInput} + * @returns {@link ListOpsMetadataCommandOutput} + * @see {@link ListOpsMetadataCommandInput} for command's `input` shape. + * @see {@link ListOpsMetadataCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link OpsMetadataInvalidArgumentException} (client fault) + *

One of the arguments passed is invalid.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class ListOpsMetadataCommand extends $Command { + readonly input: ListOpsMetadataCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: ListOpsMetadataCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListResourceComplianceSummariesCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListResourceComplianceSummariesCommand.d.ts new file mode 100644 index 00000000..35bca699 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListResourceComplianceSummariesCommand.d.ts @@ -0,0 +1,130 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { ListResourceComplianceSummariesRequest, ListResourceComplianceSummariesResult } from "../models/models_1"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link ListResourceComplianceSummariesCommand}. + */ +export interface ListResourceComplianceSummariesCommandInput extends ListResourceComplianceSummariesRequest { +} +/** + * @public + * + * The output of {@link ListResourceComplianceSummariesCommand}. + */ +export interface ListResourceComplianceSummariesCommandOutput extends ListResourceComplianceSummariesResult, __MetadataBearer { +} +/** + * @public + *

Returns a resource-level summary count. The summary includes information about compliant and + * non-compliant statuses and detailed compliance-item severity counts, according to the filter + * criteria you specify.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, ListResourceComplianceSummariesCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, ListResourceComplianceSummariesCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // ListResourceComplianceSummariesRequest + * Filters: [ // ComplianceStringFilterList + * { // ComplianceStringFilter + * Key: "STRING_VALUE", + * Values: [ // ComplianceStringFilterValueList + * "STRING_VALUE", + * ], + * Type: "EQUAL" || "NOT_EQUAL" || "BEGIN_WITH" || "LESS_THAN" || "GREATER_THAN", + * }, + * ], + * NextToken: "STRING_VALUE", + * MaxResults: Number("int"), + * }; + * const command = new ListResourceComplianceSummariesCommand(input); + * const response = await client.send(command); + * // { // ListResourceComplianceSummariesResult + * // ResourceComplianceSummaryItems: [ // ResourceComplianceSummaryItemList + * // { // ResourceComplianceSummaryItem + * // ComplianceType: "STRING_VALUE", + * // ResourceType: "STRING_VALUE", + * // ResourceId: "STRING_VALUE", + * // Status: "COMPLIANT" || "NON_COMPLIANT", + * // OverallSeverity: "CRITICAL" || "HIGH" || "MEDIUM" || "LOW" || "INFORMATIONAL" || "UNSPECIFIED", + * // ExecutionSummary: { // ComplianceExecutionSummary + * // ExecutionTime: new Date("TIMESTAMP"), // required + * // ExecutionId: "STRING_VALUE", + * // ExecutionType: "STRING_VALUE", + * // }, + * // CompliantSummary: { // CompliantSummary + * // CompliantCount: Number("int"), + * // SeveritySummary: { // SeveritySummary + * // CriticalCount: Number("int"), + * // HighCount: Number("int"), + * // MediumCount: Number("int"), + * // LowCount: Number("int"), + * // InformationalCount: Number("int"), + * // UnspecifiedCount: Number("int"), + * // }, + * // }, + * // NonCompliantSummary: { // NonCompliantSummary + * // NonCompliantCount: Number("int"), + * // SeveritySummary: { + * // CriticalCount: Number("int"), + * // HighCount: Number("int"), + * // MediumCount: Number("int"), + * // LowCount: Number("int"), + * // InformationalCount: Number("int"), + * // UnspecifiedCount: Number("int"), + * // }, + * // }, + * // }, + * // ], + * // NextToken: "STRING_VALUE", + * // }; + * + * ``` + * + * @param ListResourceComplianceSummariesCommandInput - {@link ListResourceComplianceSummariesCommandInput} + * @returns {@link ListResourceComplianceSummariesCommandOutput} + * @see {@link ListResourceComplianceSummariesCommandInput} for command's `input` shape. + * @see {@link ListResourceComplianceSummariesCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link InvalidFilter} (client fault) + *

The filter name isn't valid. Verify the you entered the correct name and try again.

+ * + * @throws {@link InvalidNextToken} (client fault) + *

The specified token isn't valid.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class ListResourceComplianceSummariesCommand extends $Command { + readonly input: ListResourceComplianceSummariesCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: ListResourceComplianceSummariesCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListResourceDataSyncCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListResourceDataSyncCommand.d.ts new file mode 100644 index 00000000..851ebec9 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListResourceDataSyncCommand.d.ts @@ -0,0 +1,131 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { ListResourceDataSyncRequest, ListResourceDataSyncResult } from "../models/models_1"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link ListResourceDataSyncCommand}. + */ +export interface ListResourceDataSyncCommandInput extends ListResourceDataSyncRequest { +} +/** + * @public + * + * The output of {@link ListResourceDataSyncCommand}. + */ +export interface ListResourceDataSyncCommandOutput extends ListResourceDataSyncResult, __MetadataBearer { +} +/** + * @public + *

Lists your resource data sync configurations. Includes information about the last time a + * sync attempted to start, the last sync status, and the last time a sync successfully + * completed.

+ *

The number of sync configurations might be too large to return using a single call to + * ListResourceDataSync. You can limit the number of sync configurations returned by + * using the MaxResults parameter. To determine whether there are more sync + * configurations to list, check the value of NextToken in the output. If there are + * more sync configurations to list, you can request them by specifying the NextToken + * returned in the call to the parameter of a subsequent call.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, ListResourceDataSyncCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, ListResourceDataSyncCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // ListResourceDataSyncRequest + * SyncType: "STRING_VALUE", + * NextToken: "STRING_VALUE", + * MaxResults: Number("int"), + * }; + * const command = new ListResourceDataSyncCommand(input); + * const response = await client.send(command); + * // { // ListResourceDataSyncResult + * // ResourceDataSyncItems: [ // ResourceDataSyncItemList + * // { // ResourceDataSyncItem + * // SyncName: "STRING_VALUE", + * // SyncType: "STRING_VALUE", + * // SyncSource: { // ResourceDataSyncSourceWithState + * // SourceType: "STRING_VALUE", + * // AwsOrganizationsSource: { // ResourceDataSyncAwsOrganizationsSource + * // OrganizationSourceType: "STRING_VALUE", // required + * // OrganizationalUnits: [ // ResourceDataSyncOrganizationalUnitList + * // { // ResourceDataSyncOrganizationalUnit + * // OrganizationalUnitId: "STRING_VALUE", + * // }, + * // ], + * // }, + * // SourceRegions: [ // ResourceDataSyncSourceRegionList + * // "STRING_VALUE", + * // ], + * // IncludeFutureRegions: true || false, + * // State: "STRING_VALUE", + * // EnableAllOpsDataSources: true || false, + * // }, + * // S3Destination: { // ResourceDataSyncS3Destination + * // BucketName: "STRING_VALUE", // required + * // Prefix: "STRING_VALUE", + * // SyncFormat: "JsonSerDe", // required + * // Region: "STRING_VALUE", // required + * // AWSKMSKeyARN: "STRING_VALUE", + * // DestinationDataSharing: { // ResourceDataSyncDestinationDataSharing + * // DestinationDataSharingType: "STRING_VALUE", + * // }, + * // }, + * // LastSyncTime: new Date("TIMESTAMP"), + * // LastSuccessfulSyncTime: new Date("TIMESTAMP"), + * // SyncLastModifiedTime: new Date("TIMESTAMP"), + * // LastStatus: "Successful" || "Failed" || "InProgress", + * // SyncCreatedTime: new Date("TIMESTAMP"), + * // LastSyncStatusMessage: "STRING_VALUE", + * // }, + * // ], + * // NextToken: "STRING_VALUE", + * // }; + * + * ``` + * + * @param ListResourceDataSyncCommandInput - {@link ListResourceDataSyncCommandInput} + * @returns {@link ListResourceDataSyncCommandOutput} + * @see {@link ListResourceDataSyncCommandInput} for command's `input` shape. + * @see {@link ListResourceDataSyncCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link InvalidNextToken} (client fault) + *

The specified token isn't valid.

+ * + * @throws {@link ResourceDataSyncInvalidConfigurationException} (client fault) + *

The specified sync configuration is invalid.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class ListResourceDataSyncCommand extends $Command { + readonly input: ListResourceDataSyncCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: ListResourceDataSyncCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListTagsForResourceCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListTagsForResourceCommand.d.ts new file mode 100644 index 00000000..c2c895f2 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/ListTagsForResourceCommand.d.ts @@ -0,0 +1,90 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { ListTagsForResourceRequest, ListTagsForResourceResult } from "../models/models_1"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link ListTagsForResourceCommand}. + */ +export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest { +} +/** + * @public + * + * The output of {@link ListTagsForResourceCommand}. + */ +export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResult, __MetadataBearer { +} +/** + * @public + *

Returns a list of the tags assigned to the specified resource.

+ *

For information about the ID format for each supported resource type, see AddTagsToResource.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, ListTagsForResourceCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, ListTagsForResourceCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // ListTagsForResourceRequest + * ResourceType: "Document" || "ManagedInstance" || "MaintenanceWindow" || "Parameter" || "PatchBaseline" || "OpsItem" || "OpsMetadata" || "Automation" || "Association", // required + * ResourceId: "STRING_VALUE", // required + * }; + * const command = new ListTagsForResourceCommand(input); + * const response = await client.send(command); + * // { // ListTagsForResourceResult + * // TagList: [ // TagList + * // { // Tag + * // Key: "STRING_VALUE", // required + * // Value: "STRING_VALUE", // required + * // }, + * // ], + * // }; + * + * ``` + * + * @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput} + * @returns {@link ListTagsForResourceCommandOutput} + * @see {@link ListTagsForResourceCommandInput} for command's `input` shape. + * @see {@link ListTagsForResourceCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link InvalidResourceId} (client fault) + *

The resource ID isn't valid. Verify that you entered the correct ID and try again.

+ * + * @throws {@link InvalidResourceType} (client fault) + *

The resource type isn't valid. For example, if you are attempting to tag an EC2 instance, + * the instance must be a registered managed node.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class ListTagsForResourceCommand extends $Command { + readonly input: ListTagsForResourceCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: ListTagsForResourceCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/ModifyDocumentPermissionCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/ModifyDocumentPermissionCommand.d.ts new file mode 100644 index 00000000..612d24fa --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/ModifyDocumentPermissionCommand.d.ts @@ -0,0 +1,103 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { ModifyDocumentPermissionRequest, ModifyDocumentPermissionResponse } from "../models/models_1"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link ModifyDocumentPermissionCommand}. + */ +export interface ModifyDocumentPermissionCommandInput extends ModifyDocumentPermissionRequest { +} +/** + * @public + * + * The output of {@link ModifyDocumentPermissionCommand}. + */ +export interface ModifyDocumentPermissionCommandOutput extends ModifyDocumentPermissionResponse, __MetadataBearer { +} +/** + * @public + *

Shares a Amazon Web Services Systems Manager document (SSM document)publicly or privately. If you share a document + * privately, you must specify the Amazon Web Services user IDs for those people who can use the document. If + * you share a document publicly, you must specify All as the account + * ID.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, ModifyDocumentPermissionCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, ModifyDocumentPermissionCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // ModifyDocumentPermissionRequest + * Name: "STRING_VALUE", // required + * PermissionType: "Share", // required + * AccountIdsToAdd: [ // AccountIdList + * "STRING_VALUE", + * ], + * AccountIdsToRemove: [ + * "STRING_VALUE", + * ], + * SharedDocumentVersion: "STRING_VALUE", + * }; + * const command = new ModifyDocumentPermissionCommand(input); + * const response = await client.send(command); + * // {}; + * + * ``` + * + * @param ModifyDocumentPermissionCommandInput - {@link ModifyDocumentPermissionCommandInput} + * @returns {@link ModifyDocumentPermissionCommandOutput} + * @see {@link ModifyDocumentPermissionCommandInput} for command's `input` shape. + * @see {@link ModifyDocumentPermissionCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link DocumentLimitExceeded} (client fault) + *

You can have at most 500 active SSM documents.

+ * + * @throws {@link DocumentPermissionLimit} (client fault) + *

The document can't be shared with more Amazon Web Services accounts. You can specify a maximum of 20 + * accounts per API operation to share a private document.

+ *

By default, you can share a private document with a maximum of 1,000 accounts and publicly + * share up to five documents.

+ *

If you need to increase the quota for privately or publicly shared Systems Manager documents, contact + * Amazon Web Services Support.

+ * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link InvalidDocument} (client fault) + *

The specified SSM document doesn't exist.

+ * + * @throws {@link InvalidPermissionType} (client fault) + *

The permission type isn't supported. Share is the only supported + * permission type.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class ModifyDocumentPermissionCommand extends $Command { + readonly input: ModifyDocumentPermissionCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: ModifyDocumentPermissionCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/PutComplianceItemsCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/PutComplianceItemsCommand.d.ts new file mode 100644 index 00000000..e1dd2d79 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/PutComplianceItemsCommand.d.ts @@ -0,0 +1,169 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { PutComplianceItemsRequest, PutComplianceItemsResult } from "../models/models_1"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link PutComplianceItemsCommand}. + */ +export interface PutComplianceItemsCommandInput extends PutComplianceItemsRequest { +} +/** + * @public + * + * The output of {@link PutComplianceItemsCommand}. + */ +export interface PutComplianceItemsCommandOutput extends PutComplianceItemsResult, __MetadataBearer { +} +/** + * @public + *

Registers a compliance type and other compliance details on a designated resource. This + * operation lets you register custom compliance details with a resource. This call overwrites + * existing compliance information on the resource, so you must provide a full list of compliance + * items each time that you send the request.

+ *

ComplianceType can be one of the following:

+ *
    + *
  • + *

    ExecutionId: The execution ID when the patch, association, or custom compliance item was + * applied.

    + *
  • + *
  • + *

    ExecutionType: Specify patch, association, or Custom:string.

    + *
  • + *
  • + *

    ExecutionTime. The time the patch, association, or custom compliance item was applied to + * the managed node.

    + *
  • + *
  • + *

    Id: The patch, association, or custom compliance ID.

    + *
  • + *
  • + *

    Title: A title.

    + *
  • + *
  • + *

    Status: The status of the compliance item. For example, approved for patches, + * or Failed for associations.

    + *
  • + *
  • + *

    Severity: A patch severity. For example, Critical.

    + *
  • + *
  • + *

    DocumentName: An SSM document name. For example, AWS-RunPatchBaseline.

    + *
  • + *
  • + *

    DocumentVersion: An SSM document version number. For example, 4.

    + *
  • + *
  • + *

    Classification: A patch classification. For example, security updates.

    + *
  • + *
  • + *

    PatchBaselineId: A patch baseline ID.

    + *
  • + *
  • + *

    PatchSeverity: A patch severity. For example, Critical.

    + *
  • + *
  • + *

    PatchState: A patch state. For example, InstancesWithFailedPatches.

    + *
  • + *
  • + *

    PatchGroup: The name of a patch group.

    + *
  • + *
  • + *

    InstalledTime: The time the association, patch, or custom compliance item was applied to + * the resource. Specify the time by using the following format: yyyy-MM-dd'T'HH:mm:ss'Z'

    + *
  • + *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, PutComplianceItemsCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, PutComplianceItemsCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // PutComplianceItemsRequest + * ResourceId: "STRING_VALUE", // required + * ResourceType: "STRING_VALUE", // required + * ComplianceType: "STRING_VALUE", // required + * ExecutionSummary: { // ComplianceExecutionSummary + * ExecutionTime: new Date("TIMESTAMP"), // required + * ExecutionId: "STRING_VALUE", + * ExecutionType: "STRING_VALUE", + * }, + * Items: [ // ComplianceItemEntryList // required + * { // ComplianceItemEntry + * Id: "STRING_VALUE", + * Title: "STRING_VALUE", + * Severity: "CRITICAL" || "HIGH" || "MEDIUM" || "LOW" || "INFORMATIONAL" || "UNSPECIFIED", // required + * Status: "COMPLIANT" || "NON_COMPLIANT", // required + * Details: { // ComplianceItemDetails + * "": "STRING_VALUE", + * }, + * }, + * ], + * ItemContentHash: "STRING_VALUE", + * UploadType: "COMPLETE" || "PARTIAL", + * }; + * const command = new PutComplianceItemsCommand(input); + * const response = await client.send(command); + * // {}; + * + * ``` + * + * @param PutComplianceItemsCommandInput - {@link PutComplianceItemsCommandInput} + * @returns {@link PutComplianceItemsCommandOutput} + * @see {@link PutComplianceItemsCommandInput} for command's `input` shape. + * @see {@link PutComplianceItemsCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link ComplianceTypeCountLimitExceededException} (client fault) + *

You specified too many custom compliance types. You can specify a maximum of 10 different + * types.

+ * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link InvalidItemContentException} (client fault) + *

One or more content items isn't valid.

+ * + * @throws {@link InvalidResourceId} (client fault) + *

The resource ID isn't valid. Verify that you entered the correct ID and try again.

+ * + * @throws {@link InvalidResourceType} (client fault) + *

The resource type isn't valid. For example, if you are attempting to tag an EC2 instance, + * the instance must be a registered managed node.

+ * + * @throws {@link ItemSizeLimitExceededException} (client fault) + *

The inventory item size has exceeded the size limit.

+ * + * @throws {@link TotalSizeLimitExceededException} (client fault) + *

The size of inventory data has exceeded the total size limit for the resource.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class PutComplianceItemsCommand extends $Command { + readonly input: PutComplianceItemsCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: PutComplianceItemsCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/PutInventoryCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/PutInventoryCommand.d.ts new file mode 100644 index 00000000..0658e616 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/PutInventoryCommand.d.ts @@ -0,0 +1,149 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { PutInventoryRequest, PutInventoryResult } from "../models/models_1"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link PutInventoryCommand}. + */ +export interface PutInventoryCommandInput extends PutInventoryRequest { +} +/** + * @public + * + * The output of {@link PutInventoryCommand}. + */ +export interface PutInventoryCommandOutput extends PutInventoryResult, __MetadataBearer { +} +/** + * @public + *

Bulk update custom inventory items on one or more managed nodes. The request adds an + * inventory item, if it doesn't already exist, or updates an inventory item, if it does + * exist.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, PutInventoryCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, PutInventoryCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // PutInventoryRequest + * InstanceId: "STRING_VALUE", // required + * Items: [ // InventoryItemList // required + * { // InventoryItem + * TypeName: "STRING_VALUE", // required + * SchemaVersion: "STRING_VALUE", // required + * CaptureTime: "STRING_VALUE", // required + * ContentHash: "STRING_VALUE", + * Content: [ // InventoryItemEntryList + * { // InventoryItemEntry + * "": "STRING_VALUE", + * }, + * ], + * Context: { // InventoryItemContentContext + * "": "STRING_VALUE", + * }, + * }, + * ], + * }; + * const command = new PutInventoryCommand(input); + * const response = await client.send(command); + * // { // PutInventoryResult + * // Message: "STRING_VALUE", + * // }; + * + * ``` + * + * @param PutInventoryCommandInput - {@link PutInventoryCommandInput} + * @returns {@link PutInventoryCommandOutput} + * @see {@link PutInventoryCommandInput} for command's `input` shape. + * @see {@link PutInventoryCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link CustomSchemaCountLimitExceededException} (client fault) + *

You have exceeded the limit for custom schemas. Delete one or more custom schemas and try + * again.

+ * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link InvalidInstanceId} (client fault) + *

The following problems can cause this exception:

+ *
    + *
  • + *

    You don't have permission to access the managed node.

    + *
  • + *
  • + *

    Amazon Web Services Systems Manager Agent(SSM Agent) isn't running. Verify that SSM Agent is + * running.

    + *
  • + *
  • + *

    SSM Agent isn't registered with the SSM endpoint. Try reinstalling SSM Agent.

    + *
  • + *
  • + *

    The managed node isn't in valid state. Valid states are: Running, + * Pending, Stopped, and Stopping. Invalid states are: + * Shutting-down and Terminated.

    + *
  • + *
+ * + * @throws {@link InvalidInventoryItemContextException} (client fault) + *

You specified invalid keys or values in the Context attribute for + * InventoryItem. Verify the keys and values, and try again.

+ * + * @throws {@link InvalidItemContentException} (client fault) + *

One or more content items isn't valid.

+ * + * @throws {@link InvalidTypeNameException} (client fault) + *

The parameter type name isn't valid.

+ * + * @throws {@link ItemContentMismatchException} (client fault) + *

The inventory item has invalid content.

+ * + * @throws {@link ItemSizeLimitExceededException} (client fault) + *

The inventory item size has exceeded the size limit.

+ * + * @throws {@link SubTypeCountLimitExceededException} (client fault) + *

The sub-type count exceeded the limit for the inventory type.

+ * + * @throws {@link TotalSizeLimitExceededException} (client fault) + *

The size of inventory data has exceeded the total size limit for the resource.

+ * + * @throws {@link UnsupportedInventoryItemContextException} (client fault) + *

The Context attribute that you specified for the InventoryItem + * isn't allowed for this inventory type. You can only use the Context attribute with + * inventory types like AWS:ComplianceItem.

+ * + * @throws {@link UnsupportedInventorySchemaVersionException} (client fault) + *

Inventory item type schema version has to match supported versions in the service. Check + * output of GetInventorySchema to see the available schema version for each type.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class PutInventoryCommand extends $Command { + readonly input: PutInventoryCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: PutInventoryCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/PutParameterCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/PutParameterCommand.d.ts new file mode 100644 index 00000000..0c45f914 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/PutParameterCommand.d.ts @@ -0,0 +1,156 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { PutParameterRequest, PutParameterResult } from "../models/models_1"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link PutParameterCommand}. + */ +export interface PutParameterCommandInput extends PutParameterRequest { +} +/** + * @public + * + * The output of {@link PutParameterCommand}. + */ +export interface PutParameterCommandOutput extends PutParameterResult, __MetadataBearer { +} +/** + * @public + *

Add a parameter to the system.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, PutParameterCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, PutParameterCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // PutParameterRequest + * Name: "STRING_VALUE", // required + * Description: "STRING_VALUE", + * Value: "STRING_VALUE", // required + * Type: "String" || "StringList" || "SecureString", + * KeyId: "STRING_VALUE", + * Overwrite: true || false, + * AllowedPattern: "STRING_VALUE", + * Tags: [ // TagList + * { // Tag + * Key: "STRING_VALUE", // required + * Value: "STRING_VALUE", // required + * }, + * ], + * Tier: "Standard" || "Advanced" || "Intelligent-Tiering", + * Policies: "STRING_VALUE", + * DataType: "STRING_VALUE", + * }; + * const command = new PutParameterCommand(input); + * const response = await client.send(command); + * // { // PutParameterResult + * // Version: Number("long"), + * // Tier: "Standard" || "Advanced" || "Intelligent-Tiering", + * // }; + * + * ``` + * + * @param PutParameterCommandInput - {@link PutParameterCommandInput} + * @returns {@link PutParameterCommandOutput} + * @see {@link PutParameterCommandInput} for command's `input` shape. + * @see {@link PutParameterCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link HierarchyLevelLimitExceededException} (client fault) + *

A hierarchy can have a maximum of 15 levels. For more information, see Requirements and + * constraints for parameter names in the Amazon Web Services Systems Manager User Guide.

+ * + * @throws {@link HierarchyTypeMismatchException} (client fault) + *

Parameter Store doesn't support changing a parameter type in a hierarchy. For example, you + * can't change a parameter from a String type to a SecureString type. You + * must create a new, unique parameter.

+ * + * @throws {@link IncompatiblePolicyException} (client fault) + *

There is a conflict in the policies specified for this parameter. You can't, for example, + * specify two Expiration policies for a parameter. Review your policies, and try again.

+ * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link InvalidAllowedPatternException} (client fault) + *

The request doesn't meet the regular expression requirement.

+ * + * @throws {@link InvalidKeyId} (client fault) + *

The query key ID isn't valid.

+ * + * @throws {@link InvalidPolicyAttributeException} (client fault) + *

A policy attribute or its value is invalid.

+ * + * @throws {@link InvalidPolicyTypeException} (client fault) + *

The policy type isn't supported. Parameter Store supports the following policy types: + * Expiration, ExpirationNotification, and NoChangeNotification.

+ * + * @throws {@link ParameterAlreadyExists} (client fault) + *

The parameter already exists. You can't create duplicate parameters.

+ * + * @throws {@link ParameterLimitExceeded} (client fault) + *

You have exceeded the number of parameters for this Amazon Web Services account. Delete one or more + * parameters and try again.

+ * + * @throws {@link ParameterMaxVersionLimitExceeded} (client fault) + *

Parameter Store retains the 100 most recently created versions of a parameter. After this + * number of versions has been created, Parameter Store deletes the oldest version when a new one is + * created. However, if the oldest version has a label attached to it, + * Parameter Store won't delete the version and instead presents this error message:

+ *

+ * An error occurred (ParameterMaxVersionLimitExceeded) when calling the PutParameter + * operation: You attempted to create a new version of parameter-name by + * calling the PutParameter API with the overwrite flag. Version + * version-number, the oldest version, can't be deleted because it has a + * label associated with it. Move the label to another version of the parameter, and try + * again. + *

+ *

This safeguard is to prevent parameter versions with mission critical labels assigned to + * them from being deleted. To continue creating new parameters, first move the label from the + * oldest version of the parameter to a newer one for use in your operations. For information about + * moving parameter labels, see Move a parameter label (console) or Move a parameter label (CLI) in the Amazon Web Services Systems Manager User Guide.

+ * + * @throws {@link ParameterPatternMismatchException} (client fault) + *

The parameter name isn't valid.

+ * + * @throws {@link PoliciesLimitExceededException} (client fault) + *

You specified more than the maximum number of allowed policies for the parameter. The + * maximum is 10.

+ * + * @throws {@link TooManyUpdates} (client fault) + *

There are concurrent updates for a resource that supports one update at a time.

+ * + * @throws {@link UnsupportedParameterType} (client fault) + *

The parameter type isn't supported.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class PutParameterCommand extends $Command { + readonly input: PutParameterCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: PutParameterCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/PutResourcePolicyCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/PutResourcePolicyCommand.d.ts new file mode 100644 index 00000000..4af5d1a5 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/PutResourcePolicyCommand.d.ts @@ -0,0 +1,98 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { PutResourcePolicyRequest, PutResourcePolicyResponse } from "../models/models_1"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link PutResourcePolicyCommand}. + */ +export interface PutResourcePolicyCommandInput extends PutResourcePolicyRequest { +} +/** + * @public + * + * The output of {@link PutResourcePolicyCommand}. + */ +export interface PutResourcePolicyCommandOutput extends PutResourcePolicyResponse, __MetadataBearer { +} +/** + * @public + *

Creates or updates a Systems Manager resource policy. A resource policy helps you to define the + * IAM entity (for example, an Amazon Web Services account) that can manage your Systems Manager resources. + * Currently, OpsItemGroup is the only resource that supports Systems Manager resource policies. + * The resource policy for OpsItemGroup enables Amazon Web Services accounts to view and interact + * with OpsCenter operational work items (OpsItems).

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, PutResourcePolicyCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, PutResourcePolicyCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // PutResourcePolicyRequest + * ResourceArn: "STRING_VALUE", // required + * Policy: "STRING_VALUE", // required + * PolicyId: "STRING_VALUE", + * PolicyHash: "STRING_VALUE", + * }; + * const command = new PutResourcePolicyCommand(input); + * const response = await client.send(command); + * // { // PutResourcePolicyResponse + * // PolicyId: "STRING_VALUE", + * // PolicyHash: "STRING_VALUE", + * // }; + * + * ``` + * + * @param PutResourcePolicyCommandInput - {@link PutResourcePolicyCommandInput} + * @returns {@link PutResourcePolicyCommandOutput} + * @see {@link PutResourcePolicyCommandInput} for command's `input` shape. + * @see {@link PutResourcePolicyCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link ResourcePolicyConflictException} (client fault) + *

The hash provided in the call doesn't match the stored hash. This exception is thrown when + * trying to update an obsolete policy version or when multiple requests to update a policy are + * sent.

+ * + * @throws {@link ResourcePolicyInvalidParameterException} (client fault) + *

One or more parameters specified for the call aren't valid. Verify the parameters and their + * values and try again.

+ * + * @throws {@link ResourcePolicyLimitExceededException} (client fault) + *

The PutResourcePolicy API action enforces two limits. A policy can't be + * greater than 1024 bytes in size. And only one policy can be attached to + * OpsItemGroup. Verify these limits and try again.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class PutResourcePolicyCommand extends $Command { + readonly input: PutResourcePolicyCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: PutResourcePolicyCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/RegisterDefaultPatchBaselineCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/RegisterDefaultPatchBaselineCommand.d.ts new file mode 100644 index 00000000..de95b4c0 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/RegisterDefaultPatchBaselineCommand.d.ts @@ -0,0 +1,89 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { RegisterDefaultPatchBaselineRequest, RegisterDefaultPatchBaselineResult } from "../models/models_1"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link RegisterDefaultPatchBaselineCommand}. + */ +export interface RegisterDefaultPatchBaselineCommandInput extends RegisterDefaultPatchBaselineRequest { +} +/** + * @public + * + * The output of {@link RegisterDefaultPatchBaselineCommand}. + */ +export interface RegisterDefaultPatchBaselineCommandOutput extends RegisterDefaultPatchBaselineResult, __MetadataBearer { +} +/** + * @public + *

Defines the default patch baseline for the relevant operating system.

+ *

To reset the Amazon Web Services-predefined patch baseline as the default, specify the full patch baseline + * Amazon Resource Name (ARN) as the baseline ID value. For example, for CentOS, specify + * arn:aws:ssm:us-east-2:733109147000:patchbaseline/pb-0574b43a65ea646ed instead of + * pb-0574b43a65ea646ed.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, RegisterDefaultPatchBaselineCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, RegisterDefaultPatchBaselineCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // RegisterDefaultPatchBaselineRequest + * BaselineId: "STRING_VALUE", // required + * }; + * const command = new RegisterDefaultPatchBaselineCommand(input); + * const response = await client.send(command); + * // { // RegisterDefaultPatchBaselineResult + * // BaselineId: "STRING_VALUE", + * // }; + * + * ``` + * + * @param RegisterDefaultPatchBaselineCommandInput - {@link RegisterDefaultPatchBaselineCommandInput} + * @returns {@link RegisterDefaultPatchBaselineCommandOutput} + * @see {@link RegisterDefaultPatchBaselineCommandInput} for command's `input` shape. + * @see {@link RegisterDefaultPatchBaselineCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link DoesNotExistException} (client fault) + *

Error returned when the ID specified for a resource, such as a maintenance window or patch + * baseline, doesn't exist.

+ *

For information about resource quotas in Amazon Web Services Systems Manager, see Systems Manager service quotas in the + * Amazon Web Services General Reference.

+ * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link InvalidResourceId} (client fault) + *

The resource ID isn't valid. Verify that you entered the correct ID and try again.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class RegisterDefaultPatchBaselineCommand extends $Command { + readonly input: RegisterDefaultPatchBaselineCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: RegisterDefaultPatchBaselineCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/RegisterPatchBaselineForPatchGroupCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/RegisterPatchBaselineForPatchGroupCommand.d.ts new file mode 100644 index 00000000..bd751c75 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/RegisterPatchBaselineForPatchGroupCommand.d.ts @@ -0,0 +1,97 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { RegisterPatchBaselineForPatchGroupRequest, RegisterPatchBaselineForPatchGroupResult } from "../models/models_1"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link RegisterPatchBaselineForPatchGroupCommand}. + */ +export interface RegisterPatchBaselineForPatchGroupCommandInput extends RegisterPatchBaselineForPatchGroupRequest { +} +/** + * @public + * + * The output of {@link RegisterPatchBaselineForPatchGroupCommand}. + */ +export interface RegisterPatchBaselineForPatchGroupCommandOutput extends RegisterPatchBaselineForPatchGroupResult, __MetadataBearer { +} +/** + * @public + *

Registers a patch baseline for a patch group.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, RegisterPatchBaselineForPatchGroupCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, RegisterPatchBaselineForPatchGroupCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // RegisterPatchBaselineForPatchGroupRequest + * BaselineId: "STRING_VALUE", // required + * PatchGroup: "STRING_VALUE", // required + * }; + * const command = new RegisterPatchBaselineForPatchGroupCommand(input); + * const response = await client.send(command); + * // { // RegisterPatchBaselineForPatchGroupResult + * // BaselineId: "STRING_VALUE", + * // PatchGroup: "STRING_VALUE", + * // }; + * + * ``` + * + * @param RegisterPatchBaselineForPatchGroupCommandInput - {@link RegisterPatchBaselineForPatchGroupCommandInput} + * @returns {@link RegisterPatchBaselineForPatchGroupCommandOutput} + * @see {@link RegisterPatchBaselineForPatchGroupCommandInput} for command's `input` shape. + * @see {@link RegisterPatchBaselineForPatchGroupCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link AlreadyExistsException} (client fault) + *

Error returned if an attempt is made to register a patch group with a patch baseline that is + * already registered with a different patch baseline.

+ * + * @throws {@link DoesNotExistException} (client fault) + *

Error returned when the ID specified for a resource, such as a maintenance window or patch + * baseline, doesn't exist.

+ *

For information about resource quotas in Amazon Web Services Systems Manager, see Systems Manager service quotas in the + * Amazon Web Services General Reference.

+ * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link InvalidResourceId} (client fault) + *

The resource ID isn't valid. Verify that you entered the correct ID and try again.

+ * + * @throws {@link ResourceLimitExceededException} (client fault) + *

Error returned when the caller has exceeded the default resource quotas. For example, too + * many maintenance windows or patch baselines have been created.

+ *

For information about resource quotas in Systems Manager, see Systems Manager service quotas in the + * Amazon Web Services General Reference.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class RegisterPatchBaselineForPatchGroupCommand extends $Command { + readonly input: RegisterPatchBaselineForPatchGroupCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: RegisterPatchBaselineForPatchGroupCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/RegisterTargetWithMaintenanceWindowCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/RegisterTargetWithMaintenanceWindowCommand.d.ts new file mode 100644 index 00000000..b8357f89 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/RegisterTargetWithMaintenanceWindowCommand.d.ts @@ -0,0 +1,105 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { RegisterTargetWithMaintenanceWindowRequest, RegisterTargetWithMaintenanceWindowResult } from "../models/models_1"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link RegisterTargetWithMaintenanceWindowCommand}. + */ +export interface RegisterTargetWithMaintenanceWindowCommandInput extends RegisterTargetWithMaintenanceWindowRequest { +} +/** + * @public + * + * The output of {@link RegisterTargetWithMaintenanceWindowCommand}. + */ +export interface RegisterTargetWithMaintenanceWindowCommandOutput extends RegisterTargetWithMaintenanceWindowResult, __MetadataBearer { +} +/** + * @public + *

Registers a target with a maintenance window.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, RegisterTargetWithMaintenanceWindowCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, RegisterTargetWithMaintenanceWindowCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // RegisterTargetWithMaintenanceWindowRequest + * WindowId: "STRING_VALUE", // required + * ResourceType: "INSTANCE" || "RESOURCE_GROUP", // required + * Targets: [ // Targets // required + * { // Target + * Key: "STRING_VALUE", + * Values: [ // TargetValues + * "STRING_VALUE", + * ], + * }, + * ], + * OwnerInformation: "STRING_VALUE", + * Name: "STRING_VALUE", + * Description: "STRING_VALUE", + * ClientToken: "STRING_VALUE", + * }; + * const command = new RegisterTargetWithMaintenanceWindowCommand(input); + * const response = await client.send(command); + * // { // RegisterTargetWithMaintenanceWindowResult + * // WindowTargetId: "STRING_VALUE", + * // }; + * + * ``` + * + * @param RegisterTargetWithMaintenanceWindowCommandInput - {@link RegisterTargetWithMaintenanceWindowCommandInput} + * @returns {@link RegisterTargetWithMaintenanceWindowCommandOutput} + * @see {@link RegisterTargetWithMaintenanceWindowCommandInput} for command's `input` shape. + * @see {@link RegisterTargetWithMaintenanceWindowCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link DoesNotExistException} (client fault) + *

Error returned when the ID specified for a resource, such as a maintenance window or patch + * baseline, doesn't exist.

+ *

For information about resource quotas in Amazon Web Services Systems Manager, see Systems Manager service quotas in the + * Amazon Web Services General Reference.

+ * + * @throws {@link IdempotentParameterMismatch} (client fault) + *

Error returned when an idempotent operation is retried and the parameters don't match the + * original call to the API with the same idempotency token.

+ * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link ResourceLimitExceededException} (client fault) + *

Error returned when the caller has exceeded the default resource quotas. For example, too + * many maintenance windows or patch baselines have been created.

+ *

For information about resource quotas in Systems Manager, see Systems Manager service quotas in the + * Amazon Web Services General Reference.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class RegisterTargetWithMaintenanceWindowCommand extends $Command { + readonly input: RegisterTargetWithMaintenanceWindowCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: RegisterTargetWithMaintenanceWindowCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/RegisterTaskWithMaintenanceWindowCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/RegisterTaskWithMaintenanceWindowCommand.d.ts new file mode 100644 index 00000000..d353d071 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/RegisterTaskWithMaintenanceWindowCommand.d.ts @@ -0,0 +1,179 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { RegisterTaskWithMaintenanceWindowRequest, RegisterTaskWithMaintenanceWindowResult } from "../models/models_1"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link RegisterTaskWithMaintenanceWindowCommand}. + */ +export interface RegisterTaskWithMaintenanceWindowCommandInput extends RegisterTaskWithMaintenanceWindowRequest { +} +/** + * @public + * + * The output of {@link RegisterTaskWithMaintenanceWindowCommand}. + */ +export interface RegisterTaskWithMaintenanceWindowCommandOutput extends RegisterTaskWithMaintenanceWindowResult, __MetadataBearer { +} +/** + * @public + *

Adds a new task to a maintenance window.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, RegisterTaskWithMaintenanceWindowCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, RegisterTaskWithMaintenanceWindowCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // RegisterTaskWithMaintenanceWindowRequest + * WindowId: "STRING_VALUE", // required + * Targets: [ // Targets + * { // Target + * Key: "STRING_VALUE", + * Values: [ // TargetValues + * "STRING_VALUE", + * ], + * }, + * ], + * TaskArn: "STRING_VALUE", // required + * ServiceRoleArn: "STRING_VALUE", + * TaskType: "RUN_COMMAND" || "AUTOMATION" || "STEP_FUNCTIONS" || "LAMBDA", // required + * TaskParameters: { // MaintenanceWindowTaskParameters + * "": { // MaintenanceWindowTaskParameterValueExpression + * Values: [ // MaintenanceWindowTaskParameterValueList + * "STRING_VALUE", + * ], + * }, + * }, + * TaskInvocationParameters: { // MaintenanceWindowTaskInvocationParameters + * RunCommand: { // MaintenanceWindowRunCommandParameters + * Comment: "STRING_VALUE", + * CloudWatchOutputConfig: { // CloudWatchOutputConfig + * CloudWatchLogGroupName: "STRING_VALUE", + * CloudWatchOutputEnabled: true || false, + * }, + * DocumentHash: "STRING_VALUE", + * DocumentHashType: "Sha256" || "Sha1", + * DocumentVersion: "STRING_VALUE", + * NotificationConfig: { // NotificationConfig + * NotificationArn: "STRING_VALUE", + * NotificationEvents: [ // NotificationEventList + * "All" || "InProgress" || "Success" || "TimedOut" || "Cancelled" || "Failed", + * ], + * NotificationType: "Command" || "Invocation", + * }, + * OutputS3BucketName: "STRING_VALUE", + * OutputS3KeyPrefix: "STRING_VALUE", + * Parameters: { // Parameters + * "": [ // ParameterValueList + * "STRING_VALUE", + * ], + * }, + * ServiceRoleArn: "STRING_VALUE", + * TimeoutSeconds: Number("int"), + * }, + * Automation: { // MaintenanceWindowAutomationParameters + * DocumentVersion: "STRING_VALUE", + * Parameters: { // AutomationParameterMap + * "": [ // AutomationParameterValueList + * "STRING_VALUE", + * ], + * }, + * }, + * StepFunctions: { // MaintenanceWindowStepFunctionsParameters + * Input: "STRING_VALUE", + * Name: "STRING_VALUE", + * }, + * Lambda: { // MaintenanceWindowLambdaParameters + * ClientContext: "STRING_VALUE", + * Qualifier: "STRING_VALUE", + * Payload: "BLOB_VALUE", + * }, + * }, + * Priority: Number("int"), + * MaxConcurrency: "STRING_VALUE", + * MaxErrors: "STRING_VALUE", + * LoggingInfo: { // LoggingInfo + * S3BucketName: "STRING_VALUE", // required + * S3KeyPrefix: "STRING_VALUE", + * S3Region: "STRING_VALUE", // required + * }, + * Name: "STRING_VALUE", + * Description: "STRING_VALUE", + * ClientToken: "STRING_VALUE", + * CutoffBehavior: "CONTINUE_TASK" || "CANCEL_TASK", + * AlarmConfiguration: { // AlarmConfiguration + * IgnorePollAlarmFailure: true || false, + * Alarms: [ // AlarmList // required + * { // Alarm + * Name: "STRING_VALUE", // required + * }, + * ], + * }, + * }; + * const command = new RegisterTaskWithMaintenanceWindowCommand(input); + * const response = await client.send(command); + * // { // RegisterTaskWithMaintenanceWindowResult + * // WindowTaskId: "STRING_VALUE", + * // }; + * + * ``` + * + * @param RegisterTaskWithMaintenanceWindowCommandInput - {@link RegisterTaskWithMaintenanceWindowCommandInput} + * @returns {@link RegisterTaskWithMaintenanceWindowCommandOutput} + * @see {@link RegisterTaskWithMaintenanceWindowCommandInput} for command's `input` shape. + * @see {@link RegisterTaskWithMaintenanceWindowCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link DoesNotExistException} (client fault) + *

Error returned when the ID specified for a resource, such as a maintenance window or patch + * baseline, doesn't exist.

+ *

For information about resource quotas in Amazon Web Services Systems Manager, see Systems Manager service quotas in the + * Amazon Web Services General Reference.

+ * + * @throws {@link FeatureNotAvailableException} (client fault) + *

You attempted to register a LAMBDA or STEP_FUNCTIONS task in a + * region where the corresponding service isn't available.

+ * + * @throws {@link IdempotentParameterMismatch} (client fault) + *

Error returned when an idempotent operation is retried and the parameters don't match the + * original call to the API with the same idempotency token.

+ * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link ResourceLimitExceededException} (client fault) + *

Error returned when the caller has exceeded the default resource quotas. For example, too + * many maintenance windows or patch baselines have been created.

+ *

For information about resource quotas in Systems Manager, see Systems Manager service quotas in the + * Amazon Web Services General Reference.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class RegisterTaskWithMaintenanceWindowCommand extends $Command { + readonly input: RegisterTaskWithMaintenanceWindowCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: RegisterTaskWithMaintenanceWindowCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/RemoveTagsFromResourceCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/RemoveTagsFromResourceCommand.d.ts new file mode 100644 index 00000000..60d536ea --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/RemoveTagsFromResourceCommand.d.ts @@ -0,0 +1,88 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { RemoveTagsFromResourceRequest, RemoveTagsFromResourceResult } from "../models/models_1"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link RemoveTagsFromResourceCommand}. + */ +export interface RemoveTagsFromResourceCommandInput extends RemoveTagsFromResourceRequest { +} +/** + * @public + * + * The output of {@link RemoveTagsFromResourceCommand}. + */ +export interface RemoveTagsFromResourceCommandOutput extends RemoveTagsFromResourceResult, __MetadataBearer { +} +/** + * @public + *

Removes tag keys from the specified resource.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, RemoveTagsFromResourceCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, RemoveTagsFromResourceCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // RemoveTagsFromResourceRequest + * ResourceType: "Document" || "ManagedInstance" || "MaintenanceWindow" || "Parameter" || "PatchBaseline" || "OpsItem" || "OpsMetadata" || "Automation" || "Association", // required + * ResourceId: "STRING_VALUE", // required + * TagKeys: [ // KeyList // required + * "STRING_VALUE", + * ], + * }; + * const command = new RemoveTagsFromResourceCommand(input); + * const response = await client.send(command); + * // {}; + * + * ``` + * + * @param RemoveTagsFromResourceCommandInput - {@link RemoveTagsFromResourceCommandInput} + * @returns {@link RemoveTagsFromResourceCommandOutput} + * @see {@link RemoveTagsFromResourceCommandInput} for command's `input` shape. + * @see {@link RemoveTagsFromResourceCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link InvalidResourceId} (client fault) + *

The resource ID isn't valid. Verify that you entered the correct ID and try again.

+ * + * @throws {@link InvalidResourceType} (client fault) + *

The resource type isn't valid. For example, if you are attempting to tag an EC2 instance, + * the instance must be a registered managed node.

+ * + * @throws {@link TooManyUpdates} (client fault) + *

There are concurrent updates for a resource that supports one update at a time.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class RemoveTagsFromResourceCommand extends $Command { + readonly input: RemoveTagsFromResourceCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: RemoveTagsFromResourceCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/ResetServiceSettingCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/ResetServiceSettingCommand.d.ts new file mode 100644 index 00000000..53460693 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/ResetServiceSettingCommand.d.ts @@ -0,0 +1,104 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { ResetServiceSettingRequest, ResetServiceSettingResult } from "../models/models_1"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link ResetServiceSettingCommand}. + */ +export interface ResetServiceSettingCommandInput extends ResetServiceSettingRequest { +} +/** + * @public + * + * The output of {@link ResetServiceSettingCommand}. + */ +export interface ResetServiceSettingCommandOutput extends ResetServiceSettingResult, __MetadataBearer { +} +/** + * @public + *

+ * ServiceSetting is an account-level setting for an Amazon Web Services service. This setting + * defines how a user interacts with or uses a service or a feature of a service. For example, if an + * Amazon Web Services service charges money to the account based on feature or service usage, then the Amazon Web Services + * service team might create a default setting of "false". This means the user can't use this + * feature unless they change the setting to "true" and intentionally opt in for a paid + * feature.

+ *

Services map a SettingId object to a setting value. Amazon Web Services services teams define + * the default value for a SettingId. You can't create a new SettingId, + * but you can overwrite the default value if you have the ssm:UpdateServiceSetting + * permission for the setting. Use the GetServiceSetting API operation to view the + * current value. Use the UpdateServiceSetting API operation to change the default + * setting.

+ *

Reset the service setting for the account to the default value as provisioned by the Amazon Web Services + * service team.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, ResetServiceSettingCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, ResetServiceSettingCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // ResetServiceSettingRequest + * SettingId: "STRING_VALUE", // required + * }; + * const command = new ResetServiceSettingCommand(input); + * const response = await client.send(command); + * // { // ResetServiceSettingResult + * // ServiceSetting: { // ServiceSetting + * // SettingId: "STRING_VALUE", + * // SettingValue: "STRING_VALUE", + * // LastModifiedDate: new Date("TIMESTAMP"), + * // LastModifiedUser: "STRING_VALUE", + * // ARN: "STRING_VALUE", + * // Status: "STRING_VALUE", + * // }, + * // }; + * + * ``` + * + * @param ResetServiceSettingCommandInput - {@link ResetServiceSettingCommandInput} + * @returns {@link ResetServiceSettingCommandOutput} + * @see {@link ResetServiceSettingCommandInput} for command's `input` shape. + * @see {@link ResetServiceSettingCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link ServiceSettingNotFound} (client fault) + *

The specified service setting wasn't found. Either the service name or the setting hasn't + * been provisioned by the Amazon Web Services service team.

+ * + * @throws {@link TooManyUpdates} (client fault) + *

There are concurrent updates for a resource that supports one update at a time.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class ResetServiceSettingCommand extends $Command { + readonly input: ResetServiceSettingCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: ResetServiceSettingCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/ResumeSessionCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/ResumeSessionCommand.d.ts new file mode 100644 index 00000000..aea1309b --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/ResumeSessionCommand.d.ts @@ -0,0 +1,89 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { ResumeSessionRequest, ResumeSessionResponse } from "../models/models_1"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link ResumeSessionCommand}. + */ +export interface ResumeSessionCommandInput extends ResumeSessionRequest { +} +/** + * @public + * + * The output of {@link ResumeSessionCommand}. + */ +export interface ResumeSessionCommandOutput extends ResumeSessionResponse, __MetadataBearer { +} +/** + * @public + *

Reconnects a session to a managed node after it has been disconnected. Connections can be + * resumed for disconnected sessions, but not terminated sessions.

+ * + *

This command is primarily for use by client machines to automatically reconnect during + * intermittent network issues. It isn't intended for any other use.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, ResumeSessionCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, ResumeSessionCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // ResumeSessionRequest + * SessionId: "STRING_VALUE", // required + * }; + * const command = new ResumeSessionCommand(input); + * const response = await client.send(command); + * // { // ResumeSessionResponse + * // SessionId: "STRING_VALUE", + * // TokenValue: "STRING_VALUE", + * // StreamUrl: "STRING_VALUE", + * // }; + * + * ``` + * + * @param ResumeSessionCommandInput - {@link ResumeSessionCommandInput} + * @returns {@link ResumeSessionCommandOutput} + * @see {@link ResumeSessionCommandInput} for command's `input` shape. + * @see {@link ResumeSessionCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link DoesNotExistException} (client fault) + *

Error returned when the ID specified for a resource, such as a maintenance window or patch + * baseline, doesn't exist.

+ *

For information about resource quotas in Amazon Web Services Systems Manager, see Systems Manager service quotas in the + * Amazon Web Services General Reference.

+ * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class ResumeSessionCommand extends $Command { + readonly input: ResumeSessionCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: ResumeSessionCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/SendAutomationSignalCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/SendAutomationSignalCommand.d.ts new file mode 100644 index 00000000..83ec99f3 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/SendAutomationSignalCommand.d.ts @@ -0,0 +1,92 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { SendAutomationSignalRequest, SendAutomationSignalResult } from "../models/models_1"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link SendAutomationSignalCommand}. + */ +export interface SendAutomationSignalCommandInput extends SendAutomationSignalRequest { +} +/** + * @public + * + * The output of {@link SendAutomationSignalCommand}. + */ +export interface SendAutomationSignalCommandOutput extends SendAutomationSignalResult, __MetadataBearer { +} +/** + * @public + *

Sends a signal to an Automation execution to change the current behavior or status of the + * execution.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, SendAutomationSignalCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, SendAutomationSignalCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // SendAutomationSignalRequest + * AutomationExecutionId: "STRING_VALUE", // required + * SignalType: "Approve" || "Reject" || "StartStep" || "StopStep" || "Resume", // required + * Payload: { // AutomationParameterMap + * "": [ // AutomationParameterValueList + * "STRING_VALUE", + * ], + * }, + * }; + * const command = new SendAutomationSignalCommand(input); + * const response = await client.send(command); + * // {}; + * + * ``` + * + * @param SendAutomationSignalCommandInput - {@link SendAutomationSignalCommandInput} + * @returns {@link SendAutomationSignalCommandOutput} + * @see {@link SendAutomationSignalCommandInput} for command's `input` shape. + * @see {@link SendAutomationSignalCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link AutomationExecutionNotFoundException} (client fault) + *

There is no automation execution information for the requested automation execution + * ID.

+ * + * @throws {@link AutomationStepNotFoundException} (client fault) + *

The specified step name and execution ID don't exist. Verify the information and try + * again.

+ * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link InvalidAutomationSignalException} (client fault) + *

The signal isn't valid for the current Automation execution.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class SendAutomationSignalCommand extends $Command { + readonly input: SendAutomationSignalCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: SendAutomationSignalCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/SendCommandCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/SendCommandCommand.d.ts new file mode 100644 index 00000000..9427642c --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/SendCommandCommand.d.ts @@ -0,0 +1,235 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { SendCommandRequest, SendCommandResult } from "../models/models_1"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link SendCommandCommand}. + */ +export interface SendCommandCommandInput extends SendCommandRequest { +} +/** + * @public + * + * The output of {@link SendCommandCommand}. + */ +export interface SendCommandCommandOutput extends SendCommandResult, __MetadataBearer { +} +/** + * @public + *

Runs commands on one or more managed nodes.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, SendCommandCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, SendCommandCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // SendCommandRequest + * InstanceIds: [ // InstanceIdList + * "STRING_VALUE", + * ], + * Targets: [ // Targets + * { // Target + * Key: "STRING_VALUE", + * Values: [ // TargetValues + * "STRING_VALUE", + * ], + * }, + * ], + * DocumentName: "STRING_VALUE", // required + * DocumentVersion: "STRING_VALUE", + * DocumentHash: "STRING_VALUE", + * DocumentHashType: "Sha256" || "Sha1", + * TimeoutSeconds: Number("int"), + * Comment: "STRING_VALUE", + * Parameters: { // Parameters + * "": [ // ParameterValueList + * "STRING_VALUE", + * ], + * }, + * OutputS3Region: "STRING_VALUE", + * OutputS3BucketName: "STRING_VALUE", + * OutputS3KeyPrefix: "STRING_VALUE", + * MaxConcurrency: "STRING_VALUE", + * MaxErrors: "STRING_VALUE", + * ServiceRoleArn: "STRING_VALUE", + * NotificationConfig: { // NotificationConfig + * NotificationArn: "STRING_VALUE", + * NotificationEvents: [ // NotificationEventList + * "All" || "InProgress" || "Success" || "TimedOut" || "Cancelled" || "Failed", + * ], + * NotificationType: "Command" || "Invocation", + * }, + * CloudWatchOutputConfig: { // CloudWatchOutputConfig + * CloudWatchLogGroupName: "STRING_VALUE", + * CloudWatchOutputEnabled: true || false, + * }, + * AlarmConfiguration: { // AlarmConfiguration + * IgnorePollAlarmFailure: true || false, + * Alarms: [ // AlarmList // required + * { // Alarm + * Name: "STRING_VALUE", // required + * }, + * ], + * }, + * }; + * const command = new SendCommandCommand(input); + * const response = await client.send(command); + * // { // SendCommandResult + * // Command: { // Command + * // CommandId: "STRING_VALUE", + * // DocumentName: "STRING_VALUE", + * // DocumentVersion: "STRING_VALUE", + * // Comment: "STRING_VALUE", + * // ExpiresAfter: new Date("TIMESTAMP"), + * // Parameters: { // Parameters + * // "": [ // ParameterValueList + * // "STRING_VALUE", + * // ], + * // }, + * // InstanceIds: [ // InstanceIdList + * // "STRING_VALUE", + * // ], + * // Targets: [ // Targets + * // { // Target + * // Key: "STRING_VALUE", + * // Values: [ // TargetValues + * // "STRING_VALUE", + * // ], + * // }, + * // ], + * // RequestedDateTime: new Date("TIMESTAMP"), + * // Status: "Pending" || "InProgress" || "Success" || "Cancelled" || "Failed" || "TimedOut" || "Cancelling", + * // StatusDetails: "STRING_VALUE", + * // OutputS3Region: "STRING_VALUE", + * // OutputS3BucketName: "STRING_VALUE", + * // OutputS3KeyPrefix: "STRING_VALUE", + * // MaxConcurrency: "STRING_VALUE", + * // MaxErrors: "STRING_VALUE", + * // TargetCount: Number("int"), + * // CompletedCount: Number("int"), + * // ErrorCount: Number("int"), + * // DeliveryTimedOutCount: Number("int"), + * // ServiceRole: "STRING_VALUE", + * // NotificationConfig: { // NotificationConfig + * // NotificationArn: "STRING_VALUE", + * // NotificationEvents: [ // NotificationEventList + * // "All" || "InProgress" || "Success" || "TimedOut" || "Cancelled" || "Failed", + * // ], + * // NotificationType: "Command" || "Invocation", + * // }, + * // CloudWatchOutputConfig: { // CloudWatchOutputConfig + * // CloudWatchLogGroupName: "STRING_VALUE", + * // CloudWatchOutputEnabled: true || false, + * // }, + * // TimeoutSeconds: Number("int"), + * // AlarmConfiguration: { // AlarmConfiguration + * // IgnorePollAlarmFailure: true || false, + * // Alarms: [ // AlarmList // required + * // { // Alarm + * // Name: "STRING_VALUE", // required + * // }, + * // ], + * // }, + * // TriggeredAlarms: [ // AlarmStateInformationList + * // { // AlarmStateInformation + * // Name: "STRING_VALUE", // required + * // State: "UNKNOWN" || "ALARM", // required + * // }, + * // ], + * // }, + * // }; + * + * ``` + * + * @param SendCommandCommandInput - {@link SendCommandCommandInput} + * @returns {@link SendCommandCommandOutput} + * @see {@link SendCommandCommandInput} for command's `input` shape. + * @see {@link SendCommandCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link DuplicateInstanceId} (client fault) + *

You can't specify a managed node ID in more than one association.

+ * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link InvalidDocument} (client fault) + *

The specified SSM document doesn't exist.

+ * + * @throws {@link InvalidDocumentVersion} (client fault) + *

The document version isn't valid or doesn't exist.

+ * + * @throws {@link InvalidInstanceId} (client fault) + *

The following problems can cause this exception:

+ *
    + *
  • + *

    You don't have permission to access the managed node.

    + *
  • + *
  • + *

    Amazon Web Services Systems Manager Agent(SSM Agent) isn't running. Verify that SSM Agent is + * running.

    + *
  • + *
  • + *

    SSM Agent isn't registered with the SSM endpoint. Try reinstalling SSM Agent.

    + *
  • + *
  • + *

    The managed node isn't in valid state. Valid states are: Running, + * Pending, Stopped, and Stopping. Invalid states are: + * Shutting-down and Terminated.

    + *
  • + *
+ * + * @throws {@link InvalidNotificationConfig} (client fault) + *

One or more configuration items isn't valid. Verify that a valid Amazon Resource Name (ARN) + * was provided for an Amazon Simple Notification Service topic.

+ * + * @throws {@link InvalidOutputFolder} (client fault) + *

The S3 bucket doesn't exist.

+ * + * @throws {@link InvalidParameters} (client fault) + *

You must specify values for all required parameters in the Amazon Web Services Systems Manager document (SSM + * document). You can only supply values to parameters defined in the SSM document.

+ * + * @throws {@link InvalidRole} (client fault) + *

The role name can't contain invalid characters. Also verify that you specified an IAM role for notifications that includes the required trust policy. For information about + * configuring the IAM role for Run Command notifications, see Configuring Amazon SNS Notifications for Run Command in the + * Amazon Web Services Systems Manager User Guide.

+ * + * @throws {@link MaxDocumentSizeExceeded} (client fault) + *

The size limit of a document is 64 KB.

+ * + * @throws {@link UnsupportedPlatformType} (client fault) + *

The document doesn't support the platform type of the given managed node ID(s). For example, + * you sent an document for a Windows managed node to a Linux node.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class SendCommandCommand extends $Command { + readonly input: SendCommandCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: SendCommandCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/StartAssociationsOnceCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/StartAssociationsOnceCommand.d.ts new file mode 100644 index 00000000..c4d68a28 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/StartAssociationsOnceCommand.d.ts @@ -0,0 +1,80 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { StartAssociationsOnceRequest, StartAssociationsOnceResult } from "../models/models_1"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link StartAssociationsOnceCommand}. + */ +export interface StartAssociationsOnceCommandInput extends StartAssociationsOnceRequest { +} +/** + * @public + * + * The output of {@link StartAssociationsOnceCommand}. + */ +export interface StartAssociationsOnceCommandOutput extends StartAssociationsOnceResult, __MetadataBearer { +} +/** + * @public + *

Runs an association immediately and only one time. This operation can be helpful when + * troubleshooting associations.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, StartAssociationsOnceCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, StartAssociationsOnceCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // StartAssociationsOnceRequest + * AssociationIds: [ // AssociationIdList // required + * "STRING_VALUE", + * ], + * }; + * const command = new StartAssociationsOnceCommand(input); + * const response = await client.send(command); + * // {}; + * + * ``` + * + * @param StartAssociationsOnceCommandInput - {@link StartAssociationsOnceCommandInput} + * @returns {@link StartAssociationsOnceCommandOutput} + * @see {@link StartAssociationsOnceCommandInput} for command's `input` shape. + * @see {@link StartAssociationsOnceCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link AssociationDoesNotExist} (client fault) + *

The specified association doesn't exist.

+ * + * @throws {@link InvalidAssociation} (client fault) + *

The association isn't valid or doesn't exist.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class StartAssociationsOnceCommand extends $Command { + readonly input: StartAssociationsOnceCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: StartAssociationsOnceCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/StartAutomationExecutionCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/StartAutomationExecutionCommand.d.ts new file mode 100644 index 00000000..46d525fe --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/StartAutomationExecutionCommand.d.ts @@ -0,0 +1,160 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { StartAutomationExecutionRequest, StartAutomationExecutionResult } from "../models/models_1"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link StartAutomationExecutionCommand}. + */ +export interface StartAutomationExecutionCommandInput extends StartAutomationExecutionRequest { +} +/** + * @public + * + * The output of {@link StartAutomationExecutionCommand}. + */ +export interface StartAutomationExecutionCommandOutput extends StartAutomationExecutionResult, __MetadataBearer { +} +/** + * @public + *

Initiates execution of an Automation runbook.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, StartAutomationExecutionCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, StartAutomationExecutionCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // StartAutomationExecutionRequest + * DocumentName: "STRING_VALUE", // required + * DocumentVersion: "STRING_VALUE", + * Parameters: { // AutomationParameterMap + * "": [ // AutomationParameterValueList + * "STRING_VALUE", + * ], + * }, + * ClientToken: "STRING_VALUE", + * Mode: "Auto" || "Interactive", + * TargetParameterName: "STRING_VALUE", + * Targets: [ // Targets + * { // Target + * Key: "STRING_VALUE", + * Values: [ // TargetValues + * "STRING_VALUE", + * ], + * }, + * ], + * TargetMaps: [ // TargetMaps + * { // TargetMap + * "": [ // TargetMapValueList + * "STRING_VALUE", + * ], + * }, + * ], + * MaxConcurrency: "STRING_VALUE", + * MaxErrors: "STRING_VALUE", + * TargetLocations: [ // TargetLocations + * { // TargetLocation + * Accounts: [ // Accounts + * "STRING_VALUE", + * ], + * Regions: [ // Regions + * "STRING_VALUE", + * ], + * TargetLocationMaxConcurrency: "STRING_VALUE", + * TargetLocationMaxErrors: "STRING_VALUE", + * ExecutionRoleName: "STRING_VALUE", + * TargetLocationAlarmConfiguration: { // AlarmConfiguration + * IgnorePollAlarmFailure: true || false, + * Alarms: [ // AlarmList // required + * { // Alarm + * Name: "STRING_VALUE", // required + * }, + * ], + * }, + * }, + * ], + * Tags: [ // TagList + * { // Tag + * Key: "STRING_VALUE", // required + * Value: "STRING_VALUE", // required + * }, + * ], + * AlarmConfiguration: { + * IgnorePollAlarmFailure: true || false, + * Alarms: [ // required + * { + * Name: "STRING_VALUE", // required + * }, + * ], + * }, + * }; + * const command = new StartAutomationExecutionCommand(input); + * const response = await client.send(command); + * // { // StartAutomationExecutionResult + * // AutomationExecutionId: "STRING_VALUE", + * // }; + * + * ``` + * + * @param StartAutomationExecutionCommandInput - {@link StartAutomationExecutionCommandInput} + * @returns {@link StartAutomationExecutionCommandOutput} + * @see {@link StartAutomationExecutionCommandInput} for command's `input` shape. + * @see {@link StartAutomationExecutionCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link AutomationDefinitionNotFoundException} (client fault) + *

An Automation runbook with the specified name couldn't be found.

+ * + * @throws {@link AutomationDefinitionVersionNotFoundException} (client fault) + *

An Automation runbook with the specified name and version couldn't be found.

+ * + * @throws {@link AutomationExecutionLimitExceededException} (client fault) + *

The number of simultaneously running Automation executions exceeded the allowable + * limit.

+ * + * @throws {@link IdempotentParameterMismatch} (client fault) + *

Error returned when an idempotent operation is retried and the parameters don't match the + * original call to the API with the same idempotency token.

+ * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link InvalidAutomationExecutionParametersException} (client fault) + *

The supplied parameters for invoking the specified Automation runbook are incorrect. For + * example, they may not match the set of parameters permitted for the specified Automation + * document.

+ * + * @throws {@link InvalidTarget} (client fault) + *

The target isn't valid or doesn't exist. It might not be configured for Systems Manager or you might + * not have permission to perform the operation.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class StartAutomationExecutionCommand extends $Command { + readonly input: StartAutomationExecutionCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: StartAutomationExecutionCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/StartChangeRequestExecutionCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/StartChangeRequestExecutionCommand.d.ts new file mode 100644 index 00000000..e4ca9ce0 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/StartChangeRequestExecutionCommand.d.ts @@ -0,0 +1,169 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { StartChangeRequestExecutionRequest, StartChangeRequestExecutionResult } from "../models/models_1"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link StartChangeRequestExecutionCommand}. + */ +export interface StartChangeRequestExecutionCommandInput extends StartChangeRequestExecutionRequest { +} +/** + * @public + * + * The output of {@link StartChangeRequestExecutionCommand}. + */ +export interface StartChangeRequestExecutionCommandOutput extends StartChangeRequestExecutionResult, __MetadataBearer { +} +/** + * @public + *

Creates a change request for Change Manager. The Automation runbooks specified in the + * change request run only after all required approvals for the change request have been + * received.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, StartChangeRequestExecutionCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, StartChangeRequestExecutionCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // StartChangeRequestExecutionRequest + * ScheduledTime: new Date("TIMESTAMP"), + * DocumentName: "STRING_VALUE", // required + * DocumentVersion: "STRING_VALUE", + * Parameters: { // AutomationParameterMap + * "": [ // AutomationParameterValueList + * "STRING_VALUE", + * ], + * }, + * ChangeRequestName: "STRING_VALUE", + * ClientToken: "STRING_VALUE", + * AutoApprove: true || false, + * Runbooks: [ // Runbooks // required + * { // Runbook + * DocumentName: "STRING_VALUE", // required + * DocumentVersion: "STRING_VALUE", + * Parameters: { + * "": [ + * "STRING_VALUE", + * ], + * }, + * TargetParameterName: "STRING_VALUE", + * Targets: [ // Targets + * { // Target + * Key: "STRING_VALUE", + * Values: [ // TargetValues + * "STRING_VALUE", + * ], + * }, + * ], + * TargetMaps: [ // TargetMaps + * { // TargetMap + * "": [ // TargetMapValueList + * "STRING_VALUE", + * ], + * }, + * ], + * MaxConcurrency: "STRING_VALUE", + * MaxErrors: "STRING_VALUE", + * TargetLocations: [ // TargetLocations + * { // TargetLocation + * Accounts: [ // Accounts + * "STRING_VALUE", + * ], + * Regions: [ // Regions + * "STRING_VALUE", + * ], + * TargetLocationMaxConcurrency: "STRING_VALUE", + * TargetLocationMaxErrors: "STRING_VALUE", + * ExecutionRoleName: "STRING_VALUE", + * TargetLocationAlarmConfiguration: { // AlarmConfiguration + * IgnorePollAlarmFailure: true || false, + * Alarms: [ // AlarmList // required + * { // Alarm + * Name: "STRING_VALUE", // required + * }, + * ], + * }, + * }, + * ], + * }, + * ], + * Tags: [ // TagList + * { // Tag + * Key: "STRING_VALUE", // required + * Value: "STRING_VALUE", // required + * }, + * ], + * ScheduledEndTime: new Date("TIMESTAMP"), + * ChangeDetails: "STRING_VALUE", + * }; + * const command = new StartChangeRequestExecutionCommand(input); + * const response = await client.send(command); + * // { // StartChangeRequestExecutionResult + * // AutomationExecutionId: "STRING_VALUE", + * // }; + * + * ``` + * + * @param StartChangeRequestExecutionCommandInput - {@link StartChangeRequestExecutionCommandInput} + * @returns {@link StartChangeRequestExecutionCommandOutput} + * @see {@link StartChangeRequestExecutionCommandInput} for command's `input` shape. + * @see {@link StartChangeRequestExecutionCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link AutomationDefinitionNotApprovedException} (client fault) + *

Indicates that the Change Manager change template used in the change request was rejected or is + * still in a pending state.

+ * + * @throws {@link AutomationDefinitionNotFoundException} (client fault) + *

An Automation runbook with the specified name couldn't be found.

+ * + * @throws {@link AutomationDefinitionVersionNotFoundException} (client fault) + *

An Automation runbook with the specified name and version couldn't be found.

+ * + * @throws {@link AutomationExecutionLimitExceededException} (client fault) + *

The number of simultaneously running Automation executions exceeded the allowable + * limit.

+ * + * @throws {@link IdempotentParameterMismatch} (client fault) + *

Error returned when an idempotent operation is retried and the parameters don't match the + * original call to the API with the same idempotency token.

+ * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link InvalidAutomationExecutionParametersException} (client fault) + *

The supplied parameters for invoking the specified Automation runbook are incorrect. For + * example, they may not match the set of parameters permitted for the specified Automation + * document.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class StartChangeRequestExecutionCommand extends $Command { + readonly input: StartChangeRequestExecutionCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: StartChangeRequestExecutionCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/StartSessionCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/StartSessionCommand.d.ts new file mode 100644 index 00000000..02bc8d44 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/StartSessionCommand.d.ts @@ -0,0 +1,104 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { StartSessionRequest, StartSessionResponse } from "../models/models_1"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link StartSessionCommand}. + */ +export interface StartSessionCommandInput extends StartSessionRequest { +} +/** + * @public + * + * The output of {@link StartSessionCommand}. + */ +export interface StartSessionCommandOutput extends StartSessionResponse, __MetadataBearer { +} +/** + * @public + *

Initiates a connection to a target (for example, a managed node) for a Session Manager session. + * Returns a URL and token that can be used to open a WebSocket connection for sending input and + * receiving outputs.

+ * + *

Amazon Web Services CLI usage: start-session is an interactive command that requires the Session Manager + * plugin to be installed on the client machine making the call. For information, see Install + * the Session Manager plugin for the Amazon Web Services CLI in the Amazon Web Services Systems Manager User Guide.

+ *

Amazon Web Services Tools for PowerShell usage: Start-SSMSession isn't currently supported by Amazon Web Services Tools + * for PowerShell on Windows local machines.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, StartSessionCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, StartSessionCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // StartSessionRequest + * Target: "STRING_VALUE", // required + * DocumentName: "STRING_VALUE", + * Reason: "STRING_VALUE", + * Parameters: { // SessionManagerParameters + * "": [ // SessionManagerParameterValueList + * "STRING_VALUE", + * ], + * }, + * }; + * const command = new StartSessionCommand(input); + * const response = await client.send(command); + * // { // StartSessionResponse + * // SessionId: "STRING_VALUE", + * // TokenValue: "STRING_VALUE", + * // StreamUrl: "STRING_VALUE", + * // }; + * + * ``` + * + * @param StartSessionCommandInput - {@link StartSessionCommandInput} + * @returns {@link StartSessionCommandOutput} + * @see {@link StartSessionCommandInput} for command's `input` shape. + * @see {@link StartSessionCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link InvalidDocument} (client fault) + *

The specified SSM document doesn't exist.

+ * + * @throws {@link TargetNotConnected} (client fault) + *

The specified target managed node for the session isn't fully configured for use with Session Manager. + * For more information, see Getting started with + * Session Manager in the Amazon Web Services Systems Manager User Guide. This error is also returned if you + * attempt to start a session on a managed node that is located in a different account or + * Region

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class StartSessionCommand extends $Command { + readonly input: StartSessionCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: StartSessionCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/StopAutomationExecutionCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/StopAutomationExecutionCommand.d.ts new file mode 100644 index 00000000..19f33c87 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/StopAutomationExecutionCommand.d.ts @@ -0,0 +1,82 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { StopAutomationExecutionRequest, StopAutomationExecutionResult } from "../models/models_1"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link StopAutomationExecutionCommand}. + */ +export interface StopAutomationExecutionCommandInput extends StopAutomationExecutionRequest { +} +/** + * @public + * + * The output of {@link StopAutomationExecutionCommand}. + */ +export interface StopAutomationExecutionCommandOutput extends StopAutomationExecutionResult, __MetadataBearer { +} +/** + * @public + *

Stop an Automation that is currently running.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, StopAutomationExecutionCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, StopAutomationExecutionCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // StopAutomationExecutionRequest + * AutomationExecutionId: "STRING_VALUE", // required + * Type: "Complete" || "Cancel", + * }; + * const command = new StopAutomationExecutionCommand(input); + * const response = await client.send(command); + * // {}; + * + * ``` + * + * @param StopAutomationExecutionCommandInput - {@link StopAutomationExecutionCommandInput} + * @returns {@link StopAutomationExecutionCommandOutput} + * @see {@link StopAutomationExecutionCommandInput} for command's `input` shape. + * @see {@link StopAutomationExecutionCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link AutomationExecutionNotFoundException} (client fault) + *

There is no automation execution information for the requested automation execution + * ID.

+ * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link InvalidAutomationStatusUpdateException} (client fault) + *

The specified update status operation isn't valid.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class StopAutomationExecutionCommand extends $Command { + readonly input: StopAutomationExecutionCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: StopAutomationExecutionCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/TerminateSessionCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/TerminateSessionCommand.d.ts new file mode 100644 index 00000000..775d467f --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/TerminateSessionCommand.d.ts @@ -0,0 +1,78 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { TerminateSessionRequest } from "../models/models_1"; +import { TerminateSessionResponse } from "../models/models_2"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link TerminateSessionCommand}. + */ +export interface TerminateSessionCommandInput extends TerminateSessionRequest { +} +/** + * @public + * + * The output of {@link TerminateSessionCommand}. + */ +export interface TerminateSessionCommandOutput extends TerminateSessionResponse, __MetadataBearer { +} +/** + * @public + *

Permanently ends a session and closes the data connection between the Session Manager client and + * SSM Agent on the managed node. A terminated session can't be resumed.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, TerminateSessionCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, TerminateSessionCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // TerminateSessionRequest + * SessionId: "STRING_VALUE", // required + * }; + * const command = new TerminateSessionCommand(input); + * const response = await client.send(command); + * // { // TerminateSessionResponse + * // SessionId: "STRING_VALUE", + * // }; + * + * ``` + * + * @param TerminateSessionCommandInput - {@link TerminateSessionCommandInput} + * @returns {@link TerminateSessionCommandOutput} + * @see {@link TerminateSessionCommandInput} for command's `input` shape. + * @see {@link TerminateSessionCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class TerminateSessionCommand extends $Command { + readonly input: TerminateSessionCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: TerminateSessionCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/UnlabelParameterVersionCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/UnlabelParameterVersionCommand.d.ts new file mode 100644 index 00000000..dcaea699 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/UnlabelParameterVersionCommand.d.ts @@ -0,0 +1,95 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { UnlabelParameterVersionRequest, UnlabelParameterVersionResult } from "../models/models_2"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link UnlabelParameterVersionCommand}. + */ +export interface UnlabelParameterVersionCommandInput extends UnlabelParameterVersionRequest { +} +/** + * @public + * + * The output of {@link UnlabelParameterVersionCommand}. + */ +export interface UnlabelParameterVersionCommandOutput extends UnlabelParameterVersionResult, __MetadataBearer { +} +/** + * @public + *

Remove a label or labels from a parameter.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, UnlabelParameterVersionCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, UnlabelParameterVersionCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // UnlabelParameterVersionRequest + * Name: "STRING_VALUE", // required + * ParameterVersion: Number("long"), // required + * Labels: [ // ParameterLabelList // required + * "STRING_VALUE", + * ], + * }; + * const command = new UnlabelParameterVersionCommand(input); + * const response = await client.send(command); + * // { // UnlabelParameterVersionResult + * // RemovedLabels: [ // ParameterLabelList + * // "STRING_VALUE", + * // ], + * // InvalidLabels: [ + * // "STRING_VALUE", + * // ], + * // }; + * + * ``` + * + * @param UnlabelParameterVersionCommandInput - {@link UnlabelParameterVersionCommandInput} + * @returns {@link UnlabelParameterVersionCommandOutput} + * @see {@link UnlabelParameterVersionCommandInput} for command's `input` shape. + * @see {@link UnlabelParameterVersionCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link ParameterNotFound} (client fault) + *

The parameter couldn't be found. Verify the name and try again.

+ * + * @throws {@link ParameterVersionNotFound} (client fault) + *

The specified parameter version wasn't found. Verify the parameter name and version, and try + * again.

+ * + * @throws {@link TooManyUpdates} (client fault) + *

There are concurrent updates for a resource that supports one update at a time.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class UnlabelParameterVersionCommand extends $Command { + readonly input: UnlabelParameterVersionCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: UnlabelParameterVersionCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateAssociationCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateAssociationCommand.d.ts new file mode 100644 index 00000000..496bd464 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateAssociationCommand.d.ts @@ -0,0 +1,304 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { UpdateAssociationRequest, UpdateAssociationResult } from "../models/models_2"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link UpdateAssociationCommand}. + */ +export interface UpdateAssociationCommandInput extends UpdateAssociationRequest { +} +/** + * @public + * + * The output of {@link UpdateAssociationCommand}. + */ +export interface UpdateAssociationCommandOutput extends UpdateAssociationResult, __MetadataBearer { +} +/** + * @public + *

Updates an association. You can update the association name and version, the document + * version, schedule, parameters, and Amazon Simple Storage Service (Amazon S3) output. When you + * call UpdateAssociation, the system removes all optional parameters from the request + * and overwrites the association with null values for those parameters. This is by design. You must + * specify all optional parameters in the call, even if you are not changing the parameters. This + * includes the Name parameter. Before calling this API action, we recommend that you + * call the DescribeAssociation API operation and make a note of all optional + * parameters required for your UpdateAssociation call.

+ *

In order to call this API operation, a user, group, or role must be granted permission to + * call the DescribeAssociation API operation. If you don't have permission to + * call DescribeAssociation, then you receive the following error: An error + * occurred (AccessDeniedException) when calling the UpdateAssociation operation: User: + * isn't authorized to perform: ssm:DescribeAssociation on resource: + * + *

+ * + *

When you update an association, the association immediately runs against the specified + * targets. You can add the ApplyOnlyAtCronInterval parameter to run the association + * during the next schedule run.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, UpdateAssociationCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, UpdateAssociationCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // UpdateAssociationRequest + * AssociationId: "STRING_VALUE", // required + * Parameters: { // Parameters + * "": [ // ParameterValueList + * "STRING_VALUE", + * ], + * }, + * DocumentVersion: "STRING_VALUE", + * ScheduleExpression: "STRING_VALUE", + * OutputLocation: { // InstanceAssociationOutputLocation + * S3Location: { // S3OutputLocation + * OutputS3Region: "STRING_VALUE", + * OutputS3BucketName: "STRING_VALUE", + * OutputS3KeyPrefix: "STRING_VALUE", + * }, + * }, + * Name: "STRING_VALUE", + * Targets: [ // Targets + * { // Target + * Key: "STRING_VALUE", + * Values: [ // TargetValues + * "STRING_VALUE", + * ], + * }, + * ], + * AssociationName: "STRING_VALUE", + * AssociationVersion: "STRING_VALUE", + * AutomationTargetParameterName: "STRING_VALUE", + * MaxErrors: "STRING_VALUE", + * MaxConcurrency: "STRING_VALUE", + * ComplianceSeverity: "CRITICAL" || "HIGH" || "MEDIUM" || "LOW" || "UNSPECIFIED", + * SyncCompliance: "AUTO" || "MANUAL", + * ApplyOnlyAtCronInterval: true || false, + * CalendarNames: [ // CalendarNameOrARNList + * "STRING_VALUE", + * ], + * TargetLocations: [ // TargetLocations + * { // TargetLocation + * Accounts: [ // Accounts + * "STRING_VALUE", + * ], + * Regions: [ // Regions + * "STRING_VALUE", + * ], + * TargetLocationMaxConcurrency: "STRING_VALUE", + * TargetLocationMaxErrors: "STRING_VALUE", + * ExecutionRoleName: "STRING_VALUE", + * TargetLocationAlarmConfiguration: { // AlarmConfiguration + * IgnorePollAlarmFailure: true || false, + * Alarms: [ // AlarmList // required + * { // Alarm + * Name: "STRING_VALUE", // required + * }, + * ], + * }, + * }, + * ], + * ScheduleOffset: Number("int"), + * TargetMaps: [ // TargetMaps + * { // TargetMap + * "": [ // TargetMapValueList + * "STRING_VALUE", + * ], + * }, + * ], + * AlarmConfiguration: { + * IgnorePollAlarmFailure: true || false, + * Alarms: [ // required + * { + * Name: "STRING_VALUE", // required + * }, + * ], + * }, + * }; + * const command = new UpdateAssociationCommand(input); + * const response = await client.send(command); + * // { // UpdateAssociationResult + * // AssociationDescription: { // AssociationDescription + * // Name: "STRING_VALUE", + * // InstanceId: "STRING_VALUE", + * // AssociationVersion: "STRING_VALUE", + * // Date: new Date("TIMESTAMP"), + * // LastUpdateAssociationDate: new Date("TIMESTAMP"), + * // Status: { // AssociationStatus + * // Date: new Date("TIMESTAMP"), // required + * // Name: "Pending" || "Success" || "Failed", // required + * // Message: "STRING_VALUE", // required + * // AdditionalInfo: "STRING_VALUE", + * // }, + * // Overview: { // AssociationOverview + * // Status: "STRING_VALUE", + * // DetailedStatus: "STRING_VALUE", + * // AssociationStatusAggregatedCount: { // AssociationStatusAggregatedCount + * // "": Number("int"), + * // }, + * // }, + * // DocumentVersion: "STRING_VALUE", + * // AutomationTargetParameterName: "STRING_VALUE", + * // Parameters: { // Parameters + * // "": [ // ParameterValueList + * // "STRING_VALUE", + * // ], + * // }, + * // AssociationId: "STRING_VALUE", + * // Targets: [ // Targets + * // { // Target + * // Key: "STRING_VALUE", + * // Values: [ // TargetValues + * // "STRING_VALUE", + * // ], + * // }, + * // ], + * // ScheduleExpression: "STRING_VALUE", + * // OutputLocation: { // InstanceAssociationOutputLocation + * // S3Location: { // S3OutputLocation + * // OutputS3Region: "STRING_VALUE", + * // OutputS3BucketName: "STRING_VALUE", + * // OutputS3KeyPrefix: "STRING_VALUE", + * // }, + * // }, + * // LastExecutionDate: new Date("TIMESTAMP"), + * // LastSuccessfulExecutionDate: new Date("TIMESTAMP"), + * // AssociationName: "STRING_VALUE", + * // MaxErrors: "STRING_VALUE", + * // MaxConcurrency: "STRING_VALUE", + * // ComplianceSeverity: "CRITICAL" || "HIGH" || "MEDIUM" || "LOW" || "UNSPECIFIED", + * // SyncCompliance: "AUTO" || "MANUAL", + * // ApplyOnlyAtCronInterval: true || false, + * // CalendarNames: [ // CalendarNameOrARNList + * // "STRING_VALUE", + * // ], + * // TargetLocations: [ // TargetLocations + * // { // TargetLocation + * // Accounts: [ // Accounts + * // "STRING_VALUE", + * // ], + * // Regions: [ // Regions + * // "STRING_VALUE", + * // ], + * // TargetLocationMaxConcurrency: "STRING_VALUE", + * // TargetLocationMaxErrors: "STRING_VALUE", + * // ExecutionRoleName: "STRING_VALUE", + * // TargetLocationAlarmConfiguration: { // AlarmConfiguration + * // IgnorePollAlarmFailure: true || false, + * // Alarms: [ // AlarmList // required + * // { // Alarm + * // Name: "STRING_VALUE", // required + * // }, + * // ], + * // }, + * // }, + * // ], + * // ScheduleOffset: Number("int"), + * // TargetMaps: [ // TargetMaps + * // { // TargetMap + * // "": [ // TargetMapValueList + * // "STRING_VALUE", + * // ], + * // }, + * // ], + * // AlarmConfiguration: { + * // IgnorePollAlarmFailure: true || false, + * // Alarms: [ // required + * // { + * // Name: "STRING_VALUE", // required + * // }, + * // ], + * // }, + * // TriggeredAlarms: [ // AlarmStateInformationList + * // { // AlarmStateInformation + * // Name: "STRING_VALUE", // required + * // State: "UNKNOWN" || "ALARM", // required + * // }, + * // ], + * // }, + * // }; + * + * ``` + * + * @param UpdateAssociationCommandInput - {@link UpdateAssociationCommandInput} + * @returns {@link UpdateAssociationCommandOutput} + * @see {@link UpdateAssociationCommandInput} for command's `input` shape. + * @see {@link UpdateAssociationCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link AssociationDoesNotExist} (client fault) + *

The specified association doesn't exist.

+ * + * @throws {@link AssociationVersionLimitExceeded} (client fault) + *

You have reached the maximum number versions allowed for an association. Each association + * has a limit of 1,000 versions.

+ * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link InvalidAssociationVersion} (client fault) + *

The version you specified isn't valid. Use ListAssociationVersions to view all versions of + * an association according to the association ID. Or, use the $LATEST parameter to + * view the latest version of the association.

+ * + * @throws {@link InvalidDocument} (client fault) + *

The specified SSM document doesn't exist.

+ * + * @throws {@link InvalidDocumentVersion} (client fault) + *

The document version isn't valid or doesn't exist.

+ * + * @throws {@link InvalidOutputLocation} (client fault) + *

The output location isn't valid or doesn't exist.

+ * + * @throws {@link InvalidParameters} (client fault) + *

You must specify values for all required parameters in the Amazon Web Services Systems Manager document (SSM + * document). You can only supply values to parameters defined in the SSM document.

+ * + * @throws {@link InvalidSchedule} (client fault) + *

The schedule is invalid. Verify your cron or rate expression and try again.

+ * + * @throws {@link InvalidTarget} (client fault) + *

The target isn't valid or doesn't exist. It might not be configured for Systems Manager or you might + * not have permission to perform the operation.

+ * + * @throws {@link InvalidTargetMaps} (client fault) + *

TargetMap parameter isn't valid.

+ * + * @throws {@link InvalidUpdate} (client fault) + *

The update isn't valid.

+ * + * @throws {@link TooManyUpdates} (client fault) + *

There are concurrent updates for a resource that supports one update at a time.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class UpdateAssociationCommand extends $Command { + readonly input: UpdateAssociationCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: UpdateAssociationCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateAssociationStatusCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateAssociationStatusCommand.d.ts new file mode 100644 index 00000000..d75c48ea --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateAssociationStatusCommand.d.ts @@ -0,0 +1,217 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { UpdateAssociationStatusRequest, UpdateAssociationStatusResult } from "../models/models_2"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link UpdateAssociationStatusCommand}. + */ +export interface UpdateAssociationStatusCommandInput extends UpdateAssociationStatusRequest { +} +/** + * @public + * + * The output of {@link UpdateAssociationStatusCommand}. + */ +export interface UpdateAssociationStatusCommandOutput extends UpdateAssociationStatusResult, __MetadataBearer { +} +/** + * @public + *

Updates the status of the Amazon Web Services Systems Manager document (SSM document) associated with the specified + * managed node.

+ *

+ * UpdateAssociationStatus is primarily used by the Amazon Web Services Systems Manager Agent (SSM Agent) to + * report status updates about your associations and is only used for associations created with the + * InstanceId legacy parameter.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, UpdateAssociationStatusCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, UpdateAssociationStatusCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // UpdateAssociationStatusRequest + * Name: "STRING_VALUE", // required + * InstanceId: "STRING_VALUE", // required + * AssociationStatus: { // AssociationStatus + * Date: new Date("TIMESTAMP"), // required + * Name: "Pending" || "Success" || "Failed", // required + * Message: "STRING_VALUE", // required + * AdditionalInfo: "STRING_VALUE", + * }, + * }; + * const command = new UpdateAssociationStatusCommand(input); + * const response = await client.send(command); + * // { // UpdateAssociationStatusResult + * // AssociationDescription: { // AssociationDescription + * // Name: "STRING_VALUE", + * // InstanceId: "STRING_VALUE", + * // AssociationVersion: "STRING_VALUE", + * // Date: new Date("TIMESTAMP"), + * // LastUpdateAssociationDate: new Date("TIMESTAMP"), + * // Status: { // AssociationStatus + * // Date: new Date("TIMESTAMP"), // required + * // Name: "Pending" || "Success" || "Failed", // required + * // Message: "STRING_VALUE", // required + * // AdditionalInfo: "STRING_VALUE", + * // }, + * // Overview: { // AssociationOverview + * // Status: "STRING_VALUE", + * // DetailedStatus: "STRING_VALUE", + * // AssociationStatusAggregatedCount: { // AssociationStatusAggregatedCount + * // "": Number("int"), + * // }, + * // }, + * // DocumentVersion: "STRING_VALUE", + * // AutomationTargetParameterName: "STRING_VALUE", + * // Parameters: { // Parameters + * // "": [ // ParameterValueList + * // "STRING_VALUE", + * // ], + * // }, + * // AssociationId: "STRING_VALUE", + * // Targets: [ // Targets + * // { // Target + * // Key: "STRING_VALUE", + * // Values: [ // TargetValues + * // "STRING_VALUE", + * // ], + * // }, + * // ], + * // ScheduleExpression: "STRING_VALUE", + * // OutputLocation: { // InstanceAssociationOutputLocation + * // S3Location: { // S3OutputLocation + * // OutputS3Region: "STRING_VALUE", + * // OutputS3BucketName: "STRING_VALUE", + * // OutputS3KeyPrefix: "STRING_VALUE", + * // }, + * // }, + * // LastExecutionDate: new Date("TIMESTAMP"), + * // LastSuccessfulExecutionDate: new Date("TIMESTAMP"), + * // AssociationName: "STRING_VALUE", + * // MaxErrors: "STRING_VALUE", + * // MaxConcurrency: "STRING_VALUE", + * // ComplianceSeverity: "CRITICAL" || "HIGH" || "MEDIUM" || "LOW" || "UNSPECIFIED", + * // SyncCompliance: "AUTO" || "MANUAL", + * // ApplyOnlyAtCronInterval: true || false, + * // CalendarNames: [ // CalendarNameOrARNList + * // "STRING_VALUE", + * // ], + * // TargetLocations: [ // TargetLocations + * // { // TargetLocation + * // Accounts: [ // Accounts + * // "STRING_VALUE", + * // ], + * // Regions: [ // Regions + * // "STRING_VALUE", + * // ], + * // TargetLocationMaxConcurrency: "STRING_VALUE", + * // TargetLocationMaxErrors: "STRING_VALUE", + * // ExecutionRoleName: "STRING_VALUE", + * // TargetLocationAlarmConfiguration: { // AlarmConfiguration + * // IgnorePollAlarmFailure: true || false, + * // Alarms: [ // AlarmList // required + * // { // Alarm + * // Name: "STRING_VALUE", // required + * // }, + * // ], + * // }, + * // }, + * // ], + * // ScheduleOffset: Number("int"), + * // TargetMaps: [ // TargetMaps + * // { // TargetMap + * // "": [ // TargetMapValueList + * // "STRING_VALUE", + * // ], + * // }, + * // ], + * // AlarmConfiguration: { + * // IgnorePollAlarmFailure: true || false, + * // Alarms: [ // required + * // { + * // Name: "STRING_VALUE", // required + * // }, + * // ], + * // }, + * // TriggeredAlarms: [ // AlarmStateInformationList + * // { // AlarmStateInformation + * // Name: "STRING_VALUE", // required + * // State: "UNKNOWN" || "ALARM", // required + * // }, + * // ], + * // }, + * // }; + * + * ``` + * + * @param UpdateAssociationStatusCommandInput - {@link UpdateAssociationStatusCommandInput} + * @returns {@link UpdateAssociationStatusCommandOutput} + * @see {@link UpdateAssociationStatusCommandInput} for command's `input` shape. + * @see {@link UpdateAssociationStatusCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link AssociationDoesNotExist} (client fault) + *

The specified association doesn't exist.

+ * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link InvalidDocument} (client fault) + *

The specified SSM document doesn't exist.

+ * + * @throws {@link InvalidInstanceId} (client fault) + *

The following problems can cause this exception:

+ *
    + *
  • + *

    You don't have permission to access the managed node.

    + *
  • + *
  • + *

    Amazon Web Services Systems Manager Agent(SSM Agent) isn't running. Verify that SSM Agent is + * running.

    + *
  • + *
  • + *

    SSM Agent isn't registered with the SSM endpoint. Try reinstalling SSM Agent.

    + *
  • + *
  • + *

    The managed node isn't in valid state. Valid states are: Running, + * Pending, Stopped, and Stopping. Invalid states are: + * Shutting-down and Terminated.

    + *
  • + *
+ * + * @throws {@link StatusUnchanged} (client fault) + *

The updated status is the same as the current status.

+ * + * @throws {@link TooManyUpdates} (client fault) + *

There are concurrent updates for a resource that supports one update at a time.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class UpdateAssociationStatusCommand extends $Command { + readonly input: UpdateAssociationStatusCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: UpdateAssociationStatusCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateDocumentCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateDocumentCommand.d.ts new file mode 100644 index 00000000..178f3425 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateDocumentCommand.d.ts @@ -0,0 +1,188 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { UpdateDocumentRequest, UpdateDocumentResult } from "../models/models_2"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link UpdateDocumentCommand}. + */ +export interface UpdateDocumentCommandInput extends UpdateDocumentRequest { +} +/** + * @public + * + * The output of {@link UpdateDocumentCommand}. + */ +export interface UpdateDocumentCommandOutput extends UpdateDocumentResult, __MetadataBearer { +} +/** + * @public + *

Updates one or more values for an SSM document.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, UpdateDocumentCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, UpdateDocumentCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // UpdateDocumentRequest + * Content: "STRING_VALUE", // required + * Attachments: [ // AttachmentsSourceList + * { // AttachmentsSource + * Key: "SourceUrl" || "S3FileUrl" || "AttachmentReference", + * Values: [ // AttachmentsSourceValues + * "STRING_VALUE", + * ], + * Name: "STRING_VALUE", + * }, + * ], + * Name: "STRING_VALUE", // required + * DisplayName: "STRING_VALUE", + * VersionName: "STRING_VALUE", + * DocumentVersion: "STRING_VALUE", + * DocumentFormat: "YAML" || "JSON" || "TEXT", + * TargetType: "STRING_VALUE", + * }; + * const command = new UpdateDocumentCommand(input); + * const response = await client.send(command); + * // { // UpdateDocumentResult + * // DocumentDescription: { // DocumentDescription + * // Sha1: "STRING_VALUE", + * // Hash: "STRING_VALUE", + * // HashType: "Sha256" || "Sha1", + * // Name: "STRING_VALUE", + * // DisplayName: "STRING_VALUE", + * // VersionName: "STRING_VALUE", + * // Owner: "STRING_VALUE", + * // CreatedDate: new Date("TIMESTAMP"), + * // Status: "Creating" || "Active" || "Updating" || "Deleting" || "Failed", + * // StatusInformation: "STRING_VALUE", + * // DocumentVersion: "STRING_VALUE", + * // Description: "STRING_VALUE", + * // Parameters: [ // DocumentParameterList + * // { // DocumentParameter + * // Name: "STRING_VALUE", + * // Type: "String" || "StringList", + * // Description: "STRING_VALUE", + * // DefaultValue: "STRING_VALUE", + * // }, + * // ], + * // PlatformTypes: [ // PlatformTypeList + * // "Windows" || "Linux" || "MacOS", + * // ], + * // DocumentType: "Command" || "Policy" || "Automation" || "Session" || "Package" || "ApplicationConfiguration" || "ApplicationConfigurationSchema" || "DeploymentStrategy" || "ChangeCalendar" || "Automation.ChangeTemplate" || "ProblemAnalysis" || "ProblemAnalysisTemplate" || "CloudFormation" || "ConformancePackTemplate" || "QuickSetup", + * // SchemaVersion: "STRING_VALUE", + * // LatestVersion: "STRING_VALUE", + * // DefaultVersion: "STRING_VALUE", + * // DocumentFormat: "YAML" || "JSON" || "TEXT", + * // TargetType: "STRING_VALUE", + * // Tags: [ // TagList + * // { // Tag + * // Key: "STRING_VALUE", // required + * // Value: "STRING_VALUE", // required + * // }, + * // ], + * // AttachmentsInformation: [ // AttachmentInformationList + * // { // AttachmentInformation + * // Name: "STRING_VALUE", + * // }, + * // ], + * // Requires: [ // DocumentRequiresList + * // { // DocumentRequires + * // Name: "STRING_VALUE", // required + * // Version: "STRING_VALUE", + * // RequireType: "STRING_VALUE", + * // VersionName: "STRING_VALUE", + * // }, + * // ], + * // Author: "STRING_VALUE", + * // ReviewInformation: [ // ReviewInformationList + * // { // ReviewInformation + * // ReviewedTime: new Date("TIMESTAMP"), + * // Status: "APPROVED" || "NOT_REVIEWED" || "PENDING" || "REJECTED", + * // Reviewer: "STRING_VALUE", + * // }, + * // ], + * // ApprovedVersion: "STRING_VALUE", + * // PendingReviewVersion: "STRING_VALUE", + * // ReviewStatus: "APPROVED" || "NOT_REVIEWED" || "PENDING" || "REJECTED", + * // Category: [ // CategoryList + * // "STRING_VALUE", + * // ], + * // CategoryEnum: [ // CategoryEnumList + * // "STRING_VALUE", + * // ], + * // }, + * // }; + * + * ``` + * + * @param UpdateDocumentCommandInput - {@link UpdateDocumentCommandInput} + * @returns {@link UpdateDocumentCommandOutput} + * @see {@link UpdateDocumentCommandInput} for command's `input` shape. + * @see {@link UpdateDocumentCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link DocumentVersionLimitExceeded} (client fault) + *

The document has too many versions. Delete one or more document versions and try + * again.

+ * + * @throws {@link DuplicateDocumentContent} (client fault) + *

The content of the association document matches another document. Change the content of the + * document and try again.

+ * + * @throws {@link DuplicateDocumentVersionName} (client fault) + *

The version name has already been used in this document. Specify a different version name, + * and then try again.

+ * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link InvalidDocument} (client fault) + *

The specified SSM document doesn't exist.

+ * + * @throws {@link InvalidDocumentContent} (client fault) + *

The content for the document isn't valid.

+ * + * @throws {@link InvalidDocumentOperation} (client fault) + *

You attempted to delete a document while it is still shared. You must stop sharing the + * document before you can delete it.

+ * + * @throws {@link InvalidDocumentSchemaVersion} (client fault) + *

The version of the document schema isn't supported.

+ * + * @throws {@link InvalidDocumentVersion} (client fault) + *

The document version isn't valid or doesn't exist.

+ * + * @throws {@link MaxDocumentSizeExceeded} (client fault) + *

The size limit of a document is 64 KB.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class UpdateDocumentCommand extends $Command { + readonly input: UpdateDocumentCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: UpdateDocumentCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateDocumentDefaultVersionCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateDocumentDefaultVersionCommand.d.ts new file mode 100644 index 00000000..6ec9294a --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateDocumentDefaultVersionCommand.d.ts @@ -0,0 +1,95 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { UpdateDocumentDefaultVersionRequest, UpdateDocumentDefaultVersionResult } from "../models/models_2"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link UpdateDocumentDefaultVersionCommand}. + */ +export interface UpdateDocumentDefaultVersionCommandInput extends UpdateDocumentDefaultVersionRequest { +} +/** + * @public + * + * The output of {@link UpdateDocumentDefaultVersionCommand}. + */ +export interface UpdateDocumentDefaultVersionCommandOutput extends UpdateDocumentDefaultVersionResult, __MetadataBearer { +} +/** + * @public + *

Set the default version of a document.

+ * + *

If you change a document version for a State Manager association, Systems Manager immediately runs + * the association unless you previously specifed the apply-only-at-cron-interval + * parameter.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, UpdateDocumentDefaultVersionCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, UpdateDocumentDefaultVersionCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // UpdateDocumentDefaultVersionRequest + * Name: "STRING_VALUE", // required + * DocumentVersion: "STRING_VALUE", // required + * }; + * const command = new UpdateDocumentDefaultVersionCommand(input); + * const response = await client.send(command); + * // { // UpdateDocumentDefaultVersionResult + * // Description: { // DocumentDefaultVersionDescription + * // Name: "STRING_VALUE", + * // DefaultVersion: "STRING_VALUE", + * // DefaultVersionName: "STRING_VALUE", + * // }, + * // }; + * + * ``` + * + * @param UpdateDocumentDefaultVersionCommandInput - {@link UpdateDocumentDefaultVersionCommandInput} + * @returns {@link UpdateDocumentDefaultVersionCommandOutput} + * @see {@link UpdateDocumentDefaultVersionCommandInput} for command's `input` shape. + * @see {@link UpdateDocumentDefaultVersionCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link InvalidDocument} (client fault) + *

The specified SSM document doesn't exist.

+ * + * @throws {@link InvalidDocumentSchemaVersion} (client fault) + *

The version of the document schema isn't supported.

+ * + * @throws {@link InvalidDocumentVersion} (client fault) + *

The document version isn't valid or doesn't exist.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class UpdateDocumentDefaultVersionCommand extends $Command { + readonly input: UpdateDocumentDefaultVersionCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: UpdateDocumentDefaultVersionCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateDocumentMetadataCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateDocumentMetadataCommand.d.ts new file mode 100644 index 00000000..de3dcac7 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateDocumentMetadataCommand.d.ts @@ -0,0 +1,95 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { UpdateDocumentMetadataRequest, UpdateDocumentMetadataResponse } from "../models/models_2"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link UpdateDocumentMetadataCommand}. + */ +export interface UpdateDocumentMetadataCommandInput extends UpdateDocumentMetadataRequest { +} +/** + * @public + * + * The output of {@link UpdateDocumentMetadataCommand}. + */ +export interface UpdateDocumentMetadataCommandOutput extends UpdateDocumentMetadataResponse, __MetadataBearer { +} +/** + * @public + *

Updates information related to approval reviews for a specific version of a change template + * in Change Manager.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, UpdateDocumentMetadataCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, UpdateDocumentMetadataCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // UpdateDocumentMetadataRequest + * Name: "STRING_VALUE", // required + * DocumentVersion: "STRING_VALUE", + * DocumentReviews: { // DocumentReviews + * Action: "SendForReview" || "UpdateReview" || "Approve" || "Reject", // required + * Comment: [ // DocumentReviewCommentList + * { // DocumentReviewCommentSource + * Type: "Comment", + * Content: "STRING_VALUE", + * }, + * ], + * }, + * }; + * const command = new UpdateDocumentMetadataCommand(input); + * const response = await client.send(command); + * // {}; + * + * ``` + * + * @param UpdateDocumentMetadataCommandInput - {@link UpdateDocumentMetadataCommandInput} + * @returns {@link UpdateDocumentMetadataCommandOutput} + * @see {@link UpdateDocumentMetadataCommandInput} for command's `input` shape. + * @see {@link UpdateDocumentMetadataCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link InvalidDocument} (client fault) + *

The specified SSM document doesn't exist.

+ * + * @throws {@link InvalidDocumentOperation} (client fault) + *

You attempted to delete a document while it is still shared. You must stop sharing the + * document before you can delete it.

+ * + * @throws {@link InvalidDocumentVersion} (client fault) + *

The document version isn't valid or doesn't exist.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class UpdateDocumentMetadataCommand extends $Command { + readonly input: UpdateDocumentMetadataCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: UpdateDocumentMetadataCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateMaintenanceWindowCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateMaintenanceWindowCommand.d.ts new file mode 100644 index 00000000..f6c7a6b4 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateMaintenanceWindowCommand.d.ts @@ -0,0 +1,113 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { UpdateMaintenanceWindowRequest, UpdateMaintenanceWindowResult } from "../models/models_2"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link UpdateMaintenanceWindowCommand}. + */ +export interface UpdateMaintenanceWindowCommandInput extends UpdateMaintenanceWindowRequest { +} +/** + * @public + * + * The output of {@link UpdateMaintenanceWindowCommand}. + */ +export interface UpdateMaintenanceWindowCommandOutput extends UpdateMaintenanceWindowResult, __MetadataBearer { +} +/** + * @public + *

Updates an existing maintenance window. Only specified parameters are modified.

+ * + *

The value you specify for Duration determines the specific end time for the + * maintenance window based on the time it begins. No maintenance window tasks are permitted to + * start after the resulting endtime minus the number of hours you specify for Cutoff. + * For example, if the maintenance window starts at 3 PM, the duration is three hours, and the + * value you specify for Cutoff is one hour, no maintenance window tasks can start + * after 5 PM.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, UpdateMaintenanceWindowCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, UpdateMaintenanceWindowCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // UpdateMaintenanceWindowRequest + * WindowId: "STRING_VALUE", // required + * Name: "STRING_VALUE", + * Description: "STRING_VALUE", + * StartDate: "STRING_VALUE", + * EndDate: "STRING_VALUE", + * Schedule: "STRING_VALUE", + * ScheduleTimezone: "STRING_VALUE", + * ScheduleOffset: Number("int"), + * Duration: Number("int"), + * Cutoff: Number("int"), + * AllowUnassociatedTargets: true || false, + * Enabled: true || false, + * Replace: true || false, + * }; + * const command = new UpdateMaintenanceWindowCommand(input); + * const response = await client.send(command); + * // { // UpdateMaintenanceWindowResult + * // WindowId: "STRING_VALUE", + * // Name: "STRING_VALUE", + * // Description: "STRING_VALUE", + * // StartDate: "STRING_VALUE", + * // EndDate: "STRING_VALUE", + * // Schedule: "STRING_VALUE", + * // ScheduleTimezone: "STRING_VALUE", + * // ScheduleOffset: Number("int"), + * // Duration: Number("int"), + * // Cutoff: Number("int"), + * // AllowUnassociatedTargets: true || false, + * // Enabled: true || false, + * // }; + * + * ``` + * + * @param UpdateMaintenanceWindowCommandInput - {@link UpdateMaintenanceWindowCommandInput} + * @returns {@link UpdateMaintenanceWindowCommandOutput} + * @see {@link UpdateMaintenanceWindowCommandInput} for command's `input` shape. + * @see {@link UpdateMaintenanceWindowCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link DoesNotExistException} (client fault) + *

Error returned when the ID specified for a resource, such as a maintenance window or patch + * baseline, doesn't exist.

+ *

For information about resource quotas in Amazon Web Services Systems Manager, see Systems Manager service quotas in the + * Amazon Web Services General Reference.

+ * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class UpdateMaintenanceWindowCommand extends $Command { + readonly input: UpdateMaintenanceWindowCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: UpdateMaintenanceWindowCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateMaintenanceWindowTargetCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateMaintenanceWindowTargetCommand.d.ts new file mode 100644 index 00000000..ddd86d5c --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateMaintenanceWindowTargetCommand.d.ts @@ -0,0 +1,132 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { UpdateMaintenanceWindowTargetRequest, UpdateMaintenanceWindowTargetResult } from "../models/models_2"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link UpdateMaintenanceWindowTargetCommand}. + */ +export interface UpdateMaintenanceWindowTargetCommandInput extends UpdateMaintenanceWindowTargetRequest { +} +/** + * @public + * + * The output of {@link UpdateMaintenanceWindowTargetCommand}. + */ +export interface UpdateMaintenanceWindowTargetCommandOutput extends UpdateMaintenanceWindowTargetResult, __MetadataBearer { +} +/** + * @public + *

Modifies the target of an existing maintenance window. You + * can change the following:

+ *
    + *
  • + *

    Name

    + *
  • + *
  • + *

    Description

    + *
  • + *
  • + *

    Owner

    + *
  • + *
  • + *

    IDs for an ID target

    + *
  • + *
  • + *

    Tags for a Tag target

    + *
  • + *
  • + *

    From any supported tag type to another. The three supported tag types are ID target, Tag + * target, and resource group. For more information, see Target.

    + *
  • + *
+ * + *

If a parameter is null, then the corresponding field isn't modified.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, UpdateMaintenanceWindowTargetCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, UpdateMaintenanceWindowTargetCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // UpdateMaintenanceWindowTargetRequest + * WindowId: "STRING_VALUE", // required + * WindowTargetId: "STRING_VALUE", // required + * Targets: [ // Targets + * { // Target + * Key: "STRING_VALUE", + * Values: [ // TargetValues + * "STRING_VALUE", + * ], + * }, + * ], + * OwnerInformation: "STRING_VALUE", + * Name: "STRING_VALUE", + * Description: "STRING_VALUE", + * Replace: true || false, + * }; + * const command = new UpdateMaintenanceWindowTargetCommand(input); + * const response = await client.send(command); + * // { // UpdateMaintenanceWindowTargetResult + * // WindowId: "STRING_VALUE", + * // WindowTargetId: "STRING_VALUE", + * // Targets: [ // Targets + * // { // Target + * // Key: "STRING_VALUE", + * // Values: [ // TargetValues + * // "STRING_VALUE", + * // ], + * // }, + * // ], + * // OwnerInformation: "STRING_VALUE", + * // Name: "STRING_VALUE", + * // Description: "STRING_VALUE", + * // }; + * + * ``` + * + * @param UpdateMaintenanceWindowTargetCommandInput - {@link UpdateMaintenanceWindowTargetCommandInput} + * @returns {@link UpdateMaintenanceWindowTargetCommandOutput} + * @see {@link UpdateMaintenanceWindowTargetCommandInput} for command's `input` shape. + * @see {@link UpdateMaintenanceWindowTargetCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link DoesNotExistException} (client fault) + *

Error returned when the ID specified for a resource, such as a maintenance window or patch + * baseline, doesn't exist.

+ *

For information about resource quotas in Amazon Web Services Systems Manager, see Systems Manager service quotas in the + * Amazon Web Services General Reference.

+ * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class UpdateMaintenanceWindowTargetCommand extends $Command { + readonly input: UpdateMaintenanceWindowTargetCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: UpdateMaintenanceWindowTargetCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateMaintenanceWindowTaskCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateMaintenanceWindowTaskCommand.d.ts new file mode 100644 index 00000000..1f2d66be --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateMaintenanceWindowTaskCommand.d.ts @@ -0,0 +1,302 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { UpdateMaintenanceWindowTaskRequest, UpdateMaintenanceWindowTaskResult } from "../models/models_2"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link UpdateMaintenanceWindowTaskCommand}. + */ +export interface UpdateMaintenanceWindowTaskCommandInput extends UpdateMaintenanceWindowTaskRequest { +} +/** + * @public + * + * The output of {@link UpdateMaintenanceWindowTaskCommand}. + */ +export interface UpdateMaintenanceWindowTaskCommandOutput extends UpdateMaintenanceWindowTaskResult, __MetadataBearer { +} +/** + * @public + *

Modifies a task assigned to a maintenance window. You can't change the task type, but you + * can change the following values:

+ *
    + *
  • + *

    + * TaskARN. For example, you can change a RUN_COMMAND task from + * AWS-RunPowerShellScript to AWS-RunShellScript.

    + *
  • + *
  • + *

    + * ServiceRoleArn + *

    + *
  • + *
  • + *

    + * TaskInvocationParameters + *

    + *
  • + *
  • + *

    + * Priority + *

    + *
  • + *
  • + *

    + * MaxConcurrency + *

    + *
  • + *
  • + *

    + * MaxErrors + *

    + *
  • + *
+ * + *

One or more targets must be specified for maintenance window Run Command-type tasks. + * Depending on the task, targets are optional for other maintenance window task types (Automation, + * Lambda, and Step Functions). For more information about running tasks + * that don't specify targets, see Registering + * maintenance window tasks without targets in the + * Amazon Web Services Systems Manager User Guide.

+ *
+ *

If the value for a parameter in UpdateMaintenanceWindowTask is null, then the + * corresponding field isn't modified. If you set Replace to true, then all fields + * required by the RegisterTaskWithMaintenanceWindow operation are required for + * this request. Optional fields that aren't specified are set to null.

+ * + *

When you update a maintenance window task that has options specified in + * TaskInvocationParameters, you must provide again all the + * TaskInvocationParameters values that you want to retain. The values you don't + * specify again are removed. For example, suppose that when you registered a Run Command task, you + * specified TaskInvocationParameters values for Comment, + * NotificationConfig, and OutputS3BucketName. If you update the + * maintenance window task and specify only a different OutputS3BucketName value, the + * values for Comment and NotificationConfig are removed.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, UpdateMaintenanceWindowTaskCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, UpdateMaintenanceWindowTaskCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // UpdateMaintenanceWindowTaskRequest + * WindowId: "STRING_VALUE", // required + * WindowTaskId: "STRING_VALUE", // required + * Targets: [ // Targets + * { // Target + * Key: "STRING_VALUE", + * Values: [ // TargetValues + * "STRING_VALUE", + * ], + * }, + * ], + * TaskArn: "STRING_VALUE", + * ServiceRoleArn: "STRING_VALUE", + * TaskParameters: { // MaintenanceWindowTaskParameters + * "": { // MaintenanceWindowTaskParameterValueExpression + * Values: [ // MaintenanceWindowTaskParameterValueList + * "STRING_VALUE", + * ], + * }, + * }, + * TaskInvocationParameters: { // MaintenanceWindowTaskInvocationParameters + * RunCommand: { // MaintenanceWindowRunCommandParameters + * Comment: "STRING_VALUE", + * CloudWatchOutputConfig: { // CloudWatchOutputConfig + * CloudWatchLogGroupName: "STRING_VALUE", + * CloudWatchOutputEnabled: true || false, + * }, + * DocumentHash: "STRING_VALUE", + * DocumentHashType: "Sha256" || "Sha1", + * DocumentVersion: "STRING_VALUE", + * NotificationConfig: { // NotificationConfig + * NotificationArn: "STRING_VALUE", + * NotificationEvents: [ // NotificationEventList + * "All" || "InProgress" || "Success" || "TimedOut" || "Cancelled" || "Failed", + * ], + * NotificationType: "Command" || "Invocation", + * }, + * OutputS3BucketName: "STRING_VALUE", + * OutputS3KeyPrefix: "STRING_VALUE", + * Parameters: { // Parameters + * "": [ // ParameterValueList + * "STRING_VALUE", + * ], + * }, + * ServiceRoleArn: "STRING_VALUE", + * TimeoutSeconds: Number("int"), + * }, + * Automation: { // MaintenanceWindowAutomationParameters + * DocumentVersion: "STRING_VALUE", + * Parameters: { // AutomationParameterMap + * "": [ // AutomationParameterValueList + * "STRING_VALUE", + * ], + * }, + * }, + * StepFunctions: { // MaintenanceWindowStepFunctionsParameters + * Input: "STRING_VALUE", + * Name: "STRING_VALUE", + * }, + * Lambda: { // MaintenanceWindowLambdaParameters + * ClientContext: "STRING_VALUE", + * Qualifier: "STRING_VALUE", + * Payload: "BLOB_VALUE", + * }, + * }, + * Priority: Number("int"), + * MaxConcurrency: "STRING_VALUE", + * MaxErrors: "STRING_VALUE", + * LoggingInfo: { // LoggingInfo + * S3BucketName: "STRING_VALUE", // required + * S3KeyPrefix: "STRING_VALUE", + * S3Region: "STRING_VALUE", // required + * }, + * Name: "STRING_VALUE", + * Description: "STRING_VALUE", + * Replace: true || false, + * CutoffBehavior: "CONTINUE_TASK" || "CANCEL_TASK", + * AlarmConfiguration: { // AlarmConfiguration + * IgnorePollAlarmFailure: true || false, + * Alarms: [ // AlarmList // required + * { // Alarm + * Name: "STRING_VALUE", // required + * }, + * ], + * }, + * }; + * const command = new UpdateMaintenanceWindowTaskCommand(input); + * const response = await client.send(command); + * // { // UpdateMaintenanceWindowTaskResult + * // WindowId: "STRING_VALUE", + * // WindowTaskId: "STRING_VALUE", + * // Targets: [ // Targets + * // { // Target + * // Key: "STRING_VALUE", + * // Values: [ // TargetValues + * // "STRING_VALUE", + * // ], + * // }, + * // ], + * // TaskArn: "STRING_VALUE", + * // ServiceRoleArn: "STRING_VALUE", + * // TaskParameters: { // MaintenanceWindowTaskParameters + * // "": { // MaintenanceWindowTaskParameterValueExpression + * // Values: [ // MaintenanceWindowTaskParameterValueList + * // "STRING_VALUE", + * // ], + * // }, + * // }, + * // TaskInvocationParameters: { // MaintenanceWindowTaskInvocationParameters + * // RunCommand: { // MaintenanceWindowRunCommandParameters + * // Comment: "STRING_VALUE", + * // CloudWatchOutputConfig: { // CloudWatchOutputConfig + * // CloudWatchLogGroupName: "STRING_VALUE", + * // CloudWatchOutputEnabled: true || false, + * // }, + * // DocumentHash: "STRING_VALUE", + * // DocumentHashType: "Sha256" || "Sha1", + * // DocumentVersion: "STRING_VALUE", + * // NotificationConfig: { // NotificationConfig + * // NotificationArn: "STRING_VALUE", + * // NotificationEvents: [ // NotificationEventList + * // "All" || "InProgress" || "Success" || "TimedOut" || "Cancelled" || "Failed", + * // ], + * // NotificationType: "Command" || "Invocation", + * // }, + * // OutputS3BucketName: "STRING_VALUE", + * // OutputS3KeyPrefix: "STRING_VALUE", + * // Parameters: { // Parameters + * // "": [ // ParameterValueList + * // "STRING_VALUE", + * // ], + * // }, + * // ServiceRoleArn: "STRING_VALUE", + * // TimeoutSeconds: Number("int"), + * // }, + * // Automation: { // MaintenanceWindowAutomationParameters + * // DocumentVersion: "STRING_VALUE", + * // Parameters: { // AutomationParameterMap + * // "": [ // AutomationParameterValueList + * // "STRING_VALUE", + * // ], + * // }, + * // }, + * // StepFunctions: { // MaintenanceWindowStepFunctionsParameters + * // Input: "STRING_VALUE", + * // Name: "STRING_VALUE", + * // }, + * // Lambda: { // MaintenanceWindowLambdaParameters + * // ClientContext: "STRING_VALUE", + * // Qualifier: "STRING_VALUE", + * // Payload: "BLOB_VALUE", + * // }, + * // }, + * // Priority: Number("int"), + * // MaxConcurrency: "STRING_VALUE", + * // MaxErrors: "STRING_VALUE", + * // LoggingInfo: { // LoggingInfo + * // S3BucketName: "STRING_VALUE", // required + * // S3KeyPrefix: "STRING_VALUE", + * // S3Region: "STRING_VALUE", // required + * // }, + * // Name: "STRING_VALUE", + * // Description: "STRING_VALUE", + * // CutoffBehavior: "CONTINUE_TASK" || "CANCEL_TASK", + * // AlarmConfiguration: { // AlarmConfiguration + * // IgnorePollAlarmFailure: true || false, + * // Alarms: [ // AlarmList // required + * // { // Alarm + * // Name: "STRING_VALUE", // required + * // }, + * // ], + * // }, + * // }; + * + * ``` + * + * @param UpdateMaintenanceWindowTaskCommandInput - {@link UpdateMaintenanceWindowTaskCommandInput} + * @returns {@link UpdateMaintenanceWindowTaskCommandOutput} + * @see {@link UpdateMaintenanceWindowTaskCommandInput} for command's `input` shape. + * @see {@link UpdateMaintenanceWindowTaskCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link DoesNotExistException} (client fault) + *

Error returned when the ID specified for a resource, such as a maintenance window or patch + * baseline, doesn't exist.

+ *

For information about resource quotas in Amazon Web Services Systems Manager, see Systems Manager service quotas in the + * Amazon Web Services General Reference.

+ * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class UpdateMaintenanceWindowTaskCommand extends $Command { + readonly input: UpdateMaintenanceWindowTaskCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: UpdateMaintenanceWindowTaskCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateManagedInstanceRoleCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateManagedInstanceRoleCommand.d.ts new file mode 100644 index 00000000..10a4bf6a --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateManagedInstanceRoleCommand.d.ts @@ -0,0 +1,97 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { UpdateManagedInstanceRoleRequest, UpdateManagedInstanceRoleResult } from "../models/models_2"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link UpdateManagedInstanceRoleCommand}. + */ +export interface UpdateManagedInstanceRoleCommandInput extends UpdateManagedInstanceRoleRequest { +} +/** + * @public + * + * The output of {@link UpdateManagedInstanceRoleCommand}. + */ +export interface UpdateManagedInstanceRoleCommandOutput extends UpdateManagedInstanceRoleResult, __MetadataBearer { +} +/** + * @public + *

Changes the Identity and Access Management (IAM) role that is assigned to the + * on-premises server, edge device, or virtual machines (VM). IAM roles are first + * assigned to these hybrid nodes during the activation process. For more information, see CreateActivation.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, UpdateManagedInstanceRoleCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, UpdateManagedInstanceRoleCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // UpdateManagedInstanceRoleRequest + * InstanceId: "STRING_VALUE", // required + * IamRole: "STRING_VALUE", // required + * }; + * const command = new UpdateManagedInstanceRoleCommand(input); + * const response = await client.send(command); + * // {}; + * + * ``` + * + * @param UpdateManagedInstanceRoleCommandInput - {@link UpdateManagedInstanceRoleCommandInput} + * @returns {@link UpdateManagedInstanceRoleCommandOutput} + * @see {@link UpdateManagedInstanceRoleCommandInput} for command's `input` shape. + * @see {@link UpdateManagedInstanceRoleCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link InvalidInstanceId} (client fault) + *

The following problems can cause this exception:

+ *
    + *
  • + *

    You don't have permission to access the managed node.

    + *
  • + *
  • + *

    Amazon Web Services Systems Manager Agent(SSM Agent) isn't running. Verify that SSM Agent is + * running.

    + *
  • + *
  • + *

    SSM Agent isn't registered with the SSM endpoint. Try reinstalling SSM Agent.

    + *
  • + *
  • + *

    The managed node isn't in valid state. Valid states are: Running, + * Pending, Stopped, and Stopping. Invalid states are: + * Shutting-down and Terminated.

    + *
  • + *
+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class UpdateManagedInstanceRoleCommand extends $Command { + readonly input: UpdateManagedInstanceRoleCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: UpdateManagedInstanceRoleCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateOpsItemCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateOpsItemCommand.d.ts new file mode 100644 index 00000000..008c9b84 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateOpsItemCommand.d.ts @@ -0,0 +1,130 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { UpdateOpsItemRequest, UpdateOpsItemResponse } from "../models/models_2"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link UpdateOpsItemCommand}. + */ +export interface UpdateOpsItemCommandInput extends UpdateOpsItemRequest { +} +/** + * @public + * + * The output of {@link UpdateOpsItemCommand}. + */ +export interface UpdateOpsItemCommandOutput extends UpdateOpsItemResponse, __MetadataBearer { +} +/** + * @public + *

Edit or change an OpsItem. You must have permission in Identity and Access Management (IAM) to update an OpsItem. For more information, see Set up OpsCenter in the + * Amazon Web Services Systems Manager User Guide.

+ *

Operations engineers and IT professionals use Amazon Web Services Systems Manager OpsCenter to view, investigate, and + * remediate operational issues impacting the performance and health of their Amazon Web Services resources. For + * more information, see OpsCenter in the + * Amazon Web Services Systems Manager User Guide.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, UpdateOpsItemCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, UpdateOpsItemCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // UpdateOpsItemRequest + * Description: "STRING_VALUE", + * OperationalData: { // OpsItemOperationalData + * "": { // OpsItemDataValue + * Value: "STRING_VALUE", + * Type: "SearchableString" || "String", + * }, + * }, + * OperationalDataToDelete: [ // OpsItemOpsDataKeysList + * "STRING_VALUE", + * ], + * Notifications: [ // OpsItemNotifications + * { // OpsItemNotification + * Arn: "STRING_VALUE", + * }, + * ], + * Priority: Number("int"), + * RelatedOpsItems: [ // RelatedOpsItems + * { // RelatedOpsItem + * OpsItemId: "STRING_VALUE", // required + * }, + * ], + * Status: "Open" || "InProgress" || "Resolved" || "Pending" || "TimedOut" || "Cancelling" || "Cancelled" || "Failed" || "CompletedWithSuccess" || "CompletedWithFailure" || "Scheduled" || "RunbookInProgress" || "PendingChangeCalendarOverride" || "ChangeCalendarOverrideApproved" || "ChangeCalendarOverrideRejected" || "PendingApproval" || "Approved" || "Rejected" || "Closed", + * OpsItemId: "STRING_VALUE", // required + * Title: "STRING_VALUE", + * Category: "STRING_VALUE", + * Severity: "STRING_VALUE", + * ActualStartTime: new Date("TIMESTAMP"), + * ActualEndTime: new Date("TIMESTAMP"), + * PlannedStartTime: new Date("TIMESTAMP"), + * PlannedEndTime: new Date("TIMESTAMP"), + * OpsItemArn: "STRING_VALUE", + * }; + * const command = new UpdateOpsItemCommand(input); + * const response = await client.send(command); + * // {}; + * + * ``` + * + * @param UpdateOpsItemCommandInput - {@link UpdateOpsItemCommandInput} + * @returns {@link UpdateOpsItemCommandOutput} + * @see {@link UpdateOpsItemCommandInput} for command's `input` shape. + * @see {@link UpdateOpsItemCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link OpsItemAccessDeniedException} (client fault) + *

You don't have permission to view OpsItems in the specified account. Verify that your account + * is configured either as a Systems Manager delegated administrator or that you are logged into the Organizations + * management account.

+ * + * @throws {@link OpsItemAlreadyExistsException} (client fault) + *

The OpsItem already exists.

+ * + * @throws {@link OpsItemConflictException} (client fault) + *

The specified OpsItem is in the process of being deleted.

+ * + * @throws {@link OpsItemInvalidParameterException} (client fault) + *

A specified parameter argument isn't valid. Verify the available arguments and try + * again.

+ * + * @throws {@link OpsItemLimitExceededException} (client fault) + *

The request caused OpsItems to exceed one or more quotas.

+ * + * @throws {@link OpsItemNotFoundException} (client fault) + *

The specified OpsItem ID doesn't exist. Verify the ID and try again.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class UpdateOpsItemCommand extends $Command { + readonly input: UpdateOpsItemCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: UpdateOpsItemCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateOpsMetadataCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateOpsMetadataCommand.d.ts new file mode 100644 index 00000000..578db648 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateOpsMetadataCommand.d.ts @@ -0,0 +1,98 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { UpdateOpsMetadataRequest, UpdateOpsMetadataResult } from "../models/models_2"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link UpdateOpsMetadataCommand}. + */ +export interface UpdateOpsMetadataCommandInput extends UpdateOpsMetadataRequest { +} +/** + * @public + * + * The output of {@link UpdateOpsMetadataCommand}. + */ +export interface UpdateOpsMetadataCommandOutput extends UpdateOpsMetadataResult, __MetadataBearer { +} +/** + * @public + *

Amazon Web Services Systems Manager calls this API operation when you edit OpsMetadata in Application Manager.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, UpdateOpsMetadataCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, UpdateOpsMetadataCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // UpdateOpsMetadataRequest + * OpsMetadataArn: "STRING_VALUE", // required + * MetadataToUpdate: { // MetadataMap + * "": { // MetadataValue + * Value: "STRING_VALUE", + * }, + * }, + * KeysToDelete: [ // MetadataKeysToDeleteList + * "STRING_VALUE", + * ], + * }; + * const command = new UpdateOpsMetadataCommand(input); + * const response = await client.send(command); + * // { // UpdateOpsMetadataResult + * // OpsMetadataArn: "STRING_VALUE", + * // }; + * + * ``` + * + * @param UpdateOpsMetadataCommandInput - {@link UpdateOpsMetadataCommandInput} + * @returns {@link UpdateOpsMetadataCommandOutput} + * @see {@link UpdateOpsMetadataCommandInput} for command's `input` shape. + * @see {@link UpdateOpsMetadataCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link OpsMetadataInvalidArgumentException} (client fault) + *

One of the arguments passed is invalid.

+ * + * @throws {@link OpsMetadataKeyLimitExceededException} (client fault) + *

The OpsMetadata object exceeds the maximum number of OpsMetadata keys that you can assign to + * an application in Application Manager.

+ * + * @throws {@link OpsMetadataNotFoundException} (client fault) + *

The OpsMetadata object doesn't exist.

+ * + * @throws {@link OpsMetadataTooManyUpdatesException} (client fault) + *

The system is processing too many concurrent updates. Wait a few moments and try + * again.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class UpdateOpsMetadataCommand extends $Command { + readonly input: UpdateOpsMetadataCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: UpdateOpsMetadataCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdatePatchBaselineCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdatePatchBaselineCommand.d.ts new file mode 100644 index 00000000..c90e82b7 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdatePatchBaselineCommand.d.ts @@ -0,0 +1,191 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { UpdatePatchBaselineRequest, UpdatePatchBaselineResult } from "../models/models_2"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link UpdatePatchBaselineCommand}. + */ +export interface UpdatePatchBaselineCommandInput extends UpdatePatchBaselineRequest { +} +/** + * @public + * + * The output of {@link UpdatePatchBaselineCommand}. + */ +export interface UpdatePatchBaselineCommandOutput extends UpdatePatchBaselineResult, __MetadataBearer { +} +/** + * @public + *

Modifies an existing patch baseline. Fields not specified in the request are left + * unchanged.

+ * + *

For information about valid key-value pairs in PatchFilters for each supported + * operating system type, see PatchFilter.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, UpdatePatchBaselineCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, UpdatePatchBaselineCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // UpdatePatchBaselineRequest + * BaselineId: "STRING_VALUE", // required + * Name: "STRING_VALUE", + * GlobalFilters: { // PatchFilterGroup + * PatchFilters: [ // PatchFilterList // required + * { // PatchFilter + * Key: "ARCH" || "ADVISORY_ID" || "BUGZILLA_ID" || "PATCH_SET" || "PRODUCT" || "PRODUCT_FAMILY" || "CLASSIFICATION" || "CVE_ID" || "EPOCH" || "MSRC_SEVERITY" || "NAME" || "PATCH_ID" || "SECTION" || "PRIORITY" || "REPOSITORY" || "RELEASE" || "SEVERITY" || "SECURITY" || "VERSION", // required + * Values: [ // PatchFilterValueList // required + * "STRING_VALUE", + * ], + * }, + * ], + * }, + * ApprovalRules: { // PatchRuleGroup + * PatchRules: [ // PatchRuleList // required + * { // PatchRule + * PatchFilterGroup: { + * PatchFilters: [ // required + * { + * Key: "ARCH" || "ADVISORY_ID" || "BUGZILLA_ID" || "PATCH_SET" || "PRODUCT" || "PRODUCT_FAMILY" || "CLASSIFICATION" || "CVE_ID" || "EPOCH" || "MSRC_SEVERITY" || "NAME" || "PATCH_ID" || "SECTION" || "PRIORITY" || "REPOSITORY" || "RELEASE" || "SEVERITY" || "SECURITY" || "VERSION", // required + * Values: [ // required + * "STRING_VALUE", + * ], + * }, + * ], + * }, + * ComplianceLevel: "CRITICAL" || "HIGH" || "MEDIUM" || "LOW" || "INFORMATIONAL" || "UNSPECIFIED", + * ApproveAfterDays: Number("int"), + * ApproveUntilDate: "STRING_VALUE", + * EnableNonSecurity: true || false, + * }, + * ], + * }, + * ApprovedPatches: [ // PatchIdList + * "STRING_VALUE", + * ], + * ApprovedPatchesComplianceLevel: "CRITICAL" || "HIGH" || "MEDIUM" || "LOW" || "INFORMATIONAL" || "UNSPECIFIED", + * ApprovedPatchesEnableNonSecurity: true || false, + * RejectedPatches: [ + * "STRING_VALUE", + * ], + * RejectedPatchesAction: "ALLOW_AS_DEPENDENCY" || "BLOCK", + * Description: "STRING_VALUE", + * Sources: [ // PatchSourceList + * { // PatchSource + * Name: "STRING_VALUE", // required + * Products: [ // PatchSourceProductList // required + * "STRING_VALUE", + * ], + * Configuration: "STRING_VALUE", // required + * }, + * ], + * Replace: true || false, + * }; + * const command = new UpdatePatchBaselineCommand(input); + * const response = await client.send(command); + * // { // UpdatePatchBaselineResult + * // BaselineId: "STRING_VALUE", + * // Name: "STRING_VALUE", + * // OperatingSystem: "WINDOWS" || "AMAZON_LINUX" || "AMAZON_LINUX_2" || "AMAZON_LINUX_2022" || "UBUNTU" || "REDHAT_ENTERPRISE_LINUX" || "SUSE" || "CENTOS" || "ORACLE_LINUX" || "DEBIAN" || "MACOS" || "RASPBIAN" || "ROCKY_LINUX" || "ALMA_LINUX" || "AMAZON_LINUX_2023", + * // GlobalFilters: { // PatchFilterGroup + * // PatchFilters: [ // PatchFilterList // required + * // { // PatchFilter + * // Key: "ARCH" || "ADVISORY_ID" || "BUGZILLA_ID" || "PATCH_SET" || "PRODUCT" || "PRODUCT_FAMILY" || "CLASSIFICATION" || "CVE_ID" || "EPOCH" || "MSRC_SEVERITY" || "NAME" || "PATCH_ID" || "SECTION" || "PRIORITY" || "REPOSITORY" || "RELEASE" || "SEVERITY" || "SECURITY" || "VERSION", // required + * // Values: [ // PatchFilterValueList // required + * // "STRING_VALUE", + * // ], + * // }, + * // ], + * // }, + * // ApprovalRules: { // PatchRuleGroup + * // PatchRules: [ // PatchRuleList // required + * // { // PatchRule + * // PatchFilterGroup: { + * // PatchFilters: [ // required + * // { + * // Key: "ARCH" || "ADVISORY_ID" || "BUGZILLA_ID" || "PATCH_SET" || "PRODUCT" || "PRODUCT_FAMILY" || "CLASSIFICATION" || "CVE_ID" || "EPOCH" || "MSRC_SEVERITY" || "NAME" || "PATCH_ID" || "SECTION" || "PRIORITY" || "REPOSITORY" || "RELEASE" || "SEVERITY" || "SECURITY" || "VERSION", // required + * // Values: [ // required + * // "STRING_VALUE", + * // ], + * // }, + * // ], + * // }, + * // ComplianceLevel: "CRITICAL" || "HIGH" || "MEDIUM" || "LOW" || "INFORMATIONAL" || "UNSPECIFIED", + * // ApproveAfterDays: Number("int"), + * // ApproveUntilDate: "STRING_VALUE", + * // EnableNonSecurity: true || false, + * // }, + * // ], + * // }, + * // ApprovedPatches: [ // PatchIdList + * // "STRING_VALUE", + * // ], + * // ApprovedPatchesComplianceLevel: "CRITICAL" || "HIGH" || "MEDIUM" || "LOW" || "INFORMATIONAL" || "UNSPECIFIED", + * // ApprovedPatchesEnableNonSecurity: true || false, + * // RejectedPatches: [ + * // "STRING_VALUE", + * // ], + * // RejectedPatchesAction: "ALLOW_AS_DEPENDENCY" || "BLOCK", + * // CreatedDate: new Date("TIMESTAMP"), + * // ModifiedDate: new Date("TIMESTAMP"), + * // Description: "STRING_VALUE", + * // Sources: [ // PatchSourceList + * // { // PatchSource + * // Name: "STRING_VALUE", // required + * // Products: [ // PatchSourceProductList // required + * // "STRING_VALUE", + * // ], + * // Configuration: "STRING_VALUE", // required + * // }, + * // ], + * // }; + * + * ``` + * + * @param UpdatePatchBaselineCommandInput - {@link UpdatePatchBaselineCommandInput} + * @returns {@link UpdatePatchBaselineCommandOutput} + * @see {@link UpdatePatchBaselineCommandInput} for command's `input` shape. + * @see {@link UpdatePatchBaselineCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link DoesNotExistException} (client fault) + *

Error returned when the ID specified for a resource, such as a maintenance window or patch + * baseline, doesn't exist.

+ *

For information about resource quotas in Amazon Web Services Systems Manager, see Systems Manager service quotas in the + * Amazon Web Services General Reference.

+ * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class UpdatePatchBaselineCommand extends $Command { + readonly input: UpdatePatchBaselineCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: UpdatePatchBaselineCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateResourceDataSyncCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateResourceDataSyncCommand.d.ts new file mode 100644 index 00000000..42a18acb --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateResourceDataSyncCommand.d.ts @@ -0,0 +1,110 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { UpdateResourceDataSyncRequest, UpdateResourceDataSyncResult } from "../models/models_2"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link UpdateResourceDataSyncCommand}. + */ +export interface UpdateResourceDataSyncCommandInput extends UpdateResourceDataSyncRequest { +} +/** + * @public + * + * The output of {@link UpdateResourceDataSyncCommand}. + */ +export interface UpdateResourceDataSyncCommandOutput extends UpdateResourceDataSyncResult, __MetadataBearer { +} +/** + * @public + *

Update a resource data sync. After you create a resource data sync for a Region, you can't + * change the account options for that sync. For example, if you create a sync in the us-east-2 + * (Ohio) Region and you choose the Include only the current account option, you can't + * edit that sync later and choose the Include all accounts from my Organizations + * configuration option. Instead, you must delete the first resource data sync, and create a + * new one.

+ * + *

This API operation only supports a resource data sync that was created with a + * SyncFromSource SyncType.

+ *
+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, UpdateResourceDataSyncCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, UpdateResourceDataSyncCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // UpdateResourceDataSyncRequest + * SyncName: "STRING_VALUE", // required + * SyncType: "STRING_VALUE", // required + * SyncSource: { // ResourceDataSyncSource + * SourceType: "STRING_VALUE", // required + * AwsOrganizationsSource: { // ResourceDataSyncAwsOrganizationsSource + * OrganizationSourceType: "STRING_VALUE", // required + * OrganizationalUnits: [ // ResourceDataSyncOrganizationalUnitList + * { // ResourceDataSyncOrganizationalUnit + * OrganizationalUnitId: "STRING_VALUE", + * }, + * ], + * }, + * SourceRegions: [ // ResourceDataSyncSourceRegionList // required + * "STRING_VALUE", + * ], + * IncludeFutureRegions: true || false, + * EnableAllOpsDataSources: true || false, + * }, + * }; + * const command = new UpdateResourceDataSyncCommand(input); + * const response = await client.send(command); + * // {}; + * + * ``` + * + * @param UpdateResourceDataSyncCommandInput - {@link UpdateResourceDataSyncCommandInput} + * @returns {@link UpdateResourceDataSyncCommandOutput} + * @see {@link UpdateResourceDataSyncCommandInput} for command's `input` shape. + * @see {@link UpdateResourceDataSyncCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link ResourceDataSyncConflictException} (client fault) + *

Another UpdateResourceDataSync request is being processed. Wait a few minutes + * and try again.

+ * + * @throws {@link ResourceDataSyncInvalidConfigurationException} (client fault) + *

The specified sync configuration is invalid.

+ * + * @throws {@link ResourceDataSyncNotFoundException} (client fault) + *

The specified sync name wasn't found.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class UpdateResourceDataSyncCommand extends $Command { + readonly input: UpdateResourceDataSyncCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: UpdateResourceDataSyncCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateServiceSettingCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateServiceSettingCommand.d.ts new file mode 100644 index 00000000..659b4d32 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/UpdateServiceSettingCommand.d.ts @@ -0,0 +1,95 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types"; +import { UpdateServiceSettingRequest, UpdateServiceSettingResult } from "../models/models_2"; +import { ServiceInputTypes, ServiceOutputTypes, SSMClientResolvedConfig } from "../SSMClient"; +/** + * @public + */ +export { __MetadataBearer, $Command }; +/** + * @public + * + * The input for {@link UpdateServiceSettingCommand}. + */ +export interface UpdateServiceSettingCommandInput extends UpdateServiceSettingRequest { +} +/** + * @public + * + * The output of {@link UpdateServiceSettingCommand}. + */ +export interface UpdateServiceSettingCommandOutput extends UpdateServiceSettingResult, __MetadataBearer { +} +/** + * @public + *

+ * ServiceSetting is an account-level setting for an Amazon Web Services service. This setting + * defines how a user interacts with or uses a service or a feature of a service. For example, if an + * Amazon Web Services service charges money to the account based on feature or service usage, then the Amazon Web Services + * service team might create a default setting of "false". This means the user can't use this + * feature unless they change the setting to "true" and intentionally opt in for a paid + * feature.

+ *

Services map a SettingId object to a setting value. Amazon Web Services services teams define + * the default value for a SettingId. You can't create a new SettingId, + * but you can overwrite the default value if you have the ssm:UpdateServiceSetting + * permission for the setting. Use the GetServiceSetting API operation to view the + * current value. Or, use the ResetServiceSetting to change the value back to the + * original value defined by the Amazon Web Services service team.

+ *

Update the service setting for the account.

+ * @example + * Use a bare-bones client and the command you need to make an API call. + * ```javascript + * import { SSMClient, UpdateServiceSettingCommand } from "@aws-sdk/client-ssm"; // ES Modules import + * // const { SSMClient, UpdateServiceSettingCommand } = require("@aws-sdk/client-ssm"); // CommonJS import + * const client = new SSMClient(config); + * const input = { // UpdateServiceSettingRequest + * SettingId: "STRING_VALUE", // required + * SettingValue: "STRING_VALUE", // required + * }; + * const command = new UpdateServiceSettingCommand(input); + * const response = await client.send(command); + * // {}; + * + * ``` + * + * @param UpdateServiceSettingCommandInput - {@link UpdateServiceSettingCommandInput} + * @returns {@link UpdateServiceSettingCommandOutput} + * @see {@link UpdateServiceSettingCommandInput} for command's `input` shape. + * @see {@link UpdateServiceSettingCommandOutput} for command's `response` shape. + * @see {@link SSMClientResolvedConfig | config} for SSMClient's `config` shape. + * + * @throws {@link InternalServerError} (server fault) + *

An error occurred on the server side.

+ * + * @throws {@link ServiceSettingNotFound} (client fault) + *

The specified service setting wasn't found. Either the service name or the setting hasn't + * been provisioned by the Amazon Web Services service team.

+ * + * @throws {@link TooManyUpdates} (client fault) + *

There are concurrent updates for a resource that supports one update at a time.

+ * + * @throws {@link SSMServiceException} + *

Base exception class for all service exceptions from SSM service.

+ * + */ +export declare class UpdateServiceSettingCommand extends $Command { + readonly input: UpdateServiceSettingCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + /** + * @public + */ + constructor(input: UpdateServiceSettingCommandInput); + /** + * @internal + */ + resolveMiddleware(clientStack: MiddlewareStack, configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions): Handler; + /** + * @internal + */ + private serialize; + /** + * @internal + */ + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/commands/index.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/commands/index.d.ts new file mode 100644 index 00000000..ae442763 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/commands/index.d.ts @@ -0,0 +1,139 @@ +export * from "./AddTagsToResourceCommand"; +export * from "./AssociateOpsItemRelatedItemCommand"; +export * from "./CancelCommandCommand"; +export * from "./CancelMaintenanceWindowExecutionCommand"; +export * from "./CreateActivationCommand"; +export * from "./CreateAssociationBatchCommand"; +export * from "./CreateAssociationCommand"; +export * from "./CreateDocumentCommand"; +export * from "./CreateMaintenanceWindowCommand"; +export * from "./CreateOpsItemCommand"; +export * from "./CreateOpsMetadataCommand"; +export * from "./CreatePatchBaselineCommand"; +export * from "./CreateResourceDataSyncCommand"; +export * from "./DeleteActivationCommand"; +export * from "./DeleteAssociationCommand"; +export * from "./DeleteDocumentCommand"; +export * from "./DeleteInventoryCommand"; +export * from "./DeleteMaintenanceWindowCommand"; +export * from "./DeleteOpsItemCommand"; +export * from "./DeleteOpsMetadataCommand"; +export * from "./DeleteParameterCommand"; +export * from "./DeleteParametersCommand"; +export * from "./DeletePatchBaselineCommand"; +export * from "./DeleteResourceDataSyncCommand"; +export * from "./DeleteResourcePolicyCommand"; +export * from "./DeregisterManagedInstanceCommand"; +export * from "./DeregisterPatchBaselineForPatchGroupCommand"; +export * from "./DeregisterTargetFromMaintenanceWindowCommand"; +export * from "./DeregisterTaskFromMaintenanceWindowCommand"; +export * from "./DescribeActivationsCommand"; +export * from "./DescribeAssociationCommand"; +export * from "./DescribeAssociationExecutionTargetsCommand"; +export * from "./DescribeAssociationExecutionsCommand"; +export * from "./DescribeAutomationExecutionsCommand"; +export * from "./DescribeAutomationStepExecutionsCommand"; +export * from "./DescribeAvailablePatchesCommand"; +export * from "./DescribeDocumentCommand"; +export * from "./DescribeDocumentPermissionCommand"; +export * from "./DescribeEffectiveInstanceAssociationsCommand"; +export * from "./DescribeEffectivePatchesForPatchBaselineCommand"; +export * from "./DescribeInstanceAssociationsStatusCommand"; +export * from "./DescribeInstanceInformationCommand"; +export * from "./DescribeInstancePatchStatesCommand"; +export * from "./DescribeInstancePatchStatesForPatchGroupCommand"; +export * from "./DescribeInstancePatchesCommand"; +export * from "./DescribeInventoryDeletionsCommand"; +export * from "./DescribeMaintenanceWindowExecutionTaskInvocationsCommand"; +export * from "./DescribeMaintenanceWindowExecutionTasksCommand"; +export * from "./DescribeMaintenanceWindowExecutionsCommand"; +export * from "./DescribeMaintenanceWindowScheduleCommand"; +export * from "./DescribeMaintenanceWindowTargetsCommand"; +export * from "./DescribeMaintenanceWindowTasksCommand"; +export * from "./DescribeMaintenanceWindowsCommand"; +export * from "./DescribeMaintenanceWindowsForTargetCommand"; +export * from "./DescribeOpsItemsCommand"; +export * from "./DescribeParametersCommand"; +export * from "./DescribePatchBaselinesCommand"; +export * from "./DescribePatchGroupStateCommand"; +export * from "./DescribePatchGroupsCommand"; +export * from "./DescribePatchPropertiesCommand"; +export * from "./DescribeSessionsCommand"; +export * from "./DisassociateOpsItemRelatedItemCommand"; +export * from "./GetAutomationExecutionCommand"; +export * from "./GetCalendarStateCommand"; +export * from "./GetCommandInvocationCommand"; +export * from "./GetConnectionStatusCommand"; +export * from "./GetDefaultPatchBaselineCommand"; +export * from "./GetDeployablePatchSnapshotForInstanceCommand"; +export * from "./GetDocumentCommand"; +export * from "./GetInventoryCommand"; +export * from "./GetInventorySchemaCommand"; +export * from "./GetMaintenanceWindowCommand"; +export * from "./GetMaintenanceWindowExecutionCommand"; +export * from "./GetMaintenanceWindowExecutionTaskCommand"; +export * from "./GetMaintenanceWindowExecutionTaskInvocationCommand"; +export * from "./GetMaintenanceWindowTaskCommand"; +export * from "./GetOpsItemCommand"; +export * from "./GetOpsMetadataCommand"; +export * from "./GetOpsSummaryCommand"; +export * from "./GetParameterCommand"; +export * from "./GetParameterHistoryCommand"; +export * from "./GetParametersByPathCommand"; +export * from "./GetParametersCommand"; +export * from "./GetPatchBaselineCommand"; +export * from "./GetPatchBaselineForPatchGroupCommand"; +export * from "./GetResourcePoliciesCommand"; +export * from "./GetServiceSettingCommand"; +export * from "./LabelParameterVersionCommand"; +export * from "./ListAssociationVersionsCommand"; +export * from "./ListAssociationsCommand"; +export * from "./ListCommandInvocationsCommand"; +export * from "./ListCommandsCommand"; +export * from "./ListComplianceItemsCommand"; +export * from "./ListComplianceSummariesCommand"; +export * from "./ListDocumentMetadataHistoryCommand"; +export * from "./ListDocumentVersionsCommand"; +export * from "./ListDocumentsCommand"; +export * from "./ListInventoryEntriesCommand"; +export * from "./ListOpsItemEventsCommand"; +export * from "./ListOpsItemRelatedItemsCommand"; +export * from "./ListOpsMetadataCommand"; +export * from "./ListResourceComplianceSummariesCommand"; +export * from "./ListResourceDataSyncCommand"; +export * from "./ListTagsForResourceCommand"; +export * from "./ModifyDocumentPermissionCommand"; +export * from "./PutComplianceItemsCommand"; +export * from "./PutInventoryCommand"; +export * from "./PutParameterCommand"; +export * from "./PutResourcePolicyCommand"; +export * from "./RegisterDefaultPatchBaselineCommand"; +export * from "./RegisterPatchBaselineForPatchGroupCommand"; +export * from "./RegisterTargetWithMaintenanceWindowCommand"; +export * from "./RegisterTaskWithMaintenanceWindowCommand"; +export * from "./RemoveTagsFromResourceCommand"; +export * from "./ResetServiceSettingCommand"; +export * from "./ResumeSessionCommand"; +export * from "./SendAutomationSignalCommand"; +export * from "./SendCommandCommand"; +export * from "./StartAssociationsOnceCommand"; +export * from "./StartAutomationExecutionCommand"; +export * from "./StartChangeRequestExecutionCommand"; +export * from "./StartSessionCommand"; +export * from "./StopAutomationExecutionCommand"; +export * from "./TerminateSessionCommand"; +export * from "./UnlabelParameterVersionCommand"; +export * from "./UpdateAssociationCommand"; +export * from "./UpdateAssociationStatusCommand"; +export * from "./UpdateDocumentCommand"; +export * from "./UpdateDocumentDefaultVersionCommand"; +export * from "./UpdateDocumentMetadataCommand"; +export * from "./UpdateMaintenanceWindowCommand"; +export * from "./UpdateMaintenanceWindowTargetCommand"; +export * from "./UpdateMaintenanceWindowTaskCommand"; +export * from "./UpdateManagedInstanceRoleCommand"; +export * from "./UpdateOpsItemCommand"; +export * from "./UpdateOpsMetadataCommand"; +export * from "./UpdatePatchBaselineCommand"; +export * from "./UpdateResourceDataSyncCommand"; +export * from "./UpdateServiceSettingCommand"; diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/endpoint/EndpointParameters.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/endpoint/EndpointParameters.d.ts similarity index 100% rename from node_modules/@aws-sdk/client-lambda/dist-types/endpoint/EndpointParameters.d.ts rename to node_modules/@aws-sdk/client-ssm/dist-types/endpoint/EndpointParameters.d.ts diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/endpoint/endpointResolver.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/endpoint/endpointResolver.d.ts similarity index 100% rename from node_modules/@aws-sdk/client-lambda/dist-types/endpoint/endpointResolver.d.ts rename to node_modules/@aws-sdk/client-ssm/dist-types/endpoint/endpointResolver.d.ts diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/endpoint/ruleset.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/endpoint/ruleset.d.ts similarity index 100% rename from node_modules/@aws-sdk/client-lambda/dist-types/endpoint/ruleset.d.ts rename to node_modules/@aws-sdk/client-ssm/dist-types/endpoint/ruleset.d.ts diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/extensionConfiguration.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/extensionConfiguration.d.ts similarity index 59% rename from node_modules/@aws-sdk/client-lambda/dist-types/extensionConfiguration.d.ts rename to node_modules/@aws-sdk/client-ssm/dist-types/extensionConfiguration.d.ts index da9925a5..861e8b74 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-types/extensionConfiguration.d.ts +++ b/node_modules/@aws-sdk/client-ssm/dist-types/extensionConfiguration.d.ts @@ -4,5 +4,5 @@ import { DefaultExtensionConfiguration } from "@smithy/types"; /** * @internal */ -export interface LambdaExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration { +export interface SSMExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration { } diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/index.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/index.d.ts new file mode 100644 index 00000000..348343d0 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/index.d.ts @@ -0,0 +1,51 @@ +/** + *

Amazon Web Services Systems Manager is the operations hub for your Amazon Web Services applications and resources and a secure + * end-to-end management solution for hybrid cloud environments that enables safe and secure + * operations at scale.

+ *

This reference is intended to be used with the Amazon Web Services Systems Manager User Guide. To get started, see Setting up Amazon Web Services Systems Manager.

+ *

+ * Related resources + *

+ * + * + * @packageDocumentation + */ +export * from "./SSMClient"; +export * from "./SSM"; +export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters"; +export { RuntimeExtension } from "./runtimeExtensions"; +export { SSMExtensionConfiguration } from "./extensionConfiguration"; +export * from "./commands"; +export * from "./pagination"; +export * from "./waiters"; +export * from "./models"; +import "@aws-sdk/util-endpoints"; +export { SSMServiceException } from "./models/SSMServiceException"; diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/models/LambdaServiceException.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/models/SSMServiceException.d.ts similarity index 67% rename from node_modules/@aws-sdk/client-lambda/dist-types/models/LambdaServiceException.d.ts rename to node_modules/@aws-sdk/client-ssm/dist-types/models/SSMServiceException.d.ts index 476bf342..d496b35c 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-types/models/LambdaServiceException.d.ts +++ b/node_modules/@aws-sdk/client-ssm/dist-types/models/SSMServiceException.d.ts @@ -3,9 +3,9 @@ export { __ServiceException, __ServiceExceptionOptions }; /** * @public * - * Base exception class for all service exceptions from Lambda service. + * Base exception class for all service exceptions from SSM service. */ -export declare class LambdaServiceException extends __ServiceException { +export declare class SSMServiceException extends __ServiceException { /** * @internal */ diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/models/index.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/models/index.d.ts new file mode 100644 index 00000000..fd6a6aae --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/models/index.d.ts @@ -0,0 +1,3 @@ +export * from "./models_0"; +export * from "./models_1"; +export * from "./models_2"; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/models/models_0.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/models/models_0.d.ts new file mode 100644 index 00000000..7d8a2b69 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/models/models_0.d.ts @@ -0,0 +1,7976 @@ +import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client"; +import { SSMServiceException as __BaseException } from "./SSMServiceException"; +/** + * @public + *

Information includes the Amazon Web Services account ID where the current document is shared and the + * version shared with that account.

+ */ +export interface AccountSharingInfo { + /** + * @public + *

The Amazon Web Services account ID where the current document is shared.

+ */ + AccountId?: string; + /** + * @public + *

The version of the current document shared with the account.

+ */ + SharedDocumentVersion?: string; +} +/** + * @public + *

Metadata that you assign to your Amazon Web Services resources. Tags enable you to categorize your + * resources in different ways, for example, by purpose, owner, or environment. In Amazon Web Services Systems Manager, you + * can apply tags to Systems Manager documents (SSM documents), managed nodes, maintenance windows, + * parameters, patch baselines, OpsItems, and OpsMetadata.

+ */ +export interface Tag { + /** + * @public + *

The name of the tag.

+ */ + Key: string | undefined; + /** + * @public + *

The value of the tag.

+ */ + Value: string | undefined; +} +/** + * @public + *

An activation registers one or more on-premises servers or virtual machines (VMs) with Amazon Web Services + * so that you can configure those servers or VMs using Run Command. A server or VM that has been + * registered with Amazon Web Services Systems Manager is called a managed node.

+ */ +export interface Activation { + /** + * @public + *

The ID created by Systems Manager when you submitted the activation.

+ */ + ActivationId?: string; + /** + * @public + *

A user defined description of the activation.

+ */ + Description?: string; + /** + * @public + *

A name for the managed node when it is created.

+ */ + DefaultInstanceName?: string; + /** + * @public + *

The Identity and Access Management (IAM) role to assign to the managed node.

+ */ + IamRole?: string; + /** + * @public + *

The maximum number of managed nodes that can be registered using this activation.

+ */ + RegistrationLimit?: number; + /** + * @public + *

The number of managed nodes already registered with this activation.

+ */ + RegistrationsCount?: number; + /** + * @public + *

The date when this activation can no longer be used to register managed nodes.

+ */ + ExpirationDate?: Date; + /** + * @public + *

Whether or not the activation is expired.

+ */ + Expired?: boolean; + /** + * @public + *

The date the activation was created.

+ */ + CreatedDate?: Date; + /** + * @public + *

Tags assigned to the activation.

+ */ + Tags?: Tag[]; +} +/** + * @public + * @enum + */ +export declare const ResourceTypeForTagging: { + readonly ASSOCIATION: "Association"; + readonly AUTOMATION: "Automation"; + readonly DOCUMENT: "Document"; + readonly MAINTENANCE_WINDOW: "MaintenanceWindow"; + readonly MANAGED_INSTANCE: "ManagedInstance"; + readonly OPSMETADATA: "OpsMetadata"; + readonly OPS_ITEM: "OpsItem"; + readonly PARAMETER: "Parameter"; + readonly PATCH_BASELINE: "PatchBaseline"; +}; +/** + * @public + */ +export type ResourceTypeForTagging = (typeof ResourceTypeForTagging)[keyof typeof ResourceTypeForTagging]; +/** + * @public + */ +export interface AddTagsToResourceRequest { + /** + * @public + *

Specifies the type of resource you are tagging.

+ * + *

The ManagedInstance type for this API operation is for on-premises managed + * nodes. You must specify the name of the managed node in the following format: + * mi-ID_number + * . For example, + * mi-1a2b3c4d5e6f.

+ *
+ */ + ResourceType: ResourceTypeForTagging | undefined; + /** + * @public + *

The resource ID you want to tag.

+ *

Use the ID of the resource. Here are some examples:

+ *

+ * MaintenanceWindow: mw-012345abcde + *

+ *

+ * PatchBaseline: pb-012345abcde + *

+ *

+ * Automation: example-c160-4567-8519-012345abcde + *

+ *

+ * OpsMetadata object: ResourceID for tagging is created from the + * Amazon Resource Name (ARN) for the object. Specifically, ResourceID is created from + * the strings that come after the word opsmetadata in the ARN. For example, an + * OpsMetadata object with an ARN of + * arn:aws:ssm:us-east-2:1234567890:opsmetadata/aws/ssm/MyGroup/appmanager has a + * ResourceID of either aws/ssm/MyGroup/appmanager or + * /aws/ssm/MyGroup/appmanager.

+ *

For the Document and Parameter values, use the name of the + * resource. If you're tagging a shared document, you must use the full ARN of the document.

+ *

+ * ManagedInstance: mi-012345abcde + *

+ * + *

The ManagedInstance type for this API operation is only for on-premises + * managed nodes. You must specify the name of the managed node in the following format: + * mi-ID_number + * . For example, + * mi-1a2b3c4d5e6f.

+ *
+ */ + ResourceId: string | undefined; + /** + * @public + *

One or more tags. The value parameter is required.

+ * + *

Don't enter personally identifiable information in this field.

+ *
+ */ + Tags: Tag[] | undefined; +} +/** + * @public + */ +export interface AddTagsToResourceResult { +} +/** + * @public + *

An error occurred on the server side.

+ */ +export declare class InternalServerError extends __BaseException { + readonly name: "InternalServerError"; + readonly $fault: "server"; + Message?: string; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + *

The resource ID isn't valid. Verify that you entered the correct ID and try again.

+ */ +export declare class InvalidResourceId extends __BaseException { + readonly name: "InvalidResourceId"; + readonly $fault: "client"; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + *

The resource type isn't valid. For example, if you are attempting to tag an EC2 instance, + * the instance must be a registered managed node.

+ */ +export declare class InvalidResourceType extends __BaseException { + readonly name: "InvalidResourceType"; + readonly $fault: "client"; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + *

The Targets parameter includes too many tags. Remove one or more tags and try + * the command again.

+ */ +export declare class TooManyTagsError extends __BaseException { + readonly name: "TooManyTagsError"; + readonly $fault: "client"; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + *

There are concurrent updates for a resource that supports one update at a time.

+ */ +export declare class TooManyUpdates extends __BaseException { + readonly name: "TooManyUpdates"; + readonly $fault: "client"; + Message?: string; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + *

A CloudWatch alarm you apply to an automation or command.

+ */ +export interface Alarm { + /** + * @public + *

The name of your CloudWatch alarm.

+ */ + Name: string | undefined; +} +/** + * @public + *

The details for the CloudWatch alarm you want to apply to an automation or + * command.

+ */ +export interface AlarmConfiguration { + /** + * @public + *

When this value is true, your automation or command continues to run in + * cases where we can’t retrieve alarm status information from CloudWatch. In cases + * where we successfully retrieve an alarm status of OK or INSUFFICIENT_DATA, the automation or + * command continues to run, regardless of this value. Default is false.

+ */ + IgnorePollAlarmFailure?: boolean; + /** + * @public + *

The name of the CloudWatch alarm specified in the configuration.

+ */ + Alarms: Alarm[] | undefined; +} +/** + * @public + * @enum + */ +export declare const ExternalAlarmState: { + readonly ALARM: "ALARM"; + readonly UNKNOWN: "UNKNOWN"; +}; +/** + * @public + */ +export type ExternalAlarmState = (typeof ExternalAlarmState)[keyof typeof ExternalAlarmState]; +/** + * @public + *

The details about the state of your CloudWatch alarm.

+ */ +export interface AlarmStateInformation { + /** + * @public + *

The name of your CloudWatch alarm.

+ */ + Name: string | undefined; + /** + * @public + *

The state of your CloudWatch alarm.

+ */ + State: ExternalAlarmState | undefined; +} +/** + * @public + *

Error returned if an attempt is made to register a patch group with a patch baseline that is + * already registered with a different patch baseline.

+ */ +export declare class AlreadyExistsException extends __BaseException { + readonly name: "AlreadyExistsException"; + readonly $fault: "client"; + Message?: string; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + */ +export interface AssociateOpsItemRelatedItemRequest { + /** + * @public + *

The ID of the OpsItem to which you want to associate a resource as a related item.

+ */ + OpsItemId: string | undefined; + /** + * @public + *

The type of association that you want to create between an OpsItem and a resource. OpsCenter + * supports IsParentOf and RelatesTo association types.

+ */ + AssociationType: string | undefined; + /** + * @public + *

The type of resource that you want to associate with an OpsItem. OpsCenter supports the + * following types:

+ *

+ * AWS::SSMIncidents::IncidentRecord: an Incident Manager incident.

+ *

+ * AWS::SSM::Document: a Systems Manager (SSM) document.

+ */ + ResourceType: string | undefined; + /** + * @public + *

The Amazon Resource Name (ARN) of the Amazon Web Services resource that you want to associate with the + * OpsItem.

+ */ + ResourceUri: string | undefined; +} +/** + * @public + */ +export interface AssociateOpsItemRelatedItemResponse { + /** + * @public + *

The association ID.

+ */ + AssociationId?: string; +} +/** + * @public + *

The specified OpsItem is in the process of being deleted.

+ */ +export declare class OpsItemConflictException extends __BaseException { + readonly name: "OpsItemConflictException"; + readonly $fault: "client"; + Message?: string; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + *

A specified parameter argument isn't valid. Verify the available arguments and try + * again.

+ */ +export declare class OpsItemInvalidParameterException extends __BaseException { + readonly name: "OpsItemInvalidParameterException"; + readonly $fault: "client"; + ParameterNames?: string[]; + Message?: string; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + *

The request caused OpsItems to exceed one or more quotas.

+ */ +export declare class OpsItemLimitExceededException extends __BaseException { + readonly name: "OpsItemLimitExceededException"; + readonly $fault: "client"; + ResourceTypes?: string[]; + Limit?: number; + LimitType?: string; + Message?: string; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + *

The specified OpsItem ID doesn't exist. Verify the ID and try again.

+ */ +export declare class OpsItemNotFoundException extends __BaseException { + readonly name: "OpsItemNotFoundException"; + readonly $fault: "client"; + Message?: string; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + *

The Amazon Resource Name (ARN) is already associated with the OpsItem.

+ */ +export declare class OpsItemRelatedItemAlreadyExistsException extends __BaseException { + readonly name: "OpsItemRelatedItemAlreadyExistsException"; + readonly $fault: "client"; + Message?: string; + ResourceUri?: string; + OpsItemId?: string; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + *

+ */ +export interface CancelCommandRequest { + /** + * @public + *

The ID of the command you want to cancel.

+ */ + CommandId: string | undefined; + /** + * @public + *

(Optional) A list of managed node IDs on which you want to cancel the command. If not + * provided, the command is canceled on every node on which it was requested.

+ */ + InstanceIds?: string[]; +} +/** + * @public + *

Whether or not the command was successfully canceled. There is no guarantee that a request + * can be canceled.

+ */ +export interface CancelCommandResult { +} +/** + * @public + *

You can't specify a managed node ID in more than one association.

+ */ +export declare class DuplicateInstanceId extends __BaseException { + readonly name: "DuplicateInstanceId"; + readonly $fault: "client"; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + *

The specified command ID isn't valid. Verify the ID and try again.

+ */ +export declare class InvalidCommandId extends __BaseException { + readonly name: "InvalidCommandId"; + readonly $fault: "client"; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + *

The following problems can cause this exception:

+ *
    + *
  • + *

    You don't have permission to access the managed node.

    + *
  • + *
  • + *

    Amazon Web Services Systems Manager Agent(SSM Agent) isn't running. Verify that SSM Agent is + * running.

    + *
  • + *
  • + *

    SSM Agent isn't registered with the SSM endpoint. Try reinstalling SSM Agent.

    + *
  • + *
  • + *

    The managed node isn't in valid state. Valid states are: Running, + * Pending, Stopped, and Stopping. Invalid states are: + * Shutting-down and Terminated.

    + *
  • + *
+ */ +export declare class InvalidInstanceId extends __BaseException { + readonly name: "InvalidInstanceId"; + readonly $fault: "client"; + Message?: string; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + */ +export interface CancelMaintenanceWindowExecutionRequest { + /** + * @public + *

The ID of the maintenance window execution to stop.

+ */ + WindowExecutionId: string | undefined; +} +/** + * @public + */ +export interface CancelMaintenanceWindowExecutionResult { + /** + * @public + *

The ID of the maintenance window execution that has been stopped.

+ */ + WindowExecutionId?: string; +} +/** + * @public + *

Error returned when the ID specified for a resource, such as a maintenance window or patch + * baseline, doesn't exist.

+ *

For information about resource quotas in Amazon Web Services Systems Manager, see Systems Manager service quotas in the + * Amazon Web Services General Reference.

+ */ +export declare class DoesNotExistException extends __BaseException { + readonly name: "DoesNotExistException"; + readonly $fault: "client"; + Message?: string; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + *

Reserved for internal use.

+ */ +export interface RegistrationMetadataItem { + /** + * @public + *

Reserved for internal use.

+ */ + Key: string | undefined; + /** + * @public + *

Reserved for internal use.

+ */ + Value: string | undefined; +} +/** + * @public + */ +export interface CreateActivationRequest { + /** + * @public + *

A user-defined description of the resource that you want to register with Systems Manager.

+ * + *

Don't enter personally identifiable information in this field.

+ *
+ */ + Description?: string; + /** + * @public + *

The name of the registered, managed node as it will appear in the Amazon Web Services Systems Manager console or when + * you use the Amazon Web Services command line tools to list Systems Manager resources.

+ * + *

Don't enter personally identifiable information in this field.

+ *
+ */ + DefaultInstanceName?: string; + /** + * @public + *

The name of the Identity and Access Management (IAM) role that you want to assign to + * the managed node. This IAM role must provide AssumeRole permissions for the + * Amazon Web Services Systems Manager service principal ssm.amazonaws.com. For more information, see Create an + * IAM service role for a hybrid environment in the + * Amazon Web Services Systems Manager User Guide.

+ * + *

You can't specify an IAM service-linked role for this parameter. You must + * create a unique role.

+ *
+ */ + IamRole: string | undefined; + /** + * @public + *

Specify the maximum number of managed nodes you want to register. The default value is + * 1.

+ */ + RegistrationLimit?: number; + /** + * @public + *

The date by which this activation request should expire, in timestamp format, such as + * "2021-07-07T00:00:00". You can specify a date up to 30 days in advance. If you don't provide an + * expiration date, the activation code expires in 24 hours.

+ */ + ExpirationDate?: Date; + /** + * @public + *

Optional metadata that you assign to a resource. Tags enable you to categorize a resource in + * different ways, such as by purpose, owner, or environment. For example, you might want to tag an + * activation to identify which servers or virtual machines (VMs) in your on-premises environment + * you intend to activate. In this case, you could specify the following key-value pairs:

+ *
    + *
  • + *

    + * Key=OS,Value=Windows + *

    + *
  • + *
  • + *

    + * Key=Environment,Value=Production + *

    + *
  • + *
+ * + *

When you install SSM Agent on your on-premises servers and VMs, you specify an activation ID + * and code. When you specify the activation ID and code, tags assigned to the activation are + * automatically applied to the on-premises servers or VMs.

+ *
+ *

You can't add tags to or delete tags from an existing activation. You can tag your + * on-premises servers, edge devices, and VMs after they connect to Systems Manager for the first time and are + * assigned a managed node ID. This means they are listed in the Amazon Web Services Systems Manager console with an ID that + * is prefixed with "mi-". For information about how to add tags to your managed nodes, see AddTagsToResource. For information about how to remove tags from your managed nodes, + * see RemoveTagsFromResource.

+ */ + Tags?: Tag[]; + /** + * @public + *

Reserved for internal use.

+ */ + RegistrationMetadata?: RegistrationMetadataItem[]; +} +/** + * @public + */ +export interface CreateActivationResult { + /** + * @public + *

The ID number generated by the system when it processed the activation. The activation ID + * functions like a user name.

+ */ + ActivationId?: string; + /** + * @public + *

The code the system generates when it processes the activation. The activation code + * functions like a password to validate the activation ID.

+ */ + ActivationCode?: string; +} +/** + * @public + *

You must specify values for all required parameters in the Amazon Web Services Systems Manager document (SSM + * document). You can only supply values to parameters defined in the SSM document.

+ */ +export declare class InvalidParameters extends __BaseException { + readonly name: "InvalidParameters"; + readonly $fault: "client"; + Message?: string; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + *

The specified association already exists.

+ */ +export declare class AssociationAlreadyExists extends __BaseException { + readonly name: "AssociationAlreadyExists"; + readonly $fault: "client"; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + *

You can have at most 2,000 active associations.

+ */ +export declare class AssociationLimitExceeded extends __BaseException { + readonly name: "AssociationLimitExceeded"; + readonly $fault: "client"; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + * @enum + */ +export declare const AssociationComplianceSeverity: { + readonly Critical: "CRITICAL"; + readonly High: "HIGH"; + readonly Low: "LOW"; + readonly Medium: "MEDIUM"; + readonly Unspecified: "UNSPECIFIED"; +}; +/** + * @public + */ +export type AssociationComplianceSeverity = (typeof AssociationComplianceSeverity)[keyof typeof AssociationComplianceSeverity]; +/** + * @public + *

An S3 bucket where you want to store the results of this request.

+ */ +export interface S3OutputLocation { + /** + * @public + *

The Amazon Web Services Region of the S3 bucket.

+ */ + OutputS3Region?: string; + /** + * @public + *

The name of the S3 bucket.

+ */ + OutputS3BucketName?: string; + /** + * @public + *

The S3 bucket subfolder.

+ */ + OutputS3KeyPrefix?: string; +} +/** + * @public + *

An S3 bucket where you want to store the results of this request.

+ *

For the minimal permissions required to enable Amazon S3 output for an association, + * see Creating associations in the Systems Manager User Guide.

+ */ +export interface InstanceAssociationOutputLocation { + /** + * @public + *

An S3 bucket where you want to store the results of this request.

+ */ + S3Location?: S3OutputLocation; +} +/** + * @public + * @enum + */ +export declare const AssociationSyncCompliance: { + readonly Auto: "AUTO"; + readonly Manual: "MANUAL"; +}; +/** + * @public + */ +export type AssociationSyncCompliance = (typeof AssociationSyncCompliance)[keyof typeof AssociationSyncCompliance]; +/** + * @public + *

The combination of Amazon Web Services Regions and Amazon Web Services accounts targeted by the current Automation + * execution.

+ */ +export interface TargetLocation { + /** + * @public + *

The Amazon Web Services accounts targeted by the current Automation execution.

+ */ + Accounts?: string[]; + /** + * @public + *

The Amazon Web Services Regions targeted by the current Automation execution.

+ */ + Regions?: string[]; + /** + * @public + *

The maximum number of Amazon Web Services Regions and Amazon Web Services accounts allowed to run the Automation + * concurrently.

+ */ + TargetLocationMaxConcurrency?: string; + /** + * @public + *

The maximum number of errors allowed before the system stops queueing additional Automation + * executions for the currently running Automation.

+ */ + TargetLocationMaxErrors?: string; + /** + * @public + *

The Automation execution role used by the currently running Automation. If not specified, + * the default value is AWS-SystemsManager-AutomationExecutionRole.

+ */ + ExecutionRoleName?: string; + /** + * @public + *

The details for the CloudWatch alarm you want to apply to an automation or + * command.

+ */ + TargetLocationAlarmConfiguration?: AlarmConfiguration; +} +/** + * @public + *

An array of search criteria that targets managed nodes using a key-value pair that you + * specify.

+ * + *

One or more targets must be specified for maintenance window Run Command-type tasks. + * Depending on the task, targets are optional for other maintenance window task types (Automation, + * Lambda, and Step Functions). For more information about running tasks + * that don't specify targets, see Registering + * maintenance window tasks without targets in the + * Amazon Web Services Systems Manager User Guide.

+ *
+ *

Supported formats include the following.

+ *
    + *
  • + *

    + * Key=InstanceIds,Values=,, + *

    + *
  • + *
  • + *

    + * Key=tag:,Values=, + *

    + *
  • + *
  • + *

    + * Key=tag-key,Values=, + *

    + *
  • + *
  • + *

    + * Run Command and Maintenance window targets only: + * Key=resource-groups:Name,Values= + *

    + *
  • + *
  • + *

    + * Maintenance window targets only: + * Key=resource-groups:ResourceTypeFilters,Values=, + *

    + *
  • + *
  • + *

    + * Automation targets only: + * Key=ResourceGroup;Values= + *

    + *
  • + *
+ *

For example:

+ *
    + *
  • + *

    + * Key=InstanceIds,Values=i-02573cafcfEXAMPLE,i-0471e04240EXAMPLE,i-07782c72faEXAMPLE + *

    + *
  • + *
  • + *

    + * Key=tag:CostCenter,Values=CostCenter1,CostCenter2,CostCenter3 + *

    + *
  • + *
  • + *

    + * Key=tag-key,Values=Name,Instance-Type,CostCenter + *

    + *
  • + *
  • + *

    + * Run Command and Maintenance window targets only: + * Key=resource-groups:Name,Values=ProductionResourceGroup + *

    + *

    This example demonstrates how to target all resources in the resource group ProductionResourceGroup in your maintenance window.

    + *
  • + *
  • + *

    + * Maintenance window targets only: + * Key=resource-groups:ResourceTypeFilters,Values=AWS::EC2::INSTANCE,AWS::EC2::VPC + *

    + *

    This example demonstrates how to target only Amazon Elastic Compute Cloud (Amazon EC2) + * instances and VPCs in your maintenance window.

    + *
  • + *
  • + *

    + * Automation targets only: + * Key=ResourceGroup,Values=MyResourceGroup + *

    + *
  • + *
  • + *

    + * State Manager association targets only: + * Key=InstanceIds,Values=* + *

    + *

    This example demonstrates how to target all managed instances in the Amazon Web Services Region where + * the association was created.

    + *
  • + *
+ *

For more information about how to send commands that target managed nodes using + * Key,Value parameters, see Targeting multiple instances in the Amazon Web Services Systems Manager User Guide.

+ */ +export interface Target { + /** + * @public + *

User-defined criteria for sending commands that target managed nodes that meet the + * criteria.

+ */ + Key?: string; + /** + * @public + *

User-defined criteria that maps to Key. For example, if you specified + * tag:ServerRole, you could specify value:WebServer to run a command on + * instances that include EC2 tags of ServerRole,WebServer.

+ *

Depending on the type of target, the maximum number of values for a key might be lower than + * the global maximum of 50.

+ */ + Values?: string[]; +} +/** + * @public + */ +export interface CreateAssociationRequest { + /** + * @public + *

The name of the SSM Command document or Automation runbook that contains the configuration + * information for the managed node.

+ *

You can specify Amazon Web Services-predefined documents, documents you created, or a document that is + * shared with you from another Amazon Web Services account.

+ *

For Systems Manager documents (SSM documents) that are shared with you from other Amazon Web Services accounts, you + * must specify the complete SSM document ARN, in the following format:

+ *

+ * arn:partition:ssm:region:account-id:document/document-name + * + *

+ *

For example:

+ *

+ * arn:aws:ssm:us-east-2:12345678912:document/My-Shared-Document + *

+ *

For Amazon Web Services-predefined documents and SSM documents you created in your account, you only need + * to specify the document name. For example, AWS-ApplyPatchBaseline or + * My-Document.

+ */ + Name: string | undefined; + /** + * @public + *

The document version you want to associate with the target(s). Can be a specific version or + * the default version.

+ * + *

State Manager doesn't support running associations that use a new version of a document if + * that document is shared from another account. State Manager always runs the default + * version of a document if shared from another account, even though the Systems Manager console shows that a + * new version was processed. If you want to run an association using a new version of a document + * shared form another account, you must set the document version to default.

+ *
+ */ + DocumentVersion?: string; + /** + * @public + *

The managed node ID.

+ * + *

+ * InstanceId has been deprecated. To specify a managed node ID for an + * association, use the Targets parameter. Requests that + * include the parameter InstanceID with Systems Manager documents (SSM documents) that use + * schema version 2.0 or later will fail. In addition, if you use the + * parameter InstanceId, you can't use the parameters AssociationName, + * DocumentVersion, MaxErrors, MaxConcurrency, + * OutputLocation, or ScheduleExpression. To use these parameters, you + * must use the Targets parameter.

+ *
+ */ + InstanceId?: string; + /** + * @public + *

The parameters for the runtime configuration of the document.

+ */ + Parameters?: Record; + /** + * @public + *

The targets for the association. You can target managed nodes by using tags, Amazon Web Services resource + * groups, all managed nodes in an Amazon Web Services account, or individual managed node IDs. You can target all + * managed nodes in an Amazon Web Services account by specifying the InstanceIds key with a value of + * *. For more information about choosing targets for an association, see Using targets and rate controls with State Manager associations in the + * Amazon Web Services Systems Manager User Guide.

+ */ + Targets?: Target[]; + /** + * @public + *

A cron expression when the association will be applied to the target(s).

+ */ + ScheduleExpression?: string; + /** + * @public + *

An Amazon Simple Storage Service (Amazon S3) bucket where you want to store the output + * details of the request.

+ */ + OutputLocation?: InstanceAssociationOutputLocation; + /** + * @public + *

Specify a descriptive name for the association.

+ */ + AssociationName?: string; + /** + * @public + *

Choose the parameter that will define how your automation will branch out. This target is + * required for associations that use an Automation runbook and target resources by using rate + * controls. Automation is a capability of Amazon Web Services Systems Manager.

+ */ + AutomationTargetParameterName?: string; + /** + * @public + *

The number of errors that are allowed before the system stops sending requests to run the + * association on additional targets. You can specify either an absolute number of errors, for + * example 10, or a percentage of the target set, for example 10%. If you specify 3, for example, + * the system stops sending requests when the fourth error is received. If you specify 0, then the + * system stops sending requests after the first error is returned. If you run an association on 50 + * managed nodes and set MaxError to 10%, then the system stops sending the request + * when the sixth error is received.

+ *

Executions that are already running an association when MaxErrors is reached + * are allowed to complete, but some of these executions may fail as well. If you need to ensure + * that there won't be more than max-errors failed executions, set MaxConcurrency to 1 + * so that executions proceed one at a time.

+ */ + MaxErrors?: string; + /** + * @public + *

The maximum number of targets allowed to run the association at the same time. You can + * specify a number, for example 10, or a percentage of the target set, for example 10%. The default + * value is 100%, which means all targets run the association at the same time.

+ *

If a new managed node starts and attempts to run an association while Systems Manager is running + * MaxConcurrency associations, the association is allowed to run. During the next + * association interval, the new managed node will process its association within the limit + * specified for MaxConcurrency.

+ */ + MaxConcurrency?: string; + /** + * @public + *

The severity level to assign to the association.

+ */ + ComplianceSeverity?: AssociationComplianceSeverity; + /** + * @public + *

The mode for generating association compliance. You can specify AUTO or + * MANUAL. In AUTO mode, the system uses the status of the association + * execution to determine the compliance status. If the association execution runs successfully, + * then the association is COMPLIANT. If the association execution doesn't run + * successfully, the association is NON-COMPLIANT.

+ *

In MANUAL mode, you must specify the AssociationId as a parameter + * for the PutComplianceItems API operation. In this case, compliance data isn't + * managed by State Manager. It is managed by your direct call to the PutComplianceItems API operation.

+ *

By default, all associations use AUTO mode.

+ */ + SyncCompliance?: AssociationSyncCompliance; + /** + * @public + *

By default, when you create a new association, the system runs it immediately after it is + * created and then according to the schedule you specified. Specify this option if you don't want + * an association to run immediately after you create it. This parameter isn't supported for rate + * expressions.

+ */ + ApplyOnlyAtCronInterval?: boolean; + /** + * @public + *

The names or Amazon Resource Names (ARNs) of the Change Calendar type documents you want to + * gate your associations under. The associations only run when that change calendar is open. For + * more information, see Amazon Web Services Systems Manager Change + * Calendar.

+ */ + CalendarNames?: string[]; + /** + * @public + *

A location is a combination of Amazon Web Services Regions and Amazon Web Services accounts where you want to run the + * association. Use this action to create an association in multiple Regions and multiple + * accounts.

+ */ + TargetLocations?: TargetLocation[]; + /** + * @public + *

Number of days to wait after the scheduled day to run an association. For example, if you + * specified a cron schedule of cron(0 0 ? * THU#2 *), you could specify an offset of 3 + * to run the association each Sunday after the second Thursday of the month. For more information + * about cron schedules for associations, see Reference: Cron + * and rate expressions for Systems Manager in the Amazon Web Services Systems Manager User Guide.

+ * + *

To use offsets, you must specify the ApplyOnlyAtCronInterval parameter. This + * option tells the system not to run an association immediately after you create it.

+ *
+ */ + ScheduleOffset?: number; + /** + * @public + *

A key-value mapping of document parameters to target resources. Both Targets and TargetMaps + * can't be specified together.

+ */ + TargetMaps?: Record[]; + /** + * @public + *

Adds or overwrites one or more tags for a State Manager association. + * Tags are metadata that you can assign to your Amazon Web Services resources. Tags enable + * you to categorize your resources in different ways, for example, by purpose, owner, or + * environment. Each tag consists of a key and an optional value, both of which you define.

+ */ + Tags?: Tag[]; + /** + * @public + *

The details for the CloudWatch alarm you want to apply to an automation or + * command.

+ */ + AlarmConfiguration?: AlarmConfiguration; +} +/** + * @public + *

Information about the association.

+ */ +export interface AssociationOverview { + /** + * @public + *

The status of the association. Status can be: Pending, Success, or Failed.

+ */ + Status?: string; + /** + * @public + *

A detailed status of the association.

+ */ + DetailedStatus?: string; + /** + * @public + *

Returns the number of targets for the association status. For example, if you created an + * association with two managed nodes, and one of them was successful, this would return the count + * of managed nodes by status.

+ */ + AssociationStatusAggregatedCount?: Record; +} +/** + * @public + * @enum + */ +export declare const AssociationStatusName: { + readonly Failed: "Failed"; + readonly Pending: "Pending"; + readonly Success: "Success"; +}; +/** + * @public + */ +export type AssociationStatusName = (typeof AssociationStatusName)[keyof typeof AssociationStatusName]; +/** + * @public + *

Describes an association status.

+ */ +export interface AssociationStatus { + /** + * @public + *

The date when the status changed.

+ */ + Date: Date | undefined; + /** + * @public + *

The status.

+ */ + Name: AssociationStatusName | undefined; + /** + * @public + *

The reason for the status.

+ */ + Message: string | undefined; + /** + * @public + *

A user-defined string.

+ */ + AdditionalInfo?: string; +} +/** + * @public + *

Describes the parameters for a document.

+ */ +export interface AssociationDescription { + /** + * @public + *

The name of the SSM document.

+ */ + Name?: string; + /** + * @public + *

The managed node ID.

+ */ + InstanceId?: string; + /** + * @public + *

The association version.

+ */ + AssociationVersion?: string; + /** + * @public + *

The date when the association was made.

+ */ + Date?: Date; + /** + * @public + *

The date when the association was last updated.

+ */ + LastUpdateAssociationDate?: Date; + /** + * @public + *

The association status.

+ */ + Status?: AssociationStatus; + /** + * @public + *

Information about the association.

+ */ + Overview?: AssociationOverview; + /** + * @public + *

The document version.

+ */ + DocumentVersion?: string; + /** + * @public + *

Choose the parameter that will define how your automation will branch out. This target is + * required for associations that use an Automation runbook and target resources by using rate + * controls. Automation is a capability of Amazon Web Services Systems Manager.

+ */ + AutomationTargetParameterName?: string; + /** + * @public + *

A description of the parameters for a document.

+ */ + Parameters?: Record; + /** + * @public + *

The association ID.

+ */ + AssociationId?: string; + /** + * @public + *

The managed nodes targeted by the request.

+ */ + Targets?: Target[]; + /** + * @public + *

A cron expression that specifies a schedule when the association runs.

+ */ + ScheduleExpression?: string; + /** + * @public + *

An S3 bucket where you want to store the output details of the request.

+ */ + OutputLocation?: InstanceAssociationOutputLocation; + /** + * @public + *

The date on which the association was last run.

+ */ + LastExecutionDate?: Date; + /** + * @public + *

The last date on which the association was successfully run.

+ */ + LastSuccessfulExecutionDate?: Date; + /** + * @public + *

The association name.

+ */ + AssociationName?: string; + /** + * @public + *

The number of errors that are allowed before the system stops sending requests to run the + * association on additional targets. You can specify either an absolute number of errors, for + * example 10, or a percentage of the target set, for example 10%. If you specify 3, for example, + * the system stops sending requests when the fourth error is received. If you specify 0, then the + * system stops sending requests after the first error is returned. If you run an association on 50 + * managed nodes and set MaxError to 10%, then the system stops sending the request + * when the sixth error is received.

+ *

Executions that are already running an association when MaxErrors is reached + * are allowed to complete, but some of these executions may fail as well. If you need to ensure + * that there won't be more than max-errors failed executions, set MaxConcurrency to 1 + * so that executions proceed one at a time.

+ */ + MaxErrors?: string; + /** + * @public + *

The maximum number of targets allowed to run the association at the same time. You can + * specify a number, for example 10, or a percentage of the target set, for example 10%. The default + * value is 100%, which means all targets run the association at the same time.

+ *

If a new managed node starts and attempts to run an association while Systems Manager is running + * MaxConcurrency associations, the association is allowed to run. During the next + * association interval, the new managed node will process its association within the limit + * specified for MaxConcurrency.

+ */ + MaxConcurrency?: string; + /** + * @public + *

The severity level that is assigned to the association.

+ */ + ComplianceSeverity?: AssociationComplianceSeverity; + /** + * @public + *

The mode for generating association compliance. You can specify AUTO or + * MANUAL. In AUTO mode, the system uses the status of the association + * execution to determine the compliance status. If the association execution runs successfully, + * then the association is COMPLIANT. If the association execution doesn't run + * successfully, the association is NON-COMPLIANT.

+ *

In MANUAL mode, you must specify the AssociationId as a parameter + * for the PutComplianceItems API operation. In this case, compliance data isn't + * managed by State Manager, a capability of Amazon Web Services Systems Manager. It is managed by your direct call to the + * PutComplianceItems API operation.

+ *

By default, all associations use AUTO mode.

+ */ + SyncCompliance?: AssociationSyncCompliance; + /** + * @public + *

By default, when you create a new associations, the system runs it immediately after it is + * created and then according to the schedule you specified. Specify this option if you don't want + * an association to run immediately after you create it. This parameter isn't supported for rate + * expressions.

+ */ + ApplyOnlyAtCronInterval?: boolean; + /** + * @public + *

The names or Amazon Resource Names (ARNs) of the Change Calendar type documents your + * associations are gated under. The associations only run when that change calendar is open. For + * more information, see Amazon Web Services Systems Manager Change + * Calendar.

+ */ + CalendarNames?: string[]; + /** + * @public + *

The combination of Amazon Web Services Regions and Amazon Web Services accounts where you want to run the + * association.

+ */ + TargetLocations?: TargetLocation[]; + /** + * @public + *

Number of days to wait after the scheduled day to run an association.

+ */ + ScheduleOffset?: number; + /** + * @public + *

A key-value mapping of document parameters to target resources. Both Targets and TargetMaps + * can't be specified together.

+ */ + TargetMaps?: Record[]; + /** + * @public + *

The details for the CloudWatch alarm you want to apply to an automation or + * command.

+ */ + AlarmConfiguration?: AlarmConfiguration; + /** + * @public + *

The CloudWatch alarm that was invoked during the association.

+ */ + TriggeredAlarms?: AlarmStateInformation[]; +} +/** + * @public + */ +export interface CreateAssociationResult { + /** + * @public + *

Information about the association.

+ */ + AssociationDescription?: AssociationDescription; +} +/** + * @public + *

The specified SSM document doesn't exist.

+ */ +export declare class InvalidDocument extends __BaseException { + readonly name: "InvalidDocument"; + readonly $fault: "client"; + /** + * @public + *

The SSM document doesn't exist or the document isn't available to the user. This exception + * can be issued by various API operations.

+ */ + Message?: string; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + *

The document version isn't valid or doesn't exist.

+ */ +export declare class InvalidDocumentVersion extends __BaseException { + readonly name: "InvalidDocumentVersion"; + readonly $fault: "client"; + Message?: string; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + *

The output location isn't valid or doesn't exist.

+ */ +export declare class InvalidOutputLocation extends __BaseException { + readonly name: "InvalidOutputLocation"; + readonly $fault: "client"; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + *

The schedule is invalid. Verify your cron or rate expression and try again.

+ */ +export declare class InvalidSchedule extends __BaseException { + readonly name: "InvalidSchedule"; + readonly $fault: "client"; + Message?: string; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + *

The specified tag key or value isn't valid.

+ */ +export declare class InvalidTag extends __BaseException { + readonly name: "InvalidTag"; + readonly $fault: "client"; + Message?: string; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + *

The target isn't valid or doesn't exist. It might not be configured for Systems Manager or you might + * not have permission to perform the operation.

+ */ +export declare class InvalidTarget extends __BaseException { + readonly name: "InvalidTarget"; + readonly $fault: "client"; + Message?: string; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + *

TargetMap parameter isn't valid.

+ */ +export declare class InvalidTargetMaps extends __BaseException { + readonly name: "InvalidTargetMaps"; + readonly $fault: "client"; + Message?: string; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + *

The document doesn't support the platform type of the given managed node ID(s). For example, + * you sent an document for a Windows managed node to a Linux node.

+ */ +export declare class UnsupportedPlatformType extends __BaseException { + readonly name: "UnsupportedPlatformType"; + readonly $fault: "client"; + Message?: string; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + *

Describes the association of a Amazon Web Services Systems Manager document (SSM document) and a managed node.

+ */ +export interface CreateAssociationBatchRequestEntry { + /** + * @public + *

The name of the SSM document that contains the configuration information for the managed + * node. You can specify Command or Automation runbooks.

+ *

You can specify Amazon Web Services-predefined documents, documents you created, or a document that is + * shared with you from another account.

+ *

For SSM documents that are shared with you from other Amazon Web Services accounts, you must specify the + * complete SSM document ARN, in the following format:

+ *

+ * arn:aws:ssm:region:account-id:document/document-name + * + *

+ *

For example:

+ *

+ * arn:aws:ssm:us-east-2:12345678912:document/My-Shared-Document + *

+ *

For Amazon Web Services-predefined documents and SSM documents you created in your account, you only need + * to specify the document name. For example, AWS-ApplyPatchBaseline or + * My-Document.

+ */ + Name: string | undefined; + /** + * @public + *

The managed node ID.

+ * + *

+ * InstanceId has been deprecated. To specify a managed node ID for an + * association, use the Targets parameter. Requests that + * include the parameter InstanceID with Systems Manager documents (SSM documents) that use + * schema version 2.0 or later will fail. In addition, if you use the + * parameter InstanceId, you can't use the parameters AssociationName, + * DocumentVersion, MaxErrors, MaxConcurrency, + * OutputLocation, or ScheduleExpression. To use these parameters, you + * must use the Targets parameter.

+ *
+ */ + InstanceId?: string; + /** + * @public + *

A description of the parameters for a document.

+ */ + Parameters?: Record; + /** + * @public + *

Specify the target for the association. This target is required for associations that use an + * Automation runbook and target resources by using rate controls. Automation is a capability of + * Amazon Web Services Systems Manager.

+ */ + AutomationTargetParameterName?: string; + /** + * @public + *

The document version.

+ */ + DocumentVersion?: string; + /** + * @public + *

The managed nodes targeted by the request.

+ */ + Targets?: Target[]; + /** + * @public + *

A cron expression that specifies a schedule when the association runs.

+ */ + ScheduleExpression?: string; + /** + * @public + *

An S3 bucket where you want to store the results of this request.

+ */ + OutputLocation?: InstanceAssociationOutputLocation; + /** + * @public + *

Specify a descriptive name for the association.

+ */ + AssociationName?: string; + /** + * @public + *

The number of errors that are allowed before the system stops sending requests to run the + * association on additional targets. You can specify either an absolute number of errors, for + * example 10, or a percentage of the target set, for example 10%. If you specify 3, for example, + * the system stops sending requests when the fourth error is received. If you specify 0, then the + * system stops sending requests after the first error is returned. If you run an association on 50 + * managed nodes and set MaxError to 10%, then the system stops sending the request + * when the sixth error is received.

+ *

Executions that are already running an association when MaxErrors is reached + * are allowed to complete, but some of these executions may fail as well. If you need to ensure + * that there won't be more than max-errors failed executions, set MaxConcurrency to 1 + * so that executions proceed one at a time.

+ */ + MaxErrors?: string; + /** + * @public + *

The maximum number of targets allowed to run the association at the same time. You can + * specify a number, for example 10, or a percentage of the target set, for example 10%. The default + * value is 100%, which means all targets run the association at the same time.

+ *

If a new managed node starts and attempts to run an association while Systems Manager is running + * MaxConcurrency associations, the association is allowed to run. During the next + * association interval, the new managed node will process its association within the limit + * specified for MaxConcurrency.

+ */ + MaxConcurrency?: string; + /** + * @public + *

The severity level to assign to the association.

+ */ + ComplianceSeverity?: AssociationComplianceSeverity; + /** + * @public + *

The mode for generating association compliance. You can specify AUTO or + * MANUAL. In AUTO mode, the system uses the status of the association + * execution to determine the compliance status. If the association execution runs successfully, + * then the association is COMPLIANT. If the association execution doesn't run + * successfully, the association is NON-COMPLIANT.

+ *

In MANUAL mode, you must specify the AssociationId as a parameter + * for the PutComplianceItems API operation. In this case, compliance data isn't + * managed by State Manager, a capability of Amazon Web Services Systems Manager. It is managed by your direct call to the + * PutComplianceItems API operation.

+ *

By default, all associations use AUTO mode.

+ */ + SyncCompliance?: AssociationSyncCompliance; + /** + * @public + *

By default, when you create a new associations, the system runs it immediately after it is + * created and then according to the schedule you specified. Specify this option if you don't want + * an association to run immediately after you create it. This parameter isn't supported for rate + * expressions.

+ */ + ApplyOnlyAtCronInterval?: boolean; + /** + * @public + *

The names or Amazon Resource Names (ARNs) of the Change Calendar type documents your + * associations are gated under. The associations only run when that Change Calendar is open. For + * more information, see Amazon Web Services Systems Manager Change + * Calendar.

+ */ + CalendarNames?: string[]; + /** + * @public + *

Use this action to create an association in multiple Regions and multiple accounts.

+ */ + TargetLocations?: TargetLocation[]; + /** + * @public + *

Number of days to wait after the scheduled day to run an association.

+ */ + ScheduleOffset?: number; + /** + * @public + *

A key-value mapping of document parameters to target resources. Both Targets and TargetMaps + * can't be specified together.

+ */ + TargetMaps?: Record[]; + /** + * @public + *

The details for the CloudWatch alarm you want to apply to an automation or + * command.

+ */ + AlarmConfiguration?: AlarmConfiguration; +} +/** + * @public + */ +export interface CreateAssociationBatchRequest { + /** + * @public + *

One or more associations.

+ */ + Entries: CreateAssociationBatchRequestEntry[] | undefined; +} +/** + * @public + * @enum + */ +export declare const Fault: { + readonly Client: "Client"; + readonly Server: "Server"; + readonly Unknown: "Unknown"; +}; +/** + * @public + */ +export type Fault = (typeof Fault)[keyof typeof Fault]; +/** + * @public + *

Describes a failed association.

+ */ +export interface FailedCreateAssociation { + /** + * @public + *

The association.

+ */ + Entry?: CreateAssociationBatchRequestEntry; + /** + * @public + *

A description of the failure.

+ */ + Message?: string; + /** + * @public + *

The source of the failure.

+ */ + Fault?: Fault; +} +/** + * @public + */ +export interface CreateAssociationBatchResult { + /** + * @public + *

Information about the associations that succeeded.

+ */ + Successful?: AssociationDescription[]; + /** + * @public + *

Information about the associations that failed.

+ */ + Failed?: FailedCreateAssociation[]; +} +/** + * @public + * @enum + */ +export declare const AttachmentsSourceKey: { + readonly AttachmentReference: "AttachmentReference"; + readonly S3FileUrl: "S3FileUrl"; + readonly SourceUrl: "SourceUrl"; +}; +/** + * @public + */ +export type AttachmentsSourceKey = (typeof AttachmentsSourceKey)[keyof typeof AttachmentsSourceKey]; +/** + * @public + *

Identifying information about a document attachment, including the file name and a key-value + * pair that identifies the location of an attachment to a document.

+ */ +export interface AttachmentsSource { + /** + * @public + *

The key of a key-value pair that identifies the location of an attachment to a + * document.

+ */ + Key?: AttachmentsSourceKey; + /** + * @public + *

The value of a key-value pair that identifies the location of an attachment to a document. + * The format for Value depends on the type of key you + * specify.

+ *
    + *
  • + *

    For the key SourceUrl, the value is an S3 bucket location. For + * example:

    + *

    + * "Values": [ "s3://doc-example-bucket/my-folder" ] + *

    + *
  • + *
  • + *

    For the key S3FileUrl, the value is a file in an S3 bucket. For + * example:

    + *

    + * "Values": [ "s3://doc-example-bucket/my-folder/my-file.py" ] + *

    + *
  • + *
  • + *

    For the key AttachmentReference, the value is constructed from the + * name of another SSM document in your account, a version number of that document, and a file + * attached to that document version that you want to reuse. For example:

    + *

    + * "Values": [ "MyOtherDocument/3/my-other-file.py" ] + *

    + *

    However, if the SSM document is shared with you from another account, the full SSM + * document ARN must be specified instead of the document name only. For example:

    + *

    + * "Values": [ + * "arn:aws:ssm:us-east-2:111122223333:document/OtherAccountDocument/3/their-file.py" + * ] + *

    + *
  • + *
+ */ + Values?: string[]; + /** + * @public + *

The name of the document attachment file.

+ */ + Name?: string; +} +/** + * @public + * @enum + */ +export declare const DocumentFormat: { + readonly JSON: "JSON"; + readonly TEXT: "TEXT"; + readonly YAML: "YAML"; +}; +/** + * @public + */ +export type DocumentFormat = (typeof DocumentFormat)[keyof typeof DocumentFormat]; +/** + * @public + * @enum + */ +export declare const DocumentType: { + readonly ApplicationConfiguration: "ApplicationConfiguration"; + readonly ApplicationConfigurationSchema: "ApplicationConfigurationSchema"; + readonly Automation: "Automation"; + readonly ChangeCalendar: "ChangeCalendar"; + readonly ChangeTemplate: "Automation.ChangeTemplate"; + readonly CloudFormation: "CloudFormation"; + readonly Command: "Command"; + readonly ConformancePackTemplate: "ConformancePackTemplate"; + readonly DeploymentStrategy: "DeploymentStrategy"; + readonly Package: "Package"; + readonly Policy: "Policy"; + readonly ProblemAnalysis: "ProblemAnalysis"; + readonly ProblemAnalysisTemplate: "ProblemAnalysisTemplate"; + readonly QuickSetup: "QuickSetup"; + readonly Session: "Session"; +}; +/** + * @public + */ +export type DocumentType = (typeof DocumentType)[keyof typeof DocumentType]; +/** + * @public + *

An SSM document required by the current document.

+ */ +export interface DocumentRequires { + /** + * @public + *

The name of the required SSM document. The name can be an Amazon Resource Name (ARN).

+ */ + Name: string | undefined; + /** + * @public + *

The document version required by the current document.

+ */ + Version?: string; + /** + * @public + *

The document type of the required SSM document.

+ */ + RequireType?: string; + /** + * @public + *

An optional field specifying the version of the artifact associated with the document. For + * example, "Release 12, Update 6". This value is unique across all versions of a document, and + * can't be changed.

+ */ + VersionName?: string; +} +/** + * @public + */ +export interface CreateDocumentRequest { + /** + * @public + *

The content for the new SSM document in JSON or YAML format. The content of the document + * must not exceed 64KB. This quota also includes the content specified for input parameters at + * runtime. We recommend storing the contents for your new document in an external JSON or YAML file + * and referencing the file in a command.

+ *

For examples, see the following topics in the Amazon Web Services Systems Manager User Guide.

+ * + */ + Content: string | undefined; + /** + * @public + *

A list of SSM documents required by a document. This parameter is used exclusively by + * AppConfig. When a user creates an AppConfig configuration in an SSM document, the user must also + * specify a required document for validation purposes. In this case, an + * ApplicationConfiguration document requires an + * ApplicationConfigurationSchema document for validation purposes. For more + * information, see What is AppConfig? in the + * AppConfig User Guide.

+ */ + Requires?: DocumentRequires[]; + /** + * @public + *

A list of key-value pairs that describe attachments to a version of a document.

+ */ + Attachments?: AttachmentsSource[]; + /** + * @public + *

A name for the SSM document.

+ * + *

You can't use the following strings as document name prefixes. These are reserved by Amazon Web Services + * for use as document name prefixes:

+ *
    + *
  • + *

    + * aws + *

    + *
  • + *
  • + *

    + * amazon + *

    + *
  • + *
  • + *

    + * amzn + *

    + *
  • + *
+ *
+ */ + Name: string | undefined; + /** + * @public + *

An optional field where you can specify a friendly name for the SSM document. This value can + * differ for each version of the document. You can update this value at a later time using the + * UpdateDocument operation.

+ */ + DisplayName?: string; + /** + * @public + *

An optional field specifying the version of the artifact you are creating with the document. + * For example, Release12.1. This value is unique across all versions of a document, + * and can't be changed.

+ */ + VersionName?: string; + /** + * @public + *

The type of document to create.

+ * + *

The DeploymentStrategy document type is an internal-use-only document type + * reserved for AppConfig.

+ *
+ */ + DocumentType?: DocumentType; + /** + * @public + *

Specify the document format for the request. The document format can be JSON, YAML, or TEXT. + * JSON is the default format.

+ */ + DocumentFormat?: DocumentFormat; + /** + * @public + *

Specify a target type to define the kinds of resources the document can run on. For example, + * to run a document on EC2 instances, specify the following value: + * /AWS::EC2::Instance. If you specify a value of '/' the document can run on all types + * of resources. If you don't specify a value, the document can't run on any resources. For a list + * of valid resource types, see Amazon Web Services resource and + * property types reference in the CloudFormation User Guide.

+ */ + TargetType?: string; + /** + * @public + *

Optional metadata that you assign to a resource. Tags enable you to categorize a resource in + * different ways, such as by purpose, owner, or environment. For example, you might want to tag an + * SSM document to identify the types of targets or the environment where it will run. In this case, + * you could specify the following key-value pairs:

+ *
    + *
  • + *

    + * Key=OS,Value=Windows + *

    + *
  • + *
  • + *

    + * Key=Environment,Value=Production + *

    + *
  • + *
+ * + *

To add tags to an existing SSM document, use the AddTagsToResource + * operation.

+ *
+ */ + Tags?: Tag[]; +} +/** + * @public + *

An attribute of an attachment, such as the attachment name.

+ */ +export interface AttachmentInformation { + /** + * @public + *

The name of the attachment.

+ */ + Name?: string; +} +/** + * @public + * @enum + */ +export declare const DocumentHashType: { + readonly SHA1: "Sha1"; + readonly SHA256: "Sha256"; +}; +/** + * @public + */ +export type DocumentHashType = (typeof DocumentHashType)[keyof typeof DocumentHashType]; +/** + * @public + * @enum + */ +export declare const DocumentParameterType: { + readonly String: "String"; + readonly StringList: "StringList"; +}; +/** + * @public + */ +export type DocumentParameterType = (typeof DocumentParameterType)[keyof typeof DocumentParameterType]; +/** + * @public + *

Parameters specified in a Systems Manager document that run on the server when the command is run. + *

+ */ +export interface DocumentParameter { + /** + * @public + *

The name of the parameter.

+ */ + Name?: string; + /** + * @public + *

The type of parameter. The type can be either String or StringList.

+ */ + Type?: DocumentParameterType; + /** + * @public + *

A description of what the parameter does, how to use it, the default value, and whether or + * not the parameter is optional.

+ */ + Description?: string; + /** + * @public + *

If specified, the default values for the parameters. Parameters without a default value are + * required. Parameters with a default value are optional.

+ */ + DefaultValue?: string; +} +/** + * @public + * @enum + */ +export declare const PlatformType: { + readonly LINUX: "Linux"; + readonly MACOS: "MacOS"; + readonly WINDOWS: "Windows"; +}; +/** + * @public + */ +export type PlatformType = (typeof PlatformType)[keyof typeof PlatformType]; +/** + * @public + * @enum + */ +export declare const ReviewStatus: { + readonly APPROVED: "APPROVED"; + readonly NOT_REVIEWED: "NOT_REVIEWED"; + readonly PENDING: "PENDING"; + readonly REJECTED: "REJECTED"; +}; +/** + * @public + */ +export type ReviewStatus = (typeof ReviewStatus)[keyof typeof ReviewStatus]; +/** + * @public + *

Information about the result of a document review request.

+ */ +export interface ReviewInformation { + /** + * @public + *

The time that the reviewer took action on the document review request.

+ */ + ReviewedTime?: Date; + /** + * @public + *

The current status of the document review request.

+ */ + Status?: ReviewStatus; + /** + * @public + *

The reviewer assigned to take action on the document review request.

+ */ + Reviewer?: string; +} +/** + * @public + * @enum + */ +export declare const DocumentStatus: { + readonly Active: "Active"; + readonly Creating: "Creating"; + readonly Deleting: "Deleting"; + readonly Failed: "Failed"; + readonly Updating: "Updating"; +}; +/** + * @public + */ +export type DocumentStatus = (typeof DocumentStatus)[keyof typeof DocumentStatus]; +/** + * @public + *

Describes an Amazon Web Services Systems Manager document (SSM document).

+ */ +export interface DocumentDescription { + /** + * @public + *

The SHA1 hash of the document, which you can use for verification.

+ */ + Sha1?: string; + /** + * @public + *

The Sha256 or Sha1 hash created by the system when the document was created.

+ * + *

Sha1 hashes have been deprecated.

+ *
+ */ + Hash?: string; + /** + * @public + *

The hash type of the document. Valid values include Sha256 or + * Sha1.

+ * + *

Sha1 hashes have been deprecated.

+ *
+ */ + HashType?: DocumentHashType; + /** + * @public + *

The name of the SSM document.

+ */ + Name?: string; + /** + * @public + *

The friendly name of the SSM document. This value can differ for each version of the + * document. If you want to update this value, see UpdateDocument.

+ */ + DisplayName?: string; + /** + * @public + *

The version of the artifact associated with the document.

+ */ + VersionName?: string; + /** + * @public + *

The Amazon Web Services user that created the document.

+ */ + Owner?: string; + /** + * @public + *

The date when the document was created.

+ */ + CreatedDate?: Date; + /** + * @public + *

The status of the SSM document.

+ */ + Status?: DocumentStatus; + /** + * @public + *

A message returned by Amazon Web Services Systems Manager that explains the Status value. For example, a + * Failed status might be explained by the StatusInformation message, + * "The specified S3 bucket doesn't exist. Verify that the URL of the S3 bucket is correct."

+ */ + StatusInformation?: string; + /** + * @public + *

The document version.

+ */ + DocumentVersion?: string; + /** + * @public + *

A description of the document.

+ */ + Description?: string; + /** + * @public + *

A description of the parameters for a document.

+ */ + Parameters?: DocumentParameter[]; + /** + * @public + *

The list of operating system (OS) platforms compatible with this SSM document.

+ */ + PlatformTypes?: PlatformType[]; + /** + * @public + *

The type of document.

+ */ + DocumentType?: DocumentType; + /** + * @public + *

The schema version.

+ */ + SchemaVersion?: string; + /** + * @public + *

The latest version of the document.

+ */ + LatestVersion?: string; + /** + * @public + *

The default version.

+ */ + DefaultVersion?: string; + /** + * @public + *

The document format, either JSON or YAML.

+ */ + DocumentFormat?: DocumentFormat; + /** + * @public + *

The target type which defines the kinds of resources the document can run on. For example, + * /AWS::EC2::Instance. For a list of valid resource types, see Amazon Web Services resource and + * property types reference in the CloudFormation User Guide.

+ */ + TargetType?: string; + /** + * @public + *

The tags, or metadata, that have been applied to the document.

+ */ + Tags?: Tag[]; + /** + * @public + *

Details about the document attachments, including names, locations, sizes, and so on.

+ */ + AttachmentsInformation?: AttachmentInformation[]; + /** + * @public + *

A list of SSM documents required by a document. For example, an + * ApplicationConfiguration document requires an + * ApplicationConfigurationSchema document.

+ */ + Requires?: DocumentRequires[]; + /** + * @public + *

The user in your organization who created the document.

+ */ + Author?: string; + /** + * @public + *

Details about the review of a document.

+ */ + ReviewInformation?: ReviewInformation[]; + /** + * @public + *

The version of the document currently approved for use in the organization.

+ */ + ApprovedVersion?: string; + /** + * @public + *

The version of the document that is currently under review.

+ */ + PendingReviewVersion?: string; + /** + * @public + *

The current status of the review.

+ */ + ReviewStatus?: ReviewStatus; + /** + * @public + *

The classification of a document to help you identify and categorize its use.

+ */ + Category?: string[]; + /** + * @public + *

The value that identifies a document's category.

+ */ + CategoryEnum?: string[]; +} +/** + * @public + */ +export interface CreateDocumentResult { + /** + * @public + *

Information about the SSM document.

+ */ + DocumentDescription?: DocumentDescription; +} +/** + * @public + *

The specified document already exists.

+ */ +export declare class DocumentAlreadyExists extends __BaseException { + readonly name: "DocumentAlreadyExists"; + readonly $fault: "client"; + Message?: string; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + *

You can have at most 500 active SSM documents.

+ */ +export declare class DocumentLimitExceeded extends __BaseException { + readonly name: "DocumentLimitExceeded"; + readonly $fault: "client"; + Message?: string; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + *

The content for the document isn't valid.

+ */ +export declare class InvalidDocumentContent extends __BaseException { + readonly name: "InvalidDocumentContent"; + readonly $fault: "client"; + /** + * @public + *

A description of the validation error.

+ */ + Message?: string; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + *

The version of the document schema isn't supported.

+ */ +export declare class InvalidDocumentSchemaVersion extends __BaseException { + readonly name: "InvalidDocumentSchemaVersion"; + readonly $fault: "client"; + Message?: string; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + *

The size limit of a document is 64 KB.

+ */ +export declare class MaxDocumentSizeExceeded extends __BaseException { + readonly name: "MaxDocumentSizeExceeded"; + readonly $fault: "client"; + Message?: string; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + */ +export interface CreateMaintenanceWindowRequest { + /** + * @public + *

The name of the maintenance window.

+ */ + Name: string | undefined; + /** + * @public + *

An optional description for the maintenance window. We recommend specifying a description to + * help you organize your maintenance windows.

+ */ + Description?: string; + /** + * @public + *

The date and time, in ISO-8601 Extended format, for when you want the maintenance window to + * become active. StartDate allows you to delay activation of the maintenance window + * until the specified future date.

+ */ + StartDate?: string; + /** + * @public + *

The date and time, in ISO-8601 Extended format, for when you want the maintenance window to + * become inactive. EndDate allows you to set a date and time in the future when the + * maintenance window will no longer run.

+ */ + EndDate?: string; + /** + * @public + *

The schedule of the maintenance window in the form of a cron or rate expression.

+ */ + Schedule: string | undefined; + /** + * @public + *

The time zone that the scheduled maintenance window executions are based on, in Internet + * Assigned Numbers Authority (IANA) format. For example: "America/Los_Angeles", "UTC", or + * "Asia/Seoul". For more information, see the Time + * Zone Database on the IANA website.

+ */ + ScheduleTimezone?: string; + /** + * @public + *

The number of days to wait after the date and time specified by a cron expression before + * running the maintenance window.

+ *

For example, the following cron expression schedules a maintenance window to run on the + * third Tuesday of every month at 11:30 PM.

+ *

+ * cron(30 23 ? * TUE#3 *) + *

+ *

If the schedule offset is 2, the maintenance window won't run until two days + * later.

+ */ + ScheduleOffset?: number; + /** + * @public + *

The duration of the maintenance window in hours.

+ */ + Duration: number | undefined; + /** + * @public + *

The number of hours before the end of the maintenance window that Amazon Web Services Systems Manager stops scheduling + * new tasks for execution.

+ */ + Cutoff: number | undefined; + /** + * @public + *

Enables a maintenance window task to run on managed nodes, even if you haven't registered + * those nodes as targets. If enabled, then you must specify the unregistered managed nodes (by node + * ID) when you register a task with the maintenance window.

+ *

If you don't enable this option, then you must specify previously-registered targets when + * you register a task with the maintenance window.

+ */ + AllowUnassociatedTargets: boolean | undefined; + /** + * @public + *

User-provided idempotency token.

+ */ + ClientToken?: string; + /** + * @public + *

Optional metadata that you assign to a resource. Tags enable you to categorize a resource in + * different ways, such as by purpose, owner, or environment. For example, you might want to tag a + * maintenance window to identify the type of tasks it will run, the types of targets, and the + * environment it will run in. In this case, you could specify the following key-value pairs:

+ *
    + *
  • + *

    + * Key=TaskType,Value=AgentUpdate + *

    + *
  • + *
  • + *

    + * Key=OS,Value=Windows + *

    + *
  • + *
  • + *

    + * Key=Environment,Value=Production + *

    + *
  • + *
+ * + *

To add tags to an existing maintenance window, use the AddTagsToResource + * operation.

+ *
+ */ + Tags?: Tag[]; +} +/** + * @public + */ +export interface CreateMaintenanceWindowResult { + /** + * @public + *

The ID of the created maintenance window.

+ */ + WindowId?: string; +} +/** + * @public + *

Error returned when an idempotent operation is retried and the parameters don't match the + * original call to the API with the same idempotency token.

+ */ +export declare class IdempotentParameterMismatch extends __BaseException { + readonly name: "IdempotentParameterMismatch"; + readonly $fault: "client"; + Message?: string; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + *

Error returned when the caller has exceeded the default resource quotas. For example, too + * many maintenance windows or patch baselines have been created.

+ *

For information about resource quotas in Systems Manager, see Systems Manager service quotas in the + * Amazon Web Services General Reference.

+ */ +export declare class ResourceLimitExceededException extends __BaseException { + readonly name: "ResourceLimitExceededException"; + readonly $fault: "client"; + Message?: string; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + *

A notification about the OpsItem.

+ */ +export interface OpsItemNotification { + /** + * @public + *

The Amazon Resource Name (ARN) of an Amazon Simple Notification Service (Amazon SNS) topic where + * notifications are sent when this OpsItem is edited or changed.

+ */ + Arn?: string; +} +/** + * @public + * @enum + */ +export declare const OpsItemDataType: { + readonly SEARCHABLE_STRING: "SearchableString"; + readonly STRING: "String"; +}; +/** + * @public + */ +export type OpsItemDataType = (typeof OpsItemDataType)[keyof typeof OpsItemDataType]; +/** + * @public + *

An object that defines the value of the key and its type in the OperationalData map.

+ */ +export interface OpsItemDataValue { + /** + * @public + *

The value of the OperationalData key.

+ */ + Value?: string; + /** + * @public + *

The type of key-value pair. Valid types include SearchableString and + * String.

+ */ + Type?: OpsItemDataType; +} +/** + * @public + *

An OpsItems that shares something in common with the current OpsItem. For example, related + * OpsItems can include OpsItems with similar error messages, impacted resources, or statuses for + * the impacted resource.

+ */ +export interface RelatedOpsItem { + /** + * @public + *

The ID of an OpsItem related to the current OpsItem.

+ */ + OpsItemId: string | undefined; +} +/** + * @public + */ +export interface CreateOpsItemRequest { + /** + * @public + *

User-defined text that contains information about the OpsItem, in Markdown format.

+ * + *

Provide enough information so that users viewing this OpsItem for the first time understand + * the issue.

+ *
+ */ + Description: string | undefined; + /** + * @public + *

The type of OpsItem to create. Systems Manager supports the following types of OpsItems:

+ *
    + *
  • + *

    + * /aws/issue + *

    + *

    This type of OpsItem is used for default OpsItems created by OpsCenter.

    + *
  • + *
  • + *

    + * /aws/changerequest + *

    + *

    This type of OpsItem is used by Change Manager for reviewing and approving or rejecting change + * requests.

    + *
  • + *
  • + *

    + * /aws/insight + *

    + *

    This type of OpsItem is used by OpsCenter for aggregating and reporting on duplicate + * OpsItems.

    + *
  • + *
+ */ + OpsItemType?: string; + /** + * @public + *

Operational data is custom data that provides useful reference details about the OpsItem. + * For example, you can specify log files, error strings, license keys, troubleshooting tips, or + * other relevant data. You enter operational data as key-value pairs. The key has a maximum length + * of 128 characters. The value has a maximum size of 20 KB.

+ * + *

Operational data keys can't begin with the following: + * amazon, aws, amzn, ssm, + * /amazon, /aws, /amzn, /ssm.

+ *
+ *

You can choose to make the data searchable by other users in the account or you can restrict + * search access. Searchable data means that all users with access to the OpsItem Overview page (as + * provided by the DescribeOpsItems API operation) can view and search on the + * specified data. Operational data that isn't searchable is only viewable by users who have access + * to the OpsItem (as provided by the GetOpsItem API operation).

+ *

Use the /aws/resources key in OperationalData to specify a related resource in + * the request. Use the /aws/automations key in OperationalData to associate an + * Automation runbook with the OpsItem. To view Amazon Web Services CLI example commands that use these keys, see + * Creating OpsItems + * manually in the Amazon Web Services Systems Manager User Guide.

+ */ + OperationalData?: Record; + /** + * @public + *

The Amazon Resource Name (ARN) of an SNS topic where notifications are sent when this + * OpsItem is edited or changed.

+ */ + Notifications?: OpsItemNotification[]; + /** + * @public + *

The importance of this OpsItem in relation to other OpsItems in the system.

+ */ + Priority?: number; + /** + * @public + *

One or more OpsItems that share something in common with the current OpsItems. For example, + * related OpsItems can include OpsItems with similar error messages, impacted resources, or + * statuses for the impacted resource.

+ */ + RelatedOpsItems?: RelatedOpsItem[]; + /** + * @public + *

The origin of the OpsItem, such as Amazon EC2 or Systems Manager.

+ * + *

The source name can't contain the following strings: aws, amazon, + * and amzn.

+ *
+ */ + Source: string | undefined; + /** + * @public + *

A short heading that describes the nature of the OpsItem and the impacted resource.

+ */ + Title: string | undefined; + /** + * @public + *

Optional metadata that you assign to a resource.

+ *

Tags use a key-value pair. For example:

+ *

+ * Key=Department,Value=Finance + *

+ * + *

To add tags to a new OpsItem, a user must have IAM permissions for both the + * ssm:CreateOpsItems operation and the ssm:AddTagsToResource operation. + * To add tags to an existing OpsItem, use the AddTagsToResource + * operation.

+ *
+ */ + Tags?: Tag[]; + /** + * @public + *

Specify a category to assign to an OpsItem.

+ */ + Category?: string; + /** + * @public + *

Specify a severity to assign to an OpsItem.

+ */ + Severity?: string; + /** + * @public + *

The time a runbook workflow started. Currently reported only for the OpsItem type + * /aws/changerequest.

+ */ + ActualStartTime?: Date; + /** + * @public + *

The time a runbook workflow ended. Currently reported only for the OpsItem type + * /aws/changerequest.

+ */ + ActualEndTime?: Date; + /** + * @public + *

The time specified in a change request for a runbook workflow to start. Currently supported + * only for the OpsItem type /aws/changerequest.

+ */ + PlannedStartTime?: Date; + /** + * @public + *

The time specified in a change request for a runbook workflow to end. Currently supported + * only for the OpsItem type /aws/changerequest.

+ */ + PlannedEndTime?: Date; + /** + * @public + *

The target Amazon Web Services account where you want to create an OpsItem. To make this call, your account + * must be configured to work with OpsItems across accounts. For more information, see Set up + * OpsCenter in the Amazon Web Services Systems Manager User Guide.

+ */ + AccountId?: string; +} +/** + * @public + */ +export interface CreateOpsItemResponse { + /** + * @public + *

The ID of the OpsItem.

+ */ + OpsItemId?: string; + /** + * @public + *

The OpsItem Amazon Resource Name (ARN).

+ */ + OpsItemArn?: string; +} +/** + * @public + *

You don't have permission to view OpsItems in the specified account. Verify that your account + * is configured either as a Systems Manager delegated administrator or that you are logged into the Organizations + * management account.

+ */ +export declare class OpsItemAccessDeniedException extends __BaseException { + readonly name: "OpsItemAccessDeniedException"; + readonly $fault: "client"; + Message?: string; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + *

The OpsItem already exists.

+ */ +export declare class OpsItemAlreadyExistsException extends __BaseException { + readonly name: "OpsItemAlreadyExistsException"; + readonly $fault: "client"; + Message?: string; + OpsItemId?: string; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + *

Metadata to assign to an Application Manager application.

+ */ +export interface MetadataValue { + /** + * @public + *

Metadata value to assign to an Application Manager application.

+ */ + Value?: string; +} +/** + * @public + */ +export interface CreateOpsMetadataRequest { + /** + * @public + *

A resource ID for a new Application Manager application.

+ */ + ResourceId: string | undefined; + /** + * @public + *

Metadata for a new Application Manager application.

+ */ + Metadata?: Record; + /** + * @public + *

Optional metadata that you assign to a resource. You can specify a maximum of five tags for + * an OpsMetadata object. Tags enable you to categorize a resource in different ways, such as by + * purpose, owner, or environment. For example, you might want to tag an OpsMetadata object to + * identify an environment or target Amazon Web Services Region. In this case, you could specify the following + * key-value pairs:

+ *
    + *
  • + *

    + * Key=Environment,Value=Production + *

    + *
  • + *
  • + *

    + * Key=Region,Value=us-east-2 + *

    + *
  • + *
+ */ + Tags?: Tag[]; +} +/** + * @public + */ +export interface CreateOpsMetadataResult { + /** + * @public + *

The Amazon Resource Name (ARN) of the OpsMetadata Object or blob created by the call.

+ */ + OpsMetadataArn?: string; +} +/** + * @public + *

An OpsMetadata object already exists for the selected resource.

+ */ +export declare class OpsMetadataAlreadyExistsException extends __BaseException { + readonly name: "OpsMetadataAlreadyExistsException"; + readonly $fault: "client"; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + *

One of the arguments passed is invalid.

+ */ +export declare class OpsMetadataInvalidArgumentException extends __BaseException { + readonly name: "OpsMetadataInvalidArgumentException"; + readonly $fault: "client"; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + *

Your account reached the maximum number of OpsMetadata objects allowed by Application Manager. The + * maximum is 200 OpsMetadata objects. Delete one or more OpsMetadata object and try again.

+ */ +export declare class OpsMetadataLimitExceededException extends __BaseException { + readonly name: "OpsMetadataLimitExceededException"; + readonly $fault: "client"; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + *

The system is processing too many concurrent updates. Wait a few moments and try + * again.

+ */ +export declare class OpsMetadataTooManyUpdatesException extends __BaseException { + readonly name: "OpsMetadataTooManyUpdatesException"; + readonly $fault: "client"; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + * @enum + */ +export declare const PatchComplianceLevel: { + readonly Critical: "CRITICAL"; + readonly High: "HIGH"; + readonly Informational: "INFORMATIONAL"; + readonly Low: "LOW"; + readonly Medium: "MEDIUM"; + readonly Unspecified: "UNSPECIFIED"; +}; +/** + * @public + */ +export type PatchComplianceLevel = (typeof PatchComplianceLevel)[keyof typeof PatchComplianceLevel]; +/** + * @public + * @enum + */ +export declare const PatchFilterKey: { + readonly AdvisoryId: "ADVISORY_ID"; + readonly Arch: "ARCH"; + readonly BugzillaId: "BUGZILLA_ID"; + readonly CVEId: "CVE_ID"; + readonly Classification: "CLASSIFICATION"; + readonly Epoch: "EPOCH"; + readonly MsrcSeverity: "MSRC_SEVERITY"; + readonly Name: "NAME"; + readonly PatchId: "PATCH_ID"; + readonly PatchSet: "PATCH_SET"; + readonly Priority: "PRIORITY"; + readonly Product: "PRODUCT"; + readonly ProductFamily: "PRODUCT_FAMILY"; + readonly Release: "RELEASE"; + readonly Repository: "REPOSITORY"; + readonly Section: "SECTION"; + readonly Security: "SECURITY"; + readonly Severity: "SEVERITY"; + readonly Version: "VERSION"; +}; +/** + * @public + */ +export type PatchFilterKey = (typeof PatchFilterKey)[keyof typeof PatchFilterKey]; +/** + * @public + *

Defines which patches should be included in a patch baseline.

+ *

A patch filter consists of a key and a set of values. The filter key is a patch property. + * For example, the available filter keys for WINDOWS are PATCH_SET, + * PRODUCT, PRODUCT_FAMILY, CLASSIFICATION, and + * MSRC_SEVERITY.

+ *

The filter values define a matching criterion for the patch property indicated by the key. + * For example, if the filter key is PRODUCT and the filter values are ["Office + * 2013", "Office 2016"], then the filter accepts all patches where product name is either + * "Office 2013" or "Office 2016". The filter values can be exact values for the patch property + * given as a key, or a wildcard (*), which matches all values.

+ *

You can view lists of valid values for the patch properties by running the + * DescribePatchProperties command. For information about which patch properties can + * be used with each major operating system, see DescribePatchProperties.

+ */ +export interface PatchFilter { + /** + * @public + *

The key for the filter.

+ *

Run the DescribePatchProperties command to view lists of valid keys for + * each operating system type.

+ */ + Key: PatchFilterKey | undefined; + /** + * @public + *

The value for the filter key.

+ *

Run the DescribePatchProperties command to view lists of valid values for + * each key based on operating system type.

+ */ + Values: string[] | undefined; +} +/** + * @public + *

A set of patch filters, typically used for approval rules.

+ */ +export interface PatchFilterGroup { + /** + * @public + *

The set of patch filters that make up the group.

+ */ + PatchFilters: PatchFilter[] | undefined; +} +/** + * @public + *

Defines an approval rule for a patch baseline.

+ */ +export interface PatchRule { + /** + * @public + *

The patch filter group that defines the criteria for the rule.

+ */ + PatchFilterGroup: PatchFilterGroup | undefined; + /** + * @public + *

A compliance severity level for all approved patches in a patch baseline.

+ */ + ComplianceLevel?: PatchComplianceLevel; + /** + * @public + *

The number of days after the release date of each patch matched by the rule that the patch + * is marked as approved in the patch baseline. For example, a value of 7 means that + * patches are approved seven days after they are released. Not supported on Debian Server or Ubuntu + * Server.

+ */ + ApproveAfterDays?: number; + /** + * @public + *

The cutoff date for auto approval of released patches. Any patches released on or before + * this date are installed automatically. Not supported on Debian Server or Ubuntu Server.

+ *

Enter dates in the format YYYY-MM-DD. For example, + * 2021-12-31.

+ */ + ApproveUntilDate?: string; + /** + * @public + *

For managed nodes identified by the approval rule filters, enables a patch baseline to apply + * non-security updates available in the specified repository. The default value is + * false. Applies to Linux managed nodes only.

+ */ + EnableNonSecurity?: boolean; +} +/** + * @public + *

A set of rules defining the approval rules for a patch baseline.

+ */ +export interface PatchRuleGroup { + /** + * @public + *

The rules that make up the rule group.

+ */ + PatchRules: PatchRule[] | undefined; +} +/** + * @public + * @enum + */ +export declare const OperatingSystem: { + readonly AlmaLinux: "ALMA_LINUX"; + readonly AmazonLinux: "AMAZON_LINUX"; + readonly AmazonLinux2: "AMAZON_LINUX_2"; + readonly AmazonLinux2022: "AMAZON_LINUX_2022"; + readonly AmazonLinux2023: "AMAZON_LINUX_2023"; + readonly CentOS: "CENTOS"; + readonly Debian: "DEBIAN"; + readonly MacOS: "MACOS"; + readonly OracleLinux: "ORACLE_LINUX"; + readonly Raspbian: "RASPBIAN"; + readonly RedhatEnterpriseLinux: "REDHAT_ENTERPRISE_LINUX"; + readonly Rocky_Linux: "ROCKY_LINUX"; + readonly Suse: "SUSE"; + readonly Ubuntu: "UBUNTU"; + readonly Windows: "WINDOWS"; +}; +/** + * @public + */ +export type OperatingSystem = (typeof OperatingSystem)[keyof typeof OperatingSystem]; +/** + * @public + * @enum + */ +export declare const PatchAction: { + readonly AllowAsDependency: "ALLOW_AS_DEPENDENCY"; + readonly Block: "BLOCK"; +}; +/** + * @public + */ +export type PatchAction = (typeof PatchAction)[keyof typeof PatchAction]; +/** + * @public + *

Information about the patches to use to update the managed nodes, including target operating + * systems and source repository. Applies to Linux managed nodes only.

+ */ +export interface PatchSource { + /** + * @public + *

The name specified to identify the patch source.

+ */ + Name: string | undefined; + /** + * @public + *

The specific operating system versions a patch repository applies to, such as "Ubuntu16.04", + * "AmazonLinux2016.09", "RedhatEnterpriseLinux7.2" or "Suse12.7". For lists of supported product + * values, see PatchFilter.

+ */ + Products: string[] | undefined; + /** + * @public + *

The value of the yum repo configuration. For example:

+ *

+ * [main] + *

+ *

+ * name=MyCustomRepository + *

+ *

+ * baseurl=https://my-custom-repository + *

+ *

+ * enabled=1 + *

+ * + *

For information about other options available for your yum repository configuration, see + * dnf.conf(5).

+ *
+ */ + Configuration: string | undefined; +} +/** + * @public + */ +export interface CreatePatchBaselineRequest { + /** + * @public + *

Defines the operating system the patch baseline applies to. The default value is + * WINDOWS.

+ */ + OperatingSystem?: OperatingSystem; + /** + * @public + *

The name of the patch baseline.

+ */ + Name: string | undefined; + /** + * @public + *

A set of global filters used to include patches in the baseline.

+ */ + GlobalFilters?: PatchFilterGroup; + /** + * @public + *

A set of rules used to include patches in the baseline.

+ */ + ApprovalRules?: PatchRuleGroup; + /** + * @public + *

A list of explicitly approved patches for the baseline.

+ *

For information about accepted formats for lists of approved patches and rejected patches, + * see About + * package name formats for approved and rejected patch lists in the Amazon Web Services Systems Manager User Guide.

+ */ + ApprovedPatches?: string[]; + /** + * @public + *

Defines the compliance level for approved patches. When an approved patch is reported as + * missing, this value describes the severity of the compliance violation. The default value is + * UNSPECIFIED.

+ */ + ApprovedPatchesComplianceLevel?: PatchComplianceLevel; + /** + * @public + *

Indicates whether the list of approved patches includes non-security updates that should be + * applied to the managed nodes. The default value is false. Applies to Linux managed + * nodes only.

+ */ + ApprovedPatchesEnableNonSecurity?: boolean; + /** + * @public + *

A list of explicitly rejected patches for the baseline.

+ *

For information about accepted formats for lists of approved patches and rejected patches, + * see About + * package name formats for approved and rejected patch lists in the Amazon Web Services Systems Manager User Guide.

+ */ + RejectedPatches?: string[]; + /** + * @public + *

The action for Patch Manager to take on patches included in the + * RejectedPackages list.

+ *
    + *
  • + *

    + * + * ALLOW_AS_DEPENDENCY + * : A package in the + * Rejected patches list is installed only if it is a dependency of another package. + * It is considered compliant with the patch baseline, and its status is reported as + * InstalledOther. This is the default action if no option is specified.

    + *
  • + *
  • + *

    + * + * BLOCK + * : Packages in the + * RejectedPatches list, and packages that include them as dependencies, aren't + * installed under any circumstances. If a package was installed before it was added to the + * Rejected patches list, it is considered non-compliant with the patch baseline, and its status + * is reported as InstalledRejected.

    + *
  • + *
+ */ + RejectedPatchesAction?: PatchAction; + /** + * @public + *

A description of the patch baseline.

+ */ + Description?: string; + /** + * @public + *

Information about the patches to use to update the managed nodes, including target operating + * systems and source repositories. Applies to Linux managed nodes only.

+ */ + Sources?: PatchSource[]; + /** + * @public + *

User-provided idempotency token.

+ */ + ClientToken?: string; + /** + * @public + *

Optional metadata that you assign to a resource. Tags enable you to categorize a resource in + * different ways, such as by purpose, owner, or environment. For example, you might want to tag a + * patch baseline to identify the severity level of patches it specifies and the operating system + * family it applies to. In this case, you could specify the following key-value pairs:

+ *
    + *
  • + *

    + * Key=PatchSeverity,Value=Critical + *

    + *
  • + *
  • + *

    + * Key=OS,Value=Windows + *

    + *
  • + *
+ * + *

To add tags to an existing patch baseline, use the AddTagsToResource + * operation.

+ *
+ */ + Tags?: Tag[]; +} +/** + * @public + */ +export interface CreatePatchBaselineResult { + /** + * @public + *

The ID of the created patch baseline.

+ */ + BaselineId?: string; +} +/** + * @public + *

Synchronize Amazon Web Services Systems Manager Inventory data from multiple Amazon Web Services accounts defined in Organizations to a + * centralized Amazon S3 bucket. Data is synchronized to individual key prefixes in the + * central bucket. Each key prefix represents a different Amazon Web Services account ID.

+ */ +export interface ResourceDataSyncDestinationDataSharing { + /** + * @public + *

The sharing data type. Only Organization is supported.

+ */ + DestinationDataSharingType?: string; +} +/** + * @public + * @enum + */ +export declare const ResourceDataSyncS3Format: { + readonly JSON_SERDE: "JsonSerDe"; +}; +/** + * @public + */ +export type ResourceDataSyncS3Format = (typeof ResourceDataSyncS3Format)[keyof typeof ResourceDataSyncS3Format]; +/** + * @public + *

Information about the target S3 bucket for the resource data sync.

+ */ +export interface ResourceDataSyncS3Destination { + /** + * @public + *

The name of the S3 bucket where the aggregated data is stored.

+ */ + BucketName: string | undefined; + /** + * @public + *

An Amazon S3 prefix for the bucket.

+ */ + Prefix?: string; + /** + * @public + *

A supported sync format. The following format is currently supported: JsonSerDe

+ */ + SyncFormat: ResourceDataSyncS3Format | undefined; + /** + * @public + *

The Amazon Web Services Region with the S3 bucket targeted by the resource data sync.

+ */ + Region: string | undefined; + /** + * @public + *

The ARN of an encryption key for a destination in Amazon S3. Must belong to the same + * Region as the destination S3 bucket.

+ */ + AWSKMSKeyARN?: string; + /** + * @public + *

Enables destination data sharing. By default, this field is null.

+ */ + DestinationDataSharing?: ResourceDataSyncDestinationDataSharing; +} +/** + * @public + *

The Organizations organizational unit data source for the sync.

+ */ +export interface ResourceDataSyncOrganizationalUnit { + /** + * @public + *

The Organizations unit ID data source for the sync.

+ */ + OrganizationalUnitId?: string; +} +/** + * @public + *

Information about the AwsOrganizationsSource resource data sync source. A sync + * source of this type can synchronize data from Organizations or, if an Amazon Web Services organization isn't + * present, from multiple Amazon Web Services Regions.

+ */ +export interface ResourceDataSyncAwsOrganizationsSource { + /** + * @public + *

If an Amazon Web Services organization is present, this is either OrganizationalUnits or + * EntireOrganization. For OrganizationalUnits, the data is aggregated + * from a set of organization units. For EntireOrganization, the data is aggregated + * from the entire Amazon Web Services organization.

+ */ + OrganizationSourceType: string | undefined; + /** + * @public + *

The Organizations organization units included in the sync.

+ */ + OrganizationalUnits?: ResourceDataSyncOrganizationalUnit[]; +} +/** + * @public + *

Information about the source of the data included in the resource data sync.

+ */ +export interface ResourceDataSyncSource { + /** + * @public + *

The type of data source for the resource data sync. SourceType is either + * AwsOrganizations (if an organization is present in Organizations) or + * SingleAccountMultiRegions.

+ */ + SourceType: string | undefined; + /** + * @public + *

Information about the AwsOrganizationsSource resource data sync source. A sync + * source of this type can synchronize data from Organizations.

+ */ + AwsOrganizationsSource?: ResourceDataSyncAwsOrganizationsSource; + /** + * @public + *

The SyncSource Amazon Web Services Regions included in the resource data sync.

+ */ + SourceRegions: string[] | undefined; + /** + * @public + *

Whether to automatically synchronize and aggregate data from new Amazon Web Services Regions when those + * Regions come online.

+ */ + IncludeFutureRegions?: boolean; + /** + * @public + *

When you create a resource data sync, if you choose one of the Organizations options, then Systems Manager + * automatically enables all OpsData sources in the selected Amazon Web Services Regions for all Amazon Web Services accounts in + * your organization (or in the selected organization units). For more information, see About multiple account and Region resource data syncs in the + * Amazon Web Services Systems Manager User Guide.

+ */ + EnableAllOpsDataSources?: boolean; +} +/** + * @public + */ +export interface CreateResourceDataSyncRequest { + /** + * @public + *

A name for the configuration.

+ */ + SyncName: string | undefined; + /** + * @public + *

Amazon S3 configuration details for the sync. This parameter is required if the + * SyncType value is SyncToDestination.

+ */ + S3Destination?: ResourceDataSyncS3Destination; + /** + * @public + *

Specify SyncToDestination to create a resource data sync that synchronizes data + * to an S3 bucket for Inventory. If you specify SyncToDestination, you must provide a + * value for S3Destination. Specify SyncFromSource to synchronize data + * from a single account and multiple Regions, or multiple Amazon Web Services accounts and Amazon Web Services Regions, as + * listed in Organizations for Explorer. If you specify SyncFromSource, you must provide a + * value for SyncSource. The default value is SyncToDestination.

+ */ + SyncType?: string; + /** + * @public + *

Specify information about the data sources to synchronize. This parameter is required if the + * SyncType value is SyncFromSource.

+ */ + SyncSource?: ResourceDataSyncSource; +} +/** + * @public + */ +export interface CreateResourceDataSyncResult { +} +/** + * @public + *

A sync configuration with the same name already exists.

+ */ +export declare class ResourceDataSyncAlreadyExistsException extends __BaseException { + readonly name: "ResourceDataSyncAlreadyExistsException"; + readonly $fault: "client"; + SyncName?: string; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + *

You have exceeded the allowed maximum sync configurations.

+ */ +export declare class ResourceDataSyncCountExceededException extends __BaseException { + readonly name: "ResourceDataSyncCountExceededException"; + readonly $fault: "client"; + Message?: string; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + *

The specified sync configuration is invalid.

+ */ +export declare class ResourceDataSyncInvalidConfigurationException extends __BaseException { + readonly name: "ResourceDataSyncInvalidConfigurationException"; + readonly $fault: "client"; + Message?: string; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + */ +export interface DeleteActivationRequest { + /** + * @public + *

The ID of the activation that you want to delete.

+ */ + ActivationId: string | undefined; +} +/** + * @public + */ +export interface DeleteActivationResult { +} +/** + * @public + *

The activation isn't valid. The activation might have been deleted, or the ActivationId and + * the ActivationCode don't match.

+ */ +export declare class InvalidActivation extends __BaseException { + readonly name: "InvalidActivation"; + readonly $fault: "client"; + Message?: string; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + *

The activation ID isn't valid. Verify the you entered the correct ActivationId or + * ActivationCode and try again.

+ */ +export declare class InvalidActivationId extends __BaseException { + readonly name: "InvalidActivationId"; + readonly $fault: "client"; + Message?: string; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + *

The specified association doesn't exist.

+ */ +export declare class AssociationDoesNotExist extends __BaseException { + readonly name: "AssociationDoesNotExist"; + readonly $fault: "client"; + Message?: string; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + */ +export interface DeleteAssociationRequest { + /** + * @public + *

The name of the SSM document.

+ */ + Name?: string; + /** + * @public + *

The managed node ID.

+ * + *

+ * InstanceId has been deprecated. To specify a managed node ID for an + * association, use the Targets parameter. Requests that include the parameter + * InstanceID with Systems Manager documents (SSM documents) that use schema version 2.0 or + * later will fail. In addition, if you use the parameter InstanceId, you can't use + * the parameters AssociationName, DocumentVersion, + * MaxErrors, MaxConcurrency, OutputLocation, or + * ScheduleExpression. To use these parameters, you must use the Targets + * parameter.

+ *
+ */ + InstanceId?: string; + /** + * @public + *

The association ID that you want to delete.

+ */ + AssociationId?: string; +} +/** + * @public + */ +export interface DeleteAssociationResult { +} +/** + * @public + *

You must disassociate a document from all managed nodes before you can delete it.

+ */ +export declare class AssociatedInstances extends __BaseException { + readonly name: "AssociatedInstances"; + readonly $fault: "client"; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + */ +export interface DeleteDocumentRequest { + /** + * @public + *

The name of the document.

+ */ + Name: string | undefined; + /** + * @public + *

The version of the document that you want to delete. If not provided, all versions of the + * document are deleted.

+ */ + DocumentVersion?: string; + /** + * @public + *

The version name of the document that you want to delete. If not provided, all versions of + * the document are deleted.

+ */ + VersionName?: string; + /** + * @public + *

Some SSM document types require that you specify a Force flag before you can + * delete the document. For example, you must specify a Force flag to delete a document + * of type ApplicationConfigurationSchema. You can restrict access to the + * Force flag in an Identity and Access Management (IAM) policy.

+ */ + Force?: boolean; +} +/** + * @public + */ +export interface DeleteDocumentResult { +} +/** + * @public + *

You attempted to delete a document while it is still shared. You must stop sharing the + * document before you can delete it.

+ */ +export declare class InvalidDocumentOperation extends __BaseException { + readonly name: "InvalidDocumentOperation"; + readonly $fault: "client"; + Message?: string; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + * @enum + */ +export declare const InventorySchemaDeleteOption: { + readonly DELETE_SCHEMA: "DeleteSchema"; + readonly DISABLE_SCHEMA: "DisableSchema"; +}; +/** + * @public + */ +export type InventorySchemaDeleteOption = (typeof InventorySchemaDeleteOption)[keyof typeof InventorySchemaDeleteOption]; +/** + * @public + */ +export interface DeleteInventoryRequest { + /** + * @public + *

The name of the custom inventory type for which you want to delete either all previously + * collected data or the inventory type itself.

+ */ + TypeName: string | undefined; + /** + * @public + *

Use the SchemaDeleteOption to delete a custom inventory type (schema). If you + * don't choose this option, the system only deletes existing inventory data associated with the + * custom inventory type. Choose one of the following options:

+ *

DisableSchema: If you choose this option, the system ignores all inventory data for the + * specified version, and any earlier versions. To enable this schema again, you must call the + * PutInventory operation for a version greater than the disabled version.

+ *

DeleteSchema: This option deletes the specified custom type from the Inventory service. You + * can recreate the schema later, if you want.

+ */ + SchemaDeleteOption?: InventorySchemaDeleteOption; + /** + * @public + *

Use this option to view a summary of the deletion request without deleting any data or the + * data type. This option is useful when you only want to understand what will be deleted. Once you + * validate that the data to be deleted is what you intend to delete, you can run the same command + * without specifying the DryRun option.

+ */ + DryRun?: boolean; + /** + * @public + *

User-provided idempotency token.

+ */ + ClientToken?: string; +} +/** + * @public + *

Either a count, remaining count, or a version number in a delete inventory summary.

+ */ +export interface InventoryDeletionSummaryItem { + /** + * @public + *

The inventory type version.

+ */ + Version?: string; + /** + * @public + *

A count of the number of deleted items.

+ */ + Count?: number; + /** + * @public + *

The remaining number of items to delete.

+ */ + RemainingCount?: number; +} +/** + * @public + *

Information about the delete operation.

+ */ +export interface InventoryDeletionSummary { + /** + * @public + *

The total number of items to delete. This count doesn't change during the delete + * operation.

+ */ + TotalCount?: number; + /** + * @public + *

Remaining number of items to delete.

+ */ + RemainingCount?: number; + /** + * @public + *

A list of counts and versions for deleted items.

+ */ + SummaryItems?: InventoryDeletionSummaryItem[]; +} +/** + * @public + */ +export interface DeleteInventoryResult { + /** + * @public + *

Every DeleteInventory operation is assigned a unique ID. This option returns a + * unique ID. You can use this ID to query the status of a delete operation. This option is useful + * for ensuring that a delete operation has completed before you begin other operations.

+ */ + DeletionId?: string; + /** + * @public + *

The name of the inventory data type specified in the request.

+ */ + TypeName?: string; + /** + * @public + *

A summary of the delete operation. For more information about this summary, see Deleting custom inventory in the Amazon Web Services Systems Manager User Guide.

+ */ + DeletionSummary?: InventoryDeletionSummary; +} +/** + * @public + *

One or more of the parameters specified for the delete operation isn't valid. Verify all + * parameters and try again.

+ */ +export declare class InvalidDeleteInventoryParametersException extends __BaseException { + readonly name: "InvalidDeleteInventoryParametersException"; + readonly $fault: "client"; + Message?: string; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + *

The request isn't valid.

+ */ +export declare class InvalidInventoryRequestException extends __BaseException { + readonly name: "InvalidInventoryRequestException"; + readonly $fault: "client"; + Message?: string; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + *

The delete inventory option specified isn't valid. Verify the option and try again.

+ */ +export declare class InvalidOptionException extends __BaseException { + readonly name: "InvalidOptionException"; + readonly $fault: "client"; + Message?: string; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + *

The parameter type name isn't valid.

+ */ +export declare class InvalidTypeNameException extends __BaseException { + readonly name: "InvalidTypeNameException"; + readonly $fault: "client"; + Message?: string; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + */ +export interface DeleteMaintenanceWindowRequest { + /** + * @public + *

The ID of the maintenance window to delete.

+ */ + WindowId: string | undefined; +} +/** + * @public + */ +export interface DeleteMaintenanceWindowResult { + /** + * @public + *

The ID of the deleted maintenance window.

+ */ + WindowId?: string; +} +/** + * @public + */ +export interface DeleteOpsItemRequest { + /** + * @public + *

The ID of the OpsItem that you want to delete.

+ */ + OpsItemId: string | undefined; +} +/** + * @public + */ +export interface DeleteOpsItemResponse { +} +/** + * @public + */ +export interface DeleteOpsMetadataRequest { + /** + * @public + *

The Amazon Resource Name (ARN) of an OpsMetadata Object to delete.

+ */ + OpsMetadataArn: string | undefined; +} +/** + * @public + */ +export interface DeleteOpsMetadataResult { +} +/** + * @public + *

The OpsMetadata object doesn't exist.

+ */ +export declare class OpsMetadataNotFoundException extends __BaseException { + readonly name: "OpsMetadataNotFoundException"; + readonly $fault: "client"; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + */ +export interface DeleteParameterRequest { + /** + * @public + *

The name of the parameter to delete.

+ */ + Name: string | undefined; +} +/** + * @public + */ +export interface DeleteParameterResult { +} +/** + * @public + *

The parameter couldn't be found. Verify the name and try again.

+ */ +export declare class ParameterNotFound extends __BaseException { + readonly name: "ParameterNotFound"; + readonly $fault: "client"; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + */ +export interface DeleteParametersRequest { + /** + * @public + *

The names of the parameters to delete. After deleting a parameter, wait for at least 30 + * seconds to create a parameter with the same name.

+ */ + Names: string[] | undefined; +} +/** + * @public + */ +export interface DeleteParametersResult { + /** + * @public + *

The names of the deleted parameters.

+ */ + DeletedParameters?: string[]; + /** + * @public + *

The names of parameters that weren't deleted because the parameters aren't valid.

+ */ + InvalidParameters?: string[]; +} +/** + * @public + */ +export interface DeletePatchBaselineRequest { + /** + * @public + *

The ID of the patch baseline to delete.

+ */ + BaselineId: string | undefined; +} +/** + * @public + */ +export interface DeletePatchBaselineResult { + /** + * @public + *

The ID of the deleted patch baseline.

+ */ + BaselineId?: string; +} +/** + * @public + *

Error returned if an attempt is made to delete a patch baseline that is registered for a + * patch group.

+ */ +export declare class ResourceInUseException extends __BaseException { + readonly name: "ResourceInUseException"; + readonly $fault: "client"; + Message?: string; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + */ +export interface DeleteResourceDataSyncRequest { + /** + * @public + *

The name of the configuration to delete.

+ */ + SyncName: string | undefined; + /** + * @public + *

Specify the type of resource data sync to delete.

+ */ + SyncType?: string; +} +/** + * @public + */ +export interface DeleteResourceDataSyncResult { +} +/** + * @public + *

The specified sync name wasn't found.

+ */ +export declare class ResourceDataSyncNotFoundException extends __BaseException { + readonly name: "ResourceDataSyncNotFoundException"; + readonly $fault: "client"; + SyncName?: string; + SyncType?: string; + Message?: string; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + */ +export interface DeleteResourcePolicyRequest { + /** + * @public + *

Amazon Resource Name (ARN) of the resource to which the policies are attached.

+ */ + ResourceArn: string | undefined; + /** + * @public + *

The policy ID.

+ */ + PolicyId: string | undefined; + /** + * @public + *

ID of the current policy version. The hash helps to prevent multiple calls from attempting + * to overwrite a policy.

+ */ + PolicyHash: string | undefined; +} +/** + * @public + */ +export interface DeleteResourcePolicyResponse { +} +/** + * @public + *

The hash provided in the call doesn't match the stored hash. This exception is thrown when + * trying to update an obsolete policy version or when multiple requests to update a policy are + * sent.

+ */ +export declare class ResourcePolicyConflictException extends __BaseException { + readonly name: "ResourcePolicyConflictException"; + readonly $fault: "client"; + Message?: string; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + *

One or more parameters specified for the call aren't valid. Verify the parameters and their + * values and try again.

+ */ +export declare class ResourcePolicyInvalidParameterException extends __BaseException { + readonly name: "ResourcePolicyInvalidParameterException"; + readonly $fault: "client"; + ParameterNames?: string[]; + Message?: string; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + */ +export interface DeregisterManagedInstanceRequest { + /** + * @public + *

The ID assigned to the managed node when you registered it using the activation process. + *

+ */ + InstanceId: string | undefined; +} +/** + * @public + */ +export interface DeregisterManagedInstanceResult { +} +/** + * @public + */ +export interface DeregisterPatchBaselineForPatchGroupRequest { + /** + * @public + *

The ID of the patch baseline to deregister the patch group from.

+ */ + BaselineId: string | undefined; + /** + * @public + *

The name of the patch group that should be deregistered from the patch baseline.

+ */ + PatchGroup: string | undefined; +} +/** + * @public + */ +export interface DeregisterPatchBaselineForPatchGroupResult { + /** + * @public + *

The ID of the patch baseline the patch group was deregistered from.

+ */ + BaselineId?: string; + /** + * @public + *

The name of the patch group deregistered from the patch baseline.

+ */ + PatchGroup?: string; +} +/** + * @public + */ +export interface DeregisterTargetFromMaintenanceWindowRequest { + /** + * @public + *

The ID of the maintenance window the target should be removed from.

+ */ + WindowId: string | undefined; + /** + * @public + *

The ID of the target definition to remove.

+ */ + WindowTargetId: string | undefined; + /** + * @public + *

The system checks if the target is being referenced by a task. If the target is being + * referenced, the system returns an error and doesn't deregister the target from the maintenance + * window.

+ */ + Safe?: boolean; +} +/** + * @public + */ +export interface DeregisterTargetFromMaintenanceWindowResult { + /** + * @public + *

The ID of the maintenance window the target was removed from.

+ */ + WindowId?: string; + /** + * @public + *

The ID of the removed target definition.

+ */ + WindowTargetId?: string; +} +/** + * @public + *

You specified the Safe option for the DeregisterTargetFromMaintenanceWindow + * operation, but the target is still referenced in a task.

+ */ +export declare class TargetInUseException extends __BaseException { + readonly name: "TargetInUseException"; + readonly $fault: "client"; + Message?: string; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + */ +export interface DeregisterTaskFromMaintenanceWindowRequest { + /** + * @public + *

The ID of the maintenance window the task should be removed from.

+ */ + WindowId: string | undefined; + /** + * @public + *

The ID of the task to remove from the maintenance window.

+ */ + WindowTaskId: string | undefined; +} +/** + * @public + */ +export interface DeregisterTaskFromMaintenanceWindowResult { + /** + * @public + *

The ID of the maintenance window the task was removed from.

+ */ + WindowId?: string; + /** + * @public + *

The ID of the task removed from the maintenance window.

+ */ + WindowTaskId?: string; +} +/** + * @public + * @enum + */ +export declare const DescribeActivationsFilterKeys: { + readonly ACTIVATION_IDS: "ActivationIds"; + readonly DEFAULT_INSTANCE_NAME: "DefaultInstanceName"; + readonly IAM_ROLE: "IamRole"; +}; +/** + * @public + */ +export type DescribeActivationsFilterKeys = (typeof DescribeActivationsFilterKeys)[keyof typeof DescribeActivationsFilterKeys]; +/** + * @public + *

Filter for the DescribeActivation API.

+ */ +export interface DescribeActivationsFilter { + /** + * @public + *

The name of the filter.

+ */ + FilterKey?: DescribeActivationsFilterKeys; + /** + * @public + *

The filter values.

+ */ + FilterValues?: string[]; +} +/** + * @public + */ +export interface DescribeActivationsRequest { + /** + * @public + *

A filter to view information about your activations.

+ */ + Filters?: DescribeActivationsFilter[]; + /** + * @public + *

The maximum number of items to return for this call. The call also returns a token that you + * can specify in a subsequent call to get the next set of results.

+ */ + MaxResults?: number; + /** + * @public + *

A token to start the list. Use this token to get the next set of results.

+ */ + NextToken?: string; +} +/** + * @public + */ +export interface DescribeActivationsResult { + /** + * @public + *

A list of activations for your Amazon Web Services account.

+ */ + ActivationList?: Activation[]; + /** + * @public + *

The token for the next set of items to return. Use this token to get the next set of + * results.

+ */ + NextToken?: string; +} +/** + * @public + *

The filter name isn't valid. Verify the you entered the correct name and try again.

+ */ +export declare class InvalidFilter extends __BaseException { + readonly name: "InvalidFilter"; + readonly $fault: "client"; + Message?: string; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + *

The specified token isn't valid.

+ */ +export declare class InvalidNextToken extends __BaseException { + readonly name: "InvalidNextToken"; + readonly $fault: "client"; + Message?: string; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + */ +export interface DescribeAssociationRequest { + /** + * @public + *

The name of the SSM document.

+ */ + Name?: string; + /** + * @public + *

The managed node ID.

+ */ + InstanceId?: string; + /** + * @public + *

The association ID for which you want information.

+ */ + AssociationId?: string; + /** + * @public + *

Specify the association version to retrieve. To view the latest version, either specify + * $LATEST for this parameter, or omit this parameter. To view a list of all + * associations for a managed node, use ListAssociations. To get a list of + * versions for a specific association, use ListAssociationVersions.

+ */ + AssociationVersion?: string; +} +/** + * @public + */ +export interface DescribeAssociationResult { + /** + * @public + *

Information about the association.

+ */ + AssociationDescription?: AssociationDescription; +} +/** + * @public + *

The version you specified isn't valid. Use ListAssociationVersions to view all versions of + * an association according to the association ID. Or, use the $LATEST parameter to + * view the latest version of the association.

+ */ +export declare class InvalidAssociationVersion extends __BaseException { + readonly name: "InvalidAssociationVersion"; + readonly $fault: "client"; + Message?: string; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + * @enum + */ +export declare const AssociationExecutionFilterKey: { + readonly CreatedTime: "CreatedTime"; + readonly ExecutionId: "ExecutionId"; + readonly Status: "Status"; +}; +/** + * @public + */ +export type AssociationExecutionFilterKey = (typeof AssociationExecutionFilterKey)[keyof typeof AssociationExecutionFilterKey]; +/** + * @public + * @enum + */ +export declare const AssociationFilterOperatorType: { + readonly Equal: "EQUAL"; + readonly GreaterThan: "GREATER_THAN"; + readonly LessThan: "LESS_THAN"; +}; +/** + * @public + */ +export type AssociationFilterOperatorType = (typeof AssociationFilterOperatorType)[keyof typeof AssociationFilterOperatorType]; +/** + * @public + *

Filters used in the request.

+ */ +export interface AssociationExecutionFilter { + /** + * @public + *

The key value used in the request.

+ */ + Key: AssociationExecutionFilterKey | undefined; + /** + * @public + *

The value specified for the key.

+ */ + Value: string | undefined; + /** + * @public + *

The filter type specified in the request.

+ */ + Type: AssociationFilterOperatorType | undefined; +} +/** + * @public + */ +export interface DescribeAssociationExecutionsRequest { + /** + * @public + *

The association ID for which you want to view execution history details.

+ */ + AssociationId: string | undefined; + /** + * @public + *

Filters for the request. You can specify the following filters and values.

+ *

ExecutionId (EQUAL)

+ *

Status (EQUAL)

+ *

CreatedTime (EQUAL, GREATER_THAN, LESS_THAN)

+ */ + Filters?: AssociationExecutionFilter[]; + /** + * @public + *

The maximum number of items to return for this call. The call also returns a token that you + * can specify in a subsequent call to get the next set of results.

+ */ + MaxResults?: number; + /** + * @public + *

A token to start the list. Use this token to get the next set of results.

+ */ + NextToken?: string; +} +/** + * @public + *

Includes information about the specified association.

+ */ +export interface AssociationExecution { + /** + * @public + *

The association ID.

+ */ + AssociationId?: string; + /** + * @public + *

The association version.

+ */ + AssociationVersion?: string; + /** + * @public + *

The execution ID for the association.

+ */ + ExecutionId?: string; + /** + * @public + *

The status of the association execution.

+ */ + Status?: string; + /** + * @public + *

Detailed status information about the execution.

+ */ + DetailedStatus?: string; + /** + * @public + *

The time the execution started.

+ */ + CreatedTime?: Date; + /** + * @public + *

The date of the last execution.

+ */ + LastExecutionDate?: Date; + /** + * @public + *

An aggregate status of the resources in the execution based on the status type.

+ */ + ResourceCountByStatus?: string; + /** + * @public + *

The details for the CloudWatch alarm you want to apply to an automation or + * command.

+ */ + AlarmConfiguration?: AlarmConfiguration; + /** + * @public + *

The CloudWatch alarms that were invoked by the association.

+ */ + TriggeredAlarms?: AlarmStateInformation[]; +} +/** + * @public + */ +export interface DescribeAssociationExecutionsResult { + /** + * @public + *

A list of the executions for the specified association ID.

+ */ + AssociationExecutions?: AssociationExecution[]; + /** + * @public + *

The token for the next set of items to return. Use this token to get the next set of + * results.

+ */ + NextToken?: string; +} +/** + * @public + *

The specified execution ID doesn't exist. Verify the ID number and try again.

+ */ +export declare class AssociationExecutionDoesNotExist extends __BaseException { + readonly name: "AssociationExecutionDoesNotExist"; + readonly $fault: "client"; + Message?: string; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + * @enum + */ +export declare const AssociationExecutionTargetsFilterKey: { + readonly ResourceId: "ResourceId"; + readonly ResourceType: "ResourceType"; + readonly Status: "Status"; +}; +/** + * @public + */ +export type AssociationExecutionTargetsFilterKey = (typeof AssociationExecutionTargetsFilterKey)[keyof typeof AssociationExecutionTargetsFilterKey]; +/** + * @public + *

Filters for the association execution.

+ */ +export interface AssociationExecutionTargetsFilter { + /** + * @public + *

The key value used in the request.

+ */ + Key: AssociationExecutionTargetsFilterKey | undefined; + /** + * @public + *

The value specified for the key.

+ */ + Value: string | undefined; +} +/** + * @public + */ +export interface DescribeAssociationExecutionTargetsRequest { + /** + * @public + *

The association ID that includes the execution for which you want to view details.

+ */ + AssociationId: string | undefined; + /** + * @public + *

The execution ID for which you want to view details.

+ */ + ExecutionId: string | undefined; + /** + * @public + *

Filters for the request. You can specify the following filters and values.

+ *

Status (EQUAL)

+ *

ResourceId (EQUAL)

+ *

ResourceType (EQUAL)

+ */ + Filters?: AssociationExecutionTargetsFilter[]; + /** + * @public + *

The maximum number of items to return for this call. The call also returns a token that you + * can specify in a subsequent call to get the next set of results.

+ */ + MaxResults?: number; + /** + * @public + *

A token to start the list. Use this token to get the next set of results.

+ */ + NextToken?: string; +} +/** + * @public + *

Information about the source where the association execution details are stored.

+ */ +export interface OutputSource { + /** + * @public + *

The ID of the output source, for example the URL of an S3 bucket.

+ */ + OutputSourceId?: string; + /** + * @public + *

The type of source where the association execution details are stored, for example, Amazon S3.

+ */ + OutputSourceType?: string; +} +/** + * @public + *

Includes information about the specified association execution.

+ */ +export interface AssociationExecutionTarget { + /** + * @public + *

The association ID.

+ */ + AssociationId?: string; + /** + * @public + *

The association version.

+ */ + AssociationVersion?: string; + /** + * @public + *

The execution ID.

+ */ + ExecutionId?: string; + /** + * @public + *

The resource ID, for example, the managed node ID where the association ran.

+ */ + ResourceId?: string; + /** + * @public + *

The resource type, for example, EC2.

+ */ + ResourceType?: string; + /** + * @public + *

The association execution status.

+ */ + Status?: string; + /** + * @public + *

Detailed information about the execution status.

+ */ + DetailedStatus?: string; + /** + * @public + *

The date of the last execution.

+ */ + LastExecutionDate?: Date; + /** + * @public + *

The location where the association details are saved.

+ */ + OutputSource?: OutputSource; +} +/** + * @public + */ +export interface DescribeAssociationExecutionTargetsResult { + /** + * @public + *

Information about the execution.

+ */ + AssociationExecutionTargets?: AssociationExecutionTarget[]; + /** + * @public + *

The token for the next set of items to return. Use this token to get the next set of + * results.

+ */ + NextToken?: string; +} +/** + * @public + * @enum + */ +export declare const AutomationExecutionFilterKey: { + readonly AUTOMATION_SUBTYPE: "AutomationSubtype"; + readonly AUTOMATION_TYPE: "AutomationType"; + readonly CURRENT_ACTION: "CurrentAction"; + readonly DOCUMENT_NAME_PREFIX: "DocumentNamePrefix"; + readonly EXECUTION_ID: "ExecutionId"; + readonly EXECUTION_STATUS: "ExecutionStatus"; + readonly OPS_ITEM_ID: "OpsItemId"; + readonly PARENT_EXECUTION_ID: "ParentExecutionId"; + readonly START_TIME_AFTER: "StartTimeAfter"; + readonly START_TIME_BEFORE: "StartTimeBefore"; + readonly TAG_KEY: "TagKey"; + readonly TARGET_RESOURCE_GROUP: "TargetResourceGroup"; +}; +/** + * @public + */ +export type AutomationExecutionFilterKey = (typeof AutomationExecutionFilterKey)[keyof typeof AutomationExecutionFilterKey]; +/** + * @public + *

A filter used to match specific automation executions. This is used to limit the scope of + * Automation execution information returned.

+ */ +export interface AutomationExecutionFilter { + /** + * @public + *

One or more keys to limit the results.

+ */ + Key: AutomationExecutionFilterKey | undefined; + /** + * @public + *

The values used to limit the execution information associated with the filter's key.

+ */ + Values: string[] | undefined; +} +/** + * @public + */ +export interface DescribeAutomationExecutionsRequest { + /** + * @public + *

Filters used to limit the scope of executions that are requested.

+ */ + Filters?: AutomationExecutionFilter[]; + /** + * @public + *

The maximum number of items to return for this call. The call also returns a token that you + * can specify in a subsequent call to get the next set of results.

+ */ + MaxResults?: number; + /** + * @public + *

The token for the next set of items to return. (You received this token from a previous + * call.)

+ */ + NextToken?: string; +} +/** + * @public + * @enum + */ +export declare const AutomationExecutionStatus: { + readonly APPROVED: "Approved"; + readonly CANCELLED: "Cancelled"; + readonly CANCELLING: "Cancelling"; + readonly CHANGE_CALENDAR_OVERRIDE_APPROVED: "ChangeCalendarOverrideApproved"; + readonly CHANGE_CALENDAR_OVERRIDE_REJECTED: "ChangeCalendarOverrideRejected"; + readonly COMPLETED_WITH_FAILURE: "CompletedWithFailure"; + readonly COMPLETED_WITH_SUCCESS: "CompletedWithSuccess"; + readonly EXITED: "Exited"; + readonly FAILED: "Failed"; + readonly INPROGRESS: "InProgress"; + readonly PENDING: "Pending"; + readonly PENDING_APPROVAL: "PendingApproval"; + readonly PENDING_CHANGE_CALENDAR_OVERRIDE: "PendingChangeCalendarOverride"; + readonly REJECTED: "Rejected"; + readonly RUNBOOK_INPROGRESS: "RunbookInProgress"; + readonly SCHEDULED: "Scheduled"; + readonly SUCCESS: "Success"; + readonly TIMEDOUT: "TimedOut"; + readonly WAITING: "Waiting"; +}; +/** + * @public + */ +export type AutomationExecutionStatus = (typeof AutomationExecutionStatus)[keyof typeof AutomationExecutionStatus]; +/** + * @public + * @enum + */ +export declare const AutomationSubtype: { + readonly ChangeRequest: "ChangeRequest"; +}; +/** + * @public + */ +export type AutomationSubtype = (typeof AutomationSubtype)[keyof typeof AutomationSubtype]; +/** + * @public + * @enum + */ +export declare const AutomationType: { + readonly CrossAccount: "CrossAccount"; + readonly Local: "Local"; +}; +/** + * @public + */ +export type AutomationType = (typeof AutomationType)[keyof typeof AutomationType]; +/** + * @public + * @enum + */ +export declare const ExecutionMode: { + readonly Auto: "Auto"; + readonly Interactive: "Interactive"; +}; +/** + * @public + */ +export type ExecutionMode = (typeof ExecutionMode)[keyof typeof ExecutionMode]; +/** + * @public + *

Information about targets that resolved during the Automation execution.

+ */ +export interface ResolvedTargets { + /** + * @public + *

A list of parameter values sent to targets that resolved during the Automation + * execution.

+ */ + ParameterValues?: string[]; + /** + * @public + *

A boolean value indicating whether the resolved target list is truncated.

+ */ + Truncated?: boolean; +} +/** + * @public + *

Information about an Automation runbook used in a runbook workflow in Change Manager.

+ * + *

The Automation runbooks specified for the runbook workflow can't run until all required + * approvals for the change request have been received.

+ *
+ */ +export interface Runbook { + /** + * @public + *

The name of the Automation runbook used in a runbook workflow.

+ */ + DocumentName: string | undefined; + /** + * @public + *

The version of the Automation runbook used in a runbook workflow.

+ */ + DocumentVersion?: string; + /** + * @public + *

The key-value map of execution parameters, which were supplied when calling + * StartChangeRequestExecution.

+ */ + Parameters?: Record; + /** + * @public + *

The name of the parameter used as the target resource for the rate-controlled + * runbook workflow. Required if you specify Targets.

+ */ + TargetParameterName?: string; + /** + * @public + *

A key-value mapping to target resources that the runbook operation performs tasks on. + * Required if you specify TargetParameterName.

+ */ + Targets?: Target[]; + /** + * @public + *

A key-value mapping of runbook parameters to target resources. Both Targets and TargetMaps + * can't be specified together.

+ */ + TargetMaps?: Record[]; + /** + * @public + *

The MaxConcurrency value specified by the user when the operation started, + * indicating the maximum number of resources that the runbook operation can run on at the same + * time.

+ */ + MaxConcurrency?: string; + /** + * @public + *

The MaxErrors value specified by the user when the execution started, + * indicating the maximum number of errors that can occur during the operation before the updates + * are stopped or rolled back.

+ */ + MaxErrors?: string; + /** + * @public + *

Information about the Amazon Web Services Regions and Amazon Web Services accounts targeted by the current Runbook + * operation.

+ */ + TargetLocations?: TargetLocation[]; +} +/** + * @public + *

Details about a specific Automation execution.

+ */ +export interface AutomationExecutionMetadata { + /** + * @public + *

The execution ID.

+ */ + AutomationExecutionId?: string; + /** + * @public + *

The name of the Automation runbook used during execution.

+ */ + DocumentName?: string; + /** + * @public + *

The document version used during the execution.

+ */ + DocumentVersion?: string; + /** + * @public + *

The status of the execution.

+ */ + AutomationExecutionStatus?: AutomationExecutionStatus; + /** + * @public + *

The time the execution started.

+ */ + ExecutionStartTime?: Date; + /** + * @public + *

The time the execution finished. This isn't populated if the execution is still in + * progress.

+ */ + ExecutionEndTime?: Date; + /** + * @public + *

The IAM role ARN of the user who ran the automation.

+ */ + ExecutedBy?: string; + /** + * @public + *

An S3 bucket where execution information is stored.

+ */ + LogFile?: string; + /** + * @public + *

The list of execution outputs as defined in the Automation runbook.

+ */ + Outputs?: Record; + /** + * @public + *

The Automation execution mode.

+ */ + Mode?: ExecutionMode; + /** + * @public + *

The execution ID of the parent automation.

+ */ + ParentAutomationExecutionId?: string; + /** + * @public + *

The name of the step that is currently running.

+ */ + CurrentStepName?: string; + /** + * @public + *

The action of the step that is currently running.

+ */ + CurrentAction?: string; + /** + * @public + *

The list of execution outputs as defined in the Automation runbook.

+ */ + FailureMessage?: string; + /** + * @public + *

The list of execution outputs as defined in the Automation runbook.

+ */ + TargetParameterName?: string; + /** + * @public + *

The targets defined by the user when starting the automation.

+ */ + Targets?: Target[]; + /** + * @public + *

The specified key-value mapping of document parameters to target resources.

+ */ + TargetMaps?: Record[]; + /** + * @public + *

A list of targets that resolved during the execution.

+ */ + ResolvedTargets?: ResolvedTargets; + /** + * @public + *

The MaxConcurrency value specified by the user when starting the + * automation.

+ */ + MaxConcurrency?: string; + /** + * @public + *

The MaxErrors value specified by the user when starting the automation.

+ */ + MaxErrors?: string; + /** + * @public + *

The list of execution outputs as defined in the Automation runbook.

+ */ + Target?: string; + /** + * @public + *

Use this filter with DescribeAutomationExecutions. Specify either Local or + * CrossAccount. CrossAccount is an Automation that runs in multiple Amazon Web Services Regions and + * Amazon Web Services accounts. For more information, see Running Automation workflows in multiple Amazon Web Services Regions and accounts in the + * Amazon Web Services Systems Manager User Guide.

+ */ + AutomationType?: AutomationType; + /** + * @public + *

The details for the CloudWatch alarm applied to your automation.

+ */ + AlarmConfiguration?: AlarmConfiguration; + /** + * @public + *

The CloudWatch alarm that was invoked by the automation.

+ */ + TriggeredAlarms?: AlarmStateInformation[]; + /** + * @public + *

The subtype of the Automation operation. Currently, the only supported value is + * ChangeRequest.

+ */ + AutomationSubtype?: AutomationSubtype; + /** + * @public + *

The date and time the Automation operation is scheduled to start.

+ */ + ScheduledTime?: Date; + /** + * @public + *

Information about the Automation runbooks that are run during a runbook workflow in + * Change Manager.

+ * + *

The Automation runbooks specified for the runbook workflow can't run until all required + * approvals for the change request have been received.

+ *
+ */ + Runbooks?: Runbook[]; + /** + * @public + *

The ID of an OpsItem that is created to represent a Change Manager change request.

+ */ + OpsItemId?: string; + /** + * @public + *

The ID of a State Manager association used in the Automation operation.

+ */ + AssociationId?: string; + /** + * @public + *

The name of the Change Manager change request.

+ */ + ChangeRequestName?: string; +} +/** + * @public + */ +export interface DescribeAutomationExecutionsResult { + /** + * @public + *

The list of details about each automation execution which has occurred which matches the + * filter specification, if any.

+ */ + AutomationExecutionMetadataList?: AutomationExecutionMetadata[]; + /** + * @public + *

The token to use when requesting the next set of items. If there are no additional items to + * return, the string is empty.

+ */ + NextToken?: string; +} +/** + * @public + *

The specified key isn't valid.

+ */ +export declare class InvalidFilterKey extends __BaseException { + readonly name: "InvalidFilterKey"; + readonly $fault: "client"; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + *

The filter value isn't valid. Verify the value and try again.

+ */ +export declare class InvalidFilterValue extends __BaseException { + readonly name: "InvalidFilterValue"; + readonly $fault: "client"; + Message?: string; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + *

There is no automation execution information for the requested automation execution + * ID.

+ */ +export declare class AutomationExecutionNotFoundException extends __BaseException { + readonly name: "AutomationExecutionNotFoundException"; + readonly $fault: "client"; + Message?: string; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + * @enum + */ +export declare const StepExecutionFilterKey: { + readonly ACTION: "Action"; + readonly PARENT_STEP_EXECUTION_ID: "ParentStepExecutionId"; + readonly PARENT_STEP_ITERATION: "ParentStepIteration"; + readonly PARENT_STEP_ITERATOR_VALUE: "ParentStepIteratorValue"; + readonly START_TIME_AFTER: "StartTimeAfter"; + readonly START_TIME_BEFORE: "StartTimeBefore"; + readonly STEP_EXECUTION_ID: "StepExecutionId"; + readonly STEP_EXECUTION_STATUS: "StepExecutionStatus"; + readonly STEP_NAME: "StepName"; +}; +/** + * @public + */ +export type StepExecutionFilterKey = (typeof StepExecutionFilterKey)[keyof typeof StepExecutionFilterKey]; +/** + * @public + *

A filter to limit the amount of step execution information returned by the call.

+ */ +export interface StepExecutionFilter { + /** + * @public + *

One or more keys to limit the results.

+ */ + Key: StepExecutionFilterKey | undefined; + /** + * @public + *

The values of the filter key.

+ */ + Values: string[] | undefined; +} +/** + * @public + */ +export interface DescribeAutomationStepExecutionsRequest { + /** + * @public + *

The Automation execution ID for which you want step execution descriptions.

+ */ + AutomationExecutionId: string | undefined; + /** + * @public + *

One or more filters to limit the number of step executions returned by the request.

+ */ + Filters?: StepExecutionFilter[]; + /** + * @public + *

The token for the next set of items to return. (You received this token from a previous + * call.)

+ */ + NextToken?: string; + /** + * @public + *

The maximum number of items to return for this call. The call also returns a token that you + * can specify in a subsequent call to get the next set of results.

+ */ + MaxResults?: number; + /** + * @public + *

Indicates whether to list step executions in reverse order by start time. The default value + * is 'false'.

+ */ + ReverseOrder?: boolean; +} +/** + * @public + *

Information about an Automation failure.

+ */ +export interface FailureDetails { + /** + * @public + *

The stage of the Automation execution when the failure occurred. The stages include the + * following: InputValidation, PreVerification, Invocation, PostVerification.

+ */ + FailureStage?: string; + /** + * @public + *

The type of Automation failure. Failure types include the following: Action, Permission, + * Throttling, Verification, Internal.

+ */ + FailureType?: string; + /** + * @public + *

Detailed information about the Automation step failure.

+ */ + Details?: Record; +} +/** + * @public + *

A detailed status of the parent step.

+ */ +export interface ParentStepDetails { + /** + * @public + *

The unique ID of a step execution.

+ */ + StepExecutionId?: string; + /** + * @public + *

The name of the step.

+ */ + StepName?: string; + /** + * @public + *

The name of the automation action.

+ */ + Action?: string; + /** + * @public + *

The current repetition of the loop represented by an integer.

+ */ + Iteration?: number; + /** + * @public + *

The current value of the specified iterator in the loop.

+ */ + IteratorValue?: string; +} +/** + * @public + *

Detailed information about an the execution state of an Automation step.

+ */ +export interface StepExecution { + /** + * @public + *

The name of this execution step.

+ */ + StepName?: string; + /** + * @public + *

The action this step performs. The action determines the behavior of the step.

+ */ + Action?: string; + /** + * @public + *

The timeout seconds of the step.

+ */ + TimeoutSeconds?: number; + /** + * @public + *

The action to take if the step fails. The default value is Abort.

+ */ + OnFailure?: string; + /** + * @public + *

The maximum number of tries to run the action of the step. The default value is + * 1.

+ */ + MaxAttempts?: number; + /** + * @public + *

If a step has begun execution, this contains the time the step started. If the step is in + * Pending status, this field isn't populated.

+ */ + ExecutionStartTime?: Date; + /** + * @public + *

If a step has finished execution, this contains the time the execution ended. If the step + * hasn't yet concluded, this field isn't populated.

+ */ + ExecutionEndTime?: Date; + /** + * @public + *

The execution status for this step.

+ */ + StepStatus?: AutomationExecutionStatus; + /** + * @public + *

The response code returned by the execution of the step.

+ */ + ResponseCode?: string; + /** + * @public + *

Fully-resolved values passed into the step before execution.

+ */ + Inputs?: Record; + /** + * @public + *

Returned values from the execution of the step.

+ */ + Outputs?: Record; + /** + * @public + *

A message associated with the response code for an execution.

+ */ + Response?: string; + /** + * @public + *

If a step failed, this message explains why the execution failed.

+ */ + FailureMessage?: string; + /** + * @public + *

Information about the Automation failure.

+ */ + FailureDetails?: FailureDetails; + /** + * @public + *

The unique ID of a step execution.

+ */ + StepExecutionId?: string; + /** + * @public + *

A user-specified list of parameters to override when running a step.

+ */ + OverriddenParameters?: Record; + /** + * @public + *

The flag which can be used to end automation no matter whether the step succeeds or + * fails.

+ */ + IsEnd?: boolean; + /** + * @public + *

The next step after the step succeeds.

+ */ + NextStep?: string; + /** + * @public + *

The flag which can be used to help decide whether the failure of current step leads to the + * Automation failure.

+ */ + IsCritical?: boolean; + /** + * @public + *

Strategies used when step fails, we support Continue and Abort. Abort will fail the + * automation when the step fails. Continue will ignore the failure of current step and allow + * automation to run the next step. With conditional branching, we add step:stepName to support the + * automation to go to another specific step.

+ */ + ValidNextSteps?: string[]; + /** + * @public + *

The targets for the step execution.

+ */ + Targets?: Target[]; + /** + * @public + *

The combination of Amazon Web Services Regions and Amazon Web Services accounts targeted by the current Automation + * execution.

+ */ + TargetLocation?: TargetLocation; + /** + * @public + *

The CloudWatch alarms that were invoked by the automation.

+ */ + TriggeredAlarms?: AlarmStateInformation[]; + /** + * @public + *

Information about the parent step.

+ */ + ParentStepDetails?: ParentStepDetails; +} +/** + * @public + */ +export interface DescribeAutomationStepExecutionsResult { + /** + * @public + *

A list of details about the current state of all steps that make up an execution.

+ */ + StepExecutions?: StepExecution[]; + /** + * @public + *

The token to use when requesting the next set of items. If there are no additional items to + * return, the string is empty.

+ */ + NextToken?: string; +} +/** + * @public + *

Defines a filter used in Patch Manager APIs. Supported filter keys depend on the API + * operation that includes the filter. Patch Manager API operations that use + * PatchOrchestratorFilter include the following:

+ * + */ +export interface PatchOrchestratorFilter { + /** + * @public + *

The key for the filter.

+ */ + Key?: string; + /** + * @public + *

The value for the filter.

+ */ + Values?: string[]; +} +/** + * @public + */ +export interface DescribeAvailablePatchesRequest { + /** + * @public + *

Each element in the array is a structure containing a key-value pair.

+ *

+ * Windows Server + *

+ *

Supported keys for Windows Server managed node patches include the following:

+ *
    + *
  • + *

    + * + * PATCH_SET + * + *

    + *

    Sample values: OS | APPLICATION + *

    + *
  • + *
  • + *

    + * + * PRODUCT + * + *

    + *

    Sample values: WindowsServer2012 | Office 2010 | + * MicrosoftDefenderAntivirus + *

    + *
  • + *
  • + *

    + * + * PRODUCT_FAMILY + * + *

    + *

    Sample values: Windows | Office + *

    + *
  • + *
  • + *

    + * + * MSRC_SEVERITY + * + *

    + *

    Sample values: ServicePacks | Important | Moderate + *

    + *
  • + *
  • + *

    + * + * CLASSIFICATION + * + *

    + *

    Sample values: ServicePacks | SecurityUpdates | + * DefinitionUpdates + *

    + *
  • + *
  • + *

    + * + * PATCH_ID + * + *

    + *

    Sample values: KB123456 | KB4516046 + *

    + *
  • + *
+ *

+ * Linux + *

+ * + *

When specifying filters for Linux patches, you must specify a key-pair for + * PRODUCT. For example, using the Command Line Interface (CLI), the + * following command fails:

+ *

+ * aws ssm describe-available-patches --filters Key=CVE_ID,Values=CVE-2018-3615 + *

+ *

However, the following command succeeds:

+ *

+ * aws ssm describe-available-patches --filters Key=PRODUCT,Values=AmazonLinux2018.03 + * Key=CVE_ID,Values=CVE-2018-3615 + *

+ *
+ *

Supported keys for Linux managed node patches include the following:

+ *
    + *
  • + *

    + * + * PRODUCT + * + *

    + *

    Sample values: AmazonLinux2018.03 | AmazonLinux2.0 + *

    + *
  • + *
  • + *

    + * + * NAME + * + *

    + *

    Sample values: kernel-headers | samba-python | php + *

    + *
  • + *
  • + *

    + * + * SEVERITY + * + *

    + *

    Sample values: Critical | Important | Medium | + * Low + *

    + *
  • + *
  • + *

    + * + * EPOCH + * + *

    + *

    Sample values: 0 | 1 + *

    + *
  • + *
  • + *

    + * + * VERSION + * + *

    + *

    Sample values: 78.6.1 | 4.10.16 + *

    + *
  • + *
  • + *

    + * + * RELEASE + * + *

    + *

    Sample values: 9.56.amzn1 | 1.amzn2 + *

    + *
  • + *
  • + *

    + * + * ARCH + * + *

    + *

    Sample values: i686 | x86_64 + *

    + *
  • + *
  • + *

    + * + * REPOSITORY + * + *

    + *

    Sample values: Core | Updates + *

    + *
  • + *
  • + *

    + * + * ADVISORY_ID + * + *

    + *

    Sample values: ALAS-2018-1058 | ALAS2-2021-1594 + *

    + *
  • + *
  • + *

    + * + * CVE_ID + * + *

    + *

    Sample values: CVE-2018-3615 | CVE-2020-1472 + *

    + *
  • + *
  • + *

    + * + * BUGZILLA_ID + * + *

    + *

    Sample values: 1463241 + *

    + *
  • + *
+ */ + Filters?: PatchOrchestratorFilter[]; + /** + * @public + *

The maximum number of patches to return (per page).

+ */ + MaxResults?: number; + /** + * @public + *

The token for the next set of items to return. (You received this token from a previous + * call.)

+ */ + NextToken?: string; +} +/** + * @public + *

Represents metadata about a patch.

+ */ +export interface Patch { + /** + * @public + *

The ID of the patch. Applies to Windows patches only.

+ * + *

This ID isn't the same as the Microsoft Knowledge Base ID.

+ *
+ */ + Id?: string; + /** + * @public + *

The date the patch was released.

+ */ + ReleaseDate?: Date; + /** + * @public + *

The title of the patch.

+ */ + Title?: string; + /** + * @public + *

The description of the patch.

+ */ + Description?: string; + /** + * @public + *

The URL where more information can be obtained about the patch.

+ */ + ContentUrl?: string; + /** + * @public + *

The name of the vendor providing the patch.

+ */ + Vendor?: string; + /** + * @public + *

The product family the patch is applicable for. For example, Windows or + * Amazon Linux 2.

+ */ + ProductFamily?: string; + /** + * @public + *

The specific product the patch is applicable for. For example, + * WindowsServer2016 or AmazonLinux2018.03.

+ */ + Product?: string; + /** + * @public + *

The classification of the patch. For example, SecurityUpdates, + * Updates, or CriticalUpdates.

+ */ + Classification?: string; + /** + * @public + *

The severity of the patch, such as Critical, Important, or + * Moderate. Applies to Windows patches only.

+ */ + MsrcSeverity?: string; + /** + * @public + *

The Microsoft Knowledge Base ID of the patch. Applies to Windows patches only.

+ */ + KbNumber?: string; + /** + * @public + *

The ID of the Microsoft Security Response Center (MSRC) bulletin the patch is related to. + * For example, MS14-045. Applies to Windows patches only.

+ */ + MsrcNumber?: string; + /** + * @public + *

The language of the patch if it's language-specific.

+ */ + Language?: string; + /** + * @public + *

The Advisory ID of the patch. For example, RHSA-2020:3779. Applies to + * Linux-based managed nodes only.

+ */ + AdvisoryIds?: string[]; + /** + * @public + *

The Bugzilla ID of the patch. For example, 1600646. Applies to Linux-based + * managed nodes only.

+ */ + BugzillaIds?: string[]; + /** + * @public + *

The Common Vulnerabilities and Exposures (CVE) ID of the patch. For example, + * CVE-2011-3192. Applies to Linux-based managed nodes only.

+ */ + CVEIds?: string[]; + /** + * @public + *

The name of the patch. Applies to Linux-based managed nodes only.

+ */ + Name?: string; + /** + * @public + *

The epoch of the patch. For example in + * pkg-example-EE-20180914-2.2.amzn1.noarch, the epoch value is + * 20180914-2. Applies to Linux-based managed nodes only.

+ */ + Epoch?: number; + /** + * @public + *

The version number of the patch. For example, in + * example-pkg-1.710.10-2.7.abcd.x86_64, the version number is indicated by + * -1. Applies to Linux-based managed nodes only.

+ */ + Version?: string; + /** + * @public + *

The particular release of a patch. For example, in + * pkg-example-EE-20180914-2.2.amzn1.noarch, the release is 2.amaz1. + * Applies to Linux-based managed nodes only.

+ */ + Release?: string; + /** + * @public + *

The architecture of the patch. For example, in + * example-pkg-0.710.10-2.7.abcd.x86_64, the architecture is indicated by + * x86_64. Applies to Linux-based managed nodes only.

+ */ + Arch?: string; + /** + * @public + *

The severity level of the patch. For example, CRITICAL or + * MODERATE.

+ */ + Severity?: string; + /** + * @public + *

The source patch repository for the operating system and version, such as + * trusty-security for Ubuntu Server 14.04 LTE and focal-security for + * Ubuntu Server 20.04 LTE. Applies to Linux-based managed nodes only.

+ */ + Repository?: string; +} +/** + * @public + */ +export interface DescribeAvailablePatchesResult { + /** + * @public + *

An array of patches. Each entry in the array is a patch structure.

+ */ + Patches?: Patch[]; + /** + * @public + *

The token to use when requesting the next set of items. If there are no additional items to + * return, the string is empty.

+ */ + NextToken?: string; +} +/** + * @public + */ +export interface DescribeDocumentRequest { + /** + * @public + *

The name of the SSM document.

+ */ + Name: string | undefined; + /** + * @public + *

The document version for which you want information. Can be a specific version or the + * default version.

+ */ + DocumentVersion?: string; + /** + * @public + *

An optional field specifying the version of the artifact associated with the document. For + * example, "Release 12, Update 6". This value is unique across all versions of a document, and + * can't be changed.

+ */ + VersionName?: string; +} +/** + * @public + */ +export interface DescribeDocumentResult { + /** + * @public + *

Information about the SSM document.

+ */ + Document?: DocumentDescription; +} +/** + * @public + * @enum + */ +export declare const DocumentPermissionType: { + readonly SHARE: "Share"; +}; +/** + * @public + */ +export type DocumentPermissionType = (typeof DocumentPermissionType)[keyof typeof DocumentPermissionType]; +/** + * @public + */ +export interface DescribeDocumentPermissionRequest { + /** + * @public + *

The name of the document for which you are the owner.

+ */ + Name: string | undefined; + /** + * @public + *

The permission type for the document. The permission type can be + * Share.

+ */ + PermissionType: DocumentPermissionType | undefined; + /** + * @public + *

The maximum number of items to return for this call. The call also returns a token that you + * can specify in a subsequent call to get the next set of results.

+ */ + MaxResults?: number; + /** + * @public + *

The token for the next set of items to return. (You received this token from a previous + * call.)

+ */ + NextToken?: string; +} +/** + * @public + */ +export interface DescribeDocumentPermissionResponse { + /** + * @public + *

The account IDs that have permission to use this document. The ID can be either an + * Amazon Web Services account or All.

+ */ + AccountIds?: string[]; + /** + * @public + *

A list of Amazon Web Services accounts where the current document is shared and the version shared with + * each account.

+ */ + AccountSharingInfoList?: AccountSharingInfo[]; + /** + * @public + *

The token for the next set of items to return. Use this token to get the next set of + * results.

+ */ + NextToken?: string; +} +/** + * @public + *

The permission type isn't supported. Share is the only supported + * permission type.

+ */ +export declare class InvalidPermissionType extends __BaseException { + readonly name: "InvalidPermissionType"; + readonly $fault: "client"; + Message?: string; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + */ +export interface DescribeEffectiveInstanceAssociationsRequest { + /** + * @public + *

The managed node ID for which you want to view all associations.

+ */ + InstanceId: string | undefined; + /** + * @public + *

The maximum number of items to return for this call. The call also returns a token that you + * can specify in a subsequent call to get the next set of results.

+ */ + MaxResults?: number; + /** + * @public + *

The token for the next set of items to return. (You received this token from a previous + * call.)

+ */ + NextToken?: string; +} +/** + * @public + *

One or more association documents on the managed node.

+ */ +export interface InstanceAssociation { + /** + * @public + *

The association ID.

+ */ + AssociationId?: string; + /** + * @public + *

The managed node ID.

+ */ + InstanceId?: string; + /** + * @public + *

The content of the association document for the managed node(s).

+ */ + Content?: string; + /** + * @public + *

Version information for the association on the managed node.

+ */ + AssociationVersion?: string; +} +/** + * @public + */ +export interface DescribeEffectiveInstanceAssociationsResult { + /** + * @public + *

The associations for the requested managed node.

+ */ + Associations?: InstanceAssociation[]; + /** + * @public + *

The token to use when requesting the next set of items. If there are no additional items to + * return, the string is empty.

+ */ + NextToken?: string; +} +/** + * @public + */ +export interface DescribeEffectivePatchesForPatchBaselineRequest { + /** + * @public + *

The ID of the patch baseline to retrieve the effective patches for.

+ */ + BaselineId: string | undefined; + /** + * @public + *

The maximum number of patches to return (per page).

+ */ + MaxResults?: number; + /** + * @public + *

The token for the next set of items to return. (You received this token from a previous + * call.)

+ */ + NextToken?: string; +} +/** + * @public + * @enum + */ +export declare const PatchDeploymentStatus: { + readonly Approved: "APPROVED"; + readonly ExplicitApproved: "EXPLICIT_APPROVED"; + readonly ExplicitRejected: "EXPLICIT_REJECTED"; + readonly PendingApproval: "PENDING_APPROVAL"; +}; +/** + * @public + */ +export type PatchDeploymentStatus = (typeof PatchDeploymentStatus)[keyof typeof PatchDeploymentStatus]; +/** + * @public + *

Information about the approval status of a patch.

+ */ +export interface PatchStatus { + /** + * @public + *

The approval status of a patch.

+ */ + DeploymentStatus?: PatchDeploymentStatus; + /** + * @public + *

The compliance severity level for a patch.

+ */ + ComplianceLevel?: PatchComplianceLevel; + /** + * @public + *

The date the patch was approved (or will be approved if the status is + * PENDING_APPROVAL).

+ */ + ApprovalDate?: Date; +} +/** + * @public + *

The EffectivePatch structure defines metadata about a patch along with the + * approval state of the patch in a particular patch baseline. The approval state includes + * information about whether the patch is currently approved, due to be approved by a rule, + * explicitly approved, or explicitly rejected and the date the patch was or will be + * approved.

+ */ +export interface EffectivePatch { + /** + * @public + *

Provides metadata for a patch, including information such as the KB ID, severity, + * classification and a URL for where more information can be obtained about the patch.

+ */ + Patch?: Patch; + /** + * @public + *

The status of the patch in a patch baseline. This includes information about whether the + * patch is currently approved, due to be approved by a rule, explicitly approved, or explicitly + * rejected and the date the patch was or will be approved.

+ */ + PatchStatus?: PatchStatus; +} +/** + * @public + */ +export interface DescribeEffectivePatchesForPatchBaselineResult { + /** + * @public + *

An array of patches and patch status.

+ */ + EffectivePatches?: EffectivePatch[]; + /** + * @public + *

The token to use when requesting the next set of items. If there are no additional items to + * return, the string is empty.

+ */ + NextToken?: string; +} +/** + * @public + *

The operating systems you specified isn't supported, or the operation isn't supported for + * the operating system.

+ */ +export declare class UnsupportedOperatingSystem extends __BaseException { + readonly name: "UnsupportedOperatingSystem"; + readonly $fault: "client"; + Message?: string; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + */ +export interface DescribeInstanceAssociationsStatusRequest { + /** + * @public + *

The managed node IDs for which you want association status information.

+ */ + InstanceId: string | undefined; + /** + * @public + *

The maximum number of items to return for this call. The call also returns a token that you + * can specify in a subsequent call to get the next set of results.

+ */ + MaxResults?: number; + /** + * @public + *

The token for the next set of items to return. (You received this token from a previous + * call.)

+ */ + NextToken?: string; +} +/** + * @public + *

A URL for the Amazon Web Services Systems Manager (Systems Manager) bucket where you want to store the + * results of this request.

+ */ +export interface S3OutputUrl { + /** + * @public + *

A URL for an S3 bucket where you want to store the results of this request.

+ */ + OutputUrl?: string; +} +/** + * @public + *

The URL of S3 bucket where you want to store the results of this request.

+ */ +export interface InstanceAssociationOutputUrl { + /** + * @public + *

The URL of S3 bucket where you want to store the results of this request.

+ */ + S3OutputUrl?: S3OutputUrl; +} +/** + * @public + *

Status information about the association.

+ */ +export interface InstanceAssociationStatusInfo { + /** + * @public + *

The association ID.

+ */ + AssociationId?: string; + /** + * @public + *

The name of the association.

+ */ + Name?: string; + /** + * @public + *

The association document versions.

+ */ + DocumentVersion?: string; + /** + * @public + *

The version of the association applied to the managed node.

+ */ + AssociationVersion?: string; + /** + * @public + *

The managed node ID where the association was created.

+ */ + InstanceId?: string; + /** + * @public + *

The date the association ran.

+ */ + ExecutionDate?: Date; + /** + * @public + *

Status information about the association.

+ */ + Status?: string; + /** + * @public + *

Detailed status information about the association.

+ */ + DetailedStatus?: string; + /** + * @public + *

Summary information about association execution.

+ */ + ExecutionSummary?: string; + /** + * @public + *

An error code returned by the request to create the association.

+ */ + ErrorCode?: string; + /** + * @public + *

A URL for an S3 bucket where you want to store the results of this request.

+ */ + OutputUrl?: InstanceAssociationOutputUrl; + /** + * @public + *

The name of the association applied to the managed node.

+ */ + AssociationName?: string; +} +/** + * @public + */ +export interface DescribeInstanceAssociationsStatusResult { + /** + * @public + *

Status information about the association.

+ */ + InstanceAssociationStatusInfos?: InstanceAssociationStatusInfo[]; + /** + * @public + *

The token to use when requesting the next set of items. If there are no additional items to + * return, the string is empty.

+ */ + NextToken?: string; +} +/** + * @public + *

The filters to describe or get information about your managed nodes.

+ */ +export interface InstanceInformationStringFilter { + /** + * @public + *

The filter key name to describe your managed nodes.

+ *

Valid filter key values: ActivationIds | AgentVersion | AssociationStatus | IamRole | + * InstanceIds | PingStatus | PlatformTypes | ResourceType | SourceIds | SourceTypes | "tag-key" | + * "tag:\{keyname\} + *

+ *
    + *
  • + *

    Valid values for the AssociationStatus filter key: Success | Pending | + * Failed

    + *
  • + *
  • + *

    Valid values for the PingStatus filter key: Online | ConnectionLost | + * Inactive (deprecated)

    + *
  • + *
  • + *

    Valid values for the PlatformType filter key: Windows | Linux | MacOS

    + *
  • + *
  • + *

    Valid values for the ResourceType filter key: EC2Instance | + * ManagedInstance

    + *
  • + *
  • + *

    Valid values for the SourceType filter key: AWS::EC2::Instance | + * AWS::SSM::ManagedInstance | AWS::IoT::Thing

    + *
  • + *
  • + *

    Valid tag examples: Key=tag-key,Values=Purpose | + * Key=tag:Purpose,Values=Test.

    + *
  • + *
+ */ + Key: string | undefined; + /** + * @public + *

The filter values.

+ */ + Values: string[] | undefined; +} +/** + * @public + * @enum + */ +export declare const InstanceInformationFilterKey: { + readonly ACTIVATION_IDS: "ActivationIds"; + readonly AGENT_VERSION: "AgentVersion"; + readonly ASSOCIATION_STATUS: "AssociationStatus"; + readonly IAM_ROLE: "IamRole"; + readonly INSTANCE_IDS: "InstanceIds"; + readonly PING_STATUS: "PingStatus"; + readonly PLATFORM_TYPES: "PlatformTypes"; + readonly RESOURCE_TYPE: "ResourceType"; +}; +/** + * @public + */ +export type InstanceInformationFilterKey = (typeof InstanceInformationFilterKey)[keyof typeof InstanceInformationFilterKey]; +/** + * @public + *

Describes a filter for a specific list of managed nodes. You can filter node information by + * using tags. You specify tags by using a key-value mapping.

+ *

Use this operation instead of the DescribeInstanceInformationRequest$InstanceInformationFilterList method. The + * InstanceInformationFilterList method is a legacy method and doesn't support tags. + *

+ */ +export interface InstanceInformationFilter { + /** + * @public + *

The name of the filter.

+ */ + key: InstanceInformationFilterKey | undefined; + /** + * @public + *

The filter values.

+ */ + valueSet: string[] | undefined; +} +/** + * @public + */ +export interface DescribeInstanceInformationRequest { + /** + * @public + *

This is a legacy method. We recommend that you don't use this method. Instead, use the + * Filters data type. Filters enables you to return node information by + * filtering based on tags applied to managed nodes.

+ * + *

Attempting to use InstanceInformationFilterList and Filters leads + * to an exception error.

+ *
+ */ + InstanceInformationFilterList?: InstanceInformationFilter[]; + /** + * @public + *

One or more filters. Use a filter to return a more specific list of managed nodes. You can + * filter based on tags applied to your managed nodes. Tag filters can't be combined with other + * filter types. Use this Filters data type instead of + * InstanceInformationFilterList, which is deprecated.

+ */ + Filters?: InstanceInformationStringFilter[]; + /** + * @public + *

The maximum number of items to return for this call. The call also returns a token that you + * can specify in a subsequent call to get the next set of results. The default value is 10 items. + *

+ */ + MaxResults?: number; + /** + * @public + *

The token for the next set of items to return. (You received this token from a previous + * call.)

+ */ + NextToken?: string; +} +/** + * @public + *

Status information about the aggregated associations.

+ */ +export interface InstanceAggregatedAssociationOverview { + /** + * @public + *

Detailed status information about the aggregated associations.

+ */ + DetailedStatus?: string; + /** + * @public + *

The number of associations for the managed node(s).

+ */ + InstanceAssociationStatusAggregatedCount?: Record; +} +/** + * @public + * @enum + */ +export declare const PingStatus: { + readonly CONNECTION_LOST: "ConnectionLost"; + readonly INACTIVE: "Inactive"; + readonly ONLINE: "Online"; +}; +/** + * @public + */ +export type PingStatus = (typeof PingStatus)[keyof typeof PingStatus]; +/** + * @public + * @enum + */ +export declare const ResourceType: { + readonly EC2_INSTANCE: "EC2Instance"; + readonly MANAGED_INSTANCE: "ManagedInstance"; +}; +/** + * @public + */ +export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType]; +/** + * @public + * @enum + */ +export declare const SourceType: { + readonly AWS_EC2_INSTANCE: "AWS::EC2::Instance"; + readonly AWS_IOT_THING: "AWS::IoT::Thing"; + readonly AWS_SSM_MANAGEDINSTANCE: "AWS::SSM::ManagedInstance"; +}; +/** + * @public + */ +export type SourceType = (typeof SourceType)[keyof typeof SourceType]; +/** + * @public + *

Describes a filter for a specific list of managed nodes.

+ */ +export interface InstanceInformation { + /** + * @public + *

The managed node ID.

+ */ + InstanceId?: string; + /** + * @public + *

Connection status of SSM Agent.

+ * + *

The status Inactive has been deprecated and is no longer in use.

+ *
+ */ + PingStatus?: PingStatus; + /** + * @public + *

The date and time when the agent last pinged the Systems Manager service.

+ */ + LastPingDateTime?: Date; + /** + * @public + *

The version of SSM Agent running on your Linux managed node.

+ */ + AgentVersion?: string; + /** + * @public + *

Indicates whether the latest version of SSM Agent is running on your Linux managed node. This + * field doesn't indicate whether or not the latest version is installed on Windows managed nodes, + * because some older versions of Windows Server use the EC2Config service to process Systems Manager + * requests.

+ */ + IsLatestVersion?: boolean; + /** + * @public + *

The operating system platform type.

+ */ + PlatformType?: PlatformType; + /** + * @public + *

The name of the operating system platform running on your managed node.

+ */ + PlatformName?: string; + /** + * @public + *

The version of the OS platform running on your managed node.

+ */ + PlatformVersion?: string; + /** + * @public + *

The activation ID created by Amazon Web Services Systems Manager when the server or virtual machine (VM) was + * registered.

+ */ + ActivationId?: string; + /** + * @public + *

The Identity and Access Management (IAM) role assigned to the on-premises Systems Manager + * managed node. This call doesn't return the IAM role for Amazon Elastic Compute Cloud + * (Amazon EC2) instances. To retrieve the IAM role for an EC2 instance, use + * the Amazon EC2 DescribeInstances operation. For information, see DescribeInstances in the Amazon EC2 API Reference or describe-instances in the Amazon Web Services CLI Command Reference.

+ */ + IamRole?: string; + /** + * @public + *

The date the server or VM was registered with Amazon Web Services as a managed node.

+ */ + RegistrationDate?: Date; + /** + * @public + *

The type of instance. Instances are either EC2 instances or managed instances.

+ */ + ResourceType?: ResourceType; + /** + * @public + *

The name assigned to an on-premises server, edge device, or virtual machine (VM) when it is + * activated as a Systems Manager managed node. The name is specified as the DefaultInstanceName + * property using the CreateActivation command. It is applied to the managed node + * by specifying the Activation Code and Activation ID when you install SSM Agent on the node, as + * explained in Install SSM Agent for a + * hybrid environment (Linux) and Install SSM Agent for a + * hybrid environment (Windows). To retrieve the Name tag of an EC2 instance, + * use the Amazon EC2 DescribeInstances operation. For information, see DescribeInstances in the Amazon EC2 API Reference or describe-instances in the Amazon Web Services CLI Command Reference.

+ */ + Name?: string; + /** + * @public + *

The IP address of the managed node.

+ */ + IPAddress?: string; + /** + * @public + *

The fully qualified host name of the managed node.

+ */ + ComputerName?: string; + /** + * @public + *

The status of the association.

+ */ + AssociationStatus?: string; + /** + * @public + *

The date the association was last run.

+ */ + LastAssociationExecutionDate?: Date; + /** + * @public + *

The last date the association was successfully run.

+ */ + LastSuccessfulAssociationExecutionDate?: Date; + /** + * @public + *

Information about the association.

+ */ + AssociationOverview?: InstanceAggregatedAssociationOverview; + /** + * @public + *

The ID of the source resource. For IoT Greengrass devices, SourceId is + * the Thing name.

+ */ + SourceId?: string; + /** + * @public + *

The type of the source resource. For IoT Greengrass devices, SourceType + * is AWS::IoT::Thing.

+ */ + SourceType?: SourceType; +} +/** + * @public + */ +export interface DescribeInstanceInformationResult { + /** + * @public + *

The managed node information list.

+ */ + InstanceInformationList?: InstanceInformation[]; + /** + * @public + *

The token to use when requesting the next set of items. If there are no additional items to + * return, the string is empty.

+ */ + NextToken?: string; +} +/** + * @public + *

The specified filter value isn't valid.

+ */ +export declare class InvalidInstanceInformationFilterValue extends __BaseException { + readonly name: "InvalidInstanceInformationFilterValue"; + readonly $fault: "client"; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + */ +export interface DescribeInstancePatchesRequest { + /** + * @public + *

The ID of the managed node whose patch state information should be retrieved.

+ */ + InstanceId: string | undefined; + /** + * @public + *

Each element in the array is a structure containing a key-value pair.

+ *

Supported keys for DescribeInstancePatchesinclude the following:

+ *
    + *
  • + *

    + * + * Classification + * + *

    + *

    Sample values: Security | SecurityUpdates + *

    + *
  • + *
  • + *

    + * + * KBId + * + *

    + *

    Sample values: KB4480056 | java-1.7.0-openjdk.x86_64 + *

    + *
  • + *
  • + *

    + * + * Severity + * + *

    + *

    Sample values: Important | Medium | Low + *

    + *
  • + *
  • + *

    + * + * State + * + *

    + *

    Sample values: Installed | InstalledOther | + * InstalledPendingReboot + *

    + *

    For lists of all State values, see Understanding + * patch compliance state values in the Amazon Web Services Systems Manager User Guide.

    + *
  • + *
+ */ + Filters?: PatchOrchestratorFilter[]; + /** + * @public + *

The token for the next set of items to return. (You received this token from a previous + * call.)

+ */ + NextToken?: string; + /** + * @public + *

The maximum number of patches to return (per page).

+ */ + MaxResults?: number; +} +/** + * @public + * @enum + */ +export declare const PatchComplianceDataState: { + readonly Failed: "FAILED"; + readonly Installed: "INSTALLED"; + readonly InstalledOther: "INSTALLED_OTHER"; + readonly InstalledPendingReboot: "INSTALLED_PENDING_REBOOT"; + readonly InstalledRejected: "INSTALLED_REJECTED"; + readonly Missing: "MISSING"; + readonly NotApplicable: "NOT_APPLICABLE"; +}; +/** + * @public + */ +export type PatchComplianceDataState = (typeof PatchComplianceDataState)[keyof typeof PatchComplianceDataState]; +/** + * @public + *

Information about the state of a patch on a particular managed node as it relates to the + * patch baseline used to patch the node.

+ */ +export interface PatchComplianceData { + /** + * @public + *

The title of the patch.

+ */ + Title: string | undefined; + /** + * @public + *

The operating system-specific ID of the patch.

+ */ + KBId: string | undefined; + /** + * @public + *

The classification of the patch, such as SecurityUpdates, Updates, + * and CriticalUpdates.

+ */ + Classification: string | undefined; + /** + * @public + *

The severity of the patch such as Critical, Important, and + * Moderate.

+ */ + Severity: string | undefined; + /** + * @public + *

The state of the patch on the managed node, such as INSTALLED or FAILED.

+ *

For descriptions of each patch state, see About patch compliance in the Amazon Web Services Systems Manager User Guide.

+ */ + State: PatchComplianceDataState | undefined; + /** + * @public + *

The date/time the patch was installed on the managed node. Not all operating systems provide + * this level of information.

+ */ + InstalledTime: Date | undefined; + /** + * @public + *

The IDs of one or more Common Vulnerabilities and Exposure (CVE) issues that are resolved by + * the patch.

+ */ + CVEIds?: string; +} +/** + * @public + */ +export interface DescribeInstancePatchesResult { + /** + * @public + *

Each entry in the array is a structure containing:

+ *
    + *
  • + *

    Title (string)

    + *
  • + *
  • + *

    KBId (string)

    + *
  • + *
  • + *

    Classification (string)

    + *
  • + *
  • + *

    Severity (string)

    + *
  • + *
  • + *

    State (string, such as "INSTALLED" or "FAILED")

    + *
  • + *
  • + *

    InstalledTime (DateTime)

    + *
  • + *
  • + *

    InstalledBy (string)

    + *
  • + *
+ */ + Patches?: PatchComplianceData[]; + /** + * @public + *

The token to use when requesting the next set of items. If there are no additional items to + * return, the string is empty.

+ */ + NextToken?: string; +} +/** + * @public + */ +export interface DescribeInstancePatchStatesRequest { + /** + * @public + *

The ID of the managed node for which patch state information should be retrieved.

+ */ + InstanceIds: string[] | undefined; + /** + * @public + *

The token for the next set of items to return. (You received this token from a previous + * call.)

+ */ + NextToken?: string; + /** + * @public + *

The maximum number of managed nodes to return (per page).

+ */ + MaxResults?: number; +} +/** + * @public + * @enum + */ +export declare const PatchOperationType: { + readonly INSTALL: "Install"; + readonly SCAN: "Scan"; +}; +/** + * @public + */ +export type PatchOperationType = (typeof PatchOperationType)[keyof typeof PatchOperationType]; +/** + * @public + * @enum + */ +export declare const RebootOption: { + readonly NO_REBOOT: "NoReboot"; + readonly REBOOT_IF_NEEDED: "RebootIfNeeded"; +}; +/** + * @public + */ +export type RebootOption = (typeof RebootOption)[keyof typeof RebootOption]; +/** + * @public + *

Defines the high-level patch compliance state for a managed node, providing information + * about the number of installed, missing, not applicable, and failed patches along with metadata + * about the operation when this information was gathered for the managed node.

+ */ +export interface InstancePatchState { + /** + * @public + *

The ID of the managed node the high-level patch compliance information was collected + * for.

+ */ + InstanceId: string | undefined; + /** + * @public + *

The name of the patch group the managed node belongs to.

+ */ + PatchGroup: string | undefined; + /** + * @public + *

The ID of the patch baseline used to patch the managed node.

+ */ + BaselineId: string | undefined; + /** + * @public + *

The ID of the patch baseline snapshot used during the patching operation when this + * compliance data was collected.

+ */ + SnapshotId?: string; + /** + * @public + *

An https URL or an Amazon Simple Storage Service (Amazon S3) path-style URL to a list of + * patches to be installed. This patch installation list, which you maintain in an S3 bucket in YAML + * format and specify in the SSM document AWS-RunPatchBaseline, overrides the patches + * specified by the default patch baseline.

+ *

For more information about the InstallOverrideList parameter, see About the + * AWS-RunPatchBaseline + * SSM document in the + * Amazon Web Services Systems Manager User Guide.

+ */ + InstallOverrideList?: string; + /** + * @public + *

Placeholder information. This field will always be empty in the current release of the + * service.

+ */ + OwnerInformation?: string; + /** + * @public + *

The number of patches from the patch baseline that are installed on the managed node.

+ */ + InstalledCount?: number; + /** + * @public + *

The number of patches not specified in the patch baseline that are installed on the managed + * node.

+ */ + InstalledOtherCount?: number; + /** + * @public + *

The number of patches installed by Patch Manager since the last time the managed node was + * rebooted.

+ */ + InstalledPendingRebootCount?: number; + /** + * @public + *

The number of patches installed on a managed node that are specified in a + * RejectedPatches list. Patches with a status of InstalledRejected were + * typically installed before they were added to a RejectedPatches list.

+ * + *

If ALLOW_AS_DEPENDENCY is the specified option for + * RejectedPatchesAction, the value of InstalledRejectedCount will + * always be 0 (zero).

+ *
+ */ + InstalledRejectedCount?: number; + /** + * @public + *

The number of patches from the patch baseline that are applicable for the managed node but + * aren't currently installed.

+ */ + MissingCount?: number; + /** + * @public + *

The number of patches from the patch baseline that were attempted to be installed during the + * last patching operation, but failed to install.

+ */ + FailedCount?: number; + /** + * @public + *

The number of patches beyond the supported limit of NotApplicableCount that + * aren't reported by name to Inventory. Inventory is a capability of Amazon Web Services Systems Manager.

+ */ + UnreportedNotApplicableCount?: number; + /** + * @public + *

The number of patches from the patch baseline that aren't applicable for the managed node + * and therefore aren't installed on the node. This number may be truncated if the list of patch + * names is very large. The number of patches beyond this limit are reported in + * UnreportedNotApplicableCount.

+ */ + NotApplicableCount?: number; + /** + * @public + *

The time the most recent patching operation was started on the managed node.

+ */ + OperationStartTime: Date | undefined; + /** + * @public + *

The time the most recent patching operation completed on the managed node.

+ */ + OperationEndTime: Date | undefined; + /** + * @public + *

The type of patching operation that was performed: or

+ *
    + *
  • + *

    + * SCAN assesses the patch compliance state.

    + *
  • + *
  • + *

    + * INSTALL installs missing patches.

    + *
  • + *
+ */ + Operation: PatchOperationType | undefined; + /** + * @public + *

The time of the last attempt to patch the managed node with NoReboot specified + * as the reboot option.

+ */ + LastNoRebootInstallOperationTime?: Date; + /** + * @public + *

Indicates the reboot option specified in the patch baseline.

+ * + *

Reboot options apply to Install operations only. Reboots aren't attempted for + * Patch Manager Scan operations.

+ *
+ *
    + *
  • + *

    + * RebootIfNeeded: Patch Manager tries to reboot the managed node if it + * installed any patches, or if any patches are detected with a status of + * InstalledPendingReboot.

    + *
  • + *
  • + *

    + * NoReboot: Patch Manager attempts to install missing packages without trying + * to reboot the system. Patches installed with this option are assigned a status of + * InstalledPendingReboot. These patches might not be in effect until a reboot is + * performed.

    + *
  • + *
+ */ + RebootOption?: RebootOption; + /** + * @public + *

The number of patches per node that are specified as Critical for compliance + * reporting in the patch baseline aren't installed. These patches might be missing, have failed + * installation, were rejected, or were installed but awaiting a required managed node reboot. The + * status of these managed nodes is NON_COMPLIANT.

+ */ + CriticalNonCompliantCount?: number; + /** + * @public + *

The number of patches per node that are specified as Security in a patch + * advisory aren't installed. These patches might be missing, have failed installation, were + * rejected, or were installed but awaiting a required managed node reboot. The status of these + * managed nodes is NON_COMPLIANT.

+ */ + SecurityNonCompliantCount?: number; + /** + * @public + *

The number of patches per node that are specified as other than Critical or + * Security but aren't compliant with the patch baseline. The status of these managed + * nodes is NON_COMPLIANT.

+ */ + OtherNonCompliantCount?: number; +} +/** + * @public + */ +export interface DescribeInstancePatchStatesResult { + /** + * @public + *

The high-level patch state for the requested managed nodes.

+ */ + InstancePatchStates?: InstancePatchState[]; + /** + * @public + *

The token to use when requesting the next set of items. If there are no additional items to + * return, the string is empty.

+ */ + NextToken?: string; +} +/** + * @public + * @enum + */ +export declare const InstancePatchStateOperatorType: { + readonly EQUAL: "Equal"; + readonly GREATER_THAN: "GreaterThan"; + readonly LESS_THAN: "LessThan"; + readonly NOT_EQUAL: "NotEqual"; +}; +/** + * @public + */ +export type InstancePatchStateOperatorType = (typeof InstancePatchStateOperatorType)[keyof typeof InstancePatchStateOperatorType]; +/** + * @public + *

Defines a filter used in DescribeInstancePatchStatesForPatchGroup to scope + * down the information returned by the API.

+ *

+ * Example: To filter for all managed nodes in a patch group + * having more than three patches with a FailedCount status, use the following for the + * filter:

+ *
    + *
  • + *

    Value for Key: FailedCount + *

    + *
  • + *
  • + *

    Value for Type: GreaterThan + *

    + *
  • + *
  • + *

    Value for Values: 3 + *

    + *
  • + *
+ */ +export interface InstancePatchStateFilter { + /** + * @public + *

The key for the filter. Supported values include the following:

+ *
    + *
  • + *

    + * InstalledCount + *

    + *
  • + *
  • + *

    + * InstalledOtherCount + *

    + *
  • + *
  • + *

    + * InstalledPendingRebootCount + *

    + *
  • + *
  • + *

    + * InstalledRejectedCount + *

    + *
  • + *
  • + *

    + * MissingCount + *

    + *
  • + *
  • + *

    + * FailedCount + *

    + *
  • + *
  • + *

    + * UnreportedNotApplicableCount + *

    + *
  • + *
  • + *

    + * NotApplicableCount + *

    + *
  • + *
+ */ + Key: string | undefined; + /** + * @public + *

The value for the filter. Must be an integer greater than or equal to 0.

+ */ + Values: string[] | undefined; + /** + * @public + *

The type of comparison that should be performed for the value.

+ */ + Type: InstancePatchStateOperatorType | undefined; +} +/** + * @public + */ +export interface DescribeInstancePatchStatesForPatchGroupRequest { + /** + * @public + *

The name of the patch group for which the patch state information should be + * retrieved.

+ */ + PatchGroup: string | undefined; + /** + * @public + *

Each entry in the array is a structure containing:

+ *
    + *
  • + *

    Key (string between 1 and 200 characters)

    + *
  • + *
  • + *

    Values (array containing a single string)

    + *
  • + *
  • + *

    Type (string "Equal", "NotEqual", "LessThan", "GreaterThan")

    + *
  • + *
+ */ + Filters?: InstancePatchStateFilter[]; + /** + * @public + *

The token for the next set of items to return. (You received this token from a previous + * call.)

+ */ + NextToken?: string; + /** + * @public + *

The maximum number of patches to return (per page).

+ */ + MaxResults?: number; +} +/** + * @public + */ +export interface DescribeInstancePatchStatesForPatchGroupResult { + /** + * @public + *

The high-level patch state for the requested managed nodes.

+ */ + InstancePatchStates?: InstancePatchState[]; + /** + * @public + *

The token to use when requesting the next set of items. If there are no additional items to + * return, the string is empty.

+ */ + NextToken?: string; +} +/** + * @public + */ +export interface DescribeInventoryDeletionsRequest { + /** + * @public + *

Specify the delete inventory ID for which you want information. This ID was returned by the + * DeleteInventory operation.

+ */ + DeletionId?: string; + /** + * @public + *

A token to start the list. Use this token to get the next set of results.

+ */ + NextToken?: string; + /** + * @public + *

The maximum number of items to return for this call. The call also returns a token that you + * can specify in a subsequent call to get the next set of results.

+ */ + MaxResults?: number; +} +/** + * @public + * @enum + */ +export declare const InventoryDeletionStatus: { + readonly COMPLETE: "Complete"; + readonly IN_PROGRESS: "InProgress"; +}; +/** + * @public + */ +export type InventoryDeletionStatus = (typeof InventoryDeletionStatus)[keyof typeof InventoryDeletionStatus]; +/** + * @public + *

Status information returned by the DeleteInventory operation.

+ */ +export interface InventoryDeletionStatusItem { + /** + * @public + *

The deletion ID returned by the DeleteInventory operation.

+ */ + DeletionId?: string; + /** + * @public + *

The name of the inventory data type.

+ */ + TypeName?: string; + /** + * @public + *

The UTC timestamp when the delete operation started.

+ */ + DeletionStartTime?: Date; + /** + * @public + *

The status of the operation. Possible values are InProgress and Complete.

+ */ + LastStatus?: InventoryDeletionStatus; + /** + * @public + *

Information about the status.

+ */ + LastStatusMessage?: string; + /** + * @public + *

Information about the delete operation. For more information about this summary, see Understanding the delete inventory summary in the + * Amazon Web Services Systems Manager User Guide.

+ */ + DeletionSummary?: InventoryDeletionSummary; + /** + * @public + *

The UTC timestamp of when the last status report.

+ */ + LastStatusUpdateTime?: Date; +} +/** + * @public + */ +export interface DescribeInventoryDeletionsResult { + /** + * @public + *

A list of status items for deleted inventory.

+ */ + InventoryDeletions?: InventoryDeletionStatusItem[]; + /** + * @public + *

The token for the next set of items to return. Use this token to get the next set of + * results.

+ */ + NextToken?: string; +} +/** + * @public + *

The ID specified for the delete operation doesn't exist or isn't valid. Verify the ID and + * try again.

+ */ +export declare class InvalidDeletionIdException extends __BaseException { + readonly name: "InvalidDeletionIdException"; + readonly $fault: "client"; + Message?: string; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + *

Filter used in the request. Supported filter keys depend on the API operation that includes + * the filter. API operations that use MaintenanceWindowFilter> include the + * following:

+ * + */ +export interface MaintenanceWindowFilter { + /** + * @public + *

The name of the filter.

+ */ + Key?: string; + /** + * @public + *

The filter values.

+ */ + Values?: string[]; +} +/** + * @public + */ +export interface DescribeMaintenanceWindowExecutionsRequest { + /** + * @public + *

The ID of the maintenance window whose executions should be retrieved.

+ */ + WindowId: string | undefined; + /** + * @public + *

Each entry in the array is a structure containing:

+ *
    + *
  • + *

    Key. A string between 1 and 128 characters. Supported keys include + * ExecutedBefore and ExecutedAfter.

    + *
  • + *
  • + *

    Values. An array of strings, each between 1 and 256 characters. Supported values are + * date/time strings in a valid ISO 8601 date/time format, such as + * 2021-11-04T05:00:00Z.

    + *
  • + *
+ */ + Filters?: MaintenanceWindowFilter[]; + /** + * @public + *

The maximum number of items to return for this call. The call also returns a token that you + * can specify in a subsequent call to get the next set of results.

+ */ + MaxResults?: number; + /** + * @public + *

The token for the next set of items to return. (You received this token from a previous + * call.)

+ */ + NextToken?: string; +} +/** + * @public + * @enum + */ +export declare const MaintenanceWindowExecutionStatus: { + readonly Cancelled: "CANCELLED"; + readonly Cancelling: "CANCELLING"; + readonly Failed: "FAILED"; + readonly InProgress: "IN_PROGRESS"; + readonly Pending: "PENDING"; + readonly SkippedOverlapping: "SKIPPED_OVERLAPPING"; + readonly Success: "SUCCESS"; + readonly TimedOut: "TIMED_OUT"; +}; +/** + * @public + */ +export type MaintenanceWindowExecutionStatus = (typeof MaintenanceWindowExecutionStatus)[keyof typeof MaintenanceWindowExecutionStatus]; +/** + * @public + *

Describes the information about an execution of a maintenance window.

+ */ +export interface MaintenanceWindowExecution { + /** + * @public + *

The ID of the maintenance window.

+ */ + WindowId?: string; + /** + * @public + *

The ID of the maintenance window execution.

+ */ + WindowExecutionId?: string; + /** + * @public + *

The status of the execution.

+ */ + Status?: MaintenanceWindowExecutionStatus; + /** + * @public + *

The details explaining the status. Not available for all status values.

+ */ + StatusDetails?: string; + /** + * @public + *

The time the execution started.

+ */ + StartTime?: Date; + /** + * @public + *

The time the execution finished.

+ */ + EndTime?: Date; +} +/** + * @public + */ +export interface DescribeMaintenanceWindowExecutionsResult { + /** + * @public + *

Information about the maintenance window executions.

+ */ + WindowExecutions?: MaintenanceWindowExecution[]; + /** + * @public + *

The token to use when requesting the next set of items. If there are no additional items to + * return, the string is empty.

+ */ + NextToken?: string; +} +/** + * @public + */ +export interface DescribeMaintenanceWindowExecutionTaskInvocationsRequest { + /** + * @public + *

The ID of the maintenance window execution the task is part of.

+ */ + WindowExecutionId: string | undefined; + /** + * @public + *

The ID of the specific task in the maintenance window task that should be retrieved.

+ */ + TaskId: string | undefined; + /** + * @public + *

Optional filters used to scope down the returned task invocations. The supported filter key + * is STATUS with the corresponding values PENDING, + * IN_PROGRESS, SUCCESS, FAILED, TIMED_OUT, + * CANCELLING, and CANCELLED.

+ */ + Filters?: MaintenanceWindowFilter[]; + /** + * @public + *

The maximum number of items to return for this call. The call also returns a token that you + * can specify in a subsequent call to get the next set of results.

+ */ + MaxResults?: number; + /** + * @public + *

The token for the next set of items to return. (You received this token from a previous + * call.)

+ */ + NextToken?: string; +} +/** + * @public + * @enum + */ +export declare const MaintenanceWindowTaskType: { + readonly Automation: "AUTOMATION"; + readonly Lambda: "LAMBDA"; + readonly RunCommand: "RUN_COMMAND"; + readonly StepFunctions: "STEP_FUNCTIONS"; +}; +/** + * @public + */ +export type MaintenanceWindowTaskType = (typeof MaintenanceWindowTaskType)[keyof typeof MaintenanceWindowTaskType]; +/** + * @public + *

Describes the information about a task invocation for a particular target as part of a task + * execution performed as part of a maintenance window execution.

+ */ +export interface MaintenanceWindowExecutionTaskInvocationIdentity { + /** + * @public + *

The ID of the maintenance window execution that ran the task.

+ */ + WindowExecutionId?: string; + /** + * @public + *

The ID of the specific task execution in the maintenance window execution.

+ */ + TaskExecutionId?: string; + /** + * @public + *

The ID of the task invocation.

+ */ + InvocationId?: string; + /** + * @public + *

The ID of the action performed in the service that actually handled the task invocation. If + * the task type is RUN_COMMAND, this value is the command ID.

+ */ + ExecutionId?: string; + /** + * @public + *

The task type.

+ */ + TaskType?: MaintenanceWindowTaskType; + /** + * @public + *

The parameters that were provided for the invocation when it was run.

+ */ + Parameters?: string; + /** + * @public + *

The status of the task invocation.

+ */ + Status?: MaintenanceWindowExecutionStatus; + /** + * @public + *

The details explaining the status of the task invocation. Not available for all status + * values.

+ */ + StatusDetails?: string; + /** + * @public + *

The time the invocation started.

+ */ + StartTime?: Date; + /** + * @public + *

The time the invocation finished.

+ */ + EndTime?: Date; + /** + * @public + *

User-provided value that was specified when the target was registered with the maintenance + * window. This was also included in any Amazon CloudWatch Events events raised during the task + * invocation.

+ */ + OwnerInformation?: string; + /** + * @public + *

The ID of the target definition in this maintenance window the invocation was performed + * for.

+ */ + WindowTargetId?: string; +} +/** + * @public + */ +export interface DescribeMaintenanceWindowExecutionTaskInvocationsResult { + /** + * @public + *

Information about the task invocation results per invocation.

+ */ + WindowExecutionTaskInvocationIdentities?: MaintenanceWindowExecutionTaskInvocationIdentity[]; + /** + * @public + *

The token to use when requesting the next set of items. If there are no additional items to + * return, the string is empty.

+ */ + NextToken?: string; +} +/** + * @public + */ +export interface DescribeMaintenanceWindowExecutionTasksRequest { + /** + * @public + *

The ID of the maintenance window execution whose task executions should be retrieved.

+ */ + WindowExecutionId: string | undefined; + /** + * @public + *

Optional filters used to scope down the returned tasks. The supported filter key is + * STATUS with the corresponding values PENDING, + * IN_PROGRESS, SUCCESS, FAILED, TIMED_OUT, + * CANCELLING, and CANCELLED.

+ */ + Filters?: MaintenanceWindowFilter[]; + /** + * @public + *

The maximum number of items to return for this call. The call also returns a token that you + * can specify in a subsequent call to get the next set of results.

+ */ + MaxResults?: number; + /** + * @public + *

The token for the next set of items to return. (You received this token from a previous + * call.)

+ */ + NextToken?: string; +} +/** + * @public + *

Information about a task execution performed as part of a maintenance window + * execution.

+ */ +export interface MaintenanceWindowExecutionTaskIdentity { + /** + * @public + *

The ID of the maintenance window execution that ran the task.

+ */ + WindowExecutionId?: string; + /** + * @public + *

The ID of the specific task execution in the maintenance window execution.

+ */ + TaskExecutionId?: string; + /** + * @public + *

The status of the task execution.

+ */ + Status?: MaintenanceWindowExecutionStatus; + /** + * @public + *

The details explaining the status of the task execution. Not available for all status + * values.

+ */ + StatusDetails?: string; + /** + * @public + *

The time the task execution started.

+ */ + StartTime?: Date; + /** + * @public + *

The time the task execution finished.

+ */ + EndTime?: Date; + /** + * @public + *

The Amazon Resource Name (ARN) of the task that ran.

+ */ + TaskArn?: string; + /** + * @public + *

The type of task that ran.

+ */ + TaskType?: MaintenanceWindowTaskType; + /** + * @public + *

The details for the CloudWatch alarm applied to your maintenance window task.

+ */ + AlarmConfiguration?: AlarmConfiguration; + /** + * @public + *

The CloudWatch alarm that was invoked by the maintenance window task.

+ */ + TriggeredAlarms?: AlarmStateInformation[]; +} +/** + * @public + */ +export interface DescribeMaintenanceWindowExecutionTasksResult { + /** + * @public + *

Information about the task executions.

+ */ + WindowExecutionTaskIdentities?: MaintenanceWindowExecutionTaskIdentity[]; + /** + * @public + *

The token to use when requesting the next set of items. If there are no additional items to + * return, the string is empty.

+ */ + NextToken?: string; +} +/** + * @public + */ +export interface DescribeMaintenanceWindowsRequest { + /** + * @public + *

Optional filters used to narrow down the scope of the returned maintenance windows. + * Supported filter keys are Name and Enabled. For example, + * Name=MyMaintenanceWindow and Enabled=True.

+ */ + Filters?: MaintenanceWindowFilter[]; + /** + * @public + *

The maximum number of items to return for this call. The call also returns a token that you + * can specify in a subsequent call to get the next set of results.

+ */ + MaxResults?: number; + /** + * @public + *

The token for the next set of items to return. (You received this token from a previous + * call.)

+ */ + NextToken?: string; +} +/** + * @public + *

Information about the maintenance window.

+ */ +export interface MaintenanceWindowIdentity { + /** + * @public + *

The ID of the maintenance window.

+ */ + WindowId?: string; + /** + * @public + *

The name of the maintenance window.

+ */ + Name?: string; + /** + * @public + *

A description of the maintenance window.

+ */ + Description?: string; + /** + * @public + *

Indicates whether the maintenance window is enabled.

+ */ + Enabled?: boolean; + /** + * @public + *

The duration of the maintenance window in hours.

+ */ + Duration?: number; + /** + * @public + *

The number of hours before the end of the maintenance window that Amazon Web Services Systems Manager stops scheduling + * new tasks for execution.

+ */ + Cutoff?: number; + /** + * @public + *

The schedule of the maintenance window in the form of a cron or rate expression.

+ */ + Schedule?: string; + /** + * @public + *

The time zone that the scheduled maintenance window executions are based on, in Internet + * Assigned Numbers Authority (IANA) format.

+ */ + ScheduleTimezone?: string; + /** + * @public + *

The number of days to wait to run a maintenance window after the scheduled cron expression + * date and time.

+ */ + ScheduleOffset?: number; + /** + * @public + *

The date and time, in ISO-8601 Extended format, for when the maintenance window is scheduled + * to become inactive.

+ */ + EndDate?: string; + /** + * @public + *

The date and time, in ISO-8601 Extended format, for when the maintenance window is scheduled + * to become active.

+ */ + StartDate?: string; + /** + * @public + *

The next time the maintenance window will actually run, taking into account any specified + * times for the maintenance window to become active or inactive.

+ */ + NextExecutionTime?: string; +} +/** + * @public + */ +export interface DescribeMaintenanceWindowsResult { + /** + * @public + *

Information about the maintenance windows.

+ */ + WindowIdentities?: MaintenanceWindowIdentity[]; + /** + * @public + *

The token to use when requesting the next set of items. If there are no additional items to + * return, the string is empty.

+ */ + NextToken?: string; +} +/** + * @public + * @enum + */ +export declare const MaintenanceWindowResourceType: { + readonly Instance: "INSTANCE"; + readonly ResourceGroup: "RESOURCE_GROUP"; +}; +/** + * @public + */ +export type MaintenanceWindowResourceType = (typeof MaintenanceWindowResourceType)[keyof typeof MaintenanceWindowResourceType]; +/** + * @public + */ +export interface DescribeMaintenanceWindowScheduleRequest { + /** + * @public + *

The ID of the maintenance window to retrieve information about.

+ */ + WindowId?: string; + /** + * @public + *

The managed node ID or key-value pair to retrieve information about.

+ */ + Targets?: Target[]; + /** + * @public + *

The type of resource you want to retrieve information about. For example, + * INSTANCE.

+ */ + ResourceType?: MaintenanceWindowResourceType; + /** + * @public + *

Filters used to limit the range of results. For example, you can limit maintenance window + * executions to only those scheduled before or after a certain date and time.

+ */ + Filters?: PatchOrchestratorFilter[]; + /** + * @public + *

The maximum number of items to return for this call. The call also returns a token that you + * can specify in a subsequent call to get the next set of results.

+ */ + MaxResults?: number; + /** + * @public + *

The token for the next set of items to return. (You received this token from a previous + * call.)

+ */ + NextToken?: string; +} +/** + * @public + *

Information about a scheduled execution for a maintenance window.

+ */ +export interface ScheduledWindowExecution { + /** + * @public + *

The ID of the maintenance window to be run.

+ */ + WindowId?: string; + /** + * @public + *

The name of the maintenance window to be run.

+ */ + Name?: string; + /** + * @public + *

The time, in ISO-8601 Extended format, that the maintenance window is scheduled to be + * run.

+ */ + ExecutionTime?: string; +} +/** + * @public + */ +export interface DescribeMaintenanceWindowScheduleResult { + /** + * @public + *

Information about maintenance window executions scheduled for the specified time + * range.

+ */ + ScheduledWindowExecutions?: ScheduledWindowExecution[]; + /** + * @public + *

The token for the next set of items to return. (You use this token in the next call.)

+ */ + NextToken?: string; +} +/** + * @public + */ +export interface DescribeMaintenanceWindowsForTargetRequest { + /** + * @public + *

The managed node ID or key-value pair to retrieve information about.

+ */ + Targets: Target[] | undefined; + /** + * @public + *

The type of resource you want to retrieve information about. For example, + * INSTANCE.

+ */ + ResourceType: MaintenanceWindowResourceType | undefined; + /** + * @public + *

The maximum number of items to return for this call. The call also returns a token that you + * can specify in a subsequent call to get the next set of results.

+ */ + MaxResults?: number; + /** + * @public + *

The token for the next set of items to return. (You received this token from a previous + * call.)

+ */ + NextToken?: string; +} +/** + * @public + *

The maintenance window to which the specified target belongs.

+ */ +export interface MaintenanceWindowIdentityForTarget { + /** + * @public + *

The ID of the maintenance window.

+ */ + WindowId?: string; + /** + * @public + *

The name of the maintenance window.

+ */ + Name?: string; +} +/** + * @public + */ +export interface DescribeMaintenanceWindowsForTargetResult { + /** + * @public + *

Information about the maintenance window targets and tasks a managed node is associated + * with.

+ */ + WindowIdentities?: MaintenanceWindowIdentityForTarget[]; + /** + * @public + *

The token for the next set of items to return. (You use this token in the next call.)

+ */ + NextToken?: string; +} +/** + * @public + */ +export interface DescribeMaintenanceWindowTargetsRequest { + /** + * @public + *

The ID of the maintenance window whose targets should be retrieved.

+ */ + WindowId: string | undefined; + /** + * @public + *

Optional filters that can be used to narrow down the scope of the returned window targets. + * The supported filter keys are Type, WindowTargetId, and + * OwnerInformation.

+ */ + Filters?: MaintenanceWindowFilter[]; + /** + * @public + *

The maximum number of items to return for this call. The call also returns a token that you + * can specify in a subsequent call to get the next set of results.

+ */ + MaxResults?: number; + /** + * @public + *

The token for the next set of items to return. (You received this token from a previous + * call.)

+ */ + NextToken?: string; +} +/** + * @public + *

The target registered with the maintenance window.

+ */ +export interface MaintenanceWindowTarget { + /** + * @public + *

The ID of the maintenance window to register the target with.

+ */ + WindowId?: string; + /** + * @public + *

The ID of the target.

+ */ + WindowTargetId?: string; + /** + * @public + *

The type of target that is being registered with the maintenance window.

+ */ + ResourceType?: MaintenanceWindowResourceType; + /** + * @public + *

The targets, either managed nodes or tags.

+ *

Specify managed nodes using the following format:

+ *

+ * Key=instanceids,Values=, + *

+ *

Tags are specified using the following format:

+ *

+ * Key=,Values=.

+ */ + Targets?: Target[]; + /** + * @public + *

A user-provided value that will be included in any Amazon CloudWatch Events events that are + * raised while running tasks for these targets in this maintenance window.

+ */ + OwnerInformation?: string; + /** + * @public + *

The name for the maintenance window target.

+ */ + Name?: string; + /** + * @public + *

A description for the target.

+ */ + Description?: string; +} +/** + * @public + */ +export interface DescribeMaintenanceWindowTargetsResult { + /** + * @public + *

Information about the targets in the maintenance window.

+ */ + Targets?: MaintenanceWindowTarget[]; + /** + * @public + *

The token to use when requesting the next set of items. If there are no additional items to + * return, the string is empty.

+ */ + NextToken?: string; +} +/** + * @public + */ +export interface DescribeMaintenanceWindowTasksRequest { + /** + * @public + *

The ID of the maintenance window whose tasks should be retrieved.

+ */ + WindowId: string | undefined; + /** + * @public + *

Optional filters used to narrow down the scope of the returned tasks. The supported filter + * keys are WindowTaskId, TaskArn, Priority, and + * TaskType.

+ */ + Filters?: MaintenanceWindowFilter[]; + /** + * @public + *

The maximum number of items to return for this call. The call also returns a token that you + * can specify in a subsequent call to get the next set of results.

+ */ + MaxResults?: number; + /** + * @public + *

The token for the next set of items to return. (You received this token from a previous + * call.)

+ */ + NextToken?: string; +} +/** + * @public + * @enum + */ +export declare const MaintenanceWindowTaskCutoffBehavior: { + readonly CancelTask: "CANCEL_TASK"; + readonly ContinueTask: "CONTINUE_TASK"; +}; +/** + * @public + */ +export type MaintenanceWindowTaskCutoffBehavior = (typeof MaintenanceWindowTaskCutoffBehavior)[keyof typeof MaintenanceWindowTaskCutoffBehavior]; +/** + * @public + *

Information about an Amazon Simple Storage Service (Amazon S3) bucket to write managed + * node-level logs to.

+ * + *

+ * LoggingInfo has been deprecated. To specify an Amazon Simple Storage Service (Amazon S3) bucket to contain logs, instead use the + * OutputS3BucketName and OutputS3KeyPrefix options in the TaskInvocationParameters structure. + * For information about how Amazon Web Services Systems Manager handles these options for the supported maintenance + * window task types, see MaintenanceWindowTaskInvocationParameters.

+ *
+ */ +export interface LoggingInfo { + /** + * @public + *

The name of an S3 bucket where execution logs are stored.

+ */ + S3BucketName: string | undefined; + /** + * @public + *

(Optional) The S3 bucket subfolder.

+ */ + S3KeyPrefix?: string; + /** + * @public + *

The Amazon Web Services Region where the S3 bucket is located.

+ */ + S3Region: string | undefined; +} +/** + * @public + *

Defines the values for a task parameter.

+ */ +export interface MaintenanceWindowTaskParameterValueExpression { + /** + * @public + *

This field contains an array of 0 or more strings, each 1 to 255 characters in + * length.

+ */ + Values?: string[]; +} +/** + * @internal + */ +export declare const CreateAssociationRequestFilterSensitiveLog: (obj: CreateAssociationRequest) => any; +/** + * @internal + */ +export declare const AssociationDescriptionFilterSensitiveLog: (obj: AssociationDescription) => any; +/** + * @internal + */ +export declare const CreateAssociationResultFilterSensitiveLog: (obj: CreateAssociationResult) => any; +/** + * @internal + */ +export declare const CreateAssociationBatchRequestEntryFilterSensitiveLog: (obj: CreateAssociationBatchRequestEntry) => any; +/** + * @internal + */ +export declare const CreateAssociationBatchRequestFilterSensitiveLog: (obj: CreateAssociationBatchRequest) => any; +/** + * @internal + */ +export declare const FailedCreateAssociationFilterSensitiveLog: (obj: FailedCreateAssociation) => any; +/** + * @internal + */ +export declare const CreateAssociationBatchResultFilterSensitiveLog: (obj: CreateAssociationBatchResult) => any; +/** + * @internal + */ +export declare const CreateMaintenanceWindowRequestFilterSensitiveLog: (obj: CreateMaintenanceWindowRequest) => any; +/** + * @internal + */ +export declare const PatchSourceFilterSensitiveLog: (obj: PatchSource) => any; +/** + * @internal + */ +export declare const CreatePatchBaselineRequestFilterSensitiveLog: (obj: CreatePatchBaselineRequest) => any; +/** + * @internal + */ +export declare const DescribeAssociationResultFilterSensitiveLog: (obj: DescribeAssociationResult) => any; +/** + * @internal + */ +export declare const InstancePatchStateFilterSensitiveLog: (obj: InstancePatchState) => any; +/** + * @internal + */ +export declare const DescribeInstancePatchStatesResultFilterSensitiveLog: (obj: DescribeInstancePatchStatesResult) => any; +/** + * @internal + */ +export declare const DescribeInstancePatchStatesForPatchGroupResultFilterSensitiveLog: (obj: DescribeInstancePatchStatesForPatchGroupResult) => any; +/** + * @internal + */ +export declare const MaintenanceWindowExecutionTaskInvocationIdentityFilterSensitiveLog: (obj: MaintenanceWindowExecutionTaskInvocationIdentity) => any; +/** + * @internal + */ +export declare const DescribeMaintenanceWindowExecutionTaskInvocationsResultFilterSensitiveLog: (obj: DescribeMaintenanceWindowExecutionTaskInvocationsResult) => any; +/** + * @internal + */ +export declare const MaintenanceWindowIdentityFilterSensitiveLog: (obj: MaintenanceWindowIdentity) => any; +/** + * @internal + */ +export declare const DescribeMaintenanceWindowsResultFilterSensitiveLog: (obj: DescribeMaintenanceWindowsResult) => any; +/** + * @internal + */ +export declare const MaintenanceWindowTargetFilterSensitiveLog: (obj: MaintenanceWindowTarget) => any; +/** + * @internal + */ +export declare const DescribeMaintenanceWindowTargetsResultFilterSensitiveLog: (obj: DescribeMaintenanceWindowTargetsResult) => any; +/** + * @internal + */ +export declare const MaintenanceWindowTaskParameterValueExpressionFilterSensitiveLog: (obj: MaintenanceWindowTaskParameterValueExpression) => any; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/models/models_1.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/models/models_1.d.ts new file mode 100644 index 00000000..ce8a418e --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/models/models_1.d.ts @@ -0,0 +1,9465 @@ +import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client"; +import { AlarmConfiguration, AlarmStateInformation, AssociationComplianceSeverity, AssociationOverview, AssociationSyncCompliance, AutomationExecutionStatus, AutomationSubtype, DocumentFormat, DocumentHashType, DocumentPermissionType, DocumentRequires, DocumentStatus, DocumentType, ExecutionMode, InstanceAssociationOutputLocation, LoggingInfo, MaintenanceWindowExecutionStatus, MaintenanceWindowResourceType, MaintenanceWindowTaskCutoffBehavior, MaintenanceWindowTaskParameterValueExpression, MaintenanceWindowTaskType, MetadataValue, OperatingSystem, OpsItemDataValue, OpsItemNotification, PatchAction, PatchComplianceLevel, PatchFilterGroup, PatchOrchestratorFilter, PatchRuleGroup, PatchSource, PlatformType, RelatedOpsItem, ResolvedTargets, ResourceDataSyncAwsOrganizationsSource, ResourceDataSyncS3Destination, ResourceTypeForTagging, ReviewStatus, Runbook, StepExecution, Tag, Target, TargetLocation } from "./models_0"; +import { SSMServiceException as __BaseException } from "./SSMServiceException"; +/** + * @public + *

Information about a task defined for a maintenance window.

+ */ +export interface MaintenanceWindowTask { + /** + * @public + *

The ID of the maintenance window where the task is registered.

+ */ + WindowId?: string; + /** + * @public + *

The task ID.

+ */ + WindowTaskId?: string; + /** + * @public + *

The resource that the task uses during execution. For RUN_COMMAND and + * AUTOMATION task types, TaskArn is the Amazon Web Services Systems Manager (SSM document) name or + * ARN. For LAMBDA tasks, it's the function name or ARN. For + * STEP_FUNCTIONS tasks, it's the state machine ARN.

+ */ + TaskArn?: string; + /** + * @public + *

The type of task.

+ */ + Type?: MaintenanceWindowTaskType; + /** + * @public + *

The targets (either managed nodes or tags). Managed nodes are specified using + * Key=instanceids,Values=,. Tags are specified + * using Key=,Values=.

+ */ + Targets?: Target[]; + /** + * @public + *

The parameters that should be passed to the task when it is run.

+ * + *

+ * TaskParameters has been deprecated. To specify parameters to pass to a task when it runs, + * instead use the Parameters option in the TaskInvocationParameters structure. For information + * about how Systems Manager handles these options for the supported maintenance window task + * types, see MaintenanceWindowTaskInvocationParameters.

+ *
+ */ + TaskParameters?: Record; + /** + * @public + *

The priority of the task in the maintenance window. The lower the number, the higher the + * priority. Tasks that have the same priority are scheduled in parallel.

+ */ + Priority?: number; + /** + * @public + *

Information about an S3 bucket to write task-level logs to.

+ * + *

+ * LoggingInfo has been deprecated. To specify an Amazon Simple Storage Service (Amazon S3) bucket to contain logs, instead use the + * OutputS3BucketName and OutputS3KeyPrefix options in the TaskInvocationParameters structure. + * For information about how Amazon Web Services Systems Manager handles these options for the supported maintenance + * window task types, see MaintenanceWindowTaskInvocationParameters.

+ *
+ */ + LoggingInfo?: LoggingInfo; + /** + * @public + *

The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) service role to use to publish Amazon Simple Notification Service + * (Amazon SNS) notifications for maintenance window Run Command tasks.

+ */ + ServiceRoleArn?: string; + /** + * @public + *

The maximum number of targets this task can be run for, in parallel.

+ * + *

Although this element is listed as "Required: No", a value can be omitted only when you are + * registering or updating a targetless + * task You must provide a value in all other cases.

+ *

For maintenance window tasks without a target specified, you can't supply a value for this + * option. Instead, the system inserts a placeholder value of 1. This value doesn't + * affect the running of your task.

+ *
+ */ + MaxConcurrency?: string; + /** + * @public + *

The maximum number of errors allowed before this task stops being scheduled.

+ * + *

Although this element is listed as "Required: No", a value can be omitted only when you are + * registering or updating a targetless + * task You must provide a value in all other cases.

+ *

For maintenance window tasks without a target specified, you can't supply a value for this + * option. Instead, the system inserts a placeholder value of 1. This value doesn't + * affect the running of your task.

+ *
+ */ + MaxErrors?: string; + /** + * @public + *

The task name.

+ */ + Name?: string; + /** + * @public + *

A description of the task.

+ */ + Description?: string; + /** + * @public + *

The specification for whether tasks should continue to run after the cutoff time specified + * in the maintenance windows is reached.

+ */ + CutoffBehavior?: MaintenanceWindowTaskCutoffBehavior; + /** + * @public + *

The details for the CloudWatch alarm applied to your maintenance window task.

+ */ + AlarmConfiguration?: AlarmConfiguration; +} +/** + * @public + */ +export interface DescribeMaintenanceWindowTasksResult { + /** + * @public + *

Information about the tasks in the maintenance window.

+ */ + Tasks?: MaintenanceWindowTask[]; + /** + * @public + *

The token to use when requesting the next set of items. If there are no additional items to + * return, the string is empty.

+ */ + NextToken?: string; +} +/** + * @public + * @enum + */ +export declare const OpsItemFilterKey: { + readonly ACCOUNT_ID: "AccountId"; + readonly ACTUAL_END_TIME: "ActualEndTime"; + readonly ACTUAL_START_TIME: "ActualStartTime"; + readonly AUTOMATION_ID: "AutomationId"; + readonly CATEGORY: "Category"; + readonly CHANGE_REQUEST_APPROVER_ARN: "ChangeRequestByApproverArn"; + readonly CHANGE_REQUEST_APPROVER_NAME: "ChangeRequestByApproverName"; + readonly CHANGE_REQUEST_REQUESTER_ARN: "ChangeRequestByRequesterArn"; + readonly CHANGE_REQUEST_REQUESTER_NAME: "ChangeRequestByRequesterName"; + readonly CHANGE_REQUEST_TARGETS_RESOURCE_GROUP: "ChangeRequestByTargetsResourceGroup"; + readonly CHANGE_REQUEST_TEMPLATE: "ChangeRequestByTemplate"; + readonly CREATED_BY: "CreatedBy"; + readonly CREATED_TIME: "CreatedTime"; + readonly INSIGHT_TYPE: "InsightByType"; + readonly LAST_MODIFIED_TIME: "LastModifiedTime"; + readonly OPERATIONAL_DATA: "OperationalData"; + readonly OPERATIONAL_DATA_KEY: "OperationalDataKey"; + readonly OPERATIONAL_DATA_VALUE: "OperationalDataValue"; + readonly OPSITEM_ID: "OpsItemId"; + readonly OPSITEM_TYPE: "OpsItemType"; + readonly PLANNED_END_TIME: "PlannedEndTime"; + readonly PLANNED_START_TIME: "PlannedStartTime"; + readonly PRIORITY: "Priority"; + readonly RESOURCE_ID: "ResourceId"; + readonly SEVERITY: "Severity"; + readonly SOURCE: "Source"; + readonly STATUS: "Status"; + readonly TITLE: "Title"; +}; +/** + * @public + */ +export type OpsItemFilterKey = (typeof OpsItemFilterKey)[keyof typeof OpsItemFilterKey]; +/** + * @public + * @enum + */ +export declare const OpsItemFilterOperator: { + readonly CONTAINS: "Contains"; + readonly EQUAL: "Equal"; + readonly GREATER_THAN: "GreaterThan"; + readonly LESS_THAN: "LessThan"; +}; +/** + * @public + */ +export type OpsItemFilterOperator = (typeof OpsItemFilterOperator)[keyof typeof OpsItemFilterOperator]; +/** + * @public + *

Describes an OpsItem filter.

+ */ +export interface OpsItemFilter { + /** + * @public + *

The name of the filter.

+ */ + Key: OpsItemFilterKey | undefined; + /** + * @public + *

The filter value.

+ */ + Values: string[] | undefined; + /** + * @public + *

The operator used by the filter call.

+ */ + Operator: OpsItemFilterOperator | undefined; +} +/** + * @public + */ +export interface DescribeOpsItemsRequest { + /** + * @public + *

One or more filters to limit the response.

+ *
    + *
  • + *

    Key: CreatedTime

    + *

    Operations: GreaterThan, LessThan

    + *
  • + *
  • + *

    Key: LastModifiedBy

    + *

    Operations: Contains, Equals

    + *
  • + *
  • + *

    Key: LastModifiedTime

    + *

    Operations: GreaterThan, LessThan

    + *
  • + *
  • + *

    Key: Priority

    + *

    Operations: Equals

    + *
  • + *
  • + *

    Key: Source

    + *

    Operations: Contains, Equals

    + *
  • + *
  • + *

    Key: Status

    + *

    Operations: Equals

    + *
  • + *
  • + *

    Key: Title*

    + *

    Operations: Equals,Contains

    + *
  • + *
  • + *

    Key: OperationalData**

    + *

    Operations: Equals

    + *
  • + *
  • + *

    Key: OperationalDataKey

    + *

    Operations: Equals

    + *
  • + *
  • + *

    Key: OperationalDataValue

    + *

    Operations: Equals, Contains

    + *
  • + *
  • + *

    Key: OpsItemId

    + *

    Operations: Equals

    + *
  • + *
  • + *

    Key: ResourceId

    + *

    Operations: Contains

    + *
  • + *
  • + *

    Key: AutomationId

    + *

    Operations: Equals

    + *
  • + *
  • + *

    Key: AccountId

    + *

    Operations: Equals

    + *
  • + *
+ *

*The Equals operator for Title matches the first 100 characters. If you specify more than + * 100 characters, they system returns an error that the filter value exceeds the length + * limit.

+ *

**If you filter the response by using the OperationalData operator, specify a key-value pair + * by using the following JSON format: \{"key":"key_name","value":"a_value"\}

+ */ + OpsItemFilters?: OpsItemFilter[]; + /** + * @public + *

The maximum number of items to return for this call. The call also returns a token that you + * can specify in a subsequent call to get the next set of results.

+ */ + MaxResults?: number; + /** + * @public + *

A token to start the list. Use this token to get the next set of results.

+ */ + NextToken?: string; +} +/** + * @public + * @enum + */ +export declare const OpsItemStatus: { + readonly APPROVED: "Approved"; + readonly CANCELLED: "Cancelled"; + readonly CANCELLING: "Cancelling"; + readonly CHANGE_CALENDAR_OVERRIDE_APPROVED: "ChangeCalendarOverrideApproved"; + readonly CHANGE_CALENDAR_OVERRIDE_REJECTED: "ChangeCalendarOverrideRejected"; + readonly CLOSED: "Closed"; + readonly COMPLETED_WITH_FAILURE: "CompletedWithFailure"; + readonly COMPLETED_WITH_SUCCESS: "CompletedWithSuccess"; + readonly FAILED: "Failed"; + readonly IN_PROGRESS: "InProgress"; + readonly OPEN: "Open"; + readonly PENDING: "Pending"; + readonly PENDING_APPROVAL: "PendingApproval"; + readonly PENDING_CHANGE_CALENDAR_OVERRIDE: "PendingChangeCalendarOverride"; + readonly REJECTED: "Rejected"; + readonly RESOLVED: "Resolved"; + readonly RUNBOOK_IN_PROGRESS: "RunbookInProgress"; + readonly SCHEDULED: "Scheduled"; + readonly TIMED_OUT: "TimedOut"; +}; +/** + * @public + */ +export type OpsItemStatus = (typeof OpsItemStatus)[keyof typeof OpsItemStatus]; +/** + * @public + *

A count of OpsItems.

+ */ +export interface OpsItemSummary { + /** + * @public + *

The Amazon Resource Name (ARN) of the IAM entity that created the + * OpsItem.

+ */ + CreatedBy?: string; + /** + * @public + *

The date and time the OpsItem was created.

+ */ + CreatedTime?: Date; + /** + * @public + *

The Amazon Resource Name (ARN) of the IAM entity that created the + * OpsItem.

+ */ + LastModifiedBy?: string; + /** + * @public + *

The date and time the OpsItem was last updated.

+ */ + LastModifiedTime?: Date; + /** + * @public + *

The importance of this OpsItem in relation to other OpsItems in the system.

+ */ + Priority?: number; + /** + * @public + *

The impacted Amazon Web Services resource.

+ */ + Source?: string; + /** + * @public + *

The OpsItem status. Status can be Open, In Progress, or + * Resolved.

+ */ + Status?: OpsItemStatus; + /** + * @public + *

The ID of the OpsItem.

+ */ + OpsItemId?: string; + /** + * @public + *

A short heading that describes the nature of the OpsItem and the impacted resource.

+ */ + Title?: string; + /** + * @public + *

Operational data is custom data that provides useful reference details about the OpsItem. + *

+ */ + OperationalData?: Record; + /** + * @public + *

A list of OpsItems by category.

+ */ + Category?: string; + /** + * @public + *

A list of OpsItems by severity.

+ */ + Severity?: string; + /** + * @public + *

The type of OpsItem. Systems Manager supports the following types of OpsItems:

+ *
    + *
  • + *

    + * /aws/issue + *

    + *

    This type of OpsItem is used for default OpsItems created by OpsCenter.

    + *
  • + *
  • + *

    + * /aws/changerequest + *

    + *

    This type of OpsItem is used by Change Manager for reviewing and approving or rejecting change + * requests.

    + *
  • + *
  • + *

    + * /aws/insight + *

    + *

    This type of OpsItem is used by OpsCenter for aggregating and reporting on duplicate + * OpsItems.

    + *
  • + *
+ */ + OpsItemType?: string; + /** + * @public + *

The time a runbook workflow started. Currently reported only for the OpsItem type + * /aws/changerequest.

+ */ + ActualStartTime?: Date; + /** + * @public + *

The time a runbook workflow ended. Currently reported only for the OpsItem type + * /aws/changerequest.

+ */ + ActualEndTime?: Date; + /** + * @public + *

The time specified in a change request for a runbook workflow to start. Currently supported + * only for the OpsItem type /aws/changerequest.

+ */ + PlannedStartTime?: Date; + /** + * @public + *

The time specified in a change request for a runbook workflow to end. Currently supported + * only for the OpsItem type /aws/changerequest.

+ */ + PlannedEndTime?: Date; +} +/** + * @public + */ +export interface DescribeOpsItemsResponse { + /** + * @public + *

The token for the next set of items to return. Use this token to get the next set of + * results.

+ */ + NextToken?: string; + /** + * @public + *

A list of OpsItems.

+ */ + OpsItemSummaries?: OpsItemSummary[]; +} +/** + * @public + * @enum + */ +export declare const ParametersFilterKey: { + readonly KEY_ID: "KeyId"; + readonly NAME: "Name"; + readonly TYPE: "Type"; +}; +/** + * @public + */ +export type ParametersFilterKey = (typeof ParametersFilterKey)[keyof typeof ParametersFilterKey]; +/** + * @public + *

This data type is deprecated. Instead, use ParameterStringFilter.

+ */ +export interface ParametersFilter { + /** + * @public + *

The name of the filter.

+ */ + Key: ParametersFilterKey | undefined; + /** + * @public + *

The filter values.

+ */ + Values: string[] | undefined; +} +/** + * @public + *

One or more filters. Use a filter to return a more specific list of results.

+ */ +export interface ParameterStringFilter { + /** + * @public + *

The name of the filter.

+ *

The ParameterStringFilter object is used by the DescribeParameters and GetParametersByPath API operations. + * However, not all of the pattern values listed for Key can be used with both + * operations.

+ *

For DescribeParameters, all of the listed patterns are valid except + * Label.

+ *

For GetParametersByPath, the following patterns listed for Key + * aren't valid: tag, DataType, Name, Path, and + * Tier.

+ *

For examples of Amazon Web Services CLI commands demonstrating valid parameter filter constructions, see + * Searching for Systems Manager parameters in the Amazon Web Services Systems Manager User Guide.

+ */ + Key: string | undefined; + /** + * @public + *

For all filters used with DescribeParameters, valid options include + * Equals and BeginsWith. The Name filter additionally + * supports the Contains option. (Exception: For filters using the key + * Path, valid options include Recursive and + * OneLevel.)

+ *

For filters used with GetParametersByPath, valid options include + * Equals and BeginsWith. (Exception: For filters using + * Label as the Key name, the only valid option is Equals.)

+ */ + Option?: string; + /** + * @public + *

The value you want to search for.

+ */ + Values?: string[]; +} +/** + * @public + */ +export interface DescribeParametersRequest { + /** + * @public + *

This data type is deprecated. Instead, use ParameterFilters.

+ */ + Filters?: ParametersFilter[]; + /** + * @public + *

Filters to limit the request results.

+ */ + ParameterFilters?: ParameterStringFilter[]; + /** + * @public + *

The maximum number of items to return for this call. The call also returns a token that you + * can specify in a subsequent call to get the next set of results.

+ */ + MaxResults?: number; + /** + * @public + *

The token for the next set of items to return. (You received this token from a previous + * call.)

+ */ + NextToken?: string; +} +/** + * @public + *

One or more policies assigned to a parameter.

+ */ +export interface ParameterInlinePolicy { + /** + * @public + *

The JSON text of the policy.

+ */ + PolicyText?: string; + /** + * @public + *

The type of policy. Parameter Store, a capability of Amazon Web Services Systems Manager, supports the following + * policy types: Expiration, ExpirationNotification, and NoChangeNotification.

+ */ + PolicyType?: string; + /** + * @public + *

The status of the policy. Policies report the following statuses: Pending (the policy hasn't + * been enforced or applied yet), Finished (the policy was applied), Failed (the policy wasn't + * applied), or InProgress (the policy is being applied now).

+ */ + PolicyStatus?: string; +} +/** + * @public + * @enum + */ +export declare const ParameterTier: { + readonly ADVANCED: "Advanced"; + readonly INTELLIGENT_TIERING: "Intelligent-Tiering"; + readonly STANDARD: "Standard"; +}; +/** + * @public + */ +export type ParameterTier = (typeof ParameterTier)[keyof typeof ParameterTier]; +/** + * @public + * @enum + */ +export declare const ParameterType: { + readonly SECURE_STRING: "SecureString"; + readonly STRING: "String"; + readonly STRING_LIST: "StringList"; +}; +/** + * @public + */ +export type ParameterType = (typeof ParameterType)[keyof typeof ParameterType]; +/** + * @public + *

Metadata includes information like the ARN of the last user and the date/time the parameter + * was last used.

+ */ +export interface ParameterMetadata { + /** + * @public + *

The parameter name.

+ */ + Name?: string; + /** + * @public + *

The type of parameter. Valid parameter types include the following: String, + * StringList, and SecureString.

+ */ + Type?: ParameterType; + /** + * @public + *

The ID of the query key used for this parameter.

+ */ + KeyId?: string; + /** + * @public + *

Date the parameter was last changed or updated.

+ */ + LastModifiedDate?: Date; + /** + * @public + *

Amazon Resource Name (ARN) of the Amazon Web Services user who last changed the parameter.

+ */ + LastModifiedUser?: string; + /** + * @public + *

Description of the parameter actions.

+ */ + Description?: string; + /** + * @public + *

A parameter name can include only the following letters and symbols.

+ *

a-zA-Z0-9_.-

+ */ + AllowedPattern?: string; + /** + * @public + *

The parameter version.

+ */ + Version?: number; + /** + * @public + *

The parameter tier.

+ */ + Tier?: ParameterTier; + /** + * @public + *

A list of policies associated with a parameter.

+ */ + Policies?: ParameterInlinePolicy[]; + /** + * @public + *

The data type of the parameter, such as text or aws:ec2:image. The + * default is text.

+ */ + DataType?: string; +} +/** + * @public + */ +export interface DescribeParametersResult { + /** + * @public + *

Parameters returned by the request.

+ */ + Parameters?: ParameterMetadata[]; + /** + * @public + *

The token to use when requesting the next set of items.

+ */ + NextToken?: string; +} +/** + * @public + *

The specified filter option isn't valid. Valid options are Equals and BeginsWith. For Path + * filter, valid options are Recursive and OneLevel.

+ */ +export declare class InvalidFilterOption extends __BaseException { + readonly name: "InvalidFilterOption"; + readonly $fault: "client"; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + */ +export interface DescribePatchBaselinesRequest { + /** + * @public + *

Each element in the array is a structure containing a key-value pair.

+ *

Supported keys for DescribePatchBaselines include the following:

+ *
    + *
  • + *

    + * + * NAME_PREFIX + * + *

    + *

    Sample values: AWS- | My- + *

    + *
  • + *
  • + *

    + * + * OWNER + * + *

    + *

    Sample values: AWS | Self + *

    + *
  • + *
  • + *

    + * + * OPERATING_SYSTEM + * + *

    + *

    Sample values: AMAZON_LINUX | SUSE | WINDOWS + *

    + *
  • + *
+ */ + Filters?: PatchOrchestratorFilter[]; + /** + * @public + *

The maximum number of patch baselines to return (per page).

+ */ + MaxResults?: number; + /** + * @public + *

The token for the next set of items to return. (You received this token from a previous + * call.)

+ */ + NextToken?: string; +} +/** + * @public + *

Defines the basic information about a patch baseline.

+ */ +export interface PatchBaselineIdentity { + /** + * @public + *

The ID of the patch baseline.

+ */ + BaselineId?: string; + /** + * @public + *

The name of the patch baseline.

+ */ + BaselineName?: string; + /** + * @public + *

Defines the operating system the patch baseline applies to. The default value is + * WINDOWS.

+ */ + OperatingSystem?: OperatingSystem; + /** + * @public + *

The description of the patch baseline.

+ */ + BaselineDescription?: string; + /** + * @public + *

Whether this is the default baseline. Amazon Web Services Systems Manager supports creating multiple default patch + * baselines. For example, you can create a default patch baseline for each operating system.

+ */ + DefaultBaseline?: boolean; +} +/** + * @public + */ +export interface DescribePatchBaselinesResult { + /** + * @public + *

An array of PatchBaselineIdentity elements.

+ */ + BaselineIdentities?: PatchBaselineIdentity[]; + /** + * @public + *

The token to use when requesting the next set of items. If there are no additional items to + * return, the string is empty.

+ */ + NextToken?: string; +} +/** + * @public + */ +export interface DescribePatchGroupsRequest { + /** + * @public + *

The maximum number of patch groups to return (per page).

+ */ + MaxResults?: number; + /** + * @public + *

Each element in the array is a structure containing a key-value pair.

+ *

Supported keys for DescribePatchGroups include the following:

+ *
    + *
  • + *

    + * + * NAME_PREFIX + * + *

    + *

    Sample values: AWS- | My-.

    + *
  • + *
  • + *

    + * + * OPERATING_SYSTEM + * + *

    + *

    Sample values: AMAZON_LINUX | SUSE | WINDOWS + *

    + *
  • + *
+ */ + Filters?: PatchOrchestratorFilter[]; + /** + * @public + *

The token for the next set of items to return. (You received this token from a previous + * call.)

+ */ + NextToken?: string; +} +/** + * @public + *

The mapping between a patch group and the patch baseline the patch group is registered + * with.

+ */ +export interface PatchGroupPatchBaselineMapping { + /** + * @public + *

The name of the patch group registered with the patch baseline.

+ */ + PatchGroup?: string; + /** + * @public + *

The patch baseline the patch group is registered with.

+ */ + BaselineIdentity?: PatchBaselineIdentity; +} +/** + * @public + */ +export interface DescribePatchGroupsResult { + /** + * @public + *

Each entry in the array contains:

+ *
    + *
  • + *

    + * PatchGroup: string (between 1 and 256 characters. Regex: + * ^([\p\{L\}\p\{Z\}\p\{N\}_.:/=+\-@]*)$) + *

    + *
  • + *
  • + *

    + * PatchBaselineIdentity: A PatchBaselineIdentity element.

    + *
  • + *
+ */ + Mappings?: PatchGroupPatchBaselineMapping[]; + /** + * @public + *

The token to use when requesting the next set of items. If there are no additional items to + * return, the string is empty.

+ */ + NextToken?: string; +} +/** + * @public + */ +export interface DescribePatchGroupStateRequest { + /** + * @public + *

The name of the patch group whose patch snapshot should be retrieved.

+ */ + PatchGroup: string | undefined; +} +/** + * @public + */ +export interface DescribePatchGroupStateResult { + /** + * @public + *

The number of managed nodes in the patch group.

+ */ + Instances?: number; + /** + * @public + *

The number of managed nodes with installed patches.

+ */ + InstancesWithInstalledPatches?: number; + /** + * @public + *

The number of managed nodes with patches installed that aren't defined in the patch + * baseline.

+ */ + InstancesWithInstalledOtherPatches?: number; + /** + * @public + *

The number of managed nodes with patches installed by Patch Manager that haven't been + * rebooted after the patch installation. The status of these managed nodes is + * NON_COMPLIANT.

+ */ + InstancesWithInstalledPendingRebootPatches?: number; + /** + * @public + *

The number of managed nodes with patches installed that are specified in a + * RejectedPatches list. Patches with a status of INSTALLED_REJECTED were + * typically installed before they were added to a RejectedPatches list.

+ * + *

If ALLOW_AS_DEPENDENCY is the specified option for + * RejectedPatchesAction, the value of + * InstancesWithInstalledRejectedPatches will always be 0 (zero).

+ *
+ */ + InstancesWithInstalledRejectedPatches?: number; + /** + * @public + *

The number of managed nodes with missing patches from the patch baseline.

+ */ + InstancesWithMissingPatches?: number; + /** + * @public + *

The number of managed nodes with patches from the patch baseline that failed to + * install.

+ */ + InstancesWithFailedPatches?: number; + /** + * @public + *

The number of managed nodes with patches that aren't applicable.

+ */ + InstancesWithNotApplicablePatches?: number; + /** + * @public + *

The number of managed nodes with NotApplicable patches beyond the supported + * limit, which aren't reported by name to Inventory. Inventory is a capability of Amazon Web Services Systems Manager.

+ */ + InstancesWithUnreportedNotApplicablePatches?: number; + /** + * @public + *

The number of managed nodes where patches that are specified as Critical for + * compliance reporting in the patch baseline aren't installed. These patches might be missing, have + * failed installation, were rejected, or were installed but awaiting a required managed node + * reboot. The status of these managed nodes is NON_COMPLIANT.

+ */ + InstancesWithCriticalNonCompliantPatches?: number; + /** + * @public + *

The number of managed nodes where patches that are specified as Security in a + * patch advisory aren't installed. These patches might be missing, have failed installation, were + * rejected, or were installed but awaiting a required managed node reboot. The status of these + * managed nodes is NON_COMPLIANT.

+ */ + InstancesWithSecurityNonCompliantPatches?: number; + /** + * @public + *

The number of managed nodes with patches installed that are specified as other than + * Critical or Security but aren't compliant with the patch baseline. The + * status of these managed nodes is NON_COMPLIANT.

+ */ + InstancesWithOtherNonCompliantPatches?: number; +} +/** + * @public + * @enum + */ +export declare const PatchSet: { + readonly Application: "APPLICATION"; + readonly Os: "OS"; +}; +/** + * @public + */ +export type PatchSet = (typeof PatchSet)[keyof typeof PatchSet]; +/** + * @public + * @enum + */ +export declare const PatchProperty: { + readonly PatchClassification: "CLASSIFICATION"; + readonly PatchMsrcSeverity: "MSRC_SEVERITY"; + readonly PatchPriority: "PRIORITY"; + readonly PatchProductFamily: "PRODUCT_FAMILY"; + readonly PatchSeverity: "SEVERITY"; + readonly Product: "PRODUCT"; +}; +/** + * @public + */ +export type PatchProperty = (typeof PatchProperty)[keyof typeof PatchProperty]; +/** + * @public + */ +export interface DescribePatchPropertiesRequest { + /** + * @public + *

The operating system type for which to list patches.

+ */ + OperatingSystem: OperatingSystem | undefined; + /** + * @public + *

The patch property for which you want to view patch details.

+ */ + Property: PatchProperty | undefined; + /** + * @public + *

Indicates whether to list patches for the Windows operating system or for applications + * released by Microsoft. Not applicable for the Linux or macOS operating systems.

+ */ + PatchSet?: PatchSet; + /** + * @public + *

The maximum number of items to return for this call. The call also returns a token that you + * can specify in a subsequent call to get the next set of results.

+ */ + MaxResults?: number; + /** + * @public + *

The token for the next set of items to return. (You received this token from a previous + * call.)

+ */ + NextToken?: string; +} +/** + * @public + */ +export interface DescribePatchPropertiesResult { + /** + * @public + *

A list of the properties for patches matching the filter request parameters.

+ */ + Properties?: Record[]; + /** + * @public + *

The token for the next set of items to return. (You use this token in the next call.)

+ */ + NextToken?: string; +} +/** + * @public + * @enum + */ +export declare const SessionFilterKey: { + readonly INVOKED_AFTER: "InvokedAfter"; + readonly INVOKED_BEFORE: "InvokedBefore"; + readonly OWNER: "Owner"; + readonly SESSION_ID: "SessionId"; + readonly STATUS: "Status"; + readonly TARGET_ID: "Target"; +}; +/** + * @public + */ +export type SessionFilterKey = (typeof SessionFilterKey)[keyof typeof SessionFilterKey]; +/** + * @public + *

Describes a filter for Session Manager information.

+ */ +export interface SessionFilter { + /** + * @public + *

The name of the filter.

+ */ + key: SessionFilterKey | undefined; + /** + * @public + *

The filter value. Valid values for each filter key are as follows:

+ *
    + *
  • + *

    InvokedAfter: Specify a timestamp to limit your results. For example, specify + * 2018-08-29T00:00:00Z to see sessions that started August 29, 2018, and later.

    + *
  • + *
  • + *

    InvokedBefore: Specify a timestamp to limit your results. For example, specify + * 2018-08-29T00:00:00Z to see sessions that started before August 29, 2018.

    + *
  • + *
  • + *

    Target: Specify a managed node to which session connections have been made.

    + *
  • + *
  • + *

    Owner: Specify an Amazon Web Services user to see a list of sessions started by that user.

    + *
  • + *
  • + *

    Status: Specify a valid session status to see a list of all sessions with that status. + * Status values you can specify include:

    + *
      + *
    • + *

      Connected

      + *
    • + *
    • + *

      Connecting

      + *
    • + *
    • + *

      Disconnected

      + *
    • + *
    • + *

      Terminated

      + *
    • + *
    • + *

      Terminating

      + *
    • + *
    • + *

      Failed

      + *
    • + *
    + *
  • + *
  • + *

    SessionId: Specify a session ID to return details about the session.

    + *
  • + *
+ */ + value: string | undefined; +} +/** + * @public + * @enum + */ +export declare const SessionState: { + readonly ACTIVE: "Active"; + readonly HISTORY: "History"; +}; +/** + * @public + */ +export type SessionState = (typeof SessionState)[keyof typeof SessionState]; +/** + * @public + */ +export interface DescribeSessionsRequest { + /** + * @public + *

The session status to retrieve a list of sessions for. For example, "Active".

+ */ + State: SessionState | undefined; + /** + * @public + *

The maximum number of items to return for this call. The call also returns a token that you + * can specify in a subsequent call to get the next set of results.

+ */ + MaxResults?: number; + /** + * @public + *

The token for the next set of items to return. (You received this token from a previous + * call.)

+ */ + NextToken?: string; + /** + * @public + *

One or more filters to limit the type of sessions returned by the request.

+ */ + Filters?: SessionFilter[]; +} +/** + * @public + *

Reserved for future use.

+ */ +export interface SessionManagerOutputUrl { + /** + * @public + *

Reserved for future use.

+ */ + S3OutputUrl?: string; + /** + * @public + *

Reserved for future use.

+ */ + CloudWatchOutputUrl?: string; +} +/** + * @public + * @enum + */ +export declare const SessionStatus: { + readonly CONNECTED: "Connected"; + readonly CONNECTING: "Connecting"; + readonly DISCONNECTED: "Disconnected"; + readonly FAILED: "Failed"; + readonly TERMINATED: "Terminated"; + readonly TERMINATING: "Terminating"; +}; +/** + * @public + */ +export type SessionStatus = (typeof SessionStatus)[keyof typeof SessionStatus]; +/** + * @public + *

Information about a Session Manager connection to a managed node.

+ */ +export interface Session { + /** + * @public + *

The ID of the session.

+ */ + SessionId?: string; + /** + * @public + *

The managed node that the Session Manager session connected to.

+ */ + Target?: string; + /** + * @public + *

The status of the session. For example, "Connected" or "Terminated".

+ */ + Status?: SessionStatus; + /** + * @public + *

The date and time, in ISO-8601 Extended format, when the session began.

+ */ + StartDate?: Date; + /** + * @public + *

The date and time, in ISO-8601 Extended format, when the session was terminated.

+ */ + EndDate?: Date; + /** + * @public + *

The name of the Session Manager SSM document used to define the parameters and plugin settings for the + * session. For example, SSM-SessionManagerRunShell.

+ */ + DocumentName?: string; + /** + * @public + *

The ID of the Amazon Web Services user that started the session.

+ */ + Owner?: string; + /** + * @public + *

The reason for connecting to the instance.

+ */ + Reason?: string; + /** + * @public + *

Reserved for future use.

+ */ + Details?: string; + /** + * @public + *

Reserved for future use.

+ */ + OutputUrl?: SessionManagerOutputUrl; + /** + * @public + *

The maximum duration of a session before it terminates.

+ */ + MaxSessionDuration?: string; +} +/** + * @public + */ +export interface DescribeSessionsResponse { + /** + * @public + *

A list of sessions meeting the request parameters.

+ */ + Sessions?: Session[]; + /** + * @public + *

The token for the next set of items to return. (You received this token from a previous + * call.)

+ */ + NextToken?: string; +} +/** + * @public + */ +export interface DisassociateOpsItemRelatedItemRequest { + /** + * @public + *

The ID of the OpsItem for which you want to delete an association between the OpsItem and a + * related item.

+ */ + OpsItemId: string | undefined; + /** + * @public + *

The ID of the association for which you want to delete an association between the OpsItem + * and a related item.

+ */ + AssociationId: string | undefined; +} +/** + * @public + */ +export interface DisassociateOpsItemRelatedItemResponse { +} +/** + * @public + *

The association wasn't found using the parameters you specified in the call. Verify the + * information and try again.

+ */ +export declare class OpsItemRelatedItemAssociationNotFoundException extends __BaseException { + readonly name: "OpsItemRelatedItemAssociationNotFoundException"; + readonly $fault: "client"; + Message?: string; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + */ +export interface GetAutomationExecutionRequest { + /** + * @public + *

The unique identifier for an existing automation execution to examine. The execution ID is + * returned by StartAutomationExecution when the execution of an Automation runbook is + * initiated.

+ */ + AutomationExecutionId: string | undefined; +} +/** + * @public + *

An aggregate of step execution statuses displayed in the Amazon Web Services Systems Manager console for a + * multi-Region and multi-account Automation execution.

+ */ +export interface ProgressCounters { + /** + * @public + *

The total number of steps run in all specified Amazon Web Services Regions and Amazon Web Services accounts for the + * current Automation execution.

+ */ + TotalSteps?: number; + /** + * @public + *

The total number of steps that successfully completed in all specified Amazon Web Services Regions and + * Amazon Web Services accounts for the current Automation execution.

+ */ + SuccessSteps?: number; + /** + * @public + *

The total number of steps that failed to run in all specified Amazon Web Services Regions and + * Amazon Web Services accounts for the current Automation execution.

+ */ + FailedSteps?: number; + /** + * @public + *

The total number of steps that the system cancelled in all specified Amazon Web Services Regions and + * Amazon Web Services accounts for the current Automation execution.

+ */ + CancelledSteps?: number; + /** + * @public + *

The total number of steps that timed out in all specified Amazon Web Services Regions and Amazon Web Services accounts + * for the current Automation execution.

+ */ + TimedOutSteps?: number; +} +/** + * @public + *

Detailed information about the current state of an individual Automation execution.

+ */ +export interface AutomationExecution { + /** + * @public + *

The execution ID.

+ */ + AutomationExecutionId?: string; + /** + * @public + *

The name of the Automation runbook used during the execution.

+ */ + DocumentName?: string; + /** + * @public + *

The version of the document to use during execution.

+ */ + DocumentVersion?: string; + /** + * @public + *

The time the execution started.

+ */ + ExecutionStartTime?: Date; + /** + * @public + *

The time the execution finished.

+ */ + ExecutionEndTime?: Date; + /** + * @public + *

The execution status of the Automation.

+ */ + AutomationExecutionStatus?: AutomationExecutionStatus; + /** + * @public + *

A list of details about the current state of all steps that comprise an execution. An + * Automation runbook contains a list of steps that are run in order.

+ */ + StepExecutions?: StepExecution[]; + /** + * @public + *

A boolean value that indicates if the response contains the full list of the Automation step + * executions. If true, use the DescribeAutomationStepExecutions API operation to get the full list + * of step executions.

+ */ + StepExecutionsTruncated?: boolean; + /** + * @public + *

The key-value map of execution parameters, which were supplied when calling StartAutomationExecution.

+ */ + Parameters?: Record; + /** + * @public + *

The list of execution outputs as defined in the Automation runbook.

+ */ + Outputs?: Record; + /** + * @public + *

A message describing why an execution has failed, if the status is set to Failed.

+ */ + FailureMessage?: string; + /** + * @public + *

The automation execution mode.

+ */ + Mode?: ExecutionMode; + /** + * @public + *

The AutomationExecutionId of the parent automation.

+ */ + ParentAutomationExecutionId?: string; + /** + * @public + *

The Amazon Resource Name (ARN) of the user who ran the automation.

+ */ + ExecutedBy?: string; + /** + * @public + *

The name of the step that is currently running.

+ */ + CurrentStepName?: string; + /** + * @public + *

The action of the step that is currently running.

+ */ + CurrentAction?: string; + /** + * @public + *

The parameter name.

+ */ + TargetParameterName?: string; + /** + * @public + *

The specified targets.

+ */ + Targets?: Target[]; + /** + * @public + *

The specified key-value mapping of document parameters to target resources.

+ */ + TargetMaps?: Record[]; + /** + * @public + *

A list of resolved targets in the rate control execution.

+ */ + ResolvedTargets?: ResolvedTargets; + /** + * @public + *

The MaxConcurrency value specified by the user when the execution + * started.

+ */ + MaxConcurrency?: string; + /** + * @public + *

The MaxErrors value specified by the user when the execution started.

+ */ + MaxErrors?: string; + /** + * @public + *

The target of the execution.

+ */ + Target?: string; + /** + * @public + *

The combination of Amazon Web Services Regions and/or Amazon Web Services accounts where you want to run the + * Automation.

+ */ + TargetLocations?: TargetLocation[]; + /** + * @public + *

An aggregate of step execution statuses displayed in the Amazon Web Services Systems Manager console for a + * multi-Region and multi-account Automation execution.

+ */ + ProgressCounters?: ProgressCounters; + /** + * @public + *

The details for the CloudWatch alarm applied to your automation.

+ */ + AlarmConfiguration?: AlarmConfiguration; + /** + * @public + *

The CloudWatch alarm that was invoked by the automation.

+ */ + TriggeredAlarms?: AlarmStateInformation[]; + /** + * @public + *

The subtype of the Automation operation. Currently, the only supported value is + * ChangeRequest.

+ */ + AutomationSubtype?: AutomationSubtype; + /** + * @public + *

The date and time the Automation operation is scheduled to start.

+ */ + ScheduledTime?: Date; + /** + * @public + *

Information about the Automation runbooks that are run as part of a runbook workflow.

+ * + *

The Automation runbooks specified for the runbook workflow can't run until all required + * approvals for the change request have been received.

+ *
+ */ + Runbooks?: Runbook[]; + /** + * @public + *

The ID of an OpsItem that is created to represent a Change Manager change request.

+ */ + OpsItemId?: string; + /** + * @public + *

The ID of a State Manager association used in the Automation operation.

+ */ + AssociationId?: string; + /** + * @public + *

The name of the Change Manager change request.

+ */ + ChangeRequestName?: string; + /** + * @public + *

Variables defined for the automation.

+ */ + Variables?: Record; +} +/** + * @public + */ +export interface GetAutomationExecutionResult { + /** + * @public + *

Detailed information about the current state of an automation execution.

+ */ + AutomationExecution?: AutomationExecution; +} +/** + * @public + */ +export interface GetCalendarStateRequest { + /** + * @public + *

The names or Amazon Resource Names (ARNs) of the Systems Manager documents (SSM documents) that + * represent the calendar entries for which you want to get the state.

+ */ + CalendarNames: string[] | undefined; + /** + * @public + *

(Optional) The specific time for which you want to get calendar state information, in ISO 8601 format. If you don't specify a + * value or AtTime, the current time is used.

+ */ + AtTime?: string; +} +/** + * @public + * @enum + */ +export declare const CalendarState: { + readonly CLOSED: "CLOSED"; + readonly OPEN: "OPEN"; +}; +/** + * @public + */ +export type CalendarState = (typeof CalendarState)[keyof typeof CalendarState]; +/** + * @public + */ +export interface GetCalendarStateResponse { + /** + * @public + *

The state of the calendar. An OPEN calendar indicates that actions are allowed + * to proceed, and a CLOSED calendar indicates that actions aren't allowed to + * proceed.

+ */ + State?: CalendarState; + /** + * @public + *

The time, as an ISO 8601 string, + * that you specified in your command. If you don't specify a time, GetCalendarState + * uses the current time.

+ */ + AtTime?: string; + /** + * @public + *

The time, as an ISO 8601 string, + * that the calendar state will change. If the current calendar state is OPEN, + * NextTransitionTime indicates when the calendar state changes to + * CLOSED, and vice-versa.

+ */ + NextTransitionTime?: string; +} +/** + * @public + *

The SSM document type isn't valid. Valid document types are described in the + * DocumentType property.

+ */ +export declare class InvalidDocumentType extends __BaseException { + readonly name: "InvalidDocumentType"; + readonly $fault: "client"; + Message?: string; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + *

The calendar entry contained in the specified SSM document isn't supported.

+ */ +export declare class UnsupportedCalendarException extends __BaseException { + readonly name: "UnsupportedCalendarException"; + readonly $fault: "client"; + Message?: string; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + */ +export interface GetCommandInvocationRequest { + /** + * @public + *

(Required) The parent command ID of the invocation plugin.

+ */ + CommandId: string | undefined; + /** + * @public + *

(Required) The ID of the managed node targeted by the command. A managed + * node can be an Amazon Elastic Compute Cloud (Amazon EC2) instance, edge device, and on-premises server or VM + * in your hybrid environment that is configured for Amazon Web Services Systems Manager.

+ */ + InstanceId: string | undefined; + /** + * @public + *

The name of the step for which you want detailed results. If the document contains only one + * step, you can omit the name and details for that step. If the document contains more than one + * step, you must specify the name of the step for which you want to view details. Be sure to + * specify the name of the step, not the name of a plugin like + * aws:RunShellScript.

+ *

To find the PluginName, check the document content and find the name of the + * step you want details for. Alternatively, use ListCommandInvocations with the + * CommandId and Details parameters. The PluginName is the + * Name attribute of the CommandPlugin object in the + * CommandPlugins list.

+ */ + PluginName?: string; +} +/** + * @public + *

Configuration options for sending command output to Amazon CloudWatch Logs.

+ */ +export interface CloudWatchOutputConfig { + /** + * @public + *

The name of the CloudWatch Logs log group where you want to send command output. If you + * don't specify a group name, Amazon Web Services Systems Manager automatically creates a log group for you. The log group + * uses the following naming format:

+ *

+ * aws/ssm/SystemsManagerDocumentName + * + *

+ */ + CloudWatchLogGroupName?: string; + /** + * @public + *

Enables Systems Manager to send command output to CloudWatch Logs.

+ */ + CloudWatchOutputEnabled?: boolean; +} +/** + * @public + * @enum + */ +export declare const CommandInvocationStatus: { + readonly CANCELLED: "Cancelled"; + readonly CANCELLING: "Cancelling"; + readonly DELAYED: "Delayed"; + readonly FAILED: "Failed"; + readonly IN_PROGRESS: "InProgress"; + readonly PENDING: "Pending"; + readonly SUCCESS: "Success"; + readonly TIMED_OUT: "TimedOut"; +}; +/** + * @public + */ +export type CommandInvocationStatus = (typeof CommandInvocationStatus)[keyof typeof CommandInvocationStatus]; +/** + * @public + */ +export interface GetCommandInvocationResult { + /** + * @public + *

The parent command ID of the invocation plugin.

+ */ + CommandId?: string; + /** + * @public + *

The ID of the managed node targeted by the command. A managed node can + * be an Amazon Elastic Compute Cloud (Amazon EC2) instance, edge device, or on-premises server or VM in your hybrid + * environment that is configured for Amazon Web Services Systems Manager.

+ */ + InstanceId?: string; + /** + * @public + *

The comment text for the command.

+ */ + Comment?: string; + /** + * @public + *

The name of the document that was run. For example, AWS-RunShellScript.

+ */ + DocumentName?: string; + /** + * @public + *

The Systems Manager document (SSM document) version used in the request.

+ */ + DocumentVersion?: string; + /** + * @public + *

The name of the plugin, or step name, for which details are reported. + * For example, aws:RunShellScript is a plugin.

+ */ + PluginName?: string; + /** + * @public + *

The error level response code for the plugin script. If the response code is + * -1, then the command hasn't started running on the managed node, or it wasn't + * received by the node.

+ */ + ResponseCode?: number; + /** + * @public + *

The date and time the plugin started running. Date and time are written in ISO 8601 format. + * For example, June 7, 2017 is represented as 2017-06-7. The following sample Amazon Web Services CLI command uses + * the InvokedBefore filter.

+ *

+ * aws ssm list-commands --filters key=InvokedBefore,value=2017-06-07T00:00:00Z + *

+ *

If the plugin hasn't started to run, the string is empty.

+ */ + ExecutionStartDateTime?: string; + /** + * @public + *

Duration since ExecutionStartDateTime.

+ */ + ExecutionElapsedTime?: string; + /** + * @public + *

The date and time the plugin finished running. Date and time are written in ISO 8601 format. + * For example, June 7, 2017 is represented as 2017-06-7. The following sample Amazon Web Services CLI command uses + * the InvokedAfter filter.

+ *

+ * aws ssm list-commands --filters key=InvokedAfter,value=2017-06-07T00:00:00Z + *

+ *

If the plugin hasn't started to run, the string is empty.

+ */ + ExecutionEndDateTime?: string; + /** + * @public + *

The status of this invocation plugin. This status can be different than + * StatusDetails.

+ */ + Status?: CommandInvocationStatus; + /** + * @public + *

A detailed status of the command execution for an invocation. StatusDetails + * includes more information than Status because it includes states resulting from + * error and concurrency control parameters. StatusDetails can show different results + * than Status. For more information about these statuses, see Understanding + * command statuses in the Amazon Web Services Systems Manager User Guide. + * StatusDetails can be one of the following values:

+ *
    + *
  • + *

    Pending: The command hasn't been sent to the managed node.

    + *
  • + *
  • + *

    In Progress: The command has been sent to the managed node but hasn't reached a terminal + * state.

    + *
  • + *
  • + *

    Delayed: The system attempted to send the command to the target, but the target wasn't + * available. The managed node might not be available because of network issues, because the node + * was stopped, or for similar reasons. The system will try to send the command again.

    + *
  • + *
  • + *

    Success: The command or plugin ran successfully. This is a terminal state.

    + *
  • + *
  • + *

    Delivery Timed Out: The command wasn't delivered to the managed node before the delivery + * timeout expired. Delivery timeouts don't count against the parent command's + * MaxErrors limit, but they do contribute to whether the parent command status is + * Success or Incomplete. This is a terminal state.

    + *
  • + *
  • + *

    Execution Timed Out: The command started to run on the managed node, but the execution + * wasn't complete before the timeout expired. Execution timeouts count against the + * MaxErrors limit of the parent command. This is a terminal state.

    + *
  • + *
  • + *

    Failed: The command wasn't run successfully on the managed node. For a plugin, this + * indicates that the result code wasn't zero. For a command invocation, this indicates that the + * result code for one or more plugins wasn't zero. Invocation failures count against the + * MaxErrors limit of the parent command. This is a terminal state.

    + *
  • + *
  • + *

    Cancelled: The command was terminated before it was completed. This is a terminal + * state.

    + *
  • + *
  • + *

    Undeliverable: The command can't be delivered to the managed node. The node might not + * exist or might not be responding. Undeliverable invocations don't count against the parent + * command's MaxErrors limit and don't contribute to whether the parent command + * status is Success or Incomplete. This is a terminal state.

    + *
  • + *
  • + *

    Terminated: The parent command exceeded its MaxErrors limit and subsequent + * command invocations were canceled by the system. This is a terminal state.

    + *
  • + *
+ */ + StatusDetails?: string; + /** + * @public + *

The first 24,000 characters written by the plugin to stdout. If the command + * hasn't finished running, if ExecutionStatus is neither Succeeded nor Failed, then + * this string is empty.

+ */ + StandardOutputContent?: string; + /** + * @public + *

The URL for the complete text written by the plugin to stdout in Amazon Simple Storage Service (Amazon S3). If an S3 bucket wasn't specified, then this string is + * empty.

+ */ + StandardOutputUrl?: string; + /** + * @public + *

The first 8,000 characters written by the plugin to stderr. If the command + * hasn't finished running, then this string is empty.

+ */ + StandardErrorContent?: string; + /** + * @public + *

The URL for the complete text written by the plugin to stderr. If the command + * hasn't finished running, then this string is empty.

+ */ + StandardErrorUrl?: string; + /** + * @public + *

Amazon CloudWatch Logs information where Systems Manager sent the command output.

+ */ + CloudWatchOutputConfig?: CloudWatchOutputConfig; +} +/** + * @public + *

The plugin name isn't valid.

+ */ +export declare class InvalidPluginName extends __BaseException { + readonly name: "InvalidPluginName"; + readonly $fault: "client"; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + *

The command ID and managed node ID you specified didn't match any invocations. Verify the + * command ID and the managed node ID and try again.

+ */ +export declare class InvocationDoesNotExist extends __BaseException { + readonly name: "InvocationDoesNotExist"; + readonly $fault: "client"; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + */ +export interface GetConnectionStatusRequest { + /** + * @public + *

The managed node ID.

+ */ + Target: string | undefined; +} +/** + * @public + * @enum + */ +export declare const ConnectionStatus: { + readonly CONNECTED: "connected"; + readonly NOT_CONNECTED: "notconnected"; +}; +/** + * @public + */ +export type ConnectionStatus = (typeof ConnectionStatus)[keyof typeof ConnectionStatus]; +/** + * @public + */ +export interface GetConnectionStatusResponse { + /** + * @public + *

The ID of the managed node to check connection status.

+ */ + Target?: string; + /** + * @public + *

The status of the connection to the managed node. For example, 'Connected' or 'Not + * Connected'.

+ */ + Status?: ConnectionStatus; +} +/** + * @public + */ +export interface GetDefaultPatchBaselineRequest { + /** + * @public + *

Returns the default patch baseline for the specified operating system.

+ */ + OperatingSystem?: OperatingSystem; +} +/** + * @public + */ +export interface GetDefaultPatchBaselineResult { + /** + * @public + *

The ID of the default patch baseline.

+ */ + BaselineId?: string; + /** + * @public + *

The operating system for the returned patch baseline.

+ */ + OperatingSystem?: OperatingSystem; +} +/** + * @public + *

Defines the basic information about a patch baseline override.

+ */ +export interface BaselineOverride { + /** + * @public + *

The operating system rule used by the patch baseline override.

+ */ + OperatingSystem?: OperatingSystem; + /** + * @public + *

A set of patch filters, typically used for approval rules.

+ */ + GlobalFilters?: PatchFilterGroup; + /** + * @public + *

A set of rules defining the approval rules for a patch baseline.

+ */ + ApprovalRules?: PatchRuleGroup; + /** + * @public + *

A list of explicitly approved patches for the baseline.

+ *

For information about accepted formats for lists of approved patches and rejected patches, + * see About + * package name formats for approved and rejected patch lists in the Amazon Web Services Systems Manager User Guide.

+ */ + ApprovedPatches?: string[]; + /** + * @public + *

Defines the compliance level for approved patches. When an approved patch is reported as + * missing, this value describes the severity of the compliance violation.

+ */ + ApprovedPatchesComplianceLevel?: PatchComplianceLevel; + /** + * @public + *

A list of explicitly rejected patches for the baseline.

+ *

For information about accepted formats for lists of approved patches and rejected patches, + * see About + * package name formats for approved and rejected patch lists in the Amazon Web Services Systems Manager User Guide.

+ */ + RejectedPatches?: string[]; + /** + * @public + *

The action for Patch Manager to take on patches included in the + * RejectedPackages list. A patch can be allowed only if it is a dependency of another + * package, or blocked entirely along with packages that include it as a dependency.

+ */ + RejectedPatchesAction?: PatchAction; + /** + * @public + *

Indicates whether the list of approved patches includes non-security updates that should be + * applied to the managed nodes. The default value is false. Applies to Linux managed + * nodes only.

+ */ + ApprovedPatchesEnableNonSecurity?: boolean; + /** + * @public + *

Information about the patches to use to update the managed nodes, including target operating + * systems and source repositories. Applies to Linux managed nodes only.

+ */ + Sources?: PatchSource[]; +} +/** + * @public + */ +export interface GetDeployablePatchSnapshotForInstanceRequest { + /** + * @public + *

The ID of the managed node for which the appropriate patch snapshot should be + * retrieved.

+ */ + InstanceId: string | undefined; + /** + * @public + *

The snapshot ID provided by the user when running AWS-RunPatchBaseline.

+ */ + SnapshotId: string | undefined; + /** + * @public + *

Defines the basic information about a patch baseline override.

+ */ + BaselineOverride?: BaselineOverride; +} +/** + * @public + */ +export interface GetDeployablePatchSnapshotForInstanceResult { + /** + * @public + *

The managed node ID.

+ */ + InstanceId?: string; + /** + * @public + *

The user-defined snapshot ID.

+ */ + SnapshotId?: string; + /** + * @public + *

A pre-signed Amazon Simple Storage Service (Amazon S3) URL that can be used to download the + * patch snapshot.

+ */ + SnapshotDownloadUrl?: string; + /** + * @public + *

Returns the specific operating system (for example Windows Server 2012 or Amazon Linux + * 2015.09) on the managed node for the specified patch snapshot.

+ */ + Product?: string; +} +/** + * @public + *

Patching for applications released by Microsoft is only available on EC2 instances and + * advanced instances. To patch applications released by Microsoft on on-premises servers and VMs, + * you must enable advanced instances. For more information, see Enabling + * the advanced-instances tier in the Amazon Web Services Systems Manager User Guide.

+ */ +export declare class UnsupportedFeatureRequiredException extends __BaseException { + readonly name: "UnsupportedFeatureRequiredException"; + readonly $fault: "client"; + Message?: string; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + */ +export interface GetDocumentRequest { + /** + * @public + *

The name of the SSM document.

+ */ + Name: string | undefined; + /** + * @public + *

An optional field specifying the version of the artifact associated with the document. For + * example, "Release 12, Update 6". This value is unique across all versions of a document and can't + * be changed.

+ */ + VersionName?: string; + /** + * @public + *

The document version for which you want information.

+ */ + DocumentVersion?: string; + /** + * @public + *

Returns the document in the specified format. The document format can be either JSON or + * YAML. JSON is the default format.

+ */ + DocumentFormat?: DocumentFormat; +} +/** + * @public + * @enum + */ +export declare const AttachmentHashType: { + readonly SHA256: "Sha256"; +}; +/** + * @public + */ +export type AttachmentHashType = (typeof AttachmentHashType)[keyof typeof AttachmentHashType]; +/** + * @public + *

A structure that includes attributes that describe a document attachment.

+ */ +export interface AttachmentContent { + /** + * @public + *

The name of an attachment.

+ */ + Name?: string; + /** + * @public + *

The size of an attachment in bytes.

+ */ + Size?: number; + /** + * @public + *

The cryptographic hash value of the document content.

+ */ + Hash?: string; + /** + * @public + *

The hash algorithm used to calculate the hash value.

+ */ + HashType?: AttachmentHashType; + /** + * @public + *

The URL location of the attachment content.

+ */ + Url?: string; +} +/** + * @public + */ +export interface GetDocumentResult { + /** + * @public + *

The name of the SSM document.

+ */ + Name?: string; + /** + * @public + *

The date the SSM document was created.

+ */ + CreatedDate?: Date; + /** + * @public + *

The friendly name of the SSM document. This value can differ for each version of the + * document. If you want to update this value, see UpdateDocument.

+ */ + DisplayName?: string; + /** + * @public + *

The version of the artifact associated with the document. For example, "Release 12, Update + * 6". This value is unique across all versions of a document, and can't be changed.

+ */ + VersionName?: string; + /** + * @public + *

The document version.

+ */ + DocumentVersion?: string; + /** + * @public + *

The status of the SSM document, such as Creating, Active, + * Updating, Failed, and Deleting.

+ */ + Status?: DocumentStatus; + /** + * @public + *

A message returned by Amazon Web Services Systems Manager that explains the Status value. For example, a + * Failed status might be explained by the StatusInformation message, + * "The specified S3 bucket doesn't exist. Verify that the URL of the S3 bucket is correct."

+ */ + StatusInformation?: string; + /** + * @public + *

The contents of the SSM document.

+ */ + Content?: string; + /** + * @public + *

The document type.

+ */ + DocumentType?: DocumentType; + /** + * @public + *

The document format, either JSON or YAML.

+ */ + DocumentFormat?: DocumentFormat; + /** + * @public + *

A list of SSM documents required by a document. For example, an + * ApplicationConfiguration document requires an + * ApplicationConfigurationSchema document.

+ */ + Requires?: DocumentRequires[]; + /** + * @public + *

A description of the document attachments, including names, locations, sizes, and so + * on.

+ */ + AttachmentsContent?: AttachmentContent[]; + /** + * @public + *

The current review status of a new custom Systems Manager document (SSM document) created by a member + * of your organization, or of the latest version of an existing SSM document.

+ *

Only one version of an SSM document can be in the APPROVED state at a time. When a new + * version is approved, the status of the previous version changes to REJECTED.

+ *

Only one version of an SSM document can be in review, or PENDING, at a time.

+ */ + ReviewStatus?: ReviewStatus; +} +/** + * @public + * @enum + */ +export declare const InventoryQueryOperatorType: { + readonly BEGIN_WITH: "BeginWith"; + readonly EQUAL: "Equal"; + readonly EXISTS: "Exists"; + readonly GREATER_THAN: "GreaterThan"; + readonly LESS_THAN: "LessThan"; + readonly NOT_EQUAL: "NotEqual"; +}; +/** + * @public + */ +export type InventoryQueryOperatorType = (typeof InventoryQueryOperatorType)[keyof typeof InventoryQueryOperatorType]; +/** + * @public + *

One or more filters. Use a filter to return a more specific list of results.

+ */ +export interface InventoryFilter { + /** + * @public + *

The name of the filter key.

+ */ + Key: string | undefined; + /** + * @public + *

Inventory filter values. Example: inventory filter where managed node IDs are specified as + * values Key=AWS:InstanceInformation.InstanceId,Values= i-a12b3c4d5e6g, + * i-1a2b3c4d5e6,Type=Equal.

+ */ + Values: string[] | undefined; + /** + * @public + *

The type of filter.

+ * + *

The Exists filter must be used with aggregators. For more information, see + * Aggregating inventory + * data in the Amazon Web Services Systems Manager User Guide.

+ *
+ */ + Type?: InventoryQueryOperatorType; +} +/** + * @public + *

A user-defined set of one or more filters on which to aggregate inventory data. Groups + * return a count of resources that match and don't match the specified criteria.

+ */ +export interface InventoryGroup { + /** + * @public + *

The name of the group.

+ */ + Name: string | undefined; + /** + * @public + *

Filters define the criteria for the group. The matchingCount field displays the + * number of resources that match the criteria. The notMatchingCount field displays the + * number of resources that don't match the criteria.

+ */ + Filters: InventoryFilter[] | undefined; +} +/** + * @public + *

The inventory item result attribute.

+ */ +export interface ResultAttribute { + /** + * @public + *

Name of the inventory item type. Valid value: AWS:InstanceInformation. Default + * Value: AWS:InstanceInformation.

+ */ + TypeName: string | undefined; +} +/** + * @public + *

The inventory result item.

+ */ +export interface InventoryResultItem { + /** + * @public + *

The name of the inventory result item type.

+ */ + TypeName: string | undefined; + /** + * @public + *

The schema version for the inventory result item/

+ */ + SchemaVersion: string | undefined; + /** + * @public + *

The time inventory item data was captured.

+ */ + CaptureTime?: string; + /** + * @public + *

MD5 hash of the inventory item type contents. The content hash is used to determine whether + * to update inventory information. The PutInventory API doesn't update the inventory item type + * contents if the MD5 hash hasn't changed since last update.

+ */ + ContentHash?: string; + /** + * @public + *

Contains all the inventory data of the item type. Results include attribute names and + * values.

+ */ + Content: Record[] | undefined; +} +/** + * @public + *

Inventory query results.

+ */ +export interface InventoryResultEntity { + /** + * @public + *

ID of the inventory result entity. For example, for managed node inventory the result will + * be the managed node ID. For EC2 instance inventory, the result will be the instance ID.

+ */ + Id?: string; + /** + * @public + *

The data section in the inventory result entity JSON.

+ */ + Data?: Record; +} +/** + * @public + */ +export interface GetInventoryResult { + /** + * @public + *

Collection of inventory entities such as a collection of managed node inventory.

+ */ + Entities?: InventoryResultEntity[]; + /** + * @public + *

The token to use when requesting the next set of items. If there are no additional items to + * return, the string is empty.

+ */ + NextToken?: string; +} +/** + * @public + *

The specified aggregator isn't valid for inventory groups. Verify that the aggregator uses a + * valid inventory type such as AWS:Application or + * AWS:InstanceInformation.

+ */ +export declare class InvalidAggregatorException extends __BaseException { + readonly name: "InvalidAggregatorException"; + readonly $fault: "client"; + Message?: string; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + *

The specified inventory group isn't valid.

+ */ +export declare class InvalidInventoryGroupException extends __BaseException { + readonly name: "InvalidInventoryGroupException"; + readonly $fault: "client"; + Message?: string; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + *

The specified inventory item result attribute isn't valid.

+ */ +export declare class InvalidResultAttributeException extends __BaseException { + readonly name: "InvalidResultAttributeException"; + readonly $fault: "client"; + Message?: string; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + */ +export interface GetInventorySchemaRequest { + /** + * @public + *

The type of inventory item to return.

+ */ + TypeName?: string; + /** + * @public + *

The token for the next set of items to return. (You received this token from a previous + * call.)

+ */ + NextToken?: string; + /** + * @public + *

The maximum number of items to return for this call. The call also returns a token that you + * can specify in a subsequent call to get the next set of results.

+ */ + MaxResults?: number; + /** + * @public + *

Returns inventory schemas that support aggregation. For example, this call returns the + * AWS:InstanceInformation type, because it supports aggregation based on the + * PlatformName, PlatformType, and PlatformVersion + * attributes.

+ */ + Aggregator?: boolean; + /** + * @public + *

Returns the sub-type schema for a specified inventory type.

+ */ + SubType?: boolean; +} +/** + * @public + * @enum + */ +export declare const InventoryAttributeDataType: { + readonly NUMBER: "number"; + readonly STRING: "string"; +}; +/** + * @public + */ +export type InventoryAttributeDataType = (typeof InventoryAttributeDataType)[keyof typeof InventoryAttributeDataType]; +/** + * @public + *

Attributes are the entries within the inventory item content. It contains name and + * value.

+ */ +export interface InventoryItemAttribute { + /** + * @public + *

Name of the inventory item attribute.

+ */ + Name: string | undefined; + /** + * @public + *

The data type of the inventory item attribute.

+ */ + DataType: InventoryAttributeDataType | undefined; +} +/** + * @public + *

The inventory item schema definition. Users can use this to compose inventory query + * filters.

+ */ +export interface InventoryItemSchema { + /** + * @public + *

The name of the inventory type. Default inventory item type names start with Amazon Web Services. Custom + * inventory type names will start with Custom. Default inventory item types include the following: + * AWS:AWSComponent, AWS:Application, + * AWS:InstanceInformation, AWS:Network, and + * AWS:WindowsUpdate.

+ */ + TypeName: string | undefined; + /** + * @public + *

The schema version for the inventory item.

+ */ + Version?: string; + /** + * @public + *

The schema attributes for inventory. This contains data type and attribute name.

+ */ + Attributes: InventoryItemAttribute[] | undefined; + /** + * @public + *

The alias name of the inventory type. The alias name is used for display purposes.

+ */ + DisplayName?: string; +} +/** + * @public + */ +export interface GetInventorySchemaResult { + /** + * @public + *

Inventory schemas returned by the request.

+ */ + Schemas?: InventoryItemSchema[]; + /** + * @public + *

The token to use when requesting the next set of items. If there are no additional items to + * return, the string is empty.

+ */ + NextToken?: string; +} +/** + * @public + */ +export interface GetMaintenanceWindowRequest { + /** + * @public + *

The ID of the maintenance window for which you want to retrieve information.

+ */ + WindowId: string | undefined; +} +/** + * @public + */ +export interface GetMaintenanceWindowResult { + /** + * @public + *

The ID of the created maintenance window.

+ */ + WindowId?: string; + /** + * @public + *

The name of the maintenance window.

+ */ + Name?: string; + /** + * @public + *

The description of the maintenance window.

+ */ + Description?: string; + /** + * @public + *

The date and time, in ISO-8601 Extended format, for when the maintenance window is scheduled + * to become active. The maintenance window won't run before this specified time.

+ */ + StartDate?: string; + /** + * @public + *

The date and time, in ISO-8601 Extended format, for when the maintenance window is scheduled + * to become inactive. The maintenance window won't run after this specified time.

+ */ + EndDate?: string; + /** + * @public + *

The schedule of the maintenance window in the form of a cron or rate expression.

+ */ + Schedule?: string; + /** + * @public + *

The time zone that the scheduled maintenance window executions are based on, in Internet + * Assigned Numbers Authority (IANA) format. For example: "America/Los_Angeles", "UTC", or + * "Asia/Seoul". For more information, see the Time + * Zone Database on the IANA website.

+ */ + ScheduleTimezone?: string; + /** + * @public + *

The number of days to wait to run a maintenance window after the scheduled cron expression + * date and time.

+ */ + ScheduleOffset?: number; + /** + * @public + *

The next time the maintenance window will actually run, taking into account any specified + * times for the maintenance window to become active or inactive.

+ */ + NextExecutionTime?: string; + /** + * @public + *

The duration of the maintenance window in hours.

+ */ + Duration?: number; + /** + * @public + *

The number of hours before the end of the maintenance window that Amazon Web Services Systems Manager stops scheduling + * new tasks for execution.

+ */ + Cutoff?: number; + /** + * @public + *

Whether targets must be registered with the maintenance window before tasks can be defined + * for those targets.

+ */ + AllowUnassociatedTargets?: boolean; + /** + * @public + *

Indicates whether the maintenance window is enabled.

+ */ + Enabled?: boolean; + /** + * @public + *

The date the maintenance window was created.

+ */ + CreatedDate?: Date; + /** + * @public + *

The date the maintenance window was last modified.

+ */ + ModifiedDate?: Date; +} +/** + * @public + */ +export interface GetMaintenanceWindowExecutionRequest { + /** + * @public + *

The ID of the maintenance window execution that includes the task.

+ */ + WindowExecutionId: string | undefined; +} +/** + * @public + */ +export interface GetMaintenanceWindowExecutionResult { + /** + * @public + *

The ID of the maintenance window execution.

+ */ + WindowExecutionId?: string; + /** + * @public + *

The ID of the task executions from the maintenance window execution.

+ */ + TaskIds?: string[]; + /** + * @public + *

The status of the maintenance window execution.

+ */ + Status?: MaintenanceWindowExecutionStatus; + /** + * @public + *

The details explaining the status. Not available for all status values.

+ */ + StatusDetails?: string; + /** + * @public + *

The time the maintenance window started running.

+ */ + StartTime?: Date; + /** + * @public + *

The time the maintenance window finished running.

+ */ + EndTime?: Date; +} +/** + * @public + */ +export interface GetMaintenanceWindowExecutionTaskRequest { + /** + * @public + *

The ID of the maintenance window execution that includes the task.

+ */ + WindowExecutionId: string | undefined; + /** + * @public + *

The ID of the specific task execution in the maintenance window task that should be + * retrieved.

+ */ + TaskId: string | undefined; +} +/** + * @public + */ +export interface GetMaintenanceWindowExecutionTaskResult { + /** + * @public + *

The ID of the maintenance window execution that includes the task.

+ */ + WindowExecutionId?: string; + /** + * @public + *

The ID of the specific task execution in the maintenance window task that was + * retrieved.

+ */ + TaskExecutionId?: string; + /** + * @public + *

The Amazon Resource Name (ARN) of the task that ran.

+ */ + TaskArn?: string; + /** + * @public + *

The role that was assumed when running the task.

+ */ + ServiceRole?: string; + /** + * @public + *

The type of task that was run.

+ */ + Type?: MaintenanceWindowTaskType; + /** + * @public + *

The parameters passed to the task when it was run.

+ * + *

+ * TaskParameters has been deprecated. To specify parameters to pass to a task when it runs, + * instead use the Parameters option in the TaskInvocationParameters structure. For information + * about how Systems Manager handles these options for the supported maintenance window task + * types, see MaintenanceWindowTaskInvocationParameters.

+ *
+ *

The map has the following format:

+ *
    + *
  • + *

    + * Key: string, between 1 and 255 characters

    + *
  • + *
  • + *

    + * Value: an array of strings, each between 1 and 255 characters

    + *
  • + *
+ */ + TaskParameters?: Record[]; + /** + * @public + *

The priority of the task.

+ */ + Priority?: number; + /** + * @public + *

The defined maximum number of task executions that could be run in parallel.

+ */ + MaxConcurrency?: string; + /** + * @public + *

The defined maximum number of task execution errors allowed before scheduling of the task + * execution would have been stopped.

+ */ + MaxErrors?: string; + /** + * @public + *

The status of the task.

+ */ + Status?: MaintenanceWindowExecutionStatus; + /** + * @public + *

The details explaining the status. Not available for all status values.

+ */ + StatusDetails?: string; + /** + * @public + *

The time the task execution started.

+ */ + StartTime?: Date; + /** + * @public + *

The time the task execution completed.

+ */ + EndTime?: Date; + /** + * @public + *

The details for the CloudWatch alarm you applied to your maintenance window + * task.

+ */ + AlarmConfiguration?: AlarmConfiguration; + /** + * @public + *

The CloudWatch alarms that were invoked by the maintenance window task.

+ */ + TriggeredAlarms?: AlarmStateInformation[]; +} +/** + * @public + */ +export interface GetMaintenanceWindowExecutionTaskInvocationRequest { + /** + * @public + *

The ID of the maintenance window execution for which the task is a part.

+ */ + WindowExecutionId: string | undefined; + /** + * @public + *

The ID of the specific task in the maintenance window task that should be retrieved.

+ */ + TaskId: string | undefined; + /** + * @public + *

The invocation ID to retrieve.

+ */ + InvocationId: string | undefined; +} +/** + * @public + */ +export interface GetMaintenanceWindowExecutionTaskInvocationResult { + /** + * @public + *

The maintenance window execution ID.

+ */ + WindowExecutionId?: string; + /** + * @public + *

The task execution ID.

+ */ + TaskExecutionId?: string; + /** + * @public + *

The invocation ID.

+ */ + InvocationId?: string; + /** + * @public + *

The execution ID.

+ */ + ExecutionId?: string; + /** + * @public + *

Retrieves the task type for a maintenance window.

+ */ + TaskType?: MaintenanceWindowTaskType; + /** + * @public + *

The parameters used at the time that the task ran.

+ */ + Parameters?: string; + /** + * @public + *

The task status for an invocation.

+ */ + Status?: MaintenanceWindowExecutionStatus; + /** + * @public + *

The details explaining the status. Details are only available for certain status + * values.

+ */ + StatusDetails?: string; + /** + * @public + *

The time that the task started running on the target.

+ */ + StartTime?: Date; + /** + * @public + *

The time that the task finished running on the target.

+ */ + EndTime?: Date; + /** + * @public + *

User-provided value to be included in any Amazon CloudWatch Events or Amazon EventBridge + * events raised while running tasks for these targets in this maintenance window.

+ */ + OwnerInformation?: string; + /** + * @public + *

The maintenance window target ID.

+ */ + WindowTargetId?: string; +} +/** + * @public + */ +export interface GetMaintenanceWindowTaskRequest { + /** + * @public + *

The maintenance window ID that includes the task to retrieve.

+ */ + WindowId: string | undefined; + /** + * @public + *

The maintenance window task ID to retrieve.

+ */ + WindowTaskId: string | undefined; +} +/** + * @public + *

The parameters for an AUTOMATION task type.

+ */ +export interface MaintenanceWindowAutomationParameters { + /** + * @public + *

The version of an Automation runbook to use during task execution.

+ */ + DocumentVersion?: string; + /** + * @public + *

The parameters for the AUTOMATION task.

+ *

For information about specifying and updating task parameters, see RegisterTaskWithMaintenanceWindow and UpdateMaintenanceWindowTask.

+ * + *

+ * LoggingInfo has been deprecated. To specify an Amazon Simple Storage Service (Amazon S3) bucket to contain logs, instead use the + * OutputS3BucketName and OutputS3KeyPrefix options in the TaskInvocationParameters structure. + * For information about how Amazon Web Services Systems Manager handles these options for the supported maintenance + * window task types, see MaintenanceWindowTaskInvocationParameters.

+ *

+ * TaskParameters has been deprecated. To specify parameters to pass to a task when it runs, + * instead use the Parameters option in the TaskInvocationParameters structure. For information + * about how Systems Manager handles these options for the supported maintenance window task + * types, see MaintenanceWindowTaskInvocationParameters.

+ *

For AUTOMATION task types, Amazon Web Services Systems Manager ignores any values specified for these + * parameters.

+ *
+ */ + Parameters?: Record; +} +/** + * @public + *

The parameters for a LAMBDA task type.

+ *

For information about specifying and updating task parameters, see RegisterTaskWithMaintenanceWindow and UpdateMaintenanceWindowTask.

+ * + *

+ * LoggingInfo has been deprecated. To specify an Amazon Simple Storage Service (Amazon S3) bucket to contain logs, instead use the + * OutputS3BucketName and OutputS3KeyPrefix options in the TaskInvocationParameters structure. + * For information about how Amazon Web Services Systems Manager handles these options for the supported maintenance + * window task types, see MaintenanceWindowTaskInvocationParameters.

+ *

+ * TaskParameters has been deprecated. To specify parameters to pass to a task when it runs, + * instead use the Parameters option in the TaskInvocationParameters structure. For information + * about how Systems Manager handles these options for the supported maintenance window task + * types, see MaintenanceWindowTaskInvocationParameters.

+ *

For Lambda tasks, Systems Manager ignores any values specified for TaskParameters and + * LoggingInfo.

+ *
+ */ +export interface MaintenanceWindowLambdaParameters { + /** + * @public + *

Pass client-specific information to the Lambda function that you are + * invoking. You can then process the client information in your Lambda function as you + * choose through the context variable.

+ */ + ClientContext?: string; + /** + * @public + *

(Optional) Specify an Lambda function version or alias name. If you specify a + * function version, the operation uses the qualified function Amazon Resource Name (ARN) to invoke + * a specific Lambda function. If you specify an alias name, the operation uses the + * alias ARN to invoke the Lambda function version to which the alias points.

+ */ + Qualifier?: string; + /** + * @public + *

JSON to provide to your Lambda function as input.

+ */ + Payload?: Uint8Array; +} +/** + * @public + * @enum + */ +export declare const NotificationEvent: { + readonly ALL: "All"; + readonly CANCELLED: "Cancelled"; + readonly FAILED: "Failed"; + readonly IN_PROGRESS: "InProgress"; + readonly SUCCESS: "Success"; + readonly TIMED_OUT: "TimedOut"; +}; +/** + * @public + */ +export type NotificationEvent = (typeof NotificationEvent)[keyof typeof NotificationEvent]; +/** + * @public + * @enum + */ +export declare const NotificationType: { + readonly Command: "Command"; + readonly Invocation: "Invocation"; +}; +/** + * @public + */ +export type NotificationType = (typeof NotificationType)[keyof typeof NotificationType]; +/** + * @public + *

Configurations for sending notifications.

+ */ +export interface NotificationConfig { + /** + * @public + *

An Amazon Resource Name (ARN) for an Amazon Simple Notification Service (Amazon SNS) topic. Run + * Command pushes notifications about command status changes to this topic.

+ */ + NotificationArn?: string; + /** + * @public + *

The different events for which you can receive notifications. To learn more about these + * events, see Monitoring Systems Manager status + * changes using Amazon SNS notifications in the + * Amazon Web Services Systems Manager User Guide.

+ */ + NotificationEvents?: NotificationEvent[]; + /** + * @public + *

The type of notification.

+ *
    + *
  • + *

    + * Command: Receive notification when the status of a command changes.

    + *
  • + *
  • + *

    + * Invocation: For commands sent to multiple managed nodes, receive notification + * on a per-node basis when the status of a command changes.

    + *
  • + *
+ */ + NotificationType?: NotificationType; +} +/** + * @public + *

The parameters for a RUN_COMMAND task type.

+ *

For information about specifying and updating task parameters, see RegisterTaskWithMaintenanceWindow and UpdateMaintenanceWindowTask.

+ * + *

+ * LoggingInfo has been deprecated. To specify an Amazon Simple Storage Service (Amazon S3) bucket to contain logs, instead use the + * OutputS3BucketName and OutputS3KeyPrefix options in the TaskInvocationParameters structure. + * For information about how Amazon Web Services Systems Manager handles these options for the supported maintenance + * window task types, see MaintenanceWindowTaskInvocationParameters.

+ *

+ * TaskParameters has been deprecated. To specify parameters to pass to a task when it runs, + * instead use the Parameters option in the TaskInvocationParameters structure. For information + * about how Systems Manager handles these options for the supported maintenance window task + * types, see MaintenanceWindowTaskInvocationParameters.

+ *

For RUN_COMMAND tasks, Systems Manager uses specified values for + * TaskParameters and LoggingInfo only if no values are specified for + * TaskInvocationParameters.

+ *
+ */ +export interface MaintenanceWindowRunCommandParameters { + /** + * @public + *

Information about the commands to run.

+ */ + Comment?: string; + /** + * @public + *

Configuration options for sending command output to Amazon CloudWatch Logs.

+ */ + CloudWatchOutputConfig?: CloudWatchOutputConfig; + /** + * @public + *

The SHA-256 or SHA-1 hash created by the system when the document was created. SHA-1 hashes + * have been deprecated.

+ */ + DocumentHash?: string; + /** + * @public + *

SHA-256 or SHA-1. SHA-1 hashes have been deprecated.

+ */ + DocumentHashType?: DocumentHashType; + /** + * @public + *

The Amazon Web Services Systems Manager document (SSM document) version to use in the request. You can specify + * $DEFAULT, $LATEST, or a specific version number. If you run commands + * by using the Amazon Web Services CLI, then you must escape the first two options by using a backslash. If you + * specify a version number, then you don't need to use the backslash. For example:

+ *

+ * --document-version "\$DEFAULT" + *

+ *

+ * --document-version "\$LATEST" + *

+ *

+ * --document-version "3" + *

+ */ + DocumentVersion?: string; + /** + * @public + *

Configurations for sending notifications about command status changes on a per-managed node + * basis.

+ */ + NotificationConfig?: NotificationConfig; + /** + * @public + *

The name of the Amazon Simple Storage Service (Amazon S3) bucket.

+ */ + OutputS3BucketName?: string; + /** + * @public + *

The S3 bucket subfolder.

+ */ + OutputS3KeyPrefix?: string; + /** + * @public + *

The parameters for the RUN_COMMAND task execution.

+ */ + Parameters?: Record; + /** + * @public + *

The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) service role to use to publish Amazon Simple Notification Service + * (Amazon SNS) notifications for maintenance window Run Command tasks.

+ */ + ServiceRoleArn?: string; + /** + * @public + *

If this time is reached and the command hasn't already started running, it doesn't + * run.

+ */ + TimeoutSeconds?: number; +} +/** + * @public + *

The parameters for a STEP_FUNCTIONS task.

+ *

For information about specifying and updating task parameters, see RegisterTaskWithMaintenanceWindow and UpdateMaintenanceWindowTask.

+ * + *

+ * LoggingInfo has been deprecated. To specify an Amazon Simple Storage Service (Amazon S3) bucket to contain logs, instead use the + * OutputS3BucketName and OutputS3KeyPrefix options in the TaskInvocationParameters structure. + * For information about how Amazon Web Services Systems Manager handles these options for the supported maintenance + * window task types, see MaintenanceWindowTaskInvocationParameters.

+ *

+ * TaskParameters has been deprecated. To specify parameters to pass to a task when it runs, + * instead use the Parameters option in the TaskInvocationParameters structure. For information + * about how Systems Manager handles these options for the supported maintenance window task + * types, see MaintenanceWindowTaskInvocationParameters.

+ *

For Step Functions tasks, Systems Manager ignores any values specified for + * TaskParameters and LoggingInfo.

+ *
+ */ +export interface MaintenanceWindowStepFunctionsParameters { + /** + * @public + *

The inputs for the STEP_FUNCTIONS task.

+ */ + Input?: string; + /** + * @public + *

The name of the STEP_FUNCTIONS task.

+ */ + Name?: string; +} +/** + * @public + *

The parameters for task execution.

+ */ +export interface MaintenanceWindowTaskInvocationParameters { + /** + * @public + *

The parameters for a RUN_COMMAND task type.

+ */ + RunCommand?: MaintenanceWindowRunCommandParameters; + /** + * @public + *

The parameters for an AUTOMATION task type.

+ */ + Automation?: MaintenanceWindowAutomationParameters; + /** + * @public + *

The parameters for a STEP_FUNCTIONS task type.

+ */ + StepFunctions?: MaintenanceWindowStepFunctionsParameters; + /** + * @public + *

The parameters for a LAMBDA task type.

+ */ + Lambda?: MaintenanceWindowLambdaParameters; +} +/** + * @public + */ +export interface GetMaintenanceWindowTaskResult { + /** + * @public + *

The retrieved maintenance window ID.

+ */ + WindowId?: string; + /** + * @public + *

The retrieved maintenance window task ID.

+ */ + WindowTaskId?: string; + /** + * @public + *

The targets where the task should run.

+ */ + Targets?: Target[]; + /** + * @public + *

The resource that the task used during execution. For RUN_COMMAND and + * AUTOMATION task types, the value of TaskArn is the SSM document + * name/ARN. For LAMBDA tasks, the value is the function name/ARN. For + * STEP_FUNCTIONS tasks, the value is the state machine ARN.

+ */ + TaskArn?: string; + /** + * @public + *

The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) service role to use to publish Amazon Simple Notification Service + * (Amazon SNS) notifications for maintenance window Run Command tasks.

+ */ + ServiceRoleArn?: string; + /** + * @public + *

The type of task to run.

+ */ + TaskType?: MaintenanceWindowTaskType; + /** + * @public + *

The parameters to pass to the task when it runs.

+ * + *

+ * TaskParameters has been deprecated. To specify parameters to pass to a task when it runs, + * instead use the Parameters option in the TaskInvocationParameters structure. For information + * about how Systems Manager handles these options for the supported maintenance window task + * types, see MaintenanceWindowTaskInvocationParameters.

+ *
+ */ + TaskParameters?: Record; + /** + * @public + *

The parameters to pass to the task when it runs.

+ */ + TaskInvocationParameters?: MaintenanceWindowTaskInvocationParameters; + /** + * @public + *

The priority of the task when it runs. The lower the number, the higher the priority. Tasks + * that have the same priority are scheduled in parallel.

+ */ + Priority?: number; + /** + * @public + *

The maximum number of targets allowed to run this task in parallel.

+ * + *

For maintenance window tasks without a target specified, you can't supply a value for this + * option. Instead, the system inserts a placeholder value of 1, which may be reported + * in the response to this command. This value doesn't affect the running of your task and can be + * ignored.

+ *
+ */ + MaxConcurrency?: string; + /** + * @public + *

The maximum number of errors allowed before the task stops being scheduled.

+ * + *

For maintenance window tasks without a target specified, you can't supply a value for this + * option. Instead, the system inserts a placeholder value of 1, which may be reported + * in the response to this command. This value doesn't affect the running of your task and can be + * ignored.

+ *
+ */ + MaxErrors?: string; + /** + * @public + *

The location in Amazon Simple Storage Service (Amazon S3) where the task results are + * logged.

+ * + *

+ * LoggingInfo has been deprecated. To specify an Amazon Simple Storage Service (Amazon S3) bucket to contain logs, instead use the + * OutputS3BucketName and OutputS3KeyPrefix options in the TaskInvocationParameters structure. + * For information about how Amazon Web Services Systems Manager handles these options for the supported maintenance + * window task types, see MaintenanceWindowTaskInvocationParameters.

+ *
+ */ + LoggingInfo?: LoggingInfo; + /** + * @public + *

The retrieved task name.

+ */ + Name?: string; + /** + * @public + *

The retrieved task description.

+ */ + Description?: string; + /** + * @public + *

The action to take on tasks when the maintenance window cutoff time is reached. + * CONTINUE_TASK means that tasks continue to run. For Automation, Lambda, Step Functions tasks, CANCEL_TASK means that currently + * running task invocations continue, but no new task invocations are started. For Run Command + * tasks, CANCEL_TASK means the system attempts to stop the task by sending a + * CancelCommand operation.

+ */ + CutoffBehavior?: MaintenanceWindowTaskCutoffBehavior; + /** + * @public + *

The details for the CloudWatch alarm you applied to your maintenance window + * task.

+ */ + AlarmConfiguration?: AlarmConfiguration; +} +/** + * @public + */ +export interface GetOpsItemRequest { + /** + * @public + *

The ID of the OpsItem that you want to get.

+ */ + OpsItemId: string | undefined; + /** + * @public + *

The OpsItem Amazon Resource Name (ARN).

+ */ + OpsItemArn?: string; +} +/** + * @public + *

Operations engineers and IT professionals use Amazon Web Services Systems Manager OpsCenter to view, investigate, and + * remediate operational work items (OpsItems) impacting the performance and health of their Amazon Web Services + * resources. OpsCenter is integrated with Amazon EventBridge and Amazon CloudWatch. This + * means you can configure these services to automatically create an OpsItem in OpsCenter when a + * CloudWatch alarm enters the ALARM state or when EventBridge processes an event from + * any Amazon Web Services service that publishes events. Configuring Amazon CloudWatch alarms and EventBridge events to automatically create OpsItems allows you to quickly diagnose and remediate + * issues with Amazon Web Services resources from a single console.

+ *

To help you diagnose issues, each OpsItem includes contextually relevant information such as + * the name and ID of the Amazon Web Services resource that generated the OpsItem, alarm or event details, alarm + * history, and an alarm timeline graph. For the Amazon Web Services resource, OpsCenter aggregates information + * from Config, CloudTrail logs, and EventBridge, so you don't have + * to navigate across multiple console pages during your investigation. For more information, see + * OpsCenter in the Amazon Web Services Systems Manager User Guide.

+ */ +export interface OpsItem { + /** + * @public + *

The ARN of the Amazon Web Services account that created the OpsItem.

+ */ + CreatedBy?: string; + /** + * @public + *

The type of OpsItem. Systems Manager supports the following types of OpsItems:

+ *
    + *
  • + *

    + * /aws/issue + *

    + *

    This type of OpsItem is used for default OpsItems created by OpsCenter.

    + *
  • + *
  • + *

    + * /aws/changerequest + *

    + *

    This type of OpsItem is used by Change Manager for reviewing and approving or rejecting change + * requests.

    + *
  • + *
  • + *

    + * /aws/insight + *

    + *

    This type of OpsItem is used by OpsCenter for aggregating and reporting on duplicate + * OpsItems.

    + *
  • + *
+ */ + OpsItemType?: string; + /** + * @public + *

The date and time the OpsItem was created.

+ */ + CreatedTime?: Date; + /** + * @public + *

The OpsItem description.

+ */ + Description?: string; + /** + * @public + *

The ARN of the Amazon Web Services account that last updated the OpsItem.

+ */ + LastModifiedBy?: string; + /** + * @public + *

The date and time the OpsItem was last updated.

+ */ + LastModifiedTime?: Date; + /** + * @public + *

The Amazon Resource Name (ARN) of an Amazon Simple Notification Service (Amazon SNS) topic where + * notifications are sent when this OpsItem is edited or changed.

+ */ + Notifications?: OpsItemNotification[]; + /** + * @public + *

The importance of this OpsItem in relation to other OpsItems in the system.

+ */ + Priority?: number; + /** + * @public + *

One or more OpsItems that share something in common with the current OpsItem. For example, + * related OpsItems can include OpsItems with similar error messages, impacted resources, or + * statuses for the impacted resource.

+ */ + RelatedOpsItems?: RelatedOpsItem[]; + /** + * @public + *

The OpsItem status. Status can be Open, In Progress, or + * Resolved. For more information, see Editing OpsItem details in the Amazon Web Services Systems Manager User Guide.

+ */ + Status?: OpsItemStatus; + /** + * @public + *

The ID of the OpsItem.

+ */ + OpsItemId?: string; + /** + * @public + *

The version of this OpsItem. Each time the OpsItem is edited the version number increments + * by one.

+ */ + Version?: string; + /** + * @public + *

A short heading that describes the nature of the OpsItem and the impacted resource.

+ */ + Title?: string; + /** + * @public + *

The origin of the OpsItem, such as Amazon EC2 or Systems Manager. The impacted resource is a subset of + * source.

+ */ + Source?: string; + /** + * @public + *

Operational data is custom data that provides useful reference details about the OpsItem. + * For example, you can specify log files, error strings, license keys, troubleshooting tips, or + * other relevant data. You enter operational data as key-value pairs. The key has a maximum length + * of 128 characters. The value has a maximum size of 20 KB.

+ * + *

Operational data keys can't begin with the following: + * amazon, aws, amzn, ssm, + * /amazon, /aws, /amzn, /ssm.

+ *
+ *

You can choose to make the data searchable by other users in the account or you can restrict + * search access. Searchable data means that all users with access to the OpsItem Overview page (as + * provided by the DescribeOpsItems API operation) can view and search on the + * specified data. Operational data that isn't searchable is only viewable by users who have access + * to the OpsItem (as provided by the GetOpsItem API operation).

+ *

Use the /aws/resources key in OperationalData to specify a related resource in + * the request. Use the /aws/automations key in OperationalData to associate an + * Automation runbook with the OpsItem. To view Amazon Web Services CLI example commands that use these keys, see + * Creating OpsItems + * manually in the Amazon Web Services Systems Manager User Guide.

+ */ + OperationalData?: Record; + /** + * @public + *

An OpsItem category. Category options include: Availability, Cost, Performance, Recovery, + * Security.

+ */ + Category?: string; + /** + * @public + *

The severity of the OpsItem. Severity options range from 1 to 4.

+ */ + Severity?: string; + /** + * @public + *

The time a runbook workflow started. Currently reported only for the OpsItem type + * /aws/changerequest.

+ */ + ActualStartTime?: Date; + /** + * @public + *

The time a runbook workflow ended. Currently reported only for the OpsItem type + * /aws/changerequest.

+ */ + ActualEndTime?: Date; + /** + * @public + *

The time specified in a change request for a runbook workflow to start. Currently supported + * only for the OpsItem type /aws/changerequest.

+ */ + PlannedStartTime?: Date; + /** + * @public + *

The time specified in a change request for a runbook workflow to end. Currently supported + * only for the OpsItem type /aws/changerequest.

+ */ + PlannedEndTime?: Date; + /** + * @public + *

The OpsItem Amazon Resource Name (ARN).

+ */ + OpsItemArn?: string; +} +/** + * @public + */ +export interface GetOpsItemResponse { + /** + * @public + *

The OpsItem.

+ */ + OpsItem?: OpsItem; +} +/** + * @public + */ +export interface GetOpsMetadataRequest { + /** + * @public + *

The Amazon Resource Name (ARN) of an OpsMetadata Object to view.

+ */ + OpsMetadataArn: string | undefined; + /** + * @public + *

The maximum number of items to return for this call. The call also returns a token that you + * can specify in a subsequent call to get the next set of results.

+ */ + MaxResults?: number; + /** + * @public + *

A token to start the list. Use this token to get the next set of results.

+ */ + NextToken?: string; +} +/** + * @public + */ +export interface GetOpsMetadataResult { + /** + * @public + *

The resource ID of the Application Manager application.

+ */ + ResourceId?: string; + /** + * @public + *

OpsMetadata for an Application Manager application.

+ */ + Metadata?: Record; + /** + * @public + *

The token for the next set of items to return. Use this token to get the next set of + * results.

+ */ + NextToken?: string; +} +/** + * @public + * @enum + */ +export declare const OpsFilterOperatorType: { + readonly BEGIN_WITH: "BeginWith"; + readonly EQUAL: "Equal"; + readonly EXISTS: "Exists"; + readonly GREATER_THAN: "GreaterThan"; + readonly LESS_THAN: "LessThan"; + readonly NOT_EQUAL: "NotEqual"; +}; +/** + * @public + */ +export type OpsFilterOperatorType = (typeof OpsFilterOperatorType)[keyof typeof OpsFilterOperatorType]; +/** + * @public + *

A filter for viewing OpsData summaries.

+ */ +export interface OpsFilter { + /** + * @public + *

The name of the filter.

+ */ + Key: string | undefined; + /** + * @public + *

The filter value.

+ */ + Values: string[] | undefined; + /** + * @public + *

The type of filter.

+ */ + Type?: OpsFilterOperatorType; +} +/** + * @public + *

The OpsItem data type to return.

+ */ +export interface OpsResultAttribute { + /** + * @public + *

Name of the data type. Valid value: AWS:OpsItem, + * AWS:EC2InstanceInformation, AWS:OpsItemTrendline, or + * AWS:ComplianceSummary.

+ */ + TypeName: string | undefined; +} +/** + * @public + *

The OpsData summary.

+ */ +export interface OpsEntityItem { + /** + * @public + *

The time the OpsData was captured.

+ */ + CaptureTime?: string; + /** + * @public + *

The details of an OpsData summary.

+ */ + Content?: Record[]; +} +/** + * @public + *

The result of the query.

+ */ +export interface OpsEntity { + /** + * @public + *

The query ID.

+ */ + Id?: string; + /** + * @public + *

The data returned by the query.

+ */ + Data?: Record; +} +/** + * @public + */ +export interface GetOpsSummaryResult { + /** + * @public + *

The list of aggregated details and filtered OpsData.

+ */ + Entities?: OpsEntity[]; + /** + * @public + *

The token for the next set of items to return. Use this token to get the next set of + * results.

+ */ + NextToken?: string; +} +/** + * @public + */ +export interface GetParameterRequest { + /** + * @public + *

The name of the parameter you want to query.

+ *

To query by parameter label, use "Name": "name:label". To query by parameter + * version, use "Name": "name:version".

+ */ + Name: string | undefined; + /** + * @public + *

Return decrypted values for secure string parameters. This flag is ignored for + * String and StringList parameter types.

+ */ + WithDecryption?: boolean; +} +/** + * @public + *

An Amazon Web Services Systems Manager parameter in Parameter Store.

+ */ +export interface Parameter { + /** + * @public + *

The name of the parameter.

+ */ + Name?: string; + /** + * @public + *

The type of parameter. Valid values include the following: String, + * StringList, and SecureString.

+ * + *

If type is StringList, the system returns a comma-separated string with no + * spaces between commas in the Value field.

+ *
+ */ + Type?: ParameterType; + /** + * @public + *

The parameter value.

+ * + *

If type is StringList, the system returns a comma-separated string with no + * spaces between commas in the Value field.

+ *
+ */ + Value?: string; + /** + * @public + *

The parameter version.

+ */ + Version?: number; + /** + * @public + *

Either the version number or the label used to retrieve the parameter value. Specify + * selectors by using one of the following formats:

+ *

parameter_name:version

+ *

parameter_name:label

+ */ + Selector?: string; + /** + * @public + *

Applies to parameters that reference information in other Amazon Web Services services. + * SourceResult is the raw result or response from the source.

+ */ + SourceResult?: string; + /** + * @public + *

Date the parameter was last changed or updated and the parameter version was created.

+ */ + LastModifiedDate?: Date; + /** + * @public + *

The Amazon Resource Name (ARN) of the parameter.

+ */ + ARN?: string; + /** + * @public + *

The data type of the parameter, such as text or aws:ec2:image. The + * default is text.

+ */ + DataType?: string; +} +/** + * @public + */ +export interface GetParameterResult { + /** + * @public + *

Information about a parameter.

+ */ + Parameter?: Parameter; +} +/** + * @public + *

The query key ID isn't valid.

+ */ +export declare class InvalidKeyId extends __BaseException { + readonly name: "InvalidKeyId"; + readonly $fault: "client"; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + *

The specified parameter version wasn't found. Verify the parameter name and version, and try + * again.

+ */ +export declare class ParameterVersionNotFound extends __BaseException { + readonly name: "ParameterVersionNotFound"; + readonly $fault: "client"; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + */ +export interface GetParameterHistoryRequest { + /** + * @public + *

The name of the parameter for which you want to review history.

+ */ + Name: string | undefined; + /** + * @public + *

Return decrypted values for secure string parameters. This flag is ignored for + * String and StringList parameter types.

+ */ + WithDecryption?: boolean; + /** + * @public + *

The maximum number of items to return for this call. The call also returns a token that you + * can specify in a subsequent call to get the next set of results.

+ */ + MaxResults?: number; + /** + * @public + *

The token for the next set of items to return. (You received this token from a previous + * call.)

+ */ + NextToken?: string; +} +/** + * @public + *

Information about parameter usage.

+ */ +export interface ParameterHistory { + /** + * @public + *

The name of the parameter.

+ */ + Name?: string; + /** + * @public + *

The type of parameter used.

+ */ + Type?: ParameterType; + /** + * @public + *

The ID of the query key used for this parameter.

+ */ + KeyId?: string; + /** + * @public + *

Date the parameter was last changed or updated.

+ */ + LastModifiedDate?: Date; + /** + * @public + *

Amazon Resource Name (ARN) of the Amazon Web Services user who last changed the parameter.

+ */ + LastModifiedUser?: string; + /** + * @public + *

Information about the parameter.

+ */ + Description?: string; + /** + * @public + *

The parameter value.

+ */ + Value?: string; + /** + * @public + *

Parameter names can include the following letters and symbols.

+ *

a-zA-Z0-9_.-

+ */ + AllowedPattern?: string; + /** + * @public + *

The parameter version.

+ */ + Version?: number; + /** + * @public + *

Labels assigned to the parameter version.

+ */ + Labels?: string[]; + /** + * @public + *

The parameter tier.

+ */ + Tier?: ParameterTier; + /** + * @public + *

Information about the policies assigned to a parameter.

+ *

+ * Assigning parameter + * policies in the Amazon Web Services Systems Manager User Guide.

+ */ + Policies?: ParameterInlinePolicy[]; + /** + * @public + *

The data type of the parameter, such as text or aws:ec2:image. The + * default is text.

+ */ + DataType?: string; +} +/** + * @public + */ +export interface GetParameterHistoryResult { + /** + * @public + *

A list of parameters returned by the request.

+ */ + Parameters?: ParameterHistory[]; + /** + * @public + *

The token to use when requesting the next set of items. If there are no additional items to + * return, the string is empty.

+ */ + NextToken?: string; +} +/** + * @public + */ +export interface GetParametersRequest { + /** + * @public + *

Names of the parameters for which you want to query information.

+ *

To query by parameter label, use "Name": "name:label". To query by parameter + * version, use "Name": "name:version".

+ */ + Names: string[] | undefined; + /** + * @public + *

Return decrypted secure string value. Return decrypted values for secure string parameters. + * This flag is ignored for String and StringList parameter types.

+ */ + WithDecryption?: boolean; +} +/** + * @public + */ +export interface GetParametersResult { + /** + * @public + *

A list of details for a parameter.

+ */ + Parameters?: Parameter[]; + /** + * @public + *

A list of parameters that aren't formatted correctly or don't run during an + * execution.

+ */ + InvalidParameters?: string[]; +} +/** + * @public + */ +export interface GetParametersByPathRequest { + /** + * @public + *

The hierarchy for the parameter. Hierarchies start with a forward slash (/). The hierarchy + * is the parameter name except the last part of the parameter. For the API call to succeed, the + * last part of the parameter name can't be in the path. A parameter name hierarchy can have a + * maximum of 15 levels. Here is an example of a hierarchy: + * /Finance/Prod/IAD/WinServ2016/license33 + *

+ */ + Path: string | undefined; + /** + * @public + *

Retrieve all parameters within a hierarchy.

+ * + *

If a user has access to a path, then the user can access all levels of that path. For + * example, if a user has permission to access path /a, then the user can also access + * /a/b. Even if a user has explicitly been denied access in IAM for + * parameter /a/b, they can still call the GetParametersByPath API operation + * recursively for /a and view /a/b.

+ *
+ */ + Recursive?: boolean; + /** + * @public + *

Filters to limit the request results.

+ * + *

The following Key values are supported for GetParametersByPath: + * Type, KeyId, and Label.

+ *

The following Key values aren't supported for + * GetParametersByPath: tag, DataType, Name, + * Path, and Tier.

+ *
+ */ + ParameterFilters?: ParameterStringFilter[]; + /** + * @public + *

Retrieve all parameters in a hierarchy with their value decrypted.

+ */ + WithDecryption?: boolean; + /** + * @public + *

The maximum number of items to return for this call. The call also returns a token that you + * can specify in a subsequent call to get the next set of results.

+ */ + MaxResults?: number; + /** + * @public + *

A token to start the list. Use this token to get the next set of results.

+ */ + NextToken?: string; +} +/** + * @public + */ +export interface GetParametersByPathResult { + /** + * @public + *

A list of parameters found in the specified hierarchy.

+ */ + Parameters?: Parameter[]; + /** + * @public + *

The token for the next set of items to return. Use this token to get the next set of + * results.

+ */ + NextToken?: string; +} +/** + * @public + */ +export interface GetPatchBaselineRequest { + /** + * @public + *

The ID of the patch baseline to retrieve.

+ * + *

To retrieve information about an Amazon Web Services managed patch baseline, specify the full Amazon + * Resource Name (ARN) of the baseline. For example, for the baseline + * AWS-AmazonLinuxDefaultPatchBaseline, specify + * arn:aws:ssm:us-east-2:733109147000:patchbaseline/pb-0e392de35e7c563b7 instead of + * pb-0e392de35e7c563b7.

+ *
+ */ + BaselineId: string | undefined; +} +/** + * @public + */ +export interface GetPatchBaselineResult { + /** + * @public + *

The ID of the retrieved patch baseline.

+ */ + BaselineId?: string; + /** + * @public + *

The name of the patch baseline.

+ */ + Name?: string; + /** + * @public + *

Returns the operating system specified for the patch baseline.

+ */ + OperatingSystem?: OperatingSystem; + /** + * @public + *

A set of global filters used to exclude patches from the baseline.

+ */ + GlobalFilters?: PatchFilterGroup; + /** + * @public + *

A set of rules used to include patches in the baseline.

+ */ + ApprovalRules?: PatchRuleGroup; + /** + * @public + *

A list of explicitly approved patches for the baseline.

+ */ + ApprovedPatches?: string[]; + /** + * @public + *

Returns the specified compliance severity level for approved patches in the patch + * baseline.

+ */ + ApprovedPatchesComplianceLevel?: PatchComplianceLevel; + /** + * @public + *

Indicates whether the list of approved patches includes non-security updates that should be + * applied to the managed nodes. The default value is false. Applies to Linux managed + * nodes only.

+ */ + ApprovedPatchesEnableNonSecurity?: boolean; + /** + * @public + *

A list of explicitly rejected patches for the baseline.

+ */ + RejectedPatches?: string[]; + /** + * @public + *

The action specified to take on patches included in the RejectedPatches list. A + * patch can be allowed only if it is a dependency of another package, or blocked entirely along + * with packages that include it as a dependency.

+ */ + RejectedPatchesAction?: PatchAction; + /** + * @public + *

Patch groups included in the patch baseline.

+ */ + PatchGroups?: string[]; + /** + * @public + *

The date the patch baseline was created.

+ */ + CreatedDate?: Date; + /** + * @public + *

The date the patch baseline was last modified.

+ */ + ModifiedDate?: Date; + /** + * @public + *

A description of the patch baseline.

+ */ + Description?: string; + /** + * @public + *

Information about the patches to use to update the managed nodes, including target operating + * systems and source repositories. Applies to Linux managed nodes only.

+ */ + Sources?: PatchSource[]; +} +/** + * @public + */ +export interface GetPatchBaselineForPatchGroupRequest { + /** + * @public + *

The name of the patch group whose patch baseline should be retrieved.

+ */ + PatchGroup: string | undefined; + /** + * @public + *

Returns the operating system rule specified for patch groups using the patch + * baseline.

+ */ + OperatingSystem?: OperatingSystem; +} +/** + * @public + */ +export interface GetPatchBaselineForPatchGroupResult { + /** + * @public + *

The ID of the patch baseline that should be used for the patch group.

+ */ + BaselineId?: string; + /** + * @public + *

The name of the patch group.

+ */ + PatchGroup?: string; + /** + * @public + *

The operating system rule specified for patch groups using the patch baseline.

+ */ + OperatingSystem?: OperatingSystem; +} +/** + * @public + */ +export interface GetResourcePoliciesRequest { + /** + * @public + *

Amazon Resource Name (ARN) of the resource to which the policies are attached.

+ */ + ResourceArn: string | undefined; + /** + * @public + *

A token to start the list. Use this token to get the next set of results.

+ */ + NextToken?: string; + /** + * @public + *

The maximum number of items to return for this call. The call also returns a token that you + * can specify in a subsequent call to get the next set of results.

+ */ + MaxResults?: number; +} +/** + * @public + *

A resource policy helps you to define the IAM entity (for example, an + * Amazon Web Services account) that can manage your Systems Manager resources. Currently, OpsItemGroup is the + * only resource that supports Systems Manager resource policies. The resource policy for + * OpsItemGroup enables Amazon Web Services accounts to view and interact with OpsCenter operational + * work items (OpsItems).

+ */ +export interface GetResourcePoliciesResponseEntry { + /** + * @public + *

A policy ID.

+ */ + PolicyId?: string; + /** + * @public + *

ID of the current policy version. The hash helps to prevent a situation where multiple users + * attempt to overwrite a policy. You must provide this hash when updating or deleting a + * policy.

+ */ + PolicyHash?: string; + /** + * @public + *

A resource policy helps you to define the IAM entity (for example, an + * Amazon Web Services account) that can manage your Systems Manager resources. Currently, OpsItemGroup is the + * only resource that supports Systems Manager resource policies. The resource policy for + * OpsItemGroup enables Amazon Web Services accounts to view and interact with OpsCenter operational + * work items (OpsItems).

+ */ + Policy?: string; +} +/** + * @public + */ +export interface GetResourcePoliciesResponse { + /** + * @public + *

The token for the next set of items to return. Use this token to get the next set of + * results.

+ */ + NextToken?: string; + /** + * @public + *

An array of the Policy object.

+ */ + Policies?: GetResourcePoliciesResponseEntry[]; +} +/** + * @public + *

The request body of the GetServiceSetting API operation.

+ */ +export interface GetServiceSettingRequest { + /** + * @public + *

The ID of the service setting to get. The setting ID can be one of the following.

+ *
    + *
  • + *

    + * /ssm/managed-instance/default-ec2-instance-management-role + *

    + *
  • + *
  • + *

    + * /ssm/automation/customer-script-log-destination + *

    + *
  • + *
  • + *

    + * /ssm/automation/customer-script-log-group-name + *

    + *
  • + *
  • + *

    + * /ssm/documents/console/public-sharing-permission + *

    + *
  • + *
  • + *

    + * /ssm/managed-instance/activation-tier + *

    + *
  • + *
  • + *

    + * /ssm/opsinsights/opscenter + *

    + *
  • + *
  • + *

    + * /ssm/parameter-store/default-parameter-tier + *

    + *
  • + *
  • + *

    + * /ssm/parameter-store/high-throughput-enabled + *

    + *
  • + *
+ */ + SettingId: string | undefined; +} +/** + * @public + *

The service setting data structure.

+ *

+ * ServiceSetting is an account-level setting for an Amazon Web Services service. This setting + * defines how a user interacts with or uses a service or a feature of a service. For example, if an + * Amazon Web Services service charges money to the account based on feature or service usage, then the Amazon Web Services + * service team might create a default setting of "false". This means the user can't use this + * feature unless they change the setting to "true" and intentionally opt in for a paid + * feature.

+ *

Services map a SettingId object to a setting value. Amazon Web Services services teams define + * the default value for a SettingId. You can't create a new SettingId, + * but you can overwrite the default value if you have the ssm:UpdateServiceSetting + * permission for the setting. Use the UpdateServiceSetting API operation to + * change the default setting. Or, use the ResetServiceSetting to change the value + * back to the original value defined by the Amazon Web Services service team.

+ */ +export interface ServiceSetting { + /** + * @public + *

The ID of the service setting.

+ */ + SettingId?: string; + /** + * @public + *

The value of the service setting.

+ */ + SettingValue?: string; + /** + * @public + *

The last time the service setting was modified.

+ */ + LastModifiedDate?: Date; + /** + * @public + *

The ARN of the last modified user. This field is populated only if the setting value was + * overwritten.

+ */ + LastModifiedUser?: string; + /** + * @public + *

The ARN of the service setting.

+ */ + ARN?: string; + /** + * @public + *

The status of the service setting. The value can be Default, Customized or + * PendingUpdate.

+ *
    + *
  • + *

    Default: The current setting uses a default value provisioned by the Amazon Web Services service + * team.

    + *
  • + *
  • + *

    Customized: The current setting use a custom value specified by the customer.

    + *
  • + *
  • + *

    PendingUpdate: The current setting uses a default or custom value, but a setting change + * request is pending approval.

    + *
  • + *
+ */ + Status?: string; +} +/** + * @public + *

The query result body of the GetServiceSetting API operation.

+ */ +export interface GetServiceSettingResult { + /** + * @public + *

The query result of the current service setting.

+ */ + ServiceSetting?: ServiceSetting; +} +/** + * @public + *

The specified service setting wasn't found. Either the service name or the setting hasn't + * been provisioned by the Amazon Web Services service team.

+ */ +export declare class ServiceSettingNotFound extends __BaseException { + readonly name: "ServiceSettingNotFound"; + readonly $fault: "client"; + Message?: string; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + */ +export interface LabelParameterVersionRequest { + /** + * @public + *

The parameter name on which you want to attach one or more labels.

+ */ + Name: string | undefined; + /** + * @public + *

The specific version of the parameter on which you want to attach one or more labels. If no + * version is specified, the system attaches the label to the latest version.

+ */ + ParameterVersion?: number; + /** + * @public + *

One or more labels to attach to the specified parameter version.

+ */ + Labels: string[] | undefined; +} +/** + * @public + */ +export interface LabelParameterVersionResult { + /** + * @public + *

The label doesn't meet the requirements. For information about parameter label requirements, + * see Labeling parameters + * in the Amazon Web Services Systems Manager User Guide.

+ */ + InvalidLabels?: string[]; + /** + * @public + *

The version of the parameter that has been labeled.

+ */ + ParameterVersion?: number; +} +/** + * @public + *

A parameter version can have a maximum of ten labels.

+ */ +export declare class ParameterVersionLabelLimitExceeded extends __BaseException { + readonly name: "ParameterVersionLabelLimitExceeded"; + readonly $fault: "client"; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + * @enum + */ +export declare const AssociationFilterKey: { + readonly AssociationId: "AssociationId"; + readonly AssociationName: "AssociationName"; + readonly InstanceId: "InstanceId"; + readonly LastExecutedAfter: "LastExecutedAfter"; + readonly LastExecutedBefore: "LastExecutedBefore"; + readonly Name: "Name"; + readonly ResourceGroupName: "ResourceGroupName"; + readonly Status: "AssociationStatusName"; +}; +/** + * @public + */ +export type AssociationFilterKey = (typeof AssociationFilterKey)[keyof typeof AssociationFilterKey]; +/** + * @public + *

Describes a filter.

+ */ +export interface AssociationFilter { + /** + * @public + *

The name of the filter.

+ * + *

+ * InstanceId has been deprecated.

+ *
+ */ + key: AssociationFilterKey | undefined; + /** + * @public + *

The filter value.

+ */ + value: string | undefined; +} +/** + * @public + */ +export interface ListAssociationsRequest { + /** + * @public + *

One or more filters. Use a filter to return a more specific list of results.

+ * + *

Filtering associations using the InstanceID attribute only returns legacy + * associations created using the InstanceID attribute. Associations targeting the + * managed node that are part of the Target Attributes ResourceGroup or + * Tags aren't returned.

+ *
+ */ + AssociationFilterList?: AssociationFilter[]; + /** + * @public + *

The maximum number of items to return for this call. The call also returns a token that you + * can specify in a subsequent call to get the next set of results.

+ */ + MaxResults?: number; + /** + * @public + *

The token for the next set of items to return. (You received this token from a previous + * call.)

+ */ + NextToken?: string; +} +/** + * @public + *

Describes an association of a Amazon Web Services Systems Manager document (SSM document) and a managed node.

+ */ +export interface Association { + /** + * @public + *

The name of the SSM document.

+ */ + Name?: string; + /** + * @public + *

The managed node ID.

+ */ + InstanceId?: string; + /** + * @public + *

The ID created by the system when you create an association. An association is a binding + * between a document and a set of targets with a schedule.

+ */ + AssociationId?: string; + /** + * @public + *

The association version.

+ */ + AssociationVersion?: string; + /** + * @public + *

The version of the document used in the association. If you change a document version for a + * State Manager association, Systems Manager immediately runs the association unless you previously specifed + * the apply-only-at-cron-interval parameter.

+ * + *

State Manager doesn't support running associations that use a new version of a document if + * that document is shared from another account. State Manager always runs the default + * version of a document if shared from another account, even though the Systems Manager console shows that a + * new version was processed. If you want to run an association using a new version of a document + * shared form another account, you must set the document version to default.

+ *
+ */ + DocumentVersion?: string; + /** + * @public + *

The managed nodes targeted by the request to create an association. You can target all + * managed nodes in an Amazon Web Services account by specifying the InstanceIds key with a value of + * *.

+ */ + Targets?: Target[]; + /** + * @public + *

The date on which the association was last run.

+ */ + LastExecutionDate?: Date; + /** + * @public + *

Information about the association.

+ */ + Overview?: AssociationOverview; + /** + * @public + *

A cron expression that specifies a schedule when the association runs. The schedule runs in + * Coordinated Universal Time (UTC).

+ */ + ScheduleExpression?: string; + /** + * @public + *

The association name.

+ */ + AssociationName?: string; + /** + * @public + *

Number of days to wait after the scheduled day to run an association.

+ */ + ScheduleOffset?: number; + /** + * @public + *

A key-value mapping of document parameters to target resources. Both Targets and TargetMaps + * can't be specified together.

+ */ + TargetMaps?: Record[]; +} +/** + * @public + */ +export interface ListAssociationsResult { + /** + * @public + *

The associations.

+ */ + Associations?: Association[]; + /** + * @public + *

The token to use when requesting the next set of items. If there are no additional items to + * return, the string is empty.

+ */ + NextToken?: string; +} +/** + * @public + */ +export interface ListAssociationVersionsRequest { + /** + * @public + *

The association ID for which you want to view all versions.

+ */ + AssociationId: string | undefined; + /** + * @public + *

The maximum number of items to return for this call. The call also returns a token that you + * can specify in a subsequent call to get the next set of results.

+ */ + MaxResults?: number; + /** + * @public + *

A token to start the list. Use this token to get the next set of results.

+ */ + NextToken?: string; +} +/** + * @public + *

Information about the association version.

+ */ +export interface AssociationVersionInfo { + /** + * @public + *

The ID created by the system when the association was created.

+ */ + AssociationId?: string; + /** + * @public + *

The association version.

+ */ + AssociationVersion?: string; + /** + * @public + *

The date the association version was created.

+ */ + CreatedDate?: Date; + /** + * @public + *

The name specified when the association was created.

+ */ + Name?: string; + /** + * @public + *

The version of an Amazon Web Services Systems Manager document (SSM document) used when the association version was + * created.

+ */ + DocumentVersion?: string; + /** + * @public + *

Parameters specified when the association version was created.

+ */ + Parameters?: Record; + /** + * @public + *

The targets specified for the association when the association version was created.

+ */ + Targets?: Target[]; + /** + * @public + *

The cron or rate schedule specified for the association when the association version was + * created.

+ */ + ScheduleExpression?: string; + /** + * @public + *

The location in Amazon S3 specified for the association when the association version + * was created.

+ */ + OutputLocation?: InstanceAssociationOutputLocation; + /** + * @public + *

The name specified for the association version when the association version was + * created.

+ */ + AssociationName?: string; + /** + * @public + *

The number of errors that are allowed before the system stops sending requests to run the + * association on additional targets. You can specify either an absolute number of errors, for + * example 10, or a percentage of the target set, for example 10%. If you specify 3, for example, + * the system stops sending requests when the fourth error is received. If you specify 0, then the + * system stops sending requests after the first error is returned. If you run an association on 50 + * managed nodes and set MaxError to 10%, then the system stops sending the request + * when the sixth error is received.

+ *

Executions that are already running an association when MaxErrors is reached + * are allowed to complete, but some of these executions may fail as well. If you need to ensure + * that there won't be more than max-errors failed executions, set MaxConcurrency to 1 + * so that executions proceed one at a time.

+ */ + MaxErrors?: string; + /** + * @public + *

The maximum number of targets allowed to run the association at the same time. You can + * specify a number, for example 10, or a percentage of the target set, for example 10%. The default + * value is 100%, which means all targets run the association at the same time.

+ *

If a new managed node starts and attempts to run an association while Systems Manager is running + * MaxConcurrency associations, the association is allowed to run. During the next + * association interval, the new managed node will process its association within the limit + * specified for MaxConcurrency.

+ */ + MaxConcurrency?: string; + /** + * @public + *

The severity level that is assigned to the association.

+ */ + ComplianceSeverity?: AssociationComplianceSeverity; + /** + * @public + *

The mode for generating association compliance. You can specify AUTO or + * MANUAL. In AUTO mode, the system uses the status of the association + * execution to determine the compliance status. If the association execution runs successfully, + * then the association is COMPLIANT. If the association execution doesn't run + * successfully, the association is NON-COMPLIANT.

+ *

In MANUAL mode, you must specify the AssociationId as a parameter + * for the PutComplianceItems API operation. In this case, compliance data isn't + * managed by State Manager, a capability of Amazon Web Services Systems Manager. It is managed by your direct call to the + * PutComplianceItems API operation.

+ *

By default, all associations use AUTO mode.

+ */ + SyncCompliance?: AssociationSyncCompliance; + /** + * @public + *

By default, when you create a new associations, the system runs it immediately after it is + * created and then according to the schedule you specified. Specify this option if you don't want + * an association to run immediately after you create it. This parameter isn't supported for rate + * expressions.

+ */ + ApplyOnlyAtCronInterval?: boolean; + /** + * @public + *

The names or Amazon Resource Names (ARNs) of the Change Calendar type documents your + * associations are gated under. The associations for this version only run when that Change + * Calendar is open. For more information, see Amazon Web Services Systems Manager Change + * Calendar.

+ */ + CalendarNames?: string[]; + /** + * @public + *

The combination of Amazon Web Services Regions and Amazon Web Services accounts where you wanted to run the association + * when this association version was created.

+ */ + TargetLocations?: TargetLocation[]; + /** + * @public + *

Number of days to wait after the scheduled day to run an association.

+ */ + ScheduleOffset?: number; + /** + * @public + *

A key-value mapping of document parameters to target resources. Both Targets and TargetMaps + * can't be specified together.

+ */ + TargetMaps?: Record[]; +} +/** + * @public + */ +export interface ListAssociationVersionsResult { + /** + * @public + *

Information about all versions of the association for the specified association ID.

+ */ + AssociationVersions?: AssociationVersionInfo[]; + /** + * @public + *

The token for the next set of items to return. Use this token to get the next set of + * results.

+ */ + NextToken?: string; +} +/** + * @public + * @enum + */ +export declare const CommandFilterKey: { + readonly DOCUMENT_NAME: "DocumentName"; + readonly EXECUTION_STAGE: "ExecutionStage"; + readonly INVOKED_AFTER: "InvokedAfter"; + readonly INVOKED_BEFORE: "InvokedBefore"; + readonly STATUS: "Status"; +}; +/** + * @public + */ +export type CommandFilterKey = (typeof CommandFilterKey)[keyof typeof CommandFilterKey]; +/** + * @public + *

Describes a command filter.

+ * + *

A managed node ID can't be specified when a command status is Pending because + * the command hasn't run on the node yet.

+ *
+ */ +export interface CommandFilter { + /** + * @public + *

The name of the filter.

+ * + *

The ExecutionStage filter can't be used with the + * ListCommandInvocations operation, only with ListCommands.

+ *
+ */ + key: CommandFilterKey | undefined; + /** + * @public + *

The filter value. Valid values for each filter key are as follows:

+ *
    + *
  • + *

    + * InvokedAfter: Specify a timestamp to limit your results. + * For example, specify 2021-07-07T00:00:00Z to see a list of command executions + * occurring July 7, 2021, and later.

    + *
  • + *
  • + *

    + * InvokedBefore: Specify a timestamp to limit your results. + * For example, specify 2021-07-07T00:00:00Z to see a list of command executions from + * before July 7, 2021.

    + *
  • + *
  • + *

    + * Status: Specify a valid command status to see a list of + * all command executions with that status. The status choices depend on the API you call.

    + *

    The status values you can specify for ListCommands are:

    + *
      + *
    • + *

      + * Pending + *

      + *
    • + *
    • + *

      + * InProgress + *

      + *
    • + *
    • + *

      + * Success + *

      + *
    • + *
    • + *

      + * Cancelled + *

      + *
    • + *
    • + *

      + * Failed + *

      + *
    • + *
    • + *

      + * TimedOut (this includes both Delivery and Execution time outs)

      + *
    • + *
    • + *

      + * AccessDenied + *

      + *
    • + *
    • + *

      + * DeliveryTimedOut + *

      + *
    • + *
    • + *

      + * ExecutionTimedOut + *

      + *
    • + *
    • + *

      + * Incomplete + *

      + *
    • + *
    • + *

      + * NoInstancesInTag + *

      + *
    • + *
    • + *

      + * LimitExceeded + *

      + *
    • + *
    + *

    The status values you can specify for ListCommandInvocations are:

    + *
      + *
    • + *

      + * Pending + *

      + *
    • + *
    • + *

      + * InProgress + *

      + *
    • + *
    • + *

      + * Delayed + *

      + *
    • + *
    • + *

      + * Success + *

      + *
    • + *
    • + *

      + * Cancelled + *

      + *
    • + *
    • + *

      + * Failed + *

      + *
    • + *
    • + *

      + * TimedOut (this includes both Delivery and Execution time outs)

      + *
    • + *
    • + *

      + * AccessDenied + *

      + *
    • + *
    • + *

      + * DeliveryTimedOut + *

      + *
    • + *
    • + *

      + * ExecutionTimedOut + *

      + *
    • + *
    • + *

      + * Undeliverable + *

      + *
    • + *
    • + *

      + * InvalidPlatform + *

      + *
    • + *
    • + *

      + * Terminated + *

      + *
    • + *
    + *
  • + *
  • + *

    + * DocumentName: Specify name of the Amazon Web Services Systems Manager document (SSM + * document) for which you want to see command execution results. For example, specify + * AWS-RunPatchBaseline to see command executions that used this SSM document to + * perform security patching operations on managed nodes.

    + *
  • + *
  • + *

    + * ExecutionStage: Specify one of the following values + * (ListCommands operations only):

    + *
      + *
    • + *

      + * Executing: Returns a list of command executions that are currently still + * running.

      + *
    • + *
    • + *

      + * Complete: Returns a list of command executions that have already completed. + *

      + *
    • + *
    + *
  • + *
+ */ + value: string | undefined; +} +/** + * @public + */ +export interface ListCommandInvocationsRequest { + /** + * @public + *

(Optional) The invocations for a specific command ID.

+ */ + CommandId?: string; + /** + * @public + *

(Optional) The command execution details for a specific managed node ID.

+ */ + InstanceId?: string; + /** + * @public + *

(Optional) The maximum number of items to return for this call. The call also returns a + * token that you can specify in a subsequent call to get the next set of results.

+ */ + MaxResults?: number; + /** + * @public + *

(Optional) The token for the next set of items to return. (You received this token from a + * previous call.)

+ */ + NextToken?: string; + /** + * @public + *

(Optional) One or more filters. Use a filter to return a more specific list of + * results.

+ */ + Filters?: CommandFilter[]; + /** + * @public + *

(Optional) If set this returns the response of the command executions and any command + * output. The default value is false.

+ */ + Details?: boolean; +} +/** + * @public + * @enum + */ +export declare const CommandPluginStatus: { + readonly CANCELLED: "Cancelled"; + readonly FAILED: "Failed"; + readonly IN_PROGRESS: "InProgress"; + readonly PENDING: "Pending"; + readonly SUCCESS: "Success"; + readonly TIMED_OUT: "TimedOut"; +}; +/** + * @public + */ +export type CommandPluginStatus = (typeof CommandPluginStatus)[keyof typeof CommandPluginStatus]; +/** + * @public + *

Describes plugin details.

+ */ +export interface CommandPlugin { + /** + * @public + *

The name of the plugin. Must be one of the following: aws:updateAgent, + * aws:domainjoin, aws:applications, + * aws:runPowerShellScript, aws:psmodule, aws:cloudWatch, + * aws:runShellScript, or aws:updateSSMAgent.

+ */ + Name?: string; + /** + * @public + *

The status of this plugin. You can run a document with multiple plugins.

+ */ + Status?: CommandPluginStatus; + /** + * @public + *

A detailed status of the plugin execution. StatusDetails includes more + * information than Status because it includes states resulting from error and concurrency control + * parameters. StatusDetails can show different results than Status. For more information about + * these statuses, see Understanding command + * statuses in the Amazon Web Services Systems Manager User Guide. StatusDetails can be one of the + * following values:

+ *
    + *
  • + *

    Pending: The command hasn't been sent to the managed node.

    + *
  • + *
  • + *

    In Progress: The command has been sent to the managed node but hasn't reached a terminal + * state.

    + *
  • + *
  • + *

    Success: The execution of the command or plugin was successfully completed. This is a + * terminal state.

    + *
  • + *
  • + *

    Delivery Timed Out: The command wasn't delivered to the managed node before the delivery + * timeout expired. Delivery timeouts don't count against the parent command's + * MaxErrors limit, but they do contribute to whether the parent command status is + * Success or Incomplete. This is a terminal state.

    + *
  • + *
  • + *

    Execution Timed Out: Command execution started on the managed node, but the execution + * wasn't complete before the execution timeout expired. Execution timeouts count against the + * MaxErrors limit of the parent command. This is a terminal state.

    + *
  • + *
  • + *

    Failed: The command wasn't successful on the managed node. For a plugin, this indicates + * that the result code wasn't zero. For a command invocation, this indicates that the result code + * for one or more plugins wasn't zero. Invocation failures count against the MaxErrors limit of + * the parent command. This is a terminal state.

    + *
  • + *
  • + *

    Cancelled: The command was terminated before it was completed. This is a terminal + * state.

    + *
  • + *
  • + *

    Undeliverable: The command can't be delivered to the managed node. The managed node might + * not exist, or it might not be responding. Undeliverable invocations don't count against the + * parent command's MaxErrors limit, and they don't contribute to whether the parent command + * status is Success or Incomplete. This is a terminal state.

    + *
  • + *
  • + *

    Terminated: The parent command exceeded its MaxErrors limit and subsequent command + * invocations were canceled by the system. This is a terminal state.

    + *
  • + *
+ */ + StatusDetails?: string; + /** + * @public + *

A numeric response code generated after running the plugin.

+ */ + ResponseCode?: number; + /** + * @public + *

The time the plugin started running.

+ */ + ResponseStartDateTime?: Date; + /** + * @public + *

The time the plugin stopped running. Could stop prematurely if, for example, a cancel + * command was sent.

+ */ + ResponseFinishDateTime?: Date; + /** + * @public + *

Output of the plugin execution.

+ */ + Output?: string; + /** + * @public + *

The URL for the complete text written by the plugin to stdout in Amazon S3. If the + * S3 bucket for the command wasn't specified, then this string is empty.

+ */ + StandardOutputUrl?: string; + /** + * @public + *

The URL for the complete text written by the plugin to stderr. If execution isn't yet + * complete, then this string is empty.

+ */ + StandardErrorUrl?: string; + /** + * @public + *

(Deprecated) You can no longer specify this parameter. The system ignores it. Instead, + * Amazon Web Services Systems Manager automatically determines the S3 bucket region.

+ */ + OutputS3Region?: string; + /** + * @public + *

The S3 bucket where the responses to the command executions should be stored. This was + * requested when issuing the command. For example, in the following response:

+ *

+ * doc-example-bucket/ab19cb99-a030-46dd-9dfc-8eSAMPLEPre-Fix/i-02573cafcfEXAMPLE/awsrunShellScript + *

+ *

+ * doc-example-bucket is the name of the S3 bucket;

+ *

+ * ab19cb99-a030-46dd-9dfc-8eSAMPLEPre-Fix is the name of the S3 prefix;

+ *

+ * i-02573cafcfEXAMPLE is the managed node ID;

+ *

+ * awsrunShellScript is the name of the plugin.

+ */ + OutputS3BucketName?: string; + /** + * @public + *

The S3 directory path inside the bucket where the responses to the command executions should + * be stored. This was requested when issuing the command. For example, in the following + * response:

+ *

+ * doc-example-bucket/ab19cb99-a030-46dd-9dfc-8eSAMPLEPre-Fix/i-02573cafcfEXAMPLE/awsrunShellScript + *

+ *

+ * doc-example-bucket is the name of the S3 bucket;

+ *

+ * ab19cb99-a030-46dd-9dfc-8eSAMPLEPre-Fix is the name of the S3 prefix;

+ *

+ * i-02573cafcfEXAMPLE is the managed node ID;

+ *

+ * awsrunShellScript is the name of the plugin.

+ */ + OutputS3KeyPrefix?: string; +} +/** + * @public + *

An invocation is a copy of a command sent to a specific managed node. A command can apply to + * one or more managed nodes. A command invocation applies to one managed node. For example, if a + * user runs SendCommand against three managed nodes, then a command invocation is + * created for each requested managed node ID. A command invocation returns status and detail + * information about a command you ran.

+ */ +export interface CommandInvocation { + /** + * @public + *

The command against which this invocation was requested.

+ */ + CommandId?: string; + /** + * @public + *

The managed node ID in which this invocation was requested.

+ */ + InstanceId?: string; + /** + * @public + *

The fully qualified host name of the managed node.

+ */ + InstanceName?: string; + /** + * @public + *

User-specified information about the command, such as a brief description of what the + * command should do.

+ */ + Comment?: string; + /** + * @public + *

The document name that was requested for execution.

+ */ + DocumentName?: string; + /** + * @public + *

The Systems Manager document (SSM document) version.

+ */ + DocumentVersion?: string; + /** + * @public + *

The time and date the request was sent to this managed node.

+ */ + RequestedDateTime?: Date; + /** + * @public + *

Whether or not the invocation succeeded, failed, or is pending.

+ */ + Status?: CommandInvocationStatus; + /** + * @public + *

A detailed status of the command execution for each invocation (each managed node targeted + * by the command). StatusDetails includes more information than Status because it includes states + * resulting from error and concurrency control parameters. StatusDetails can show different results + * than Status. For more information about these statuses, see Understanding command + * statuses in the Amazon Web Services Systems Manager User Guide. StatusDetails can be one of the + * following values:

+ *
    + *
  • + *

    Pending: The command hasn't been sent to the managed node.

    + *
  • + *
  • + *

    In Progress: The command has been sent to the managed node but hasn't reached a terminal + * state.

    + *
  • + *
  • + *

    Success: The execution of the command or plugin was successfully completed. This is a + * terminal state.

    + *
  • + *
  • + *

    Delivery Timed Out: The command wasn't delivered to the managed node before the delivery + * timeout expired. Delivery timeouts don't count against the parent command's + * MaxErrors limit, but they do contribute to whether the parent command status is + * Success or Incomplete. This is a terminal state.

    + *
  • + *
  • + *

    Execution Timed Out: Command execution started on the managed node, but the execution + * wasn't complete before the execution timeout expired. Execution timeouts count against the + * MaxErrors limit of the parent command. This is a terminal state.

    + *
  • + *
  • + *

    Failed: The command wasn't successful on the managed node. For a plugin, this indicates + * that the result code wasn't zero. For a command invocation, this indicates that the result code + * for one or more plugins wasn't zero. Invocation failures count against the + * MaxErrors limit of the parent command. This is a terminal state.

    + *
  • + *
  • + *

    Cancelled: The command was terminated before it was completed. This is a terminal + * state.

    + *
  • + *
  • + *

    Undeliverable: The command can't be delivered to the managed node. The managed node might + * not exist or might not be responding. Undeliverable invocations don't count against the parent + * command's MaxErrors limit and don't contribute to whether the parent command status is Success + * or Incomplete. This is a terminal state.

    + *
  • + *
  • + *

    Terminated: The parent command exceeded its MaxErrors limit and subsequent command + * invocations were canceled by the system. This is a terminal state.

    + *
  • + *
  • + *

    Delayed: The system attempted to send the command to the managed node but wasn't + * successful. The system retries again.

    + *
  • + *
+ */ + StatusDetails?: string; + /** + * @public + *

Gets the trace output sent by the agent.

+ */ + TraceOutput?: string; + /** + * @public + *

The URL to the plugin's StdOut file in Amazon Simple Storage Service (Amazon S3), if the S3 + * bucket was defined for the parent command. For an invocation, StandardOutputUrl is + * populated if there is just one plugin defined for the command, and the S3 bucket was defined for + * the command.

+ */ + StandardOutputUrl?: string; + /** + * @public + *

The URL to the plugin's StdErr file in Amazon Simple Storage Service (Amazon S3), if the S3 + * bucket was defined for the parent command. For an invocation, StandardErrorUrl is + * populated if there is just one plugin defined for the command, and the S3 bucket was defined for + * the command.

+ */ + StandardErrorUrl?: string; + /** + * @public + *

Plugins processed by the command.

+ */ + CommandPlugins?: CommandPlugin[]; + /** + * @public + *

The Identity and Access Management (IAM) service role that Run Command, a capability + * of Amazon Web Services Systems Manager, uses to act on your behalf when sending notifications about command status changes + * on a per managed node basis.

+ */ + ServiceRole?: string; + /** + * @public + *

Configurations for sending notifications about command status changes on a per managed node + * basis.

+ */ + NotificationConfig?: NotificationConfig; + /** + * @public + *

Amazon CloudWatch Logs information where you want Amazon Web Services Systems Manager to send the command + * output.

+ */ + CloudWatchOutputConfig?: CloudWatchOutputConfig; +} +/** + * @public + */ +export interface ListCommandInvocationsResult { + /** + * @public + *

(Optional) A list of all invocations.

+ */ + CommandInvocations?: CommandInvocation[]; + /** + * @public + *

(Optional) The token for the next set of items to return. (You received this token from a + * previous call.)

+ */ + NextToken?: string; +} +/** + * @public + */ +export interface ListCommandsRequest { + /** + * @public + *

(Optional) If provided, lists only the specified command.

+ */ + CommandId?: string; + /** + * @public + *

(Optional) Lists commands issued against this managed node ID.

+ * + *

You can't specify a managed node ID in the same command that you specify + * Status = Pending. This is because the command hasn't reached the + * managed node yet.

+ *
+ */ + InstanceId?: string; + /** + * @public + *

(Optional) The maximum number of items to return for this call. The call also returns a + * token that you can specify in a subsequent call to get the next set of results.

+ */ + MaxResults?: number; + /** + * @public + *

(Optional) The token for the next set of items to return. (You received this token from a + * previous call.)

+ */ + NextToken?: string; + /** + * @public + *

(Optional) One or more filters. Use a filter to return a more specific list of results. + *

+ */ + Filters?: CommandFilter[]; +} +/** + * @public + * @enum + */ +export declare const CommandStatus: { + readonly CANCELLED: "Cancelled"; + readonly CANCELLING: "Cancelling"; + readonly FAILED: "Failed"; + readonly IN_PROGRESS: "InProgress"; + readonly PENDING: "Pending"; + readonly SUCCESS: "Success"; + readonly TIMED_OUT: "TimedOut"; +}; +/** + * @public + */ +export type CommandStatus = (typeof CommandStatus)[keyof typeof CommandStatus]; +/** + * @public + *

Describes a command request.

+ */ +export interface Command { + /** + * @public + *

A unique identifier for this command.

+ */ + CommandId?: string; + /** + * @public + *

The name of the document requested for execution.

+ */ + DocumentName?: string; + /** + * @public + *

The Systems Manager document (SSM document) version.

+ */ + DocumentVersion?: string; + /** + * @public + *

User-specified information about the command, such as a brief description of what the + * command should do.

+ */ + Comment?: string; + /** + * @public + *

If a command expires, it changes status to DeliveryTimedOut for all invocations + * that have the status InProgress, Pending, or Delayed. + * ExpiresAfter is calculated based on the total timeout for the overall command. For + * more information, see Understanding command timeout values in the + * Amazon Web Services Systems Manager User Guide.

+ */ + ExpiresAfter?: Date; + /** + * @public + *

The parameter values to be inserted in the document when running the command.

+ */ + Parameters?: Record; + /** + * @public + *

The managed node IDs against which this command was requested.

+ */ + InstanceIds?: string[]; + /** + * @public + *

An array of search criteria that targets managed nodes using a Key,Value combination that + * you specify. Targets is required if you don't provide one or more managed node IDs in the + * call.

+ */ + Targets?: Target[]; + /** + * @public + *

The date and time the command was requested.

+ */ + RequestedDateTime?: Date; + /** + * @public + *

The status of the command.

+ */ + Status?: CommandStatus; + /** + * @public + *

A detailed status of the command execution. StatusDetails includes more + * information than Status because it includes states resulting from error and + * concurrency control parameters. StatusDetails can show different results than + * Status. For more information about these statuses, see Understanding command + * statuses in the Amazon Web Services Systems Manager User Guide. StatusDetails can be one of the + * following values:

+ *
    + *
  • + *

    Pending: The command hasn't been sent to any managed nodes.

    + *
  • + *
  • + *

    In Progress: The command has been sent to at least one managed node but hasn't reached a + * final state on all managed nodes.

    + *
  • + *
  • + *

    Success: The command successfully ran on all invocations. This is a terminal state.

    + *
  • + *
  • + *

    Delivery Timed Out: The value of MaxErrors or more command invocations shows a status of + * Delivery Timed Out. This is a terminal state.

    + *
  • + *
  • + *

    Execution Timed Out: The value of MaxErrors or more command invocations shows a status of + * Execution Timed Out. This is a terminal state.

    + *
  • + *
  • + *

    Failed: The value of MaxErrors or more command invocations shows a status of Failed. This + * is a terminal state.

    + *
  • + *
  • + *

    Incomplete: The command was attempted on all managed nodes and one or more invocations + * doesn't have a value of Success but not enough invocations failed for the status to be Failed. + * This is a terminal state.

    + *
  • + *
  • + *

    Cancelled: The command was terminated before it was completed. This is a terminal + * state.

    + *
  • + *
  • + *

    Rate Exceeded: The number of managed nodes targeted by the command exceeded the account + * limit for pending invocations. The system has canceled the command before running it on any + * managed node. This is a terminal state.

    + *
  • + *
  • + *

    Delayed: The system attempted to send the command to the managed node but wasn't + * successful. The system retries again.

    + *
  • + *
+ */ + StatusDetails?: string; + /** + * @public + *

(Deprecated) You can no longer specify this parameter. The system ignores it. Instead, Systems Manager + * automatically determines the Amazon Web Services Region of the S3 bucket.

+ */ + OutputS3Region?: string; + /** + * @public + *

The S3 bucket where the responses to the command executions should be stored. This was + * requested when issuing the command.

+ */ + OutputS3BucketName?: string; + /** + * @public + *

The S3 directory path inside the bucket where the responses to the command executions should + * be stored. This was requested when issuing the command.

+ */ + OutputS3KeyPrefix?: string; + /** + * @public + *

The maximum number of managed nodes that are allowed to run the command at the same time. + * You can specify a number of managed nodes, such as 10, or a percentage of nodes, such as 10%. The + * default value is 50. For more information about how to use MaxConcurrency, see + * Running + * commands using Systems Manager Run Command in the Amazon Web Services Systems Manager User Guide.

+ */ + MaxConcurrency?: string; + /** + * @public + *

The maximum number of errors allowed before the system stops sending the command to + * additional targets. You can specify a number of errors, such as 10, or a percentage or errors, + * such as 10%. The default value is 0. For more information about how to use + * MaxErrors, see Running commands using Systems Manager Run + * Command in the Amazon Web Services Systems Manager User Guide.

+ */ + MaxErrors?: string; + /** + * @public + *

The number of targets for the command.

+ */ + TargetCount?: number; + /** + * @public + *

The number of targets for which the command invocation reached a terminal state. Terminal + * states include the following: Success, Failed, Execution Timed Out, Delivery Timed Out, + * Cancelled, Terminated, or Undeliverable.

+ */ + CompletedCount?: number; + /** + * @public + *

The number of targets for which the status is Failed or Execution Timed Out.

+ */ + ErrorCount?: number; + /** + * @public + *

The number of targets for which the status is Delivery Timed Out.

+ */ + DeliveryTimedOutCount?: number; + /** + * @public + *

The Identity and Access Management (IAM) service role that Run Command, a capability + * of Amazon Web Services Systems Manager, uses to act on your behalf when sending notifications about command status changes. + *

+ */ + ServiceRole?: string; + /** + * @public + *

Configurations for sending notifications about command status changes.

+ */ + NotificationConfig?: NotificationConfig; + /** + * @public + *

Amazon CloudWatch Logs information where you want Amazon Web Services Systems Manager to send the command + * output.

+ */ + CloudWatchOutputConfig?: CloudWatchOutputConfig; + /** + * @public + *

The TimeoutSeconds value specified for a command.

+ */ + TimeoutSeconds?: number; + /** + * @public + *

The details for the CloudWatch alarm applied to your command.

+ */ + AlarmConfiguration?: AlarmConfiguration; + /** + * @public + *

The CloudWatch alarm that was invoked by the command.

+ */ + TriggeredAlarms?: AlarmStateInformation[]; +} +/** + * @public + */ +export interface ListCommandsResult { + /** + * @public + *

(Optional) The list of commands requested by the user.

+ */ + Commands?: Command[]; + /** + * @public + *

(Optional) The token for the next set of items to return. (You received this token from a + * previous call.)

+ */ + NextToken?: string; +} +/** + * @public + * @enum + */ +export declare const ComplianceQueryOperatorType: { + readonly BeginWith: "BEGIN_WITH"; + readonly Equal: "EQUAL"; + readonly GreaterThan: "GREATER_THAN"; + readonly LessThan: "LESS_THAN"; + readonly NotEqual: "NOT_EQUAL"; +}; +/** + * @public + */ +export type ComplianceQueryOperatorType = (typeof ComplianceQueryOperatorType)[keyof typeof ComplianceQueryOperatorType]; +/** + * @public + *

One or more filters. Use a filter to return a more specific list of results.

+ */ +export interface ComplianceStringFilter { + /** + * @public + *

The name of the filter.

+ */ + Key?: string; + /** + * @public + *

The value for which to search.

+ */ + Values?: string[]; + /** + * @public + *

The type of comparison that should be performed for the value: Equal, NotEqual, BeginWith, + * LessThan, or GreaterThan.

+ */ + Type?: ComplianceQueryOperatorType; +} +/** + * @public + */ +export interface ListComplianceItemsRequest { + /** + * @public + *

One or more compliance filters. Use a filter to return a more specific list of + * results.

+ */ + Filters?: ComplianceStringFilter[]; + /** + * @public + *

The ID for the resources from which to get compliance information. Currently, you can only + * specify one resource ID.

+ */ + ResourceIds?: string[]; + /** + * @public + *

The type of resource from which to get compliance information. Currently, the only supported + * resource type is ManagedInstance.

+ */ + ResourceTypes?: string[]; + /** + * @public + *

A token to start the list. Use this token to get the next set of results.

+ */ + NextToken?: string; + /** + * @public + *

The maximum number of items to return for this call. The call also returns a token that you + * can specify in a subsequent call to get the next set of results.

+ */ + MaxResults?: number; +} +/** + * @public + *

A summary of the call execution that includes an execution ID, the type of execution (for + * example, Command), and the date/time of the execution using a datetime object that + * is saved in the following format: yyyy-MM-dd'T'HH:mm:ss'Z'.

+ */ +export interface ComplianceExecutionSummary { + /** + * @public + *

The time the execution ran as a datetime object that is saved in the following format: + * yyyy-MM-dd'T'HH:mm:ss'Z'.

+ */ + ExecutionTime: Date | undefined; + /** + * @public + *

An ID created by the system when PutComplianceItems was called. For example, + * CommandID is a valid execution ID. You can use this ID in subsequent calls.

+ */ + ExecutionId?: string; + /** + * @public + *

The type of execution. For example, Command is a valid execution type.

+ */ + ExecutionType?: string; +} +/** + * @public + * @enum + */ +export declare const ComplianceSeverity: { + readonly Critical: "CRITICAL"; + readonly High: "HIGH"; + readonly Informational: "INFORMATIONAL"; + readonly Low: "LOW"; + readonly Medium: "MEDIUM"; + readonly Unspecified: "UNSPECIFIED"; +}; +/** + * @public + */ +export type ComplianceSeverity = (typeof ComplianceSeverity)[keyof typeof ComplianceSeverity]; +/** + * @public + * @enum + */ +export declare const ComplianceStatus: { + readonly Compliant: "COMPLIANT"; + readonly NonCompliant: "NON_COMPLIANT"; +}; +/** + * @public + */ +export type ComplianceStatus = (typeof ComplianceStatus)[keyof typeof ComplianceStatus]; +/** + * @public + *

Information about the compliance as defined by the resource type. For example, for a patch + * resource type, Items includes information about the PatchSeverity, Classification, + * and so on.

+ */ +export interface ComplianceItem { + /** + * @public + *

The compliance type. For example, Association (for a State Manager association), Patch, or + * Custom:string are all valid compliance types.

+ */ + ComplianceType?: string; + /** + * @public + *

The type of resource. ManagedInstance is currently the only supported resource + * type.

+ */ + ResourceType?: string; + /** + * @public + *

An ID for the resource. For a managed node, this is the node ID.

+ */ + ResourceId?: string; + /** + * @public + *

An ID for the compliance item. For example, if the compliance item is a Windows patch, the + * ID could be the number of the KB article; for example: KB4010320.

+ */ + Id?: string; + /** + * @public + *

A title for the compliance item. For example, if the compliance item is a Windows patch, the + * title could be the title of the KB article for the patch; for example: Security Update for Active + * Directory Federation Services.

+ */ + Title?: string; + /** + * @public + *

The status of the compliance item. An item is either COMPLIANT, NON_COMPLIANT, or an empty + * string (for Windows patches that aren't applicable).

+ */ + Status?: ComplianceStatus; + /** + * @public + *

The severity of the compliance status. Severity can be one of the following: Critical, High, + * Medium, Low, Informational, Unspecified.

+ */ + Severity?: ComplianceSeverity; + /** + * @public + *

A summary for the compliance item. The summary includes an execution ID, the execution type + * (for example, command), and the execution time.

+ */ + ExecutionSummary?: ComplianceExecutionSummary; + /** + * @public + *

A "Key": "Value" tag combination for the compliance item.

+ */ + Details?: Record; +} +/** + * @public + */ +export interface ListComplianceItemsResult { + /** + * @public + *

A list of compliance information for the specified resource ID.

+ */ + ComplianceItems?: ComplianceItem[]; + /** + * @public + *

The token for the next set of items to return. Use this token to get the next set of + * results.

+ */ + NextToken?: string; +} +/** + * @public + */ +export interface ListComplianceSummariesRequest { + /** + * @public + *

One or more compliance or inventory filters. Use a filter to return a more specific list of + * results.

+ */ + Filters?: ComplianceStringFilter[]; + /** + * @public + *

A token to start the list. Use this token to get the next set of results.

+ */ + NextToken?: string; + /** + * @public + *

The maximum number of items to return for this call. Currently, you can specify null or 50. + * The call also returns a token that you can specify in a subsequent call to get the next set of + * results.

+ */ + MaxResults?: number; +} +/** + * @public + *

The number of managed nodes found for each patch severity level defined in the request + * filter.

+ */ +export interface SeveritySummary { + /** + * @public + *

The total number of resources or compliance items that have a severity level of + * Critical. Critical severity is determined by the organization that published the + * compliance items.

+ */ + CriticalCount?: number; + /** + * @public + *

The total number of resources or compliance items that have a severity level of high. High + * severity is determined by the organization that published the compliance items.

+ */ + HighCount?: number; + /** + * @public + *

The total number of resources or compliance items that have a severity level of medium. + * Medium severity is determined by the organization that published the compliance items.

+ */ + MediumCount?: number; + /** + * @public + *

The total number of resources or compliance items that have a severity level of low. Low + * severity is determined by the organization that published the compliance items.

+ */ + LowCount?: number; + /** + * @public + *

The total number of resources or compliance items that have a severity level of + * informational. Informational severity is determined by the organization that published the + * compliance items.

+ */ + InformationalCount?: number; + /** + * @public + *

The total number of resources or compliance items that have a severity level of unspecified. + * Unspecified severity is determined by the organization that published the compliance + * items.

+ */ + UnspecifiedCount?: number; +} +/** + * @public + *

A summary of resources that are compliant. The summary is organized according to the + * resource count for each compliance type.

+ */ +export interface CompliantSummary { + /** + * @public + *

The total number of resources that are compliant.

+ */ + CompliantCount?: number; + /** + * @public + *

A summary of the compliance severity by compliance type.

+ */ + SeveritySummary?: SeveritySummary; +} +/** + * @public + *

A summary of resources that aren't compliant. The summary is organized according to resource + * type.

+ */ +export interface NonCompliantSummary { + /** + * @public + *

The total number of compliance items that aren't compliant.

+ */ + NonCompliantCount?: number; + /** + * @public + *

A summary of the non-compliance severity by compliance type

+ */ + SeveritySummary?: SeveritySummary; +} +/** + * @public + *

A summary of compliance information by compliance type.

+ */ +export interface ComplianceSummaryItem { + /** + * @public + *

The type of compliance item. For example, the compliance type can be Association, Patch, or + * Custom:string.

+ */ + ComplianceType?: string; + /** + * @public + *

A list of COMPLIANT items for the specified compliance type.

+ */ + CompliantSummary?: CompliantSummary; + /** + * @public + *

A list of NON_COMPLIANT items for the specified compliance type.

+ */ + NonCompliantSummary?: NonCompliantSummary; +} +/** + * @public + */ +export interface ListComplianceSummariesResult { + /** + * @public + *

A list of compliant and non-compliant summary counts based on compliance types. For example, + * this call returns State Manager associations, patches, or custom compliance types according to + * the filter criteria that you specified.

+ */ + ComplianceSummaryItems?: ComplianceSummaryItem[]; + /** + * @public + *

The token for the next set of items to return. Use this token to get the next set of + * results.

+ */ + NextToken?: string; +} +/** + * @public + * @enum + */ +export declare const DocumentMetadataEnum: { + readonly DocumentReviews: "DocumentReviews"; +}; +/** + * @public + */ +export type DocumentMetadataEnum = (typeof DocumentMetadataEnum)[keyof typeof DocumentMetadataEnum]; +/** + * @public + */ +export interface ListDocumentMetadataHistoryRequest { + /** + * @public + *

The name of the change template.

+ */ + Name: string | undefined; + /** + * @public + *

The version of the change template.

+ */ + DocumentVersion?: string; + /** + * @public + *

The type of data for which details are being requested. Currently, the only supported value + * is DocumentReviews.

+ */ + Metadata: DocumentMetadataEnum | undefined; + /** + * @public + *

The token for the next set of items to return. (You received this token from a previous + * call.)

+ */ + NextToken?: string; + /** + * @public + *

The maximum number of items to return for this call. The call also returns a token that you + * can specify in a subsequent call to get the next set of results.

+ */ + MaxResults?: number; +} +/** + * @public + * @enum + */ +export declare const DocumentReviewCommentType: { + readonly Comment: "Comment"; +}; +/** + * @public + */ +export type DocumentReviewCommentType = (typeof DocumentReviewCommentType)[keyof typeof DocumentReviewCommentType]; +/** + * @public + *

Information about comments added to a document review request.

+ */ +export interface DocumentReviewCommentSource { + /** + * @public + *

The type of information added to a review request. Currently, only the value + * Comment is supported.

+ */ + Type?: DocumentReviewCommentType; + /** + * @public + *

The content of a comment entered by a user who requests a review of a new document version, + * or who reviews the new version.

+ */ + Content?: string; +} +/** + * @public + *

Information about a reviewer's response to a document review request.

+ */ +export interface DocumentReviewerResponseSource { + /** + * @public + *

The date and time that a reviewer entered a response to a document review request.

+ */ + CreateTime?: Date; + /** + * @public + *

The date and time that a reviewer last updated a response to a document review + * request.

+ */ + UpdatedTime?: Date; + /** + * @public + *

The current review status of a new custom SSM document created by a member of your + * organization, or of the latest version of an existing SSM document.

+ *

Only one version of a document can be in the APPROVED state at a time. When a new version is + * approved, the status of the previous version changes to REJECTED.

+ *

Only one version of a document can be in review, or PENDING, at a time.

+ */ + ReviewStatus?: ReviewStatus; + /** + * @public + *

The comment entered by a reviewer as part of their document review response.

+ */ + Comment?: DocumentReviewCommentSource[]; + /** + * @public + *

The user in your organization assigned to review a document request.

+ */ + Reviewer?: string; +} +/** + * @public + *

Details about the response to a document review request.

+ */ +export interface DocumentMetadataResponseInfo { + /** + * @public + *

Details about a reviewer's response to a document review request.

+ */ + ReviewerResponse?: DocumentReviewerResponseSource[]; +} +/** + * @public + */ +export interface ListDocumentMetadataHistoryResponse { + /** + * @public + *

The name of the change template.

+ */ + Name?: string; + /** + * @public + *

The version of the change template.

+ */ + DocumentVersion?: string; + /** + * @public + *

The user ID of the person in the organization who requested the review of the + * change template.

+ */ + Author?: string; + /** + * @public + *

Information about the response to the change template approval request.

+ */ + Metadata?: DocumentMetadataResponseInfo; + /** + * @public + *

The maximum number of items to return for this call. The call also returns a token that you + * can specify in a subsequent call to get the next set of results.

+ */ + NextToken?: string; +} +/** + * @public + * @enum + */ +export declare const DocumentFilterKey: { + readonly DocumentType: "DocumentType"; + readonly Name: "Name"; + readonly Owner: "Owner"; + readonly PlatformTypes: "PlatformTypes"; +}; +/** + * @public + */ +export type DocumentFilterKey = (typeof DocumentFilterKey)[keyof typeof DocumentFilterKey]; +/** + * @public + *

This data type is deprecated. Instead, use DocumentKeyValuesFilter.

+ */ +export interface DocumentFilter { + /** + * @public + *

The name of the filter.

+ */ + key: DocumentFilterKey | undefined; + /** + * @public + *

The value of the filter.

+ */ + value: string | undefined; +} +/** + * @public + *

One or more filters. Use a filter to return a more specific list of documents.

+ *

For keys, you can specify one or more tags that have been applied to a document.

+ *

You can also use Amazon Web Services-provided keys, some of which have specific allowed values. These keys + * and their associated values are as follows:

+ *
+ *
DocumentType
+ *
+ *
    + *
  • + *

    + * ApplicationConfiguration + *

    + *
  • + *
  • + *

    + * ApplicationConfigurationSchema + *

    + *
  • + *
  • + *

    + * Automation + *

    + *
  • + *
  • + *

    + * ChangeCalendar + *

    + *
  • + *
  • + *

    + * Command + *

    + *
  • + *
  • + *

    + * Package + *

    + *
  • + *
  • + *

    + * Policy + *

    + *
  • + *
  • + *

    + * Session + *

    + *
  • + *
+ *
+ *
Owner
+ *
+ *

Note that only one Owner can be specified in a request. For example: + * Key=Owner,Values=Self.

+ *
    + *
  • + *

    + * Amazon + *

    + *
  • + *
  • + *

    + * Private + *

    + *
  • + *
  • + *

    + * Public + *

    + *
  • + *
  • + *

    + * Self + *

    + *
  • + *
  • + *

    + * ThirdParty + *

    + *
  • + *
+ *
+ *
PlatformTypes
+ *
+ *
    + *
  • + *

    + * Linux + *

    + *
  • + *
  • + *

    + * Windows + *

    + *
  • + *
+ *
+ *
+ *

+ * Name is another Amazon Web Services-provided key. If you use Name as a key, you + * can use a name prefix to return a list of documents. For example, in the Amazon Web Services CLI, to return a list + * of all documents that begin with Te, run the following command:

+ *

+ * aws ssm list-documents --filters Key=Name,Values=Te + *

+ *

You can also use the TargetType Amazon Web Services-provided key. For a list of valid + * resource type values that can be used with this key, see Amazon Web Services resource and + * property types reference in the CloudFormation User Guide.

+ *

If you specify more than two keys, only documents that are identified by all the tags are + * returned in the results. If you specify more than two values for a key, documents that are + * identified by any of the values are returned in the results.

+ *

To specify a custom key-value pair, use the format + * Key=tag:tagName,Values=valueName.

+ *

For example, if you created a key called region and are using the Amazon Web Services CLI to call the + * list-documents command:

+ *

+ * aws ssm list-documents --filters Key=tag:region,Values=east,west + * Key=Owner,Values=Self + *

+ */ +export interface DocumentKeyValuesFilter { + /** + * @public + *

The name of the filter key.

+ */ + Key?: string; + /** + * @public + *

The value for the filter key.

+ */ + Values?: string[]; +} +/** + * @public + */ +export interface ListDocumentsRequest { + /** + * @public + *

This data type is deprecated. Instead, use Filters.

+ */ + DocumentFilterList?: DocumentFilter[]; + /** + * @public + *

One or more DocumentKeyValuesFilter objects. Use a filter to return a more + * specific list of results. For keys, you can specify one or more key-value pair tags that have + * been applied to a document. Other valid keys include Owner, Name, + * PlatformTypes, DocumentType, and TargetType. For example, + * to return documents you own use Key=Owner,Values=Self. To specify a custom key-value + * pair, use the format Key=tag:tagName,Values=valueName.

+ * + *

This API operation only supports filtering documents by using a single tag key and one or + * more tag values. For example: Key=tag:tagName,Values=valueName1,valueName2 + *

+ *
+ */ + Filters?: DocumentKeyValuesFilter[]; + /** + * @public + *

The maximum number of items to return for this call. The call also returns a token that you + * can specify in a subsequent call to get the next set of results.

+ */ + MaxResults?: number; + /** + * @public + *

The token for the next set of items to return. (You received this token from a previous + * call.)

+ */ + NextToken?: string; +} +/** + * @public + *

Describes the name of a SSM document.

+ */ +export interface DocumentIdentifier { + /** + * @public + *

The name of the SSM document.

+ */ + Name?: string; + /** + * @public + *

The date the SSM document was created.

+ */ + CreatedDate?: Date; + /** + * @public + *

An optional field where you can specify a friendly name for the SSM document. This value can + * differ for each version of the document. If you want to update this value, see UpdateDocument.

+ */ + DisplayName?: string; + /** + * @public + *

The Amazon Web Services user that created the document.

+ */ + Owner?: string; + /** + * @public + *

An optional field specifying the version of the artifact associated with the document. For + * example, "Release 12, Update 6". This value is unique across all versions of a document, and + * can't be changed.

+ */ + VersionName?: string; + /** + * @public + *

The operating system platform.

+ */ + PlatformTypes?: PlatformType[]; + /** + * @public + *

The document version.

+ */ + DocumentVersion?: string; + /** + * @public + *

The document type.

+ */ + DocumentType?: DocumentType; + /** + * @public + *

The schema version.

+ */ + SchemaVersion?: string; + /** + * @public + *

The document format, either JSON or YAML.

+ */ + DocumentFormat?: DocumentFormat; + /** + * @public + *

The target type which defines the kinds of resources the document can run on. For example, + * /AWS::EC2::Instance. For a list of valid resource types, see Amazon Web Services resource and + * property types reference in the CloudFormation User Guide.

+ */ + TargetType?: string; + /** + * @public + *

The tags, or metadata, that have been applied to the document.

+ */ + Tags?: Tag[]; + /** + * @public + *

A list of SSM documents required by a document. For example, an + * ApplicationConfiguration document requires an + * ApplicationConfigurationSchema document.

+ */ + Requires?: DocumentRequires[]; + /** + * @public + *

The current status of a document review.

+ */ + ReviewStatus?: ReviewStatus; + /** + * @public + *

The user in your organization who created the document.

+ */ + Author?: string; +} +/** + * @public + */ +export interface ListDocumentsResult { + /** + * @public + *

The names of the SSM documents.

+ */ + DocumentIdentifiers?: DocumentIdentifier[]; + /** + * @public + *

The token to use when requesting the next set of items. If there are no additional items to + * return, the string is empty.

+ */ + NextToken?: string; +} +/** + * @public + */ +export interface ListDocumentVersionsRequest { + /** + * @public + *

The name of the document. You can specify an Amazon Resource Name (ARN).

+ */ + Name: string | undefined; + /** + * @public + *

The maximum number of items to return for this call. The call also returns a token that you + * can specify in a subsequent call to get the next set of results.

+ */ + MaxResults?: number; + /** + * @public + *

The token for the next set of items to return. (You received this token from a previous + * call.)

+ */ + NextToken?: string; +} +/** + * @public + *

Version information about the document.

+ */ +export interface DocumentVersionInfo { + /** + * @public + *

The document name.

+ */ + Name?: string; + /** + * @public + *

The friendly name of the SSM document. This value can differ for each version of the + * document. If you want to update this value, see UpdateDocument.

+ */ + DisplayName?: string; + /** + * @public + *

The document version.

+ */ + DocumentVersion?: string; + /** + * @public + *

The version of the artifact associated with the document. For example, "Release 12, Update + * 6". This value is unique across all versions of a document, and can't be changed.

+ */ + VersionName?: string; + /** + * @public + *

The date the document was created.

+ */ + CreatedDate?: Date; + /** + * @public + *

An identifier for the default version of the document.

+ */ + IsDefaultVersion?: boolean; + /** + * @public + *

The document format, either JSON or YAML.

+ */ + DocumentFormat?: DocumentFormat; + /** + * @public + *

The status of the SSM document, such as Creating, Active, + * Failed, and Deleting.

+ */ + Status?: DocumentStatus; + /** + * @public + *

A message returned by Amazon Web Services Systems Manager that explains the Status value. For example, a + * Failed status might be explained by the StatusInformation message, + * "The specified S3 bucket doesn't exist. Verify that the URL of the S3 bucket is correct."

+ */ + StatusInformation?: string; + /** + * @public + *

The current status of the approval review for the latest version of the document.

+ */ + ReviewStatus?: ReviewStatus; +} +/** + * @public + */ +export interface ListDocumentVersionsResult { + /** + * @public + *

The document versions.

+ */ + DocumentVersions?: DocumentVersionInfo[]; + /** + * @public + *

The token to use when requesting the next set of items. If there are no additional items to + * return, the string is empty.

+ */ + NextToken?: string; +} +/** + * @public + */ +export interface ListInventoryEntriesRequest { + /** + * @public + *

The managed node ID for which you want inventory information.

+ */ + InstanceId: string | undefined; + /** + * @public + *

The type of inventory item for which you want information.

+ */ + TypeName: string | undefined; + /** + * @public + *

One or more filters. Use a filter to return a more specific list of results.

+ */ + Filters?: InventoryFilter[]; + /** + * @public + *

The token for the next set of items to return. (You received this token from a previous + * call.)

+ */ + NextToken?: string; + /** + * @public + *

The maximum number of items to return for this call. The call also returns a token that you + * can specify in a subsequent call to get the next set of results.

+ */ + MaxResults?: number; +} +/** + * @public + */ +export interface ListInventoryEntriesResult { + /** + * @public + *

The type of inventory item returned by the request.

+ */ + TypeName?: string; + /** + * @public + *

The managed node ID targeted by the request to query inventory information.

+ */ + InstanceId?: string; + /** + * @public + *

The inventory schema version used by the managed node(s).

+ */ + SchemaVersion?: string; + /** + * @public + *

The time that inventory information was collected for the managed node(s).

+ */ + CaptureTime?: string; + /** + * @public + *

A list of inventory items on the managed node(s).

+ */ + Entries?: Record[]; + /** + * @public + *

The token to use when requesting the next set of items. If there are no additional items to + * return, the string is empty.

+ */ + NextToken?: string; +} +/** + * @public + * @enum + */ +export declare const OpsItemEventFilterKey: { + readonly OPSITEM_ID: "OpsItemId"; +}; +/** + * @public + */ +export type OpsItemEventFilterKey = (typeof OpsItemEventFilterKey)[keyof typeof OpsItemEventFilterKey]; +/** + * @public + * @enum + */ +export declare const OpsItemEventFilterOperator: { + readonly EQUAL: "Equal"; +}; +/** + * @public + */ +export type OpsItemEventFilterOperator = (typeof OpsItemEventFilterOperator)[keyof typeof OpsItemEventFilterOperator]; +/** + * @public + *

Describes a filter for a specific list of OpsItem events. You can filter event information + * by using tags. You specify tags by using a key-value pair mapping.

+ */ +export interface OpsItemEventFilter { + /** + * @public + *

The name of the filter key. Currently, the only supported value is + * OpsItemId.

+ */ + Key: OpsItemEventFilterKey | undefined; + /** + * @public + *

The values for the filter, consisting of one or more OpsItem IDs.

+ */ + Values: string[] | undefined; + /** + * @public + *

The operator used by the filter call. Currently, the only supported value is + * Equal.

+ */ + Operator: OpsItemEventFilterOperator | undefined; +} +/** + * @public + */ +export interface ListOpsItemEventsRequest { + /** + * @public + *

One or more OpsItem filters. Use a filter to return a more specific list of results.

+ */ + Filters?: OpsItemEventFilter[]; + /** + * @public + *

The maximum number of items to return for this call. The call also returns a token that you + * can specify in a subsequent call to get the next set of results.

+ */ + MaxResults?: number; + /** + * @public + *

A token to start the list. Use this token to get the next set of results.

+ */ + NextToken?: string; +} +/** + * @public + *

Information about the user or resource that created an OpsItem event.

+ */ +export interface OpsItemIdentity { + /** + * @public + *

The Amazon Resource Name (ARN) of the IAM entity that created the OpsItem + * event.

+ */ + Arn?: string; +} +/** + * @public + *

Summary information about an OpsItem event or that associated an OpsItem with a related + * item.

+ */ +export interface OpsItemEventSummary { + /** + * @public + *

The ID of the OpsItem.

+ */ + OpsItemId?: string; + /** + * @public + *

The ID of the OpsItem event.

+ */ + EventId?: string; + /** + * @public + *

The source of the OpsItem event.

+ */ + Source?: string; + /** + * @public + *

The type of information provided as a detail.

+ */ + DetailType?: string; + /** + * @public + *

Specific information about the OpsItem event.

+ */ + Detail?: string; + /** + * @public + *

Information about the user or resource that created the OpsItem event.

+ */ + CreatedBy?: OpsItemIdentity; + /** + * @public + *

The date and time the OpsItem event was created.

+ */ + CreatedTime?: Date; +} +/** + * @public + */ +export interface ListOpsItemEventsResponse { + /** + * @public + *

The token for the next set of items to return. Use this token to get the next set of + * results.

+ */ + NextToken?: string; + /** + * @public + *

A list of event information for the specified OpsItems.

+ */ + Summaries?: OpsItemEventSummary[]; +} +/** + * @public + * @enum + */ +export declare const OpsItemRelatedItemsFilterKey: { + readonly ASSOCIATION_ID: "AssociationId"; + readonly RESOURCE_TYPE: "ResourceType"; + readonly RESOURCE_URI: "ResourceUri"; +}; +/** + * @public + */ +export type OpsItemRelatedItemsFilterKey = (typeof OpsItemRelatedItemsFilterKey)[keyof typeof OpsItemRelatedItemsFilterKey]; +/** + * @public + * @enum + */ +export declare const OpsItemRelatedItemsFilterOperator: { + readonly EQUAL: "Equal"; +}; +/** + * @public + */ +export type OpsItemRelatedItemsFilterOperator = (typeof OpsItemRelatedItemsFilterOperator)[keyof typeof OpsItemRelatedItemsFilterOperator]; +/** + * @public + *

Describes a filter for a specific list of related-item resources.

+ */ +export interface OpsItemRelatedItemsFilter { + /** + * @public + *

The name of the filter key. Supported values include ResourceUri, + * ResourceType, or AssociationId.

+ */ + Key: OpsItemRelatedItemsFilterKey | undefined; + /** + * @public + *

The values for the filter.

+ */ + Values: string[] | undefined; + /** + * @public + *

The operator used by the filter call. The only supported operator is + * EQUAL.

+ */ + Operator: OpsItemRelatedItemsFilterOperator | undefined; +} +/** + * @public + */ +export interface ListOpsItemRelatedItemsRequest { + /** + * @public + *

The ID of the OpsItem for which you want to list all related-item resources.

+ */ + OpsItemId?: string; + /** + * @public + *

One or more OpsItem filters. Use a filter to return a more specific list of results.

+ */ + Filters?: OpsItemRelatedItemsFilter[]; + /** + * @public + *

The maximum number of items to return for this call. The call also returns a token that you + * can specify in a subsequent call to get the next set of results.

+ */ + MaxResults?: number; + /** + * @public + *

The token for the next set of items to return. (You received this token from a previous + * call.)

+ */ + NextToken?: string; +} +/** + * @public + *

Summary information about related-item resources for an OpsItem.

+ */ +export interface OpsItemRelatedItemSummary { + /** + * @public + *

The OpsItem ID.

+ */ + OpsItemId?: string; + /** + * @public + *

The association ID.

+ */ + AssociationId?: string; + /** + * @public + *

The resource type.

+ */ + ResourceType?: string; + /** + * @public + *

The association type.

+ */ + AssociationType?: string; + /** + * @public + *

The Amazon Resource Name (ARN) of the related-item resource.

+ */ + ResourceUri?: string; + /** + * @public + *

Information about the user or resource that created an OpsItem event.

+ */ + CreatedBy?: OpsItemIdentity; + /** + * @public + *

The time the related-item association was created.

+ */ + CreatedTime?: Date; + /** + * @public + *

Information about the user or resource that created an OpsItem event.

+ */ + LastModifiedBy?: OpsItemIdentity; + /** + * @public + *

The time the related-item association was last updated.

+ */ + LastModifiedTime?: Date; +} +/** + * @public + */ +export interface ListOpsItemRelatedItemsResponse { + /** + * @public + *

The token for the next set of items to return. Use this token to get the next set of + * results.

+ */ + NextToken?: string; + /** + * @public + *

A list of related-item resources for the specified OpsItem.

+ */ + Summaries?: OpsItemRelatedItemSummary[]; +} +/** + * @public + *

A filter to limit the number of OpsMetadata objects displayed.

+ */ +export interface OpsMetadataFilter { + /** + * @public + *

A filter key.

+ */ + Key: string | undefined; + /** + * @public + *

A filter value.

+ */ + Values: string[] | undefined; +} +/** + * @public + */ +export interface ListOpsMetadataRequest { + /** + * @public + *

One or more filters to limit the number of OpsMetadata objects returned by the call.

+ */ + Filters?: OpsMetadataFilter[]; + /** + * @public + *

The maximum number of items to return for this call. The call also returns a token that you + * can specify in a subsequent call to get the next set of results.

+ */ + MaxResults?: number; + /** + * @public + *

A token to start the list. Use this token to get the next set of results.

+ */ + NextToken?: string; +} +/** + * @public + *

Operational metadata for an application in Application Manager.

+ */ +export interface OpsMetadata { + /** + * @public + *

The ID of the Application Manager application.

+ */ + ResourceId?: string; + /** + * @public + *

The Amazon Resource Name (ARN) of the OpsMetadata Object or blob.

+ */ + OpsMetadataArn?: string; + /** + * @public + *

The date the OpsMetadata object was last updated.

+ */ + LastModifiedDate?: Date; + /** + * @public + *

The user name who last updated the OpsMetadata object.

+ */ + LastModifiedUser?: string; + /** + * @public + *

The date the OpsMetadata objects was created.

+ */ + CreationDate?: Date; +} +/** + * @public + */ +export interface ListOpsMetadataResult { + /** + * @public + *

Returns a list of OpsMetadata objects.

+ */ + OpsMetadataList?: OpsMetadata[]; + /** + * @public + *

The token for the next set of items to return. Use this token to get the next set of + * results.

+ */ + NextToken?: string; +} +/** + * @public + */ +export interface ListResourceComplianceSummariesRequest { + /** + * @public + *

One or more filters. Use a filter to return a more specific list of results.

+ */ + Filters?: ComplianceStringFilter[]; + /** + * @public + *

A token to start the list. Use this token to get the next set of results.

+ */ + NextToken?: string; + /** + * @public + *

The maximum number of items to return for this call. The call also returns a token that you + * can specify in a subsequent call to get the next set of results.

+ */ + MaxResults?: number; +} +/** + * @public + *

Compliance summary information for a specific resource.

+ */ +export interface ResourceComplianceSummaryItem { + /** + * @public + *

The compliance type.

+ */ + ComplianceType?: string; + /** + * @public + *

The resource type.

+ */ + ResourceType?: string; + /** + * @public + *

The resource ID.

+ */ + ResourceId?: string; + /** + * @public + *

The compliance status for the resource.

+ */ + Status?: ComplianceStatus; + /** + * @public + *

The highest severity item found for the resource. The resource is compliant for this + * item.

+ */ + OverallSeverity?: ComplianceSeverity; + /** + * @public + *

Information about the execution.

+ */ + ExecutionSummary?: ComplianceExecutionSummary; + /** + * @public + *

A list of items that are compliant for the resource.

+ */ + CompliantSummary?: CompliantSummary; + /** + * @public + *

A list of items that aren't compliant for the resource.

+ */ + NonCompliantSummary?: NonCompliantSummary; +} +/** + * @public + */ +export interface ListResourceComplianceSummariesResult { + /** + * @public + *

A summary count for specified or targeted managed nodes. Summary count includes information + * about compliant and non-compliant State Manager associations, patch status, or custom items + * according to the filter criteria that you specify.

+ */ + ResourceComplianceSummaryItems?: ResourceComplianceSummaryItem[]; + /** + * @public + *

The token for the next set of items to return. Use this token to get the next set of + * results.

+ */ + NextToken?: string; +} +/** + * @public + */ +export interface ListResourceDataSyncRequest { + /** + * @public + *

View a list of resource data syncs according to the sync type. Specify + * SyncToDestination to view resource data syncs that synchronize data to an Amazon S3 bucket. Specify SyncFromSource to view resource data syncs from Organizations + * or from multiple Amazon Web Services Regions.

+ */ + SyncType?: string; + /** + * @public + *

A token to start the list. Use this token to get the next set of results.

+ */ + NextToken?: string; + /** + * @public + *

The maximum number of items to return for this call. The call also returns a token that you + * can specify in a subsequent call to get the next set of results.

+ */ + MaxResults?: number; +} +/** + * @public + * @enum + */ +export declare const LastResourceDataSyncStatus: { + readonly FAILED: "Failed"; + readonly INPROGRESS: "InProgress"; + readonly SUCCESSFUL: "Successful"; +}; +/** + * @public + */ +export type LastResourceDataSyncStatus = (typeof LastResourceDataSyncStatus)[keyof typeof LastResourceDataSyncStatus]; +/** + * @public + *

The data type name for including resource data sync state. There are four sync + * states:

+ *

+ * OrganizationNotExists (Your organization doesn't exist)

+ *

+ * NoPermissions (The system can't locate the service-linked role. This role is + * automatically created when a user creates a resource data sync in Amazon Web Services Systems Manager Explorer.)

+ *

+ * InvalidOrganizationalUnit (You specified or selected an invalid unit in the + * resource data sync configuration.)

+ *

+ * TrustedAccessDisabled (You disabled Systems Manager access in the organization in + * Organizations.)

+ */ +export interface ResourceDataSyncSourceWithState { + /** + * @public + *

The type of data source for the resource data sync. SourceType is either + * AwsOrganizations (if an organization is present in Organizations) or + * singleAccountMultiRegions.

+ */ + SourceType?: string; + /** + * @public + *

The field name in SyncSource for the + * ResourceDataSyncAwsOrganizationsSource type.

+ */ + AwsOrganizationsSource?: ResourceDataSyncAwsOrganizationsSource; + /** + * @public + *

The SyncSource Amazon Web Services Regions included in the resource data sync.

+ */ + SourceRegions?: string[]; + /** + * @public + *

Whether to automatically synchronize and aggregate data from new Amazon Web Services Regions when those + * Regions come online.

+ */ + IncludeFutureRegions?: boolean; + /** + * @public + *

The data type name for including resource data sync state. There are four sync + * states:

+ *

+ * OrganizationNotExists: Your organization doesn't exist.

+ *

+ * NoPermissions: The system can't locate the service-linked role. This role is + * automatically created when a user creates a resource data sync in Explorer.

+ *

+ * InvalidOrganizationalUnit: You specified or selected an invalid unit in the + * resource data sync configuration.

+ *

+ * TrustedAccessDisabled: You disabled Systems Manager access in the organization in + * Organizations.

+ */ + State?: string; + /** + * @public + *

When you create a resource data sync, if you choose one of the Organizations options, then Systems Manager + * automatically enables all OpsData sources in the selected Amazon Web Services Regions for all Amazon Web Services accounts in + * your organization (or in the selected organization units). For more information, see About multiple account and Region resource data syncs in the + * Amazon Web Services Systems Manager User Guide.

+ */ + EnableAllOpsDataSources?: boolean; +} +/** + * @public + *

Information about a resource data sync configuration, including its current status and last + * successful sync.

+ */ +export interface ResourceDataSyncItem { + /** + * @public + *

The name of the resource data sync.

+ */ + SyncName?: string; + /** + * @public + *

The type of resource data sync. If SyncType is SyncToDestination, + * then the resource data sync synchronizes data to an S3 bucket. If the SyncType is + * SyncFromSource then the resource data sync synchronizes data from Organizations or from + * multiple Amazon Web Services Regions.

+ */ + SyncType?: string; + /** + * @public + *

Information about the source where the data was synchronized.

+ */ + SyncSource?: ResourceDataSyncSourceWithState; + /** + * @public + *

Configuration information for the target S3 bucket.

+ */ + S3Destination?: ResourceDataSyncS3Destination; + /** + * @public + *

The last time the configuration attempted to sync (UTC).

+ */ + LastSyncTime?: Date; + /** + * @public + *

The last time the sync operations returned a status of SUCCESSFUL (UTC).

+ */ + LastSuccessfulSyncTime?: Date; + /** + * @public + *

The date and time the resource data sync was changed.

+ */ + SyncLastModifiedTime?: Date; + /** + * @public + *

The status reported by the last sync.

+ */ + LastStatus?: LastResourceDataSyncStatus; + /** + * @public + *

The date and time the configuration was created (UTC).

+ */ + SyncCreatedTime?: Date; + /** + * @public + *

The status message details reported by the last sync.

+ */ + LastSyncStatusMessage?: string; +} +/** + * @public + */ +export interface ListResourceDataSyncResult { + /** + * @public + *

A list of your current resource data sync configurations and their statuses.

+ */ + ResourceDataSyncItems?: ResourceDataSyncItem[]; + /** + * @public + *

The token for the next set of items to return. Use this token to get the next set of + * results.

+ */ + NextToken?: string; +} +/** + * @public + */ +export interface ListTagsForResourceRequest { + /** + * @public + *

Returns a list of tags for a specific resource type.

+ */ + ResourceType: ResourceTypeForTagging | undefined; + /** + * @public + *

The resource ID for which you want to see a list of tags.

+ */ + ResourceId: string | undefined; +} +/** + * @public + */ +export interface ListTagsForResourceResult { + /** + * @public + *

A list of tags.

+ */ + TagList?: Tag[]; +} +/** + * @public + *

The document can't be shared with more Amazon Web Services accounts. You can specify a maximum of 20 + * accounts per API operation to share a private document.

+ *

By default, you can share a private document with a maximum of 1,000 accounts and publicly + * share up to five documents.

+ *

If you need to increase the quota for privately or publicly shared Systems Manager documents, contact + * Amazon Web Services Support.

+ */ +export declare class DocumentPermissionLimit extends __BaseException { + readonly name: "DocumentPermissionLimit"; + readonly $fault: "client"; + Message?: string; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + */ +export interface ModifyDocumentPermissionRequest { + /** + * @public + *

The name of the document that you want to share.

+ */ + Name: string | undefined; + /** + * @public + *

The permission type for the document. The permission type can be + * Share.

+ */ + PermissionType: DocumentPermissionType | undefined; + /** + * @public + *

The Amazon Web Services users that should have access to the document. The account IDs can either be a + * group of account IDs or All.

+ */ + AccountIdsToAdd?: string[]; + /** + * @public + *

The Amazon Web Services users that should no longer have access to the document. The Amazon Web Services user + * can either be a group of account IDs or All. This action has a higher + * priority than AccountIdsToAdd. If you specify an ID to add and the same ID + * to remove, the system removes access to the document.

+ */ + AccountIdsToRemove?: string[]; + /** + * @public + *

(Optional) The version of the document to share. If it isn't specified, the system choose + * the Default version to share.

+ */ + SharedDocumentVersion?: string; +} +/** + * @public + */ +export interface ModifyDocumentPermissionResponse { +} +/** + * @public + *

You specified too many custom compliance types. You can specify a maximum of 10 different + * types.

+ */ +export declare class ComplianceTypeCountLimitExceededException extends __BaseException { + readonly name: "ComplianceTypeCountLimitExceededException"; + readonly $fault: "client"; + Message?: string; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + *

One or more content items isn't valid.

+ */ +export declare class InvalidItemContentException extends __BaseException { + readonly name: "InvalidItemContentException"; + readonly $fault: "client"; + TypeName?: string; + Message?: string; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + *

The inventory item size has exceeded the size limit.

+ */ +export declare class ItemSizeLimitExceededException extends __BaseException { + readonly name: "ItemSizeLimitExceededException"; + readonly $fault: "client"; + TypeName?: string; + Message?: string; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + *

Information about a compliance item.

+ */ +export interface ComplianceItemEntry { + /** + * @public + *

The compliance item ID. For example, if the compliance item is a Windows patch, the ID could + * be the number of the KB article.

+ */ + Id?: string; + /** + * @public + *

The title of the compliance item. For example, if the compliance item is a Windows patch, + * the title could be the title of the KB article for the patch; for example: Security Update for + * Active Directory Federation Services.

+ */ + Title?: string; + /** + * @public + *

The severity of the compliance status. Severity can be one of the following: Critical, High, + * Medium, Low, Informational, Unspecified.

+ */ + Severity: ComplianceSeverity | undefined; + /** + * @public + *

The status of the compliance item. An item is either COMPLIANT or NON_COMPLIANT.

+ */ + Status: ComplianceStatus | undefined; + /** + * @public + *

A "Key": "Value" tag combination for the compliance item.

+ */ + Details?: Record; +} +/** + * @public + * @enum + */ +export declare const ComplianceUploadType: { + readonly Complete: "COMPLETE"; + readonly Partial: "PARTIAL"; +}; +/** + * @public + */ +export type ComplianceUploadType = (typeof ComplianceUploadType)[keyof typeof ComplianceUploadType]; +/** + * @public + */ +export interface PutComplianceItemsRequest { + /** + * @public + *

Specify an ID for this resource. For a managed node, this is the node ID.

+ */ + ResourceId: string | undefined; + /** + * @public + *

Specify the type of resource. ManagedInstance is currently the only supported + * resource type.

+ */ + ResourceType: string | undefined; + /** + * @public + *

Specify the compliance type. For example, specify Association (for a State Manager + * association), Patch, or Custom:string.

+ */ + ComplianceType: string | undefined; + /** + * @public + *

A summary of the call execution that includes an execution ID, the type of execution (for + * example, Command), and the date/time of the execution using a datetime object that + * is saved in the following format: yyyy-MM-dd'T'HH:mm:ss'Z'.

+ */ + ExecutionSummary: ComplianceExecutionSummary | undefined; + /** + * @public + *

Information about the compliance as defined by the resource type. For example, for a patch + * compliance type, Items includes information about the PatchSeverity, Classification, + * and so on.

+ */ + Items: ComplianceItemEntry[] | undefined; + /** + * @public + *

MD5 or SHA-256 content hash. The content hash is used to determine if existing information + * should be overwritten or ignored. If the content hashes match, the request to put compliance + * information is ignored.

+ */ + ItemContentHash?: string; + /** + * @public + *

The mode for uploading compliance items. You can specify COMPLETE or + * PARTIAL. In COMPLETE mode, the system overwrites all existing + * compliance information for the resource. You must provide a full list of compliance items each + * time you send the request.

+ *

In PARTIAL mode, the system overwrites compliance information for a specific + * association. The association must be configured with SyncCompliance set to + * MANUAL. By default, all requests use COMPLETE mode.

+ * + *

This attribute is only valid for association compliance.

+ *
+ */ + UploadType?: ComplianceUploadType; +} +/** + * @public + */ +export interface PutComplianceItemsResult { +} +/** + * @public + *

The size of inventory data has exceeded the total size limit for the resource.

+ */ +export declare class TotalSizeLimitExceededException extends __BaseException { + readonly name: "TotalSizeLimitExceededException"; + readonly $fault: "client"; + Message?: string; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + *

You have exceeded the limit for custom schemas. Delete one or more custom schemas and try + * again.

+ */ +export declare class CustomSchemaCountLimitExceededException extends __BaseException { + readonly name: "CustomSchemaCountLimitExceededException"; + readonly $fault: "client"; + Message?: string; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + *

You specified invalid keys or values in the Context attribute for + * InventoryItem. Verify the keys and values, and try again.

+ */ +export declare class InvalidInventoryItemContextException extends __BaseException { + readonly name: "InvalidInventoryItemContextException"; + readonly $fault: "client"; + Message?: string; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + *

The inventory item has invalid content.

+ */ +export declare class ItemContentMismatchException extends __BaseException { + readonly name: "ItemContentMismatchException"; + readonly $fault: "client"; + TypeName?: string; + Message?: string; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + *

Information collected from managed nodes based on your inventory policy document

+ */ +export interface InventoryItem { + /** + * @public + *

The name of the inventory type. Default inventory item type names start with + * AWS. Custom inventory type names will start with Custom. Default inventory item + * types include the following: AWS:AWSComponent, AWS:Application, + * AWS:InstanceInformation, AWS:Network, and + * AWS:WindowsUpdate.

+ */ + TypeName: string | undefined; + /** + * @public + *

The schema version for the inventory item.

+ */ + SchemaVersion: string | undefined; + /** + * @public + *

The time the inventory information was collected.

+ */ + CaptureTime: string | undefined; + /** + * @public + *

MD5 hash of the inventory item type contents. The content hash is used to determine whether + * to update inventory information. The PutInventory API doesn't update the inventory item type + * contents if the MD5 hash hasn't changed since last update.

+ */ + ContentHash?: string; + /** + * @public + *

The inventory data of the inventory type.

+ */ + Content?: Record[]; + /** + * @public + *

A map of associated properties for a specified inventory type. For example, with this + * attribute, you can specify the ExecutionId, ExecutionType, + * ComplianceType properties of the AWS:ComplianceItem type.

+ */ + Context?: Record; +} +/** + * @public + */ +export interface PutInventoryRequest { + /** + * @public + *

An managed node ID where you want to add or update inventory items.

+ */ + InstanceId: string | undefined; + /** + * @public + *

The inventory items that you want to add or update on managed nodes.

+ */ + Items: InventoryItem[] | undefined; +} +/** + * @public + */ +export interface PutInventoryResult { + /** + * @public + *

Information about the request.

+ */ + Message?: string; +} +/** + * @public + *

The sub-type count exceeded the limit for the inventory type.

+ */ +export declare class SubTypeCountLimitExceededException extends __BaseException { + readonly name: "SubTypeCountLimitExceededException"; + readonly $fault: "client"; + Message?: string; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + *

The Context attribute that you specified for the InventoryItem + * isn't allowed for this inventory type. You can only use the Context attribute with + * inventory types like AWS:ComplianceItem.

+ */ +export declare class UnsupportedInventoryItemContextException extends __BaseException { + readonly name: "UnsupportedInventoryItemContextException"; + readonly $fault: "client"; + TypeName?: string; + Message?: string; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + *

Inventory item type schema version has to match supported versions in the service. Check + * output of GetInventorySchema to see the available schema version for each type.

+ */ +export declare class UnsupportedInventorySchemaVersionException extends __BaseException { + readonly name: "UnsupportedInventorySchemaVersionException"; + readonly $fault: "client"; + Message?: string; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + *

A hierarchy can have a maximum of 15 levels. For more information, see Requirements and + * constraints for parameter names in the Amazon Web Services Systems Manager User Guide.

+ */ +export declare class HierarchyLevelLimitExceededException extends __BaseException { + readonly name: "HierarchyLevelLimitExceededException"; + readonly $fault: "client"; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + *

Parameter Store doesn't support changing a parameter type in a hierarchy. For example, you + * can't change a parameter from a String type to a SecureString type. You + * must create a new, unique parameter.

+ */ +export declare class HierarchyTypeMismatchException extends __BaseException { + readonly name: "HierarchyTypeMismatchException"; + readonly $fault: "client"; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + *

There is a conflict in the policies specified for this parameter. You can't, for example, + * specify two Expiration policies for a parameter. Review your policies, and try again.

+ */ +export declare class IncompatiblePolicyException extends __BaseException { + readonly name: "IncompatiblePolicyException"; + readonly $fault: "client"; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + *

The request doesn't meet the regular expression requirement.

+ */ +export declare class InvalidAllowedPatternException extends __BaseException { + readonly name: "InvalidAllowedPatternException"; + readonly $fault: "client"; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + *

A policy attribute or its value is invalid.

+ */ +export declare class InvalidPolicyAttributeException extends __BaseException { + readonly name: "InvalidPolicyAttributeException"; + readonly $fault: "client"; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + *

The policy type isn't supported. Parameter Store supports the following policy types: + * Expiration, ExpirationNotification, and NoChangeNotification.

+ */ +export declare class InvalidPolicyTypeException extends __BaseException { + readonly name: "InvalidPolicyTypeException"; + readonly $fault: "client"; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + *

The parameter already exists. You can't create duplicate parameters.

+ */ +export declare class ParameterAlreadyExists extends __BaseException { + readonly name: "ParameterAlreadyExists"; + readonly $fault: "client"; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + *

You have exceeded the number of parameters for this Amazon Web Services account. Delete one or more + * parameters and try again.

+ */ +export declare class ParameterLimitExceeded extends __BaseException { + readonly name: "ParameterLimitExceeded"; + readonly $fault: "client"; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + *

Parameter Store retains the 100 most recently created versions of a parameter. After this + * number of versions has been created, Parameter Store deletes the oldest version when a new one is + * created. However, if the oldest version has a label attached to it, + * Parameter Store won't delete the version and instead presents this error message:

+ *

+ * An error occurred (ParameterMaxVersionLimitExceeded) when calling the PutParameter + * operation: You attempted to create a new version of parameter-name by + * calling the PutParameter API with the overwrite flag. Version + * version-number, the oldest version, can't be deleted because it has a + * label associated with it. Move the label to another version of the parameter, and try + * again. + *

+ *

This safeguard is to prevent parameter versions with mission critical labels assigned to + * them from being deleted. To continue creating new parameters, first move the label from the + * oldest version of the parameter to a newer one for use in your operations. For information about + * moving parameter labels, see Move a parameter label (console) or Move a parameter label (CLI) in the Amazon Web Services Systems Manager User Guide.

+ */ +export declare class ParameterMaxVersionLimitExceeded extends __BaseException { + readonly name: "ParameterMaxVersionLimitExceeded"; + readonly $fault: "client"; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + *

The parameter name isn't valid.

+ */ +export declare class ParameterPatternMismatchException extends __BaseException { + readonly name: "ParameterPatternMismatchException"; + readonly $fault: "client"; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + *

You specified more than the maximum number of allowed policies for the parameter. The + * maximum is 10.

+ */ +export declare class PoliciesLimitExceededException extends __BaseException { + readonly name: "PoliciesLimitExceededException"; + readonly $fault: "client"; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + */ +export interface PutParameterRequest { + /** + * @public + *

The fully qualified name of the parameter that you want to add to the system. The fully + * qualified name includes the complete hierarchy of the parameter path and name. For parameters in + * a hierarchy, you must include a leading forward slash character (/) when you create or reference + * a parameter. For example: /Dev/DBServer/MySQL/db-string13 + *

+ *

Naming Constraints:

+ *
    + *
  • + *

    Parameter names are case sensitive.

    + *
  • + *
  • + *

    A parameter name must be unique within an Amazon Web Services Region

    + *
  • + *
  • + *

    A parameter name can't be prefixed with "aws" or "ssm" + * (case-insensitive).

    + *
  • + *
  • + *

    Parameter names can include only the following symbols and letters: + * a-zA-Z0-9_.- + *

    + *

    In addition, the slash character ( / ) is used to delineate hierarchies in parameter + * names. For example: /Dev/Production/East/Project-ABC/MyParameter + *

    + *
  • + *
  • + *

    A parameter name can't include spaces.

    + *
  • + *
  • + *

    Parameter hierarchies are limited to a maximum depth of fifteen levels.

    + *
  • + *
+ *

For additional information about valid values for parameter names, see Creating Systems Manager parameters in the Amazon Web Services Systems Manager User Guide.

+ * + *

The maximum length constraint of 2048 characters listed below includes 1037 characters + * reserved for internal use by Systems Manager. The maximum length for a parameter name that you create is + * 1011 characters. This includes the characters in the ARN that precede the name you specify, such + * as arn:aws:ssm:us-east-2:111122223333:parameter/.

+ *
+ */ + Name: string | undefined; + /** + * @public + *

Information about the parameter that you want to add to the system. Optional but + * recommended.

+ * + *

Don't enter personally identifiable information in this field.

+ *
+ */ + Description?: string; + /** + * @public + *

The parameter value that you want to add to the system. Standard parameters have a value + * limit of 4 KB. Advanced parameters have a value limit of 8 KB.

+ * + *

Parameters can't be referenced or nested in the values of other parameters. You can't + * include \{\{\}\} or \{\{ssm:parameter-name\}\} in a + * parameter value.

+ *
+ */ + Value: string | undefined; + /** + * @public + *

The type of parameter that you want to add to the system.

+ * + *

+ * SecureString isn't currently supported for CloudFormation templates.

+ *
+ *

Items in a StringList must be separated by a comma (,). You can't + * use other punctuation or special character to escape items in the list. If you have a parameter + * value that requires a comma, then use the String data type.

+ * + *

Specifying a parameter type isn't required when updating a parameter. You must specify a + * parameter type when creating a parameter.

+ *
+ */ + Type?: ParameterType; + /** + * @public + *

The Key Management Service (KMS) ID that you want to use to encrypt a + * parameter. Use a custom key for better security. Required for parameters that use the SecureString data type.

+ *

If you don't specify a key ID, the system uses the default key associated with your + * Amazon Web Services account which is not as secure as using a custom key.

+ *
    + *
  • + *

    To use a custom KMS key, choose the SecureString + * data type with the Key ID parameter.

    + *
  • + *
+ */ + KeyId?: string; + /** + * @public + *

Overwrite an existing parameter. The default value is false.

+ */ + Overwrite?: boolean; + /** + * @public + *

A regular expression used to validate the parameter value. For example, for String types + * with values restricted to numbers, you can specify the following: AllowedPattern=^\d+$

+ */ + AllowedPattern?: string; + /** + * @public + *

Optional metadata that you assign to a resource. Tags enable you to categorize a resource in + * different ways, such as by purpose, owner, or environment. For example, you might want to tag a + * Systems Manager parameter to identify the type of resource to which it applies, the environment, or the + * type of configuration data referenced by the parameter. In this case, you could specify the + * following key-value pairs:

+ *
    + *
  • + *

    + * Key=Resource,Value=S3bucket + *

    + *
  • + *
  • + *

    + * Key=OS,Value=Windows + *

    + *
  • + *
  • + *

    + * Key=ParameterType,Value=LicenseKey + *

    + *
  • + *
+ * + *

To add tags to an existing Systems Manager parameter, use the AddTagsToResource + * operation.

+ *
+ */ + Tags?: Tag[]; + /** + * @public + *

The parameter tier to assign to a parameter.

+ *

Parameter Store offers a standard tier and an advanced tier for parameters. Standard + * parameters have a content size limit of 4 KB and can't be configured to use parameter policies. + * You can create a maximum of 10,000 standard parameters for each Region in an Amazon Web Services account. + * Standard parameters are offered at no additional cost.

+ *

Advanced parameters have a content size limit of 8 KB and can be configured to use parameter + * policies. You can create a maximum of 100,000 advanced parameters for each Region in an + * Amazon Web Services account. Advanced parameters incur a charge. For more information, see Standard and + * advanced parameter tiers in the Amazon Web Services Systems Manager User Guide.

+ *

You can change a standard parameter to an advanced parameter any time. But you can't revert + * an advanced parameter to a standard parameter. Reverting an advanced parameter to a standard + * parameter would result in data loss because the system would truncate the size of the parameter + * from 8 KB to 4 KB. Reverting would also remove any policies attached to the parameter. Lastly, + * advanced parameters use a different form of encryption than standard parameters.

+ *

If you no longer need an advanced parameter, or if you no longer want to incur charges for + * an advanced parameter, you must delete it and recreate it as a new standard parameter.

+ *

+ * Using the Default Tier Configuration + *

+ *

In PutParameter requests, you can specify the tier to create the parameter in. + * Whenever you specify a tier in the request, Parameter Store creates or updates the parameter + * according to that request. However, if you don't specify a tier in a request, Parameter Store + * assigns the tier based on the current Parameter Store default tier configuration.

+ *

The default tier when you begin using Parameter Store is the standard-parameter tier. If you + * use the advanced-parameter tier, you can specify one of the following as the default:

+ *
    + *
  • + *

    + * Advanced: With this option, Parameter Store evaluates all + * requests as advanced parameters.

    + *
  • + *
  • + *

    + * Intelligent-Tiering: With this option, Parameter Store + * evaluates each request to determine if the parameter is standard or advanced.

    + *

    If the request doesn't include any options that require an advanced parameter, the + * parameter is created in the standard-parameter tier. If one or more options requiring an + * advanced parameter are included in the request, Parameter Store create a parameter in the + * advanced-parameter tier.

    + *

    This approach helps control your parameter-related costs by always creating standard + * parameters unless an advanced parameter is necessary.

    + *
  • + *
+ *

Options that require an advanced parameter include the following:

+ *
    + *
  • + *

    The content size of the parameter is more than 4 KB.

    + *
  • + *
  • + *

    The parameter uses a parameter policy.

    + *
  • + *
  • + *

    More than 10,000 parameters already exist in your Amazon Web Services account in the current + * Amazon Web Services Region.

    + *
  • + *
+ *

For more information about configuring the default tier option, see Specifying a + * default parameter tier in the Amazon Web Services Systems Manager User Guide.

+ */ + Tier?: ParameterTier; + /** + * @public + *

One or more policies to apply to a parameter. This operation takes a JSON array. Parameter + * Store, a capability of Amazon Web Services Systems Manager supports the following policy types:

+ *

Expiration: This policy deletes the parameter after it expires. When you create the policy, + * you specify the expiration date. You can update the expiration date and time by updating the + * policy. Updating the parameter doesn't affect the expiration date and time. + * When the expiration time is reached, Parameter Store deletes the parameter.

+ *

ExpirationNotification: This policy initiates an event in Amazon CloudWatch Events that + * notifies you about the expiration. By using this policy, you can receive notification before or + * after the expiration time is reached, in units of days or hours.

+ *

NoChangeNotification: This policy initiates a CloudWatch Events event if a parameter hasn't + * been modified for a specified period of time. This policy type is useful when, for example, a + * secret needs to be changed within a period of time, but it hasn't been changed.

+ *

All existing policies are preserved until you send new policies or an empty policy. For more + * information about parameter policies, see Assigning parameter + * policies.

+ */ + Policies?: string; + /** + * @public + *

The data type for a String parameter. Supported data types include plain text + * and Amazon Machine Image (AMI) IDs.

+ *

+ * The following data type values are supported. + *

+ *
    + *
  • + *

    + * text + *

    + *
  • + *
  • + *

    + * aws:ec2:image + *

    + *
  • + *
  • + *

    + * aws:ssm:integration + *

    + *
  • + *
+ *

When you create a String parameter and specify aws:ec2:image, + * Amazon Web Services Systems Manager validates the parameter value is in the required format, such as + * ami-12345abcdeEXAMPLE, and that the specified AMI is available in your + * Amazon Web Services account.

+ * + *

If the action is successful, the service sends back an HTTP 200 response which indicates a + * successful PutParameter call for all cases except for data type + * aws:ec2:image. If you call PutParameter with + * aws:ec2:image data type, a successful HTTP 200 response does not guarantee that + * your parameter was successfully created or updated. The aws:ec2:image value is + * validated asynchronously, and the PutParameter call returns before the validation + * is complete. If you submit an invalid AMI value, the PutParameter operation will return success, + * but the asynchronous validation will fail and the parameter will not be created or updated. To + * monitor whether your aws:ec2:image parameters are created successfully, see Setting + * up notifications or trigger actions based on Parameter Store events. For more + * information about AMI format validation , see Native parameter + * support for Amazon Machine Image (AMI) IDs.

+ *
+ */ + DataType?: string; +} +/** + * @public + */ +export interface PutParameterResult { + /** + * @public + *

The new version number of a parameter. If you edit a parameter value, Parameter Store + * automatically creates a new version and assigns this new version a unique ID. You can reference a + * parameter version ID in API operations or in Systems Manager documents (SSM documents). By default, if you + * don't specify a specific version, the system returns the latest parameter value when a parameter + * is called.

+ */ + Version?: number; + /** + * @public + *

The tier assigned to the parameter.

+ */ + Tier?: ParameterTier; +} +/** + * @public + *

The parameter type isn't supported.

+ */ +export declare class UnsupportedParameterType extends __BaseException { + readonly name: "UnsupportedParameterType"; + readonly $fault: "client"; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + */ +export interface PutResourcePolicyRequest { + /** + * @public + *

Amazon Resource Name (ARN) of the resource to which you want to attach a policy.

+ */ + ResourceArn: string | undefined; + /** + * @public + *

A policy you want to associate with a resource.

+ */ + Policy: string | undefined; + /** + * @public + *

The policy ID.

+ */ + PolicyId?: string; + /** + * @public + *

ID of the current policy version. The hash helps to prevent a situation where multiple users + * attempt to overwrite a policy. You must provide this hash when updating or deleting a + * policy.

+ */ + PolicyHash?: string; +} +/** + * @public + */ +export interface PutResourcePolicyResponse { + /** + * @public + *

The policy ID. To update a policy, you must specify PolicyId and + * PolicyHash.

+ */ + PolicyId?: string; + /** + * @public + *

ID of the current policy version.

+ */ + PolicyHash?: string; +} +/** + * @public + *

The PutResourcePolicy API action enforces two limits. A policy can't be + * greater than 1024 bytes in size. And only one policy can be attached to + * OpsItemGroup. Verify these limits and try again.

+ */ +export declare class ResourcePolicyLimitExceededException extends __BaseException { + readonly name: "ResourcePolicyLimitExceededException"; + readonly $fault: "client"; + Limit?: number; + LimitType?: string; + Message?: string; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + */ +export interface RegisterDefaultPatchBaselineRequest { + /** + * @public + *

The ID of the patch baseline that should be the default patch baseline.

+ */ + BaselineId: string | undefined; +} +/** + * @public + */ +export interface RegisterDefaultPatchBaselineResult { + /** + * @public + *

The ID of the default patch baseline.

+ */ + BaselineId?: string; +} +/** + * @public + */ +export interface RegisterPatchBaselineForPatchGroupRequest { + /** + * @public + *

The ID of the patch baseline to register with the patch group.

+ */ + BaselineId: string | undefined; + /** + * @public + *

The name of the patch group to be registered with the patch baseline.

+ */ + PatchGroup: string | undefined; +} +/** + * @public + */ +export interface RegisterPatchBaselineForPatchGroupResult { + /** + * @public + *

The ID of the patch baseline the patch group was registered with.

+ */ + BaselineId?: string; + /** + * @public + *

The name of the patch group registered with the patch baseline.

+ */ + PatchGroup?: string; +} +/** + * @public + */ +export interface RegisterTargetWithMaintenanceWindowRequest { + /** + * @public + *

The ID of the maintenance window the target should be registered with.

+ */ + WindowId: string | undefined; + /** + * @public + *

The type of target being registered with the maintenance window.

+ */ + ResourceType: MaintenanceWindowResourceType | undefined; + /** + * @public + *

The targets to register with the maintenance window. In other words, the managed nodes to + * run commands on when the maintenance window runs.

+ * + *

If a single maintenance window task is registered with multiple targets, its task + * invocations occur sequentially and not in parallel. If your task must run on multiple targets at + * the same time, register a task for each target individually and assign each task the same + * priority level.

+ *
+ *

You can specify targets using managed node IDs, resource group names, or tags that have been + * applied to managed nodes.

+ *

+ * Example 1: Specify managed node IDs

+ *

+ * Key=InstanceIds,Values=,, + *

+ *

+ * Example 2: Use tag key-pairs applied to managed + * nodes

+ *

+ * Key=tag:,Values=, + *

+ *

+ * Example 3: Use tag-keys applied to managed nodes

+ *

+ * Key=tag-key,Values=, + *

+ *

+ * Example 4: Use resource group names

+ *

+ * Key=resource-groups:Name,Values= + *

+ *

+ * Example 5: Use filters for resource group types

+ *

+ * Key=resource-groups:ResourceTypeFilters,Values=, + *

+ * + *

For Key=resource-groups:ResourceTypeFilters, specify resource types in the + * following format

+ *

+ * Key=resource-groups:ResourceTypeFilters,Values=AWS::EC2::INSTANCE,AWS::EC2::VPC + *

+ *
+ *

For more information about these examples formats, including the best use case for each one, + * see Examples: Register + * targets with a maintenance window in the Amazon Web Services Systems Manager User Guide.

+ */ + Targets: Target[] | undefined; + /** + * @public + *

User-provided value that will be included in any Amazon CloudWatch Events events raised while + * running tasks for these targets in this maintenance window.

+ */ + OwnerInformation?: string; + /** + * @public + *

An optional name for the target.

+ */ + Name?: string; + /** + * @public + *

An optional description for the target.

+ */ + Description?: string; + /** + * @public + *

User-provided idempotency token.

+ */ + ClientToken?: string; +} +/** + * @public + */ +export interface RegisterTargetWithMaintenanceWindowResult { + /** + * @public + *

The ID of the target definition in this maintenance window.

+ */ + WindowTargetId?: string; +} +/** + * @public + *

You attempted to register a LAMBDA or STEP_FUNCTIONS task in a + * region where the corresponding service isn't available.

+ */ +export declare class FeatureNotAvailableException extends __BaseException { + readonly name: "FeatureNotAvailableException"; + readonly $fault: "client"; + Message?: string; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + */ +export interface RegisterTaskWithMaintenanceWindowRequest { + /** + * @public + *

The ID of the maintenance window the task should be added to.

+ */ + WindowId: string | undefined; + /** + * @public + *

The targets (either managed nodes or maintenance window targets).

+ * + *

One or more targets must be specified for maintenance window Run Command-type tasks. + * Depending on the task, targets are optional for other maintenance window task types (Automation, + * Lambda, and Step Functions). For more information about running tasks + * that don't specify targets, see Registering + * maintenance window tasks without targets in the + * Amazon Web Services Systems Manager User Guide.

+ *
+ *

Specify managed nodes using the following format:

+ *

+ * Key=InstanceIds,Values=, + *

+ *

Specify maintenance window targets using the following format:

+ *

+ * Key=WindowTargetIds,Values=, + *

+ */ + Targets?: Target[]; + /** + * @public + *

The ARN of the task to run.

+ */ + TaskArn: string | undefined; + /** + * @public + *

The Amazon Resource Name (ARN) of the IAM service role for Amazon Web Services Systems Manager to assume when running a + * maintenance window task. If you do not specify a service role ARN, Systems Manager uses your account's + * service-linked role. If no service-linked role for Systems Manager exists in your account, it is created when you run + * RegisterTaskWithMaintenanceWindow.

+ *

For more information, see the following topics in the in the Amazon Web Services Systems Manager User Guide:

+ * + */ + ServiceRoleArn?: string; + /** + * @public + *

The type of task being registered.

+ */ + TaskType: MaintenanceWindowTaskType | undefined; + /** + * @public + *

The parameters that should be passed to the task when it is run.

+ * + *

+ * TaskParameters has been deprecated. To specify parameters to pass to a task when it runs, + * instead use the Parameters option in the TaskInvocationParameters structure. For information + * about how Systems Manager handles these options for the supported maintenance window task + * types, see MaintenanceWindowTaskInvocationParameters.

+ *
+ */ + TaskParameters?: Record; + /** + * @public + *

The parameters that the task should use during execution. Populate only the fields that + * match the task type. All other fields should be empty.

+ */ + TaskInvocationParameters?: MaintenanceWindowTaskInvocationParameters; + /** + * @public + *

The priority of the task in the maintenance window, the lower the number the higher the + * priority. Tasks in a maintenance window are scheduled in priority order with tasks that have the + * same priority scheduled in parallel.

+ */ + Priority?: number; + /** + * @public + *

The maximum number of targets this task can be run for, in parallel.

+ * + *

Although this element is listed as "Required: No", a value can be omitted only when you are + * registering or updating a targetless + * task You must provide a value in all other cases.

+ *

For maintenance window tasks without a target specified, you can't supply a value for this + * option. Instead, the system inserts a placeholder value of 1. This value doesn't + * affect the running of your task.

+ *
+ */ + MaxConcurrency?: string; + /** + * @public + *

The maximum number of errors allowed before this task stops being scheduled.

+ * + *

Although this element is listed as "Required: No", a value can be omitted only when you are + * registering or updating a targetless + * task You must provide a value in all other cases.

+ *

For maintenance window tasks without a target specified, you can't supply a value for this + * option. Instead, the system inserts a placeholder value of 1. This value doesn't + * affect the running of your task.

+ *
+ */ + MaxErrors?: string; + /** + * @public + *

A structure containing information about an Amazon Simple Storage Service (Amazon S3) bucket + * to write managed node-level logs to.

+ * + *

+ * LoggingInfo has been deprecated. To specify an Amazon Simple Storage Service (Amazon S3) bucket to contain logs, instead use the + * OutputS3BucketName and OutputS3KeyPrefix options in the TaskInvocationParameters structure. + * For information about how Amazon Web Services Systems Manager handles these options for the supported maintenance + * window task types, see MaintenanceWindowTaskInvocationParameters.

+ *
+ */ + LoggingInfo?: LoggingInfo; + /** + * @public + *

An optional name for the task.

+ */ + Name?: string; + /** + * @public + *

An optional description for the task.

+ */ + Description?: string; + /** + * @public + *

User-provided idempotency token.

+ */ + ClientToken?: string; + /** + * @public + *

Indicates whether tasks should continue to run after the cutoff time specified in the + * maintenance windows is reached.

+ *
    + *
  • + *

    + * CONTINUE_TASK: When the cutoff time is reached, any tasks that are running + * continue. The default value.

    + *
  • + *
  • + *

    + * CANCEL_TASK:

    + *
      + *
    • + *

      For Automation, Lambda, Step Functions tasks: When the cutoff + * time is reached, any task invocations that are already running continue, but no new task + * invocations are started.

      + *
    • + *
    • + *

      For Run Command tasks: When the cutoff time is reached, the system sends a CancelCommand operation that attempts to cancel the command associated with the + * task. However, there is no guarantee that the command will be terminated and the underlying + * process stopped.

      + *
    • + *
    + *

    The status for tasks that are not completed is TIMED_OUT.

    + *
  • + *
+ */ + CutoffBehavior?: MaintenanceWindowTaskCutoffBehavior; + /** + * @public + *

The CloudWatch alarm you want to apply to your maintenance window task.

+ */ + AlarmConfiguration?: AlarmConfiguration; +} +/** + * @public + */ +export interface RegisterTaskWithMaintenanceWindowResult { + /** + * @public + *

The ID of the task in the maintenance window.

+ */ + WindowTaskId?: string; +} +/** + * @public + */ +export interface RemoveTagsFromResourceRequest { + /** + * @public + *

The type of resource from which you want to remove a tag.

+ * + *

The ManagedInstance type for this API operation is only for on-premises + * managed nodes. Specify the name of the managed node in the following format: + * mi-ID_number + * . For example, + * mi-1a2b3c4d5e6f.

+ *
+ */ + ResourceType: ResourceTypeForTagging | undefined; + /** + * @public + *

The ID of the resource from which you want to remove tags. For example:

+ *

ManagedInstance: mi-012345abcde

+ *

MaintenanceWindow: mw-012345abcde

+ *

+ * Automation: example-c160-4567-8519-012345abcde + *

+ *

PatchBaseline: pb-012345abcde

+ *

OpsMetadata object: ResourceID for tagging is created from the Amazon Resource + * Name (ARN) for the object. Specifically, ResourceID is created from the strings that + * come after the word opsmetadata in the ARN. For example, an OpsMetadata object with + * an ARN of arn:aws:ssm:us-east-2:1234567890:opsmetadata/aws/ssm/MyGroup/appmanager + * has a ResourceID of either aws/ssm/MyGroup/appmanager or + * /aws/ssm/MyGroup/appmanager.

+ *

For the Document and Parameter values, use the name of the resource.

+ * + *

The ManagedInstance type for this API operation is only for on-premises + * managed nodes. Specify the name of the managed node in the following format: mi-ID_number. For + * example, mi-1a2b3c4d5e6f.

+ *
+ */ + ResourceId: string | undefined; + /** + * @public + *

Tag keys that you want to remove from the specified resource.

+ */ + TagKeys: string[] | undefined; +} +/** + * @public + */ +export interface RemoveTagsFromResourceResult { +} +/** + * @public + *

The request body of the ResetServiceSetting API operation.

+ */ +export interface ResetServiceSettingRequest { + /** + * @public + *

The Amazon Resource Name (ARN) of the service setting to reset. The setting ID can be one of + * the following.

+ *
    + *
  • + *

    + * /ssm/managed-instance/default-ec2-instance-management-role + *

    + *
  • + *
  • + *

    + * /ssm/automation/customer-script-log-destination + *

    + *
  • + *
  • + *

    + * /ssm/automation/customer-script-log-group-name + *

    + *
  • + *
  • + *

    + * /ssm/documents/console/public-sharing-permission + *

    + *
  • + *
  • + *

    + * /ssm/managed-instance/activation-tier + *

    + *
  • + *
  • + *

    + * /ssm/opsinsights/opscenter + *

    + *
  • + *
  • + *

    + * /ssm/parameter-store/default-parameter-tier + *

    + *
  • + *
  • + *

    + * /ssm/parameter-store/high-throughput-enabled + *

    + *
  • + *
+ */ + SettingId: string | undefined; +} +/** + * @public + *

The result body of the ResetServiceSetting API operation.

+ */ +export interface ResetServiceSettingResult { + /** + * @public + *

The current, effective service setting after calling the ResetServiceSetting API + * operation.

+ */ + ServiceSetting?: ServiceSetting; +} +/** + * @public + */ +export interface ResumeSessionRequest { + /** + * @public + *

The ID of the disconnected session to resume.

+ */ + SessionId: string | undefined; +} +/** + * @public + */ +export interface ResumeSessionResponse { + /** + * @public + *

The ID of the session.

+ */ + SessionId?: string; + /** + * @public + *

An encrypted token value containing session and caller information. Used to authenticate the + * connection to the managed node.

+ */ + TokenValue?: string; + /** + * @public + *

A URL back to SSM Agent on the managed node that the Session Manager client uses to send commands and + * receive output from the managed node. Format: wss://ssmmessages.region.amazonaws.com/v1/data-channel/session-id?stream=(input|output).

+ *

+ * region represents the Region identifier for an + * Amazon Web Services Region supported by Amazon Web Services Systems Manager, such as us-east-2 for the US East (Ohio) Region. + * For a list of supported region values, see the Region column in Systems Manager service endpoints in the + * Amazon Web Services General Reference.

+ *

+ * session-id represents the ID of a Session Manager session, such as + * 1a2b3c4dEXAMPLE.

+ */ + StreamUrl?: string; +} +/** + * @public + *

The specified step name and execution ID don't exist. Verify the information and try + * again.

+ */ +export declare class AutomationStepNotFoundException extends __BaseException { + readonly name: "AutomationStepNotFoundException"; + readonly $fault: "client"; + Message?: string; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + *

The signal isn't valid for the current Automation execution.

+ */ +export declare class InvalidAutomationSignalException extends __BaseException { + readonly name: "InvalidAutomationSignalException"; + readonly $fault: "client"; + Message?: string; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + * @enum + */ +export declare const SignalType: { + readonly APPROVE: "Approve"; + readonly REJECT: "Reject"; + readonly RESUME: "Resume"; + readonly START_STEP: "StartStep"; + readonly STOP_STEP: "StopStep"; +}; +/** + * @public + */ +export type SignalType = (typeof SignalType)[keyof typeof SignalType]; +/** + * @public + */ +export interface SendAutomationSignalRequest { + /** + * @public + *

The unique identifier for an existing Automation execution that you want to send the signal + * to.

+ */ + AutomationExecutionId: string | undefined; + /** + * @public + *

The type of signal to send to an Automation execution.

+ */ + SignalType: SignalType | undefined; + /** + * @public + *

The data sent with the signal. The data schema depends on the type of signal used in the + * request.

+ *

For Approve and Reject signal types, the payload is an optional + * comment that you can send with the signal type. For example:

+ *

+ * Comment="Looks good" + *

+ *

For StartStep and Resume signal types, you must send the name of + * the Automation step to start or resume as the payload. For example:

+ *

+ * StepName="step1" + *

+ *

For the StopStep signal type, you must send the step execution ID as the + * payload. For example:

+ *

+ * StepExecutionId="97fff367-fc5a-4299-aed8-0123456789ab" + *

+ */ + Payload?: Record; +} +/** + * @public + */ +export interface SendAutomationSignalResult { +} +/** + * @public + *

One or more configuration items isn't valid. Verify that a valid Amazon Resource Name (ARN) + * was provided for an Amazon Simple Notification Service topic.

+ */ +export declare class InvalidNotificationConfig extends __BaseException { + readonly name: "InvalidNotificationConfig"; + readonly $fault: "client"; + Message?: string; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + *

The S3 bucket doesn't exist.

+ */ +export declare class InvalidOutputFolder extends __BaseException { + readonly name: "InvalidOutputFolder"; + readonly $fault: "client"; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + *

The role name can't contain invalid characters. Also verify that you specified an IAM role for notifications that includes the required trust policy. For information about + * configuring the IAM role for Run Command notifications, see Configuring Amazon SNS Notifications for Run Command in the + * Amazon Web Services Systems Manager User Guide.

+ */ +export declare class InvalidRole extends __BaseException { + readonly name: "InvalidRole"; + readonly $fault: "client"; + Message?: string; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + */ +export interface SendCommandRequest { + /** + * @public + *

The IDs of the managed nodes where the command should run. Specifying managed node IDs is + * most useful when you are targeting a limited number of managed nodes, though you can specify up + * to 50 IDs.

+ *

To target a larger number of managed nodes, or if you prefer not to list individual node + * IDs, we recommend using the Targets option instead. Using Targets, + * which accepts tag key-value pairs to identify the managed nodes to send commands to, you can a + * send command to tens, hundreds, or thousands of nodes at once.

+ *

For more information about how to use targets, see Using targets and rate + * controls to send commands to a fleet in the + * Amazon Web Services Systems Manager User Guide.

+ */ + InstanceIds?: string[]; + /** + * @public + *

An array of search criteria that targets managed nodes using a Key,Value + * combination that you specify. Specifying targets is most useful when you want to send a command + * to a large number of managed nodes at once. Using Targets, which accepts tag + * key-value pairs to identify managed nodes, you can send a command to tens, hundreds, or thousands + * of nodes at once.

+ *

To send a command to a smaller number of managed nodes, you can use the + * InstanceIds option instead.

+ *

For more information about how to use targets, see Sending commands to a + * fleet in the Amazon Web Services Systems Manager User Guide.

+ */ + Targets?: Target[]; + /** + * @public + *

The name of the Amazon Web Services Systems Manager document (SSM document) to run. This can be a public document or a + * custom document. To run a shared document belonging to another account, specify the document + * Amazon Resource Name (ARN). For more information about how to use shared documents, see Using shared + * SSM documents in the Amazon Web Services Systems Manager User Guide.

+ * + *

If you specify a document name or ARN that hasn't been shared with your account, you + * receive an InvalidDocument error.

+ *
+ */ + DocumentName: string | undefined; + /** + * @public + *

The SSM document version to use in the request. You can specify $DEFAULT, $LATEST, or a + * specific version number. If you run commands by using the Command Line Interface (Amazon Web Services CLI), then + * you must escape the first two options by using a backslash. If you specify a version number, then + * you don't need to use the backslash. For example:

+ *

--document-version "\$DEFAULT"

+ *

--document-version "\$LATEST"

+ *

--document-version "3"

+ */ + DocumentVersion?: string; + /** + * @public + *

The Sha256 or Sha1 hash created by the system when the document was created.

+ * + *

Sha1 hashes have been deprecated.

+ *
+ */ + DocumentHash?: string; + /** + * @public + *

Sha256 or Sha1.

+ * + *

Sha1 hashes have been deprecated.

+ *
+ */ + DocumentHashType?: DocumentHashType; + /** + * @public + *

If this time is reached and the command hasn't already started running, it won't run.

+ */ + TimeoutSeconds?: number; + /** + * @public + *

User-specified information about the command, such as a brief description of what the + * command should do.

+ */ + Comment?: string; + /** + * @public + *

The required and optional parameters specified in the document being run.

+ */ + Parameters?: Record; + /** + * @public + *

(Deprecated) You can no longer specify this parameter. The system ignores it. Instead, Systems Manager + * automatically determines the Amazon Web Services Region of the S3 bucket.

+ */ + OutputS3Region?: string; + /** + * @public + *

The name of the S3 bucket where command execution responses should be stored.

+ */ + OutputS3BucketName?: string; + /** + * @public + *

The directory structure within the S3 bucket where the responses should be stored.

+ */ + OutputS3KeyPrefix?: string; + /** + * @public + *

(Optional) The maximum number of managed nodes that are allowed to run the command at the + * same time. You can specify a number such as 10 or a percentage such as 10%. The default value is + * 50. For more information about how to use MaxConcurrency, see Using + * concurrency controls in the Amazon Web Services Systems Manager User Guide.

+ */ + MaxConcurrency?: string; + /** + * @public + *

The maximum number of errors allowed without the command failing. When the command fails one + * more time beyond the value of MaxErrors, the systems stops sending the command to + * additional targets. You can specify a number like 10 or a percentage like 10%. The default value + * is 0. For more information about how to use MaxErrors, see Using + * error controls in the Amazon Web Services Systems Manager User Guide.

+ */ + MaxErrors?: string; + /** + * @public + *

The ARN of the Identity and Access Management (IAM) service role to use to publish + * Amazon Simple Notification Service (Amazon SNS) notifications for Run Command commands.

+ *

This role must provide the sns:Publish permission for your notification topic. + * For information about creating and using this service role, see Monitoring Systems Manager status changes using Amazon SNS notifications in the + * Amazon Web Services Systems Manager User Guide.

+ */ + ServiceRoleArn?: string; + /** + * @public + *

Configurations for sending notifications.

+ */ + NotificationConfig?: NotificationConfig; + /** + * @public + *

Enables Amazon Web Services Systems Manager to send Run Command output to Amazon CloudWatch Logs. Run Command is a + * capability of Amazon Web Services Systems Manager.

+ */ + CloudWatchOutputConfig?: CloudWatchOutputConfig; + /** + * @public + *

The CloudWatch alarm you want to apply to your command.

+ */ + AlarmConfiguration?: AlarmConfiguration; +} +/** + * @public + */ +export interface SendCommandResult { + /** + * @public + *

The request as it was received by Systems Manager. Also provides the command ID which can be used + * future references to this request.

+ */ + Command?: Command; +} +/** + * @public + *

The association isn't valid or doesn't exist.

+ */ +export declare class InvalidAssociation extends __BaseException { + readonly name: "InvalidAssociation"; + readonly $fault: "client"; + Message?: string; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + */ +export interface StartAssociationsOnceRequest { + /** + * @public + *

The association IDs that you want to run immediately and only one time.

+ */ + AssociationIds: string[] | undefined; +} +/** + * @public + */ +export interface StartAssociationsOnceResult { +} +/** + * @public + *

An Automation runbook with the specified name couldn't be found.

+ */ +export declare class AutomationDefinitionNotFoundException extends __BaseException { + readonly name: "AutomationDefinitionNotFoundException"; + readonly $fault: "client"; + Message?: string; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + *

An Automation runbook with the specified name and version couldn't be found.

+ */ +export declare class AutomationDefinitionVersionNotFoundException extends __BaseException { + readonly name: "AutomationDefinitionVersionNotFoundException"; + readonly $fault: "client"; + Message?: string; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + *

The number of simultaneously running Automation executions exceeded the allowable + * limit.

+ */ +export declare class AutomationExecutionLimitExceededException extends __BaseException { + readonly name: "AutomationExecutionLimitExceededException"; + readonly $fault: "client"; + Message?: string; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + *

The supplied parameters for invoking the specified Automation runbook are incorrect. For + * example, they may not match the set of parameters permitted for the specified Automation + * document.

+ */ +export declare class InvalidAutomationExecutionParametersException extends __BaseException { + readonly name: "InvalidAutomationExecutionParametersException"; + readonly $fault: "client"; + Message?: string; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + */ +export interface StartAutomationExecutionRequest { + /** + * @public + *

The name of the SSM document to run. This can be a public document or a custom document. To + * run a shared document belonging to another account, specify the document ARN. For more + * information about how to use shared documents, see Using shared SSM documents + * in the Amazon Web Services Systems Manager User Guide.

+ */ + DocumentName: string | undefined; + /** + * @public + *

The version of the Automation runbook to use for this execution.

+ */ + DocumentVersion?: string; + /** + * @public + *

A key-value map of execution parameters, which match the declared parameters in the + * Automation runbook.

+ */ + Parameters?: Record; + /** + * @public + *

User-provided idempotency token. The token must be unique, is case insensitive, enforces the + * UUID format, and can't be reused.

+ */ + ClientToken?: string; + /** + * @public + *

The execution mode of the automation. Valid modes include the following: Auto and + * Interactive. The default mode is Auto.

+ */ + Mode?: ExecutionMode; + /** + * @public + *

The name of the parameter used as the target resource for the rate-controlled execution. + * Required if you specify targets.

+ */ + TargetParameterName?: string; + /** + * @public + *

A key-value mapping to target resources. Required if you specify TargetParameterName.

+ */ + Targets?: Target[]; + /** + * @public + *

A key-value mapping of document parameters to target resources. Both Targets and TargetMaps + * can't be specified together.

+ */ + TargetMaps?: Record[]; + /** + * @public + *

The maximum number of targets allowed to run this task in parallel. You can specify a + * number, such as 10, or a percentage, such as 10%. The default value is 10.

+ */ + MaxConcurrency?: string; + /** + * @public + *

The number of errors that are allowed before the system stops running the automation on + * additional targets. You can specify either an absolute number of errors, for example 10, or a + * percentage of the target set, for example 10%. If you specify 3, for example, the system stops + * running the automation when the fourth error is received. If you specify 0, then the system stops + * running the automation on additional targets after the first error result is returned. If you run + * an automation on 50 resources and set max-errors to 10%, then the system stops running the + * automation on additional targets when the sixth error is received.

+ *

Executions that are already running an automation when max-errors is reached are allowed to + * complete, but some of these executions may fail as well. If you need to ensure that there won't + * be more than max-errors failed executions, set max-concurrency to 1 so the executions proceed one + * at a time.

+ */ + MaxErrors?: string; + /** + * @public + *

A location is a combination of Amazon Web Services Regions and/or Amazon Web Services accounts where you want to run the + * automation. Use this operation to start an automation in multiple Amazon Web Services Regions and multiple + * Amazon Web Services accounts. For more information, see Running Automation workflows in multiple Amazon Web Services Regions and Amazon Web Services accounts in the + * Amazon Web Services Systems Manager User Guide.

+ */ + TargetLocations?: TargetLocation[]; + /** + * @public + *

Optional metadata that you assign to a resource. You can specify a maximum of five tags for + * an automation. Tags enable you to categorize a resource in different ways, such as by purpose, + * owner, or environment. For example, you might want to tag an automation to identify an + * environment or operating system. In this case, you could specify the following key-value + * pairs:

+ *
    + *
  • + *

    + * Key=environment,Value=test + *

    + *
  • + *
  • + *

    + * Key=OS,Value=Windows + *

    + *
  • + *
+ * + *

To add tags to an existing automation, use the AddTagsToResource + * operation.

+ *
+ */ + Tags?: Tag[]; + /** + * @public + *

The CloudWatch alarm you want to apply to your automation.

+ */ + AlarmConfiguration?: AlarmConfiguration; +} +/** + * @public + */ +export interface StartAutomationExecutionResult { + /** + * @public + *

The unique ID of a newly scheduled automation execution.

+ */ + AutomationExecutionId?: string; +} +/** + * @public + *

Indicates that the Change Manager change template used in the change request was rejected or is + * still in a pending state.

+ */ +export declare class AutomationDefinitionNotApprovedException extends __BaseException { + readonly name: "AutomationDefinitionNotApprovedException"; + readonly $fault: "client"; + Message?: string; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + */ +export interface StartChangeRequestExecutionRequest { + /** + * @public + *

The date and time specified in the change request to run the Automation runbooks.

+ * + *

The Automation runbooks specified for the runbook workflow can't run until all required + * approvals for the change request have been received.

+ *
+ */ + ScheduledTime?: Date; + /** + * @public + *

The name of the change template document to run during the runbook workflow.

+ */ + DocumentName: string | undefined; + /** + * @public + *

The version of the change template document to run during the runbook workflow.

+ */ + DocumentVersion?: string; + /** + * @public + *

A key-value map of parameters that match the declared parameters in the change template + * document.

+ */ + Parameters?: Record; + /** + * @public + *

The name of the change request associated with the runbook workflow to be run.

+ */ + ChangeRequestName?: string; + /** + * @public + *

The user-provided idempotency token. The token must be unique, is case insensitive, enforces + * the UUID format, and can't be reused.

+ */ + ClientToken?: string; + /** + * @public + *

Indicates whether the change request can be approved automatically without the need for + * manual approvals.

+ *

If AutoApprovable is enabled in a change template, then setting + * AutoApprove to true in StartChangeRequestExecution + * creates a change request that bypasses approver review.

+ * + *

Change Calendar restrictions are not bypassed in this scenario. If the state of an + * associated calendar is CLOSED, change freeze approvers must still grant permission + * for this change request to run. If they don't, the change won't be processed until the calendar + * state is again OPEN.

+ *
+ */ + AutoApprove?: boolean; + /** + * @public + *

Information about the Automation runbooks that are run during the runbook workflow.

+ * + *

The Automation runbooks specified for the runbook workflow can't run until all required + * approvals for the change request have been received.

+ *
+ */ + Runbooks: Runbook[] | undefined; + /** + * @public + *

Optional metadata that you assign to a resource. You can specify a maximum of five tags for + * a change request. Tags enable you to categorize a resource in different ways, such as by + * purpose, owner, or environment. For example, you might want to tag a change request to identify + * an environment or target Amazon Web Services Region. In this case, you could specify the following key-value + * pairs:

+ *
    + *
  • + *

    + * Key=Environment,Value=Production + *

    + *
  • + *
  • + *

    + * Key=Region,Value=us-east-2 + *

    + *
  • + *
+ */ + Tags?: Tag[]; + /** + * @public + *

The time that the requester expects the runbook workflow related to the change request to + * complete. The time is an estimate only that the requester provides for reviewers.

+ */ + ScheduledEndTime?: Date; + /** + * @public + *

User-provided details about the change. If no details are provided, content specified in the + * Template information section of the associated change template + * is added.

+ */ + ChangeDetails?: string; +} +/** + * @public + */ +export interface StartChangeRequestExecutionResult { + /** + * @public + *

The unique ID of a runbook workflow operation. (A runbook workflow is a type of Automation + * operation.)

+ */ + AutomationExecutionId?: string; +} +/** + * @public + */ +export interface StartSessionRequest { + /** + * @public + *

The managed node to connect to for the session.

+ */ + Target: string | undefined; + /** + * @public + *

The name of the SSM document you want to use to define the type of session, input + * parameters, or preferences for the session. For example, SSM-SessionManagerRunShell. + * You can call the GetDocument API to verify the document exists before + * attempting to start a session. If no document name is provided, a shell to the managed node is + * launched by default. For more information, see Start a + * session in the Amazon Web Services Systems Manager User Guide.

+ */ + DocumentName?: string; + /** + * @public + *

The reason for connecting to the instance. This value is included in the details for the + * Amazon CloudWatch Events event created when you start the session.

+ */ + Reason?: string; + /** + * @public + *

The values you want to specify for the parameters defined in the Session + * document.

+ */ + Parameters?: Record; +} +/** + * @public + */ +export interface StartSessionResponse { + /** + * @public + *

The ID of the session.

+ */ + SessionId?: string; + /** + * @public + *

An encrypted token value containing session and caller information. This token is used to + * authenticate the connection to the managed node, and is valid only long enough to ensure the + * connection is successful. Never share your session's token.

+ */ + TokenValue?: string; + /** + * @public + *

A URL back to SSM Agent on the managed node that the Session Manager client uses to send commands and + * receive output from the node. Format: wss://ssmmessages.region.amazonaws.com/v1/data-channel/session-id?stream=(input|output) + *

+ *

+ * region represents the Region identifier for an + * Amazon Web Services Region supported by Amazon Web Services Systems Manager, such as us-east-2 for the US East (Ohio) Region. + * For a list of supported region values, see the Region column in Systems Manager service endpoints in the + * Amazon Web Services General Reference.

+ *

+ * session-id represents the ID of a Session Manager session, such as + * 1a2b3c4dEXAMPLE.

+ */ + StreamUrl?: string; +} +/** + * @public + *

The specified target managed node for the session isn't fully configured for use with Session Manager. + * For more information, see Getting started with + * Session Manager in the Amazon Web Services Systems Manager User Guide. This error is also returned if you + * attempt to start a session on a managed node that is located in a different account or + * Region

+ */ +export declare class TargetNotConnected extends __BaseException { + readonly name: "TargetNotConnected"; + readonly $fault: "client"; + Message?: string; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + *

The specified update status operation isn't valid.

+ */ +export declare class InvalidAutomationStatusUpdateException extends __BaseException { + readonly name: "InvalidAutomationStatusUpdateException"; + readonly $fault: "client"; + Message?: string; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + * @enum + */ +export declare const StopType: { + readonly CANCEL: "Cancel"; + readonly COMPLETE: "Complete"; +}; +/** + * @public + */ +export type StopType = (typeof StopType)[keyof typeof StopType]; +/** + * @public + */ +export interface StopAutomationExecutionRequest { + /** + * @public + *

The execution ID of the Automation to stop.

+ */ + AutomationExecutionId: string | undefined; + /** + * @public + *

The stop request type. Valid types include the following: Cancel and Complete. The default + * type is Cancel.

+ */ + Type?: StopType; +} +/** + * @public + */ +export interface StopAutomationExecutionResult { +} +/** + * @public + */ +export interface TerminateSessionRequest { + /** + * @public + *

The ID of the session to terminate.

+ */ + SessionId: string | undefined; +} +/** + * @internal + */ +export declare const MaintenanceWindowTaskFilterSensitiveLog: (obj: MaintenanceWindowTask) => any; +/** + * @internal + */ +export declare const DescribeMaintenanceWindowTasksResultFilterSensitiveLog: (obj: DescribeMaintenanceWindowTasksResult) => any; +/** + * @internal + */ +export declare const BaselineOverrideFilterSensitiveLog: (obj: BaselineOverride) => any; +/** + * @internal + */ +export declare const GetDeployablePatchSnapshotForInstanceRequestFilterSensitiveLog: (obj: GetDeployablePatchSnapshotForInstanceRequest) => any; +/** + * @internal + */ +export declare const GetMaintenanceWindowResultFilterSensitiveLog: (obj: GetMaintenanceWindowResult) => any; +/** + * @internal + */ +export declare const GetMaintenanceWindowExecutionTaskResultFilterSensitiveLog: (obj: GetMaintenanceWindowExecutionTaskResult) => any; +/** + * @internal + */ +export declare const GetMaintenanceWindowExecutionTaskInvocationResultFilterSensitiveLog: (obj: GetMaintenanceWindowExecutionTaskInvocationResult) => any; +/** + * @internal + */ +export declare const MaintenanceWindowLambdaParametersFilterSensitiveLog: (obj: MaintenanceWindowLambdaParameters) => any; +/** + * @internal + */ +export declare const MaintenanceWindowRunCommandParametersFilterSensitiveLog: (obj: MaintenanceWindowRunCommandParameters) => any; +/** + * @internal + */ +export declare const MaintenanceWindowStepFunctionsParametersFilterSensitiveLog: (obj: MaintenanceWindowStepFunctionsParameters) => any; +/** + * @internal + */ +export declare const MaintenanceWindowTaskInvocationParametersFilterSensitiveLog: (obj: MaintenanceWindowTaskInvocationParameters) => any; +/** + * @internal + */ +export declare const GetMaintenanceWindowTaskResultFilterSensitiveLog: (obj: GetMaintenanceWindowTaskResult) => any; +/** + * @internal + */ +export declare const ParameterFilterSensitiveLog: (obj: Parameter) => any; +/** + * @internal + */ +export declare const GetParameterResultFilterSensitiveLog: (obj: GetParameterResult) => any; +/** + * @internal + */ +export declare const ParameterHistoryFilterSensitiveLog: (obj: ParameterHistory) => any; +/** + * @internal + */ +export declare const GetParameterHistoryResultFilterSensitiveLog: (obj: GetParameterHistoryResult) => any; +/** + * @internal + */ +export declare const GetParametersResultFilterSensitiveLog: (obj: GetParametersResult) => any; +/** + * @internal + */ +export declare const GetParametersByPathResultFilterSensitiveLog: (obj: GetParametersByPathResult) => any; +/** + * @internal + */ +export declare const GetPatchBaselineResultFilterSensitiveLog: (obj: GetPatchBaselineResult) => any; +/** + * @internal + */ +export declare const AssociationVersionInfoFilterSensitiveLog: (obj: AssociationVersionInfo) => any; +/** + * @internal + */ +export declare const ListAssociationVersionsResultFilterSensitiveLog: (obj: ListAssociationVersionsResult) => any; +/** + * @internal + */ +export declare const CommandFilterSensitiveLog: (obj: Command) => any; +/** + * @internal + */ +export declare const ListCommandsResultFilterSensitiveLog: (obj: ListCommandsResult) => any; +/** + * @internal + */ +export declare const PutParameterRequestFilterSensitiveLog: (obj: PutParameterRequest) => any; +/** + * @internal + */ +export declare const RegisterTargetWithMaintenanceWindowRequestFilterSensitiveLog: (obj: RegisterTargetWithMaintenanceWindowRequest) => any; +/** + * @internal + */ +export declare const RegisterTaskWithMaintenanceWindowRequestFilterSensitiveLog: (obj: RegisterTaskWithMaintenanceWindowRequest) => any; +/** + * @internal + */ +export declare const SendCommandRequestFilterSensitiveLog: (obj: SendCommandRequest) => any; +/** + * @internal + */ +export declare const SendCommandResultFilterSensitiveLog: (obj: SendCommandResult) => any; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/models/models_2.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/models/models_2.d.ts new file mode 100644 index 00000000..da4aac7a --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/models/models_2.d.ts @@ -0,0 +1,1739 @@ +import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client"; +import { AlarmConfiguration, AssociationComplianceSeverity, AssociationDescription, AssociationStatus, AssociationSyncCompliance, AttachmentsSource, DocumentDescription, DocumentFormat, InstanceAssociationOutputLocation, LoggingInfo, MaintenanceWindowTaskCutoffBehavior, MaintenanceWindowTaskParameterValueExpression, MetadataValue, OperatingSystem, OpsItemDataValue, OpsItemNotification, PatchAction, PatchComplianceLevel, PatchFilterGroup, PatchRuleGroup, PatchSource, RelatedOpsItem, ResourceDataSyncSource, Target, TargetLocation } from "./models_0"; +import { DocumentReviewCommentSource, InventoryFilter, InventoryGroup, MaintenanceWindowTaskInvocationParameters, OpsFilter, OpsItemStatus, OpsResultAttribute, ResultAttribute } from "./models_1"; +import { SSMServiceException as __BaseException } from "./SSMServiceException"; +/** + * @public + */ +export interface TerminateSessionResponse { + /** + * @public + *

The ID of the session that has been terminated.

+ */ + SessionId?: string; +} +/** + * @public + */ +export interface UnlabelParameterVersionRequest { + /** + * @public + *

The name of the parameter from which you want to delete one or more labels.

+ */ + Name: string | undefined; + /** + * @public + *

The specific version of the parameter which you want to delete one or more labels from. If + * it isn't present, the call will fail.

+ */ + ParameterVersion: number | undefined; + /** + * @public + *

One or more labels to delete from the specified parameter version.

+ */ + Labels: string[] | undefined; +} +/** + * @public + */ +export interface UnlabelParameterVersionResult { + /** + * @public + *

A list of all labels deleted from the parameter.

+ */ + RemovedLabels?: string[]; + /** + * @public + *

The labels that aren't attached to the given parameter version.

+ */ + InvalidLabels?: string[]; +} +/** + * @public + *

You have reached the maximum number versions allowed for an association. Each association + * has a limit of 1,000 versions.

+ */ +export declare class AssociationVersionLimitExceeded extends __BaseException { + readonly name: "AssociationVersionLimitExceeded"; + readonly $fault: "client"; + Message?: string; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + *

The update isn't valid.

+ */ +export declare class InvalidUpdate extends __BaseException { + readonly name: "InvalidUpdate"; + readonly $fault: "client"; + Message?: string; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + */ +export interface UpdateAssociationRequest { + /** + * @public + *

The ID of the association you want to update.

+ */ + AssociationId: string | undefined; + /** + * @public + *

The parameters you want to update for the association. If you create a parameter using + * Parameter Store, a capability of Amazon Web Services Systems Manager, you can reference the parameter using + * \{\{ssm:parameter-name\}\}.

+ */ + Parameters?: Record; + /** + * @public + *

The document version you want update for the association.

+ * + *

State Manager doesn't support running associations that use a new version of a document if + * that document is shared from another account. State Manager always runs the default + * version of a document if shared from another account, even though the Systems Manager console shows that a + * new version was processed. If you want to run an association using a new version of a document + * shared form another account, you must set the document version to default.

+ *
+ */ + DocumentVersion?: string; + /** + * @public + *

The cron expression used to schedule the association that you want to update.

+ */ + ScheduleExpression?: string; + /** + * @public + *

An S3 bucket where you want to store the results of this request.

+ */ + OutputLocation?: InstanceAssociationOutputLocation; + /** + * @public + *

The name of the SSM Command document or Automation runbook that contains the configuration + * information for the managed node.

+ *

You can specify Amazon Web Services-predefined documents, documents you created, or a document that is + * shared with you from another account.

+ *

For Systems Manager document (SSM document) that are shared with you from other Amazon Web Services accounts, you + * must specify the complete SSM document ARN, in the following format:

+ *

+ * arn:aws:ssm:region:account-id:document/document-name + * + *

+ *

For example:

+ *

+ * arn:aws:ssm:us-east-2:12345678912:document/My-Shared-Document + *

+ *

For Amazon Web Services-predefined documents and SSM documents you created in your account, you only need + * to specify the document name. For example, AWS-ApplyPatchBaseline or + * My-Document.

+ */ + Name?: string; + /** + * @public + *

The targets of the association.

+ */ + Targets?: Target[]; + /** + * @public + *

The name of the association that you want to update.

+ */ + AssociationName?: string; + /** + * @public + *

This parameter is provided for concurrency control purposes. You must specify the latest + * association version in the service. If you want to ensure that this request succeeds, either + * specify $LATEST, or omit this parameter.

+ */ + AssociationVersion?: string; + /** + * @public + *

Choose the parameter that will define how your automation will branch out. This target is + * required for associations that use an Automation runbook and target resources by using rate + * controls. Automation is a capability of Amazon Web Services Systems Manager.

+ */ + AutomationTargetParameterName?: string; + /** + * @public + *

The number of errors that are allowed before the system stops sending requests to run the + * association on additional targets. You can specify either an absolute number of errors, for + * example 10, or a percentage of the target set, for example 10%. If you specify 3, for example, + * the system stops sending requests when the fourth error is received. If you specify 0, then the + * system stops sending requests after the first error is returned. If you run an association on 50 + * managed nodes and set MaxError to 10%, then the system stops sending the request + * when the sixth error is received.

+ *

Executions that are already running an association when MaxErrors is reached + * are allowed to complete, but some of these executions may fail as well. If you need to ensure + * that there won't be more than max-errors failed executions, set MaxConcurrency to 1 + * so that executions proceed one at a time.

+ */ + MaxErrors?: string; + /** + * @public + *

The maximum number of targets allowed to run the association at the same time. You can + * specify a number, for example 10, or a percentage of the target set, for example 10%. The default + * value is 100%, which means all targets run the association at the same time.

+ *

If a new managed node starts and attempts to run an association while Systems Manager is running + * MaxConcurrency associations, the association is allowed to run. During the next + * association interval, the new managed node will process its association within the limit + * specified for MaxConcurrency.

+ */ + MaxConcurrency?: string; + /** + * @public + *

The severity level to assign to the association.

+ */ + ComplianceSeverity?: AssociationComplianceSeverity; + /** + * @public + *

The mode for generating association compliance. You can specify AUTO or + * MANUAL. In AUTO mode, the system uses the status of the association + * execution to determine the compliance status. If the association execution runs successfully, + * then the association is COMPLIANT. If the association execution doesn't run + * successfully, the association is NON-COMPLIANT.

+ *

In MANUAL mode, you must specify the AssociationId as a parameter + * for the PutComplianceItems API operation. In this case, compliance data isn't + * managed by State Manager, a capability of Amazon Web Services Systems Manager. It is managed by your direct call to the + * PutComplianceItems API operation.

+ *

By default, all associations use AUTO mode.

+ */ + SyncCompliance?: AssociationSyncCompliance; + /** + * @public + *

By default, when you update an association, the system runs it immediately after it is + * updated and then according to the schedule you specified. Specify this option if you don't want + * an association to run immediately after you update it. This parameter isn't supported for rate + * expressions.

+ *

If you chose this option when you created an association and later you edit that association + * or you make changes to the SSM document on which that association is based (by using the + * Documents page in the console), State Manager applies the association at the next specified cron + * interval. For example, if you chose the Latest version of an SSM document when you + * created an association and you edit the association by choosing a different document version on + * the Documents page, State Manager applies the association at the next specified cron interval if + * you previously selected this option. If this option wasn't selected, State Manager immediately + * runs the association.

+ *

You can reset this option. To do so, specify the no-apply-only-at-cron-interval + * parameter when you update the association from the command line. This parameter forces the + * association to run immediately after updating it and according to the interval specified.

+ */ + ApplyOnlyAtCronInterval?: boolean; + /** + * @public + *

The names or Amazon Resource Names (ARNs) of the Change Calendar type documents you want to + * gate your associations under. The associations only run when that change calendar is open. For + * more information, see Amazon Web Services Systems Manager Change + * Calendar.

+ */ + CalendarNames?: string[]; + /** + * @public + *

A location is a combination of Amazon Web Services Regions and Amazon Web Services accounts where you want to run the + * association. Use this action to update an association in multiple Regions and multiple + * accounts.

+ */ + TargetLocations?: TargetLocation[]; + /** + * @public + *

Number of days to wait after the scheduled day to run an association. For example, if you + * specified a cron schedule of cron(0 0 ? * THU#2 *), you could specify an offset of 3 + * to run the association each Sunday after the second Thursday of the month. For more information + * about cron schedules for associations, see Reference: Cron + * and rate expressions for Systems Manager in the Amazon Web Services Systems Manager User Guide.

+ * + *

To use offsets, you must specify the ApplyOnlyAtCronInterval parameter. This + * option tells the system not to run an association immediately after you create it.

+ *
+ */ + ScheduleOffset?: number; + /** + * @public + *

A key-value mapping of document parameters to target resources. Both Targets and TargetMaps + * can't be specified together.

+ */ + TargetMaps?: Record[]; + /** + * @public + *

The details for the CloudWatch alarm you want to apply to an automation or + * command.

+ */ + AlarmConfiguration?: AlarmConfiguration; +} +/** + * @public + */ +export interface UpdateAssociationResult { + /** + * @public + *

The description of the association that was updated.

+ */ + AssociationDescription?: AssociationDescription; +} +/** + * @public + *

The updated status is the same as the current status.

+ */ +export declare class StatusUnchanged extends __BaseException { + readonly name: "StatusUnchanged"; + readonly $fault: "client"; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + */ +export interface UpdateAssociationStatusRequest { + /** + * @public + *

The name of the SSM document.

+ */ + Name: string | undefined; + /** + * @public + *

The managed node ID.

+ */ + InstanceId: string | undefined; + /** + * @public + *

The association status.

+ */ + AssociationStatus: AssociationStatus | undefined; +} +/** + * @public + */ +export interface UpdateAssociationStatusResult { + /** + * @public + *

Information about the association.

+ */ + AssociationDescription?: AssociationDescription; +} +/** + * @public + *

The document has too many versions. Delete one or more document versions and try + * again.

+ */ +export declare class DocumentVersionLimitExceeded extends __BaseException { + readonly name: "DocumentVersionLimitExceeded"; + readonly $fault: "client"; + Message?: string; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + *

The content of the association document matches another document. Change the content of the + * document and try again.

+ */ +export declare class DuplicateDocumentContent extends __BaseException { + readonly name: "DuplicateDocumentContent"; + readonly $fault: "client"; + Message?: string; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + *

The version name has already been used in this document. Specify a different version name, + * and then try again.

+ */ +export declare class DuplicateDocumentVersionName extends __BaseException { + readonly name: "DuplicateDocumentVersionName"; + readonly $fault: "client"; + Message?: string; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + */ +export interface UpdateDocumentRequest { + /** + * @public + *

A valid JSON or YAML string.

+ */ + Content: string | undefined; + /** + * @public + *

A list of key-value pairs that describe attachments to a version of a document.

+ */ + Attachments?: AttachmentsSource[]; + /** + * @public + *

The name of the SSM document that you want to update.

+ */ + Name: string | undefined; + /** + * @public + *

The friendly name of the SSM document that you want to update. This value can differ for + * each version of the document. If you don't specify a value for this parameter in your request, + * the existing value is applied to the new document version.

+ */ + DisplayName?: string; + /** + * @public + *

An optional field specifying the version of the artifact you are updating with the document. + * For example, "Release 12, Update 6". This value is unique across all versions of a document, and + * can't be changed.

+ */ + VersionName?: string; + /** + * @public + *

The version of the document that you want to update. Currently, Systems Manager supports updating only + * the latest version of the document. You can specify the version number of the latest version or + * use the $LATEST variable.

+ * + *

If you change a document version for a State Manager association, Systems Manager immediately runs + * the association unless you previously specifed the apply-only-at-cron-interval + * parameter.

+ *
+ */ + DocumentVersion?: string; + /** + * @public + *

Specify the document format for the new document version. Systems Manager supports JSON and YAML + * documents. JSON is the default format.

+ */ + DocumentFormat?: DocumentFormat; + /** + * @public + *

Specify a new target type for the document.

+ */ + TargetType?: string; +} +/** + * @public + */ +export interface UpdateDocumentResult { + /** + * @public + *

A description of the document that was updated.

+ */ + DocumentDescription?: DocumentDescription; +} +/** + * @public + */ +export interface UpdateDocumentDefaultVersionRequest { + /** + * @public + *

The name of a custom document that you want to set as the default version.

+ */ + Name: string | undefined; + /** + * @public + *

The version of a custom document that you want to set as the default version.

+ */ + DocumentVersion: string | undefined; +} +/** + * @public + *

A default version of a document.

+ */ +export interface DocumentDefaultVersionDescription { + /** + * @public + *

The name of the document.

+ */ + Name?: string; + /** + * @public + *

The default version of the document.

+ */ + DefaultVersion?: string; + /** + * @public + *

The default version of the artifact associated with the document.

+ */ + DefaultVersionName?: string; +} +/** + * @public + */ +export interface UpdateDocumentDefaultVersionResult { + /** + * @public + *

The description of a custom document that you want to set as the default version.

+ */ + Description?: DocumentDefaultVersionDescription; +} +/** + * @public + * @enum + */ +export declare const DocumentReviewAction: { + readonly Approve: "Approve"; + readonly Reject: "Reject"; + readonly SendForReview: "SendForReview"; + readonly UpdateReview: "UpdateReview"; +}; +/** + * @public + */ +export type DocumentReviewAction = (typeof DocumentReviewAction)[keyof typeof DocumentReviewAction]; +/** + * @public + *

Information about a document approval review.

+ */ +export interface DocumentReviews { + /** + * @public + *

The action to take on a document approval review request.

+ */ + Action: DocumentReviewAction | undefined; + /** + * @public + *

A comment entered by a user in your organization about the document review request.

+ */ + Comment?: DocumentReviewCommentSource[]; +} +/** + * @public + */ +export interface UpdateDocumentMetadataRequest { + /** + * @public + *

The name of the change template for which a version's metadata is to be updated.

+ */ + Name: string | undefined; + /** + * @public + *

The version of a change template in which to update approval metadata.

+ */ + DocumentVersion?: string; + /** + * @public + *

The change template review details to update.

+ */ + DocumentReviews: DocumentReviews | undefined; +} +/** + * @public + */ +export interface UpdateDocumentMetadataResponse { +} +/** + * @public + */ +export interface UpdateMaintenanceWindowRequest { + /** + * @public + *

The ID of the maintenance window to update.

+ */ + WindowId: string | undefined; + /** + * @public + *

The name of the maintenance window.

+ */ + Name?: string; + /** + * @public + *

An optional description for the update request.

+ */ + Description?: string; + /** + * @public + *

The date and time, in ISO-8601 Extended format, for when you want the maintenance window to + * become active. StartDate allows you to delay activation of the maintenance window + * until the specified future date.

+ */ + StartDate?: string; + /** + * @public + *

The date and time, in ISO-8601 Extended format, for when you want the maintenance window to + * become inactive. EndDate allows you to set a date and time in the future when the + * maintenance window will no longer run.

+ */ + EndDate?: string; + /** + * @public + *

The schedule of the maintenance window in the form of a cron or rate expression.

+ */ + Schedule?: string; + /** + * @public + *

The time zone that the scheduled maintenance window executions are based on, in Internet + * Assigned Numbers Authority (IANA) format. For example: "America/Los_Angeles", "UTC", or + * "Asia/Seoul". For more information, see the Time + * Zone Database on the IANA website.

+ */ + ScheduleTimezone?: string; + /** + * @public + *

The number of days to wait after the date and time specified by a cron expression before + * running the maintenance window.

+ *

For example, the following cron expression schedules a maintenance window to run the third + * Tuesday of every month at 11:30 PM.

+ *

+ * cron(30 23 ? * TUE#3 *) + *

+ *

If the schedule offset is 2, the maintenance window won't run until two days + * later.

+ */ + ScheduleOffset?: number; + /** + * @public + *

The duration of the maintenance window in hours.

+ */ + Duration?: number; + /** + * @public + *

The number of hours before the end of the maintenance window that Amazon Web Services Systems Manager stops scheduling + * new tasks for execution.

+ */ + Cutoff?: number; + /** + * @public + *

Whether targets must be registered with the maintenance window before tasks can be defined + * for those targets.

+ */ + AllowUnassociatedTargets?: boolean; + /** + * @public + *

Whether the maintenance window is enabled.

+ */ + Enabled?: boolean; + /** + * @public + *

If True, then all fields that are required by the CreateMaintenanceWindow operation are also required for this API request. Optional + * fields that aren't specified are set to null.

+ */ + Replace?: boolean; +} +/** + * @public + */ +export interface UpdateMaintenanceWindowResult { + /** + * @public + *

The ID of the created maintenance window.

+ */ + WindowId?: string; + /** + * @public + *

The name of the maintenance window.

+ */ + Name?: string; + /** + * @public + *

An optional description of the update.

+ */ + Description?: string; + /** + * @public + *

The date and time, in ISO-8601 Extended format, for when the maintenance window is scheduled + * to become active. The maintenance window won't run before this specified time.

+ */ + StartDate?: string; + /** + * @public + *

The date and time, in ISO-8601 Extended format, for when the maintenance window is scheduled + * to become inactive. The maintenance window won't run after this specified time.

+ */ + EndDate?: string; + /** + * @public + *

The schedule of the maintenance window in the form of a cron or rate expression.

+ */ + Schedule?: string; + /** + * @public + *

The time zone that the scheduled maintenance window executions are based on, in Internet + * Assigned Numbers Authority (IANA) format. For example: "America/Los_Angeles", "UTC", or + * "Asia/Seoul". For more information, see the Time + * Zone Database on the IANA website.

+ */ + ScheduleTimezone?: string; + /** + * @public + *

The number of days to wait to run a maintenance window after the scheduled cron expression + * date and time.

+ */ + ScheduleOffset?: number; + /** + * @public + *

The duration of the maintenance window in hours.

+ */ + Duration?: number; + /** + * @public + *

The number of hours before the end of the maintenance window that Amazon Web Services Systems Manager stops scheduling + * new tasks for execution.

+ */ + Cutoff?: number; + /** + * @public + *

Whether targets must be registered with the maintenance window before tasks can be defined + * for those targets.

+ */ + AllowUnassociatedTargets?: boolean; + /** + * @public + *

Whether the maintenance window is enabled.

+ */ + Enabled?: boolean; +} +/** + * @public + */ +export interface UpdateMaintenanceWindowTargetRequest { + /** + * @public + *

The maintenance window ID with which to modify the target.

+ */ + WindowId: string | undefined; + /** + * @public + *

The target ID to modify.

+ */ + WindowTargetId: string | undefined; + /** + * @public + *

The targets to add or replace.

+ */ + Targets?: Target[]; + /** + * @public + *

User-provided value that will be included in any Amazon CloudWatch Events events raised while + * running tasks for these targets in this maintenance window.

+ */ + OwnerInformation?: string; + /** + * @public + *

A name for the update.

+ */ + Name?: string; + /** + * @public + *

An optional description for the update.

+ */ + Description?: string; + /** + * @public + *

If True, then all fields that are required by the RegisterTargetWithMaintenanceWindow operation are also required for this API + * request. Optional fields that aren't specified are set to null.

+ */ + Replace?: boolean; +} +/** + * @public + */ +export interface UpdateMaintenanceWindowTargetResult { + /** + * @public + *

The maintenance window ID specified in the update request.

+ */ + WindowId?: string; + /** + * @public + *

The target ID specified in the update request.

+ */ + WindowTargetId?: string; + /** + * @public + *

The updated targets.

+ */ + Targets?: Target[]; + /** + * @public + *

The updated owner.

+ */ + OwnerInformation?: string; + /** + * @public + *

The updated name.

+ */ + Name?: string; + /** + * @public + *

The updated description.

+ */ + Description?: string; +} +/** + * @public + */ +export interface UpdateMaintenanceWindowTaskRequest { + /** + * @public + *

The maintenance window ID that contains the task to modify.

+ */ + WindowId: string | undefined; + /** + * @public + *

The task ID to modify.

+ */ + WindowTaskId: string | undefined; + /** + * @public + *

The targets (either managed nodes or tags) to modify. Managed nodes are specified using the + * format Key=instanceids,Values=instanceID_1,instanceID_2. Tags are specified using + * the format Key=tag_name,Values=tag_value.

+ * + *

One or more targets must be specified for maintenance window Run Command-type tasks. + * Depending on the task, targets are optional for other maintenance window task types (Automation, + * Lambda, and Step Functions). For more information about running tasks + * that don't specify targets, see Registering + * maintenance window tasks without targets in the + * Amazon Web Services Systems Manager User Guide.

+ *
+ */ + Targets?: Target[]; + /** + * @public + *

The task ARN to modify.

+ */ + TaskArn?: string; + /** + * @public + *

The Amazon Resource Name (ARN) of the IAM service role for Amazon Web Services Systems Manager to assume when running a + * maintenance window task. If you do not specify a service role ARN, Systems Manager uses your account's + * service-linked role. If no service-linked role for Systems Manager exists in your account, it is created when you run + * RegisterTaskWithMaintenanceWindow.

+ *

For more information, see the following topics in the in the Amazon Web Services Systems Manager User Guide:

+ * + */ + ServiceRoleArn?: string; + /** + * @public + *

The parameters to modify.

+ * + *

+ * TaskParameters has been deprecated. To specify parameters to pass to a task when it runs, + * instead use the Parameters option in the TaskInvocationParameters structure. For information + * about how Systems Manager handles these options for the supported maintenance window task + * types, see MaintenanceWindowTaskInvocationParameters.

+ *
+ *

The map has the following format:

+ *

Key: string, between 1 and 255 characters

+ *

Value: an array of strings, each string is between 1 and 255 characters

+ */ + TaskParameters?: Record; + /** + * @public + *

The parameters that the task should use during execution. Populate only the fields that + * match the task type. All other fields should be empty.

+ * + *

When you update a maintenance window task that has options specified in + * TaskInvocationParameters, you must provide again all the + * TaskInvocationParameters values that you want to retain. The values you don't + * specify again are removed. For example, suppose that when you registered a Run Command task, you + * specified TaskInvocationParameters values for Comment, + * NotificationConfig, and OutputS3BucketName. If you update the + * maintenance window task and specify only a different OutputS3BucketName value, the + * values for Comment and NotificationConfig are removed.

+ *
+ */ + TaskInvocationParameters?: MaintenanceWindowTaskInvocationParameters; + /** + * @public + *

The new task priority to specify. The lower the number, the higher the priority. Tasks that + * have the same priority are scheduled in parallel.

+ */ + Priority?: number; + /** + * @public + *

The new MaxConcurrency value you want to specify. MaxConcurrency + * is the number of targets that are allowed to run this task, in parallel.

+ * + *

Although this element is listed as "Required: No", a value can be omitted only when you are + * registering or updating a targetless + * task You must provide a value in all other cases.

+ *

For maintenance window tasks without a target specified, you can't supply a value for this + * option. Instead, the system inserts a placeholder value of 1. This value doesn't + * affect the running of your task.

+ *
+ */ + MaxConcurrency?: string; + /** + * @public + *

The new MaxErrors value to specify. MaxErrors is the maximum + * number of errors that are allowed before the task stops being scheduled.

+ * + *

Although this element is listed as "Required: No", a value can be omitted only when you are + * registering or updating a targetless + * task You must provide a value in all other cases.

+ *

For maintenance window tasks without a target specified, you can't supply a value for this + * option. Instead, the system inserts a placeholder value of 1. This value doesn't + * affect the running of your task.

+ *
+ */ + MaxErrors?: string; + /** + * @public + *

The new logging location in Amazon S3 to specify.

+ * + *

+ * LoggingInfo has been deprecated. To specify an Amazon Simple Storage Service (Amazon S3) bucket to contain logs, instead use the + * OutputS3BucketName and OutputS3KeyPrefix options in the TaskInvocationParameters structure. + * For information about how Amazon Web Services Systems Manager handles these options for the supported maintenance + * window task types, see MaintenanceWindowTaskInvocationParameters.

+ *
+ */ + LoggingInfo?: LoggingInfo; + /** + * @public + *

The new task name to specify.

+ */ + Name?: string; + /** + * @public + *

The new task description to specify.

+ */ + Description?: string; + /** + * @public + *

If True, then all fields that are required by the RegisterTaskWithMaintenanceWindow operation are also required for this API request. + * Optional fields that aren't specified are set to null.

+ */ + Replace?: boolean; + /** + * @public + *

Indicates whether tasks should continue to run after the cutoff time specified in the + * maintenance windows is reached.

+ *
    + *
  • + *

    + * CONTINUE_TASK: When the cutoff time is reached, any tasks that are running + * continue. The default value.

    + *
  • + *
  • + *

    + * CANCEL_TASK:

    + *
      + *
    • + *

      For Automation, Lambda, Step Functions tasks: When the cutoff + * time is reached, any task invocations that are already running continue, but no new task + * invocations are started.

      + *
    • + *
    • + *

      For Run Command tasks: When the cutoff time is reached, the system sends a CancelCommand operation that attempts to cancel the command associated with the + * task. However, there is no guarantee that the command will be terminated and the underlying + * process stopped.

      + *
    • + *
    + *

    The status for tasks that are not completed is TIMED_OUT.

    + *
  • + *
+ */ + CutoffBehavior?: MaintenanceWindowTaskCutoffBehavior; + /** + * @public + *

The CloudWatch alarm you want to apply to your maintenance window task.

+ */ + AlarmConfiguration?: AlarmConfiguration; +} +/** + * @public + */ +export interface UpdateMaintenanceWindowTaskResult { + /** + * @public + *

The ID of the maintenance window that was updated.

+ */ + WindowId?: string; + /** + * @public + *

The task ID of the maintenance window that was updated.

+ */ + WindowTaskId?: string; + /** + * @public + *

The updated target values.

+ */ + Targets?: Target[]; + /** + * @public + *

The updated task ARN value.

+ */ + TaskArn?: string; + /** + * @public + *

The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) service role to use to publish Amazon Simple Notification Service + * (Amazon SNS) notifications for maintenance window Run Command tasks.

+ */ + ServiceRoleArn?: string; + /** + * @public + *

The updated parameter values.

+ * + *

+ * TaskParameters has been deprecated. To specify parameters to pass to a task when it runs, + * instead use the Parameters option in the TaskInvocationParameters structure. For information + * about how Systems Manager handles these options for the supported maintenance window task + * types, see MaintenanceWindowTaskInvocationParameters.

+ *
+ */ + TaskParameters?: Record; + /** + * @public + *

The updated parameter values.

+ */ + TaskInvocationParameters?: MaintenanceWindowTaskInvocationParameters; + /** + * @public + *

The updated priority value.

+ */ + Priority?: number; + /** + * @public + *

The updated MaxConcurrency value.

+ */ + MaxConcurrency?: string; + /** + * @public + *

The updated MaxErrors value.

+ */ + MaxErrors?: string; + /** + * @public + *

The updated logging information in Amazon S3.

+ * + *

+ * LoggingInfo has been deprecated. To specify an Amazon Simple Storage Service (Amazon S3) bucket to contain logs, instead use the + * OutputS3BucketName and OutputS3KeyPrefix options in the TaskInvocationParameters structure. + * For information about how Amazon Web Services Systems Manager handles these options for the supported maintenance + * window task types, see MaintenanceWindowTaskInvocationParameters.

+ *
+ */ + LoggingInfo?: LoggingInfo; + /** + * @public + *

The updated task name.

+ */ + Name?: string; + /** + * @public + *

The updated task description.

+ */ + Description?: string; + /** + * @public + *

The specification for whether tasks should continue to run after the cutoff time specified + * in the maintenance windows is reached.

+ */ + CutoffBehavior?: MaintenanceWindowTaskCutoffBehavior; + /** + * @public + *

The details for the CloudWatch alarm you applied to your maintenance window + * task.

+ */ + AlarmConfiguration?: AlarmConfiguration; +} +/** + * @public + */ +export interface UpdateManagedInstanceRoleRequest { + /** + * @public + *

The ID of the managed node where you want to update the role.

+ */ + InstanceId: string | undefined; + /** + * @public + *

The name of the Identity and Access Management (IAM) role that you want to assign to + * the managed node. This IAM role must provide AssumeRole permissions for the + * Amazon Web Services Systems Manager service principal ssm.amazonaws.com. For more information, see Create an + * IAM service role for a hybrid environment in the + * Amazon Web Services Systems Manager User Guide.

+ * + *

You can't specify an IAM service-linked role for this parameter. You must + * create a unique role.

+ *
+ */ + IamRole: string | undefined; +} +/** + * @public + */ +export interface UpdateManagedInstanceRoleResult { +} +/** + * @public + */ +export interface UpdateOpsItemRequest { + /** + * @public + *

User-defined text that contains information about the OpsItem, in Markdown format.

+ */ + Description?: string; + /** + * @public + *

Add new keys or edit existing key-value pairs of the OperationalData map in the OpsItem + * object.

+ *

Operational data is custom data that provides useful reference details about the OpsItem. + * For example, you can specify log files, error strings, license keys, troubleshooting tips, or + * other relevant data. You enter operational data as key-value pairs. The key has a maximum length + * of 128 characters. The value has a maximum size of 20 KB.

+ * + *

Operational data keys can't begin with the following: + * amazon, aws, amzn, ssm, + * /amazon, /aws, /amzn, /ssm.

+ *
+ *

You can choose to make the data searchable by other users in the account or you can restrict + * search access. Searchable data means that all users with access to the OpsItem Overview page (as + * provided by the DescribeOpsItems API operation) can view and search on the + * specified data. Operational data that isn't searchable is only viewable by users who have access + * to the OpsItem (as provided by the GetOpsItem API operation).

+ *

Use the /aws/resources key in OperationalData to specify a related resource in + * the request. Use the /aws/automations key in OperationalData to associate an + * Automation runbook with the OpsItem. To view Amazon Web Services CLI example commands that use these keys, see + * Creating OpsItems + * manually in the Amazon Web Services Systems Manager User Guide.

+ */ + OperationalData?: Record; + /** + * @public + *

Keys that you want to remove from the OperationalData map.

+ */ + OperationalDataToDelete?: string[]; + /** + * @public + *

The Amazon Resource Name (ARN) of an SNS topic where notifications are sent when this + * OpsItem is edited or changed.

+ */ + Notifications?: OpsItemNotification[]; + /** + * @public + *

The importance of this OpsItem in relation to other OpsItems in the system.

+ */ + Priority?: number; + /** + * @public + *

One or more OpsItems that share something in common with the current OpsItems. For example, + * related OpsItems can include OpsItems with similar error messages, impacted resources, or + * statuses for the impacted resource.

+ */ + RelatedOpsItems?: RelatedOpsItem[]; + /** + * @public + *

The OpsItem status. Status can be Open, In Progress, or + * Resolved. For more information, see Editing OpsItem details in the Amazon Web Services Systems Manager User Guide.

+ */ + Status?: OpsItemStatus; + /** + * @public + *

The ID of the OpsItem.

+ */ + OpsItemId: string | undefined; + /** + * @public + *

A short heading that describes the nature of the OpsItem and the impacted resource.

+ */ + Title?: string; + /** + * @public + *

Specify a new category for an OpsItem.

+ */ + Category?: string; + /** + * @public + *

Specify a new severity for an OpsItem.

+ */ + Severity?: string; + /** + * @public + *

The time a runbook workflow started. Currently reported only for the OpsItem type + * /aws/changerequest.

+ */ + ActualStartTime?: Date; + /** + * @public + *

The time a runbook workflow ended. Currently reported only for the OpsItem type + * /aws/changerequest.

+ */ + ActualEndTime?: Date; + /** + * @public + *

The time specified in a change request for a runbook workflow to start. Currently supported + * only for the OpsItem type /aws/changerequest.

+ */ + PlannedStartTime?: Date; + /** + * @public + *

The time specified in a change request for a runbook workflow to end. Currently supported + * only for the OpsItem type /aws/changerequest.

+ */ + PlannedEndTime?: Date; + /** + * @public + *

The OpsItem Amazon Resource Name (ARN).

+ */ + OpsItemArn?: string; +} +/** + * @public + */ +export interface UpdateOpsItemResponse { +} +/** + * @public + *

The OpsMetadata object exceeds the maximum number of OpsMetadata keys that you can assign to + * an application in Application Manager.

+ */ +export declare class OpsMetadataKeyLimitExceededException extends __BaseException { + readonly name: "OpsMetadataKeyLimitExceededException"; + readonly $fault: "client"; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + */ +export interface UpdateOpsMetadataRequest { + /** + * @public + *

The Amazon Resource Name (ARN) of the OpsMetadata Object to update.

+ */ + OpsMetadataArn: string | undefined; + /** + * @public + *

Metadata to add to an OpsMetadata object.

+ */ + MetadataToUpdate?: Record; + /** + * @public + *

The metadata keys to delete from the OpsMetadata object.

+ */ + KeysToDelete?: string[]; +} +/** + * @public + */ +export interface UpdateOpsMetadataResult { + /** + * @public + *

The Amazon Resource Name (ARN) of the OpsMetadata Object that was updated.

+ */ + OpsMetadataArn?: string; +} +/** + * @public + */ +export interface UpdatePatchBaselineRequest { + /** + * @public + *

The ID of the patch baseline to update.

+ */ + BaselineId: string | undefined; + /** + * @public + *

The name of the patch baseline.

+ */ + Name?: string; + /** + * @public + *

A set of global filters used to include patches in the baseline.

+ */ + GlobalFilters?: PatchFilterGroup; + /** + * @public + *

A set of rules used to include patches in the baseline.

+ */ + ApprovalRules?: PatchRuleGroup; + /** + * @public + *

A list of explicitly approved patches for the baseline.

+ *

For information about accepted formats for lists of approved patches and rejected patches, + * see About + * package name formats for approved and rejected patch lists in the Amazon Web Services Systems Manager User Guide.

+ */ + ApprovedPatches?: string[]; + /** + * @public + *

Assigns a new compliance severity level to an existing patch baseline.

+ */ + ApprovedPatchesComplianceLevel?: PatchComplianceLevel; + /** + * @public + *

Indicates whether the list of approved patches includes non-security updates that should be + * applied to the managed nodes. The default value is false. Applies to Linux managed + * nodes only.

+ */ + ApprovedPatchesEnableNonSecurity?: boolean; + /** + * @public + *

A list of explicitly rejected patches for the baseline.

+ *

For information about accepted formats for lists of approved patches and rejected patches, + * see About + * package name formats for approved and rejected patch lists in the Amazon Web Services Systems Manager User Guide.

+ */ + RejectedPatches?: string[]; + /** + * @public + *

The action for Patch Manager to take on patches included in the + * RejectedPackages list.

+ *
    + *
  • + *

    + * + * ALLOW_AS_DEPENDENCY + * : A package in the + * Rejected patches list is installed only if it is a dependency of another package. + * It is considered compliant with the patch baseline, and its status is reported as + * InstalledOther. This is the default action if no option is specified.

    + *
  • + *
  • + *

    + * + * BLOCK + * : Packages in the + * RejectedPatches list, and packages that include them as dependencies, aren't + * installed under any circumstances. If a package was installed before it was added to the + * Rejected patches list, it is considered non-compliant with the patch baseline, + * and its status is reported as InstalledRejected.

    + *
  • + *
+ */ + RejectedPatchesAction?: PatchAction; + /** + * @public + *

A description of the patch baseline.

+ */ + Description?: string; + /** + * @public + *

Information about the patches to use to update the managed nodes, including target operating + * systems and source repositories. Applies to Linux managed nodes only.

+ */ + Sources?: PatchSource[]; + /** + * @public + *

If True, then all fields that are required by the CreatePatchBaseline + * operation are also required for this API request. Optional fields that aren't specified are set + * to null.

+ */ + Replace?: boolean; +} +/** + * @public + */ +export interface UpdatePatchBaselineResult { + /** + * @public + *

The ID of the deleted patch baseline.

+ */ + BaselineId?: string; + /** + * @public + *

The name of the patch baseline.

+ */ + Name?: string; + /** + * @public + *

The operating system rule used by the updated patch baseline.

+ */ + OperatingSystem?: OperatingSystem; + /** + * @public + *

A set of global filters used to exclude patches from the baseline.

+ */ + GlobalFilters?: PatchFilterGroup; + /** + * @public + *

A set of rules used to include patches in the baseline.

+ */ + ApprovalRules?: PatchRuleGroup; + /** + * @public + *

A list of explicitly approved patches for the baseline.

+ */ + ApprovedPatches?: string[]; + /** + * @public + *

The compliance severity level assigned to the patch baseline after the update + * completed.

+ */ + ApprovedPatchesComplianceLevel?: PatchComplianceLevel; + /** + * @public + *

Indicates whether the list of approved patches includes non-security updates that should be + * applied to the managed nodes. The default value is false. Applies to Linux managed + * nodes only.

+ */ + ApprovedPatchesEnableNonSecurity?: boolean; + /** + * @public + *

A list of explicitly rejected patches for the baseline.

+ */ + RejectedPatches?: string[]; + /** + * @public + *

The action specified to take on patches included in the RejectedPatches list. A + * patch can be allowed only if it is a dependency of another package, or blocked entirely along + * with packages that include it as a dependency.

+ */ + RejectedPatchesAction?: PatchAction; + /** + * @public + *

The date when the patch baseline was created.

+ */ + CreatedDate?: Date; + /** + * @public + *

The date when the patch baseline was last modified.

+ */ + ModifiedDate?: Date; + /** + * @public + *

A description of the patch baseline.

+ */ + Description?: string; + /** + * @public + *

Information about the patches to use to update the managed nodes, including target operating + * systems and source repositories. Applies to Linux managed nodes only.

+ */ + Sources?: PatchSource[]; +} +/** + * @public + *

Another UpdateResourceDataSync request is being processed. Wait a few minutes + * and try again.

+ */ +export declare class ResourceDataSyncConflictException extends __BaseException { + readonly name: "ResourceDataSyncConflictException"; + readonly $fault: "client"; + Message?: string; + /** + * @internal + */ + constructor(opts: __ExceptionOptionType); +} +/** + * @public + */ +export interface UpdateResourceDataSyncRequest { + /** + * @public + *

The name of the resource data sync you want to update.

+ */ + SyncName: string | undefined; + /** + * @public + *

The type of resource data sync. The supported SyncType is + * SyncFromSource.

+ */ + SyncType: string | undefined; + /** + * @public + *

Specify information about the data sources to synchronize.

+ */ + SyncSource: ResourceDataSyncSource | undefined; +} +/** + * @public + */ +export interface UpdateResourceDataSyncResult { +} +/** + * @public + *

The request body of the UpdateServiceSetting API operation.

+ */ +export interface UpdateServiceSettingRequest { + /** + * @public + *

The Amazon Resource Name (ARN) of the service setting to update. For example, + * arn:aws:ssm:us-east-1:111122223333:servicesetting/ssm/parameter-store/high-throughput-enabled. + * The setting ID can be one of the following.

+ *
    + *
  • + *

    + * /ssm/managed-instance/default-ec2-instance-management-role + *

    + *
  • + *
  • + *

    + * /ssm/automation/customer-script-log-destination + *

    + *
  • + *
  • + *

    + * /ssm/automation/customer-script-log-group-name + *

    + *
  • + *
  • + *

    + * /ssm/documents/console/public-sharing-permission + *

    + *
  • + *
  • + *

    + * /ssm/managed-instance/activation-tier + *

    + *
  • + *
  • + *

    + * /ssm/opsinsights/opscenter + *

    + *
  • + *
  • + *

    + * /ssm/parameter-store/default-parameter-tier + *

    + *
  • + *
  • + *

    + * /ssm/parameter-store/high-throughput-enabled + *

    + *
  • + *
+ * + *

Permissions to update the + * /ssm/managed-instance/default-ec2-instance-management-role setting should only be + * provided to administrators. Implement least privilege access when allowing individuals to + * configure or modify the Default Host Management Configuration.

+ *
+ */ + SettingId: string | undefined; + /** + * @public + *

The new value to specify for the service setting. The following list specifies the available + * values for each setting.

+ *
    + *
  • + *

    For /ssm/managed-instance/default-ec2-instance-management-role, enter the + * name of an IAM role.

    + *
  • + *
  • + *

    For /ssm/automation/customer-script-log-destination, enter CloudWatch.

    + *
  • + *
  • + *

    For /ssm/automation/customer-script-log-group-name, enter the name of an + * Amazon CloudWatch Logs log group.

    + *
  • + *
  • + *

    For /ssm/documents/console/public-sharing-permission, enter + * Enable or Disable.

    + *
  • + *
  • + *

    For /ssm/managed-instance/activation-tier, enter standard or + * advanced.

    + *
  • + *
  • + *

    For /ssm/opsinsights/opscenter, enter Enabled or + * Disabled.

    + *
  • + *
  • + *

    For /ssm/parameter-store/default-parameter-tier, enter Standard, + * Advanced, or Intelligent-Tiering + *

    + *
  • + *
  • + *

    For /ssm/parameter-store/high-throughput-enabled, enter true or + * false.

    + *
  • + *
+ */ + SettingValue: string | undefined; +} +/** + * @public + *

The result body of the UpdateServiceSetting API operation.

+ */ +export interface UpdateServiceSettingResult { +} +/** + * @public + *

Specifies the inventory type and attribute for the aggregation execution.

+ */ +export interface InventoryAggregator { + /** + * @public + *

The inventory type and attribute name for aggregation.

+ */ + Expression?: string; + /** + * @public + *

Nested aggregators to further refine aggregation for an inventory type.

+ */ + Aggregators?: InventoryAggregator[]; + /** + * @public + *

A user-defined set of one or more filters on which to aggregate inventory data. Groups + * return a count of resources that match and don't match the specified criteria.

+ */ + Groups?: InventoryGroup[]; +} +/** + * @public + *

One or more aggregators for viewing counts of OpsData using different dimensions such as + * Source, CreatedTime, or Source and CreatedTime, to name a + * few.

+ */ +export interface OpsAggregator { + /** + * @public + *

Either a Range or Count aggregator for limiting an OpsData + * summary.

+ */ + AggregatorType?: string; + /** + * @public + *

The data type name to use for viewing counts of OpsData.

+ */ + TypeName?: string; + /** + * @public + *

The name of an OpsData attribute on which to limit the count of OpsData.

+ */ + AttributeName?: string; + /** + * @public + *

The aggregator value.

+ */ + Values?: Record; + /** + * @public + *

The aggregator filters.

+ */ + Filters?: OpsFilter[]; + /** + * @public + *

A nested aggregator for viewing counts of OpsData.

+ */ + Aggregators?: OpsAggregator[]; +} +/** + * @public + */ +export interface GetInventoryRequest { + /** + * @public + *

One or more filters. Use a filter to return a more specific list of results.

+ */ + Filters?: InventoryFilter[]; + /** + * @public + *

Returns counts of inventory types based on one or more expressions. For example, if you + * aggregate by using an expression that uses the AWS:InstanceInformation.PlatformType + * type, you can see a count of how many Windows and Linux managed nodes exist in your inventoried + * fleet.

+ */ + Aggregators?: InventoryAggregator[]; + /** + * @public + *

The list of inventory item types to return.

+ */ + ResultAttributes?: ResultAttribute[]; + /** + * @public + *

The token for the next set of items to return. (You received this token from a previous + * call.)

+ */ + NextToken?: string; + /** + * @public + *

The maximum number of items to return for this call. The call also returns a token that you + * can specify in a subsequent call to get the next set of results.

+ */ + MaxResults?: number; +} +/** + * @public + */ +export interface GetOpsSummaryRequest { + /** + * @public + *

Specify the name of a resource data sync to get.

+ */ + SyncName?: string; + /** + * @public + *

Optional filters used to scope down the returned OpsData.

+ */ + Filters?: OpsFilter[]; + /** + * @public + *

Optional aggregators that return counts of OpsData based on one or more expressions.

+ */ + Aggregators?: OpsAggregator[]; + /** + * @public + *

The OpsData data type to return.

+ */ + ResultAttributes?: OpsResultAttribute[]; + /** + * @public + *

A token to start the list. Use this token to get the next set of results.

+ */ + NextToken?: string; + /** + * @public + *

The maximum number of items to return for this call. The call also returns a token that you + * can specify in a subsequent call to get the next set of results.

+ */ + MaxResults?: number; +} +/** + * @internal + */ +export declare const UpdateAssociationRequestFilterSensitiveLog: (obj: UpdateAssociationRequest) => any; +/** + * @internal + */ +export declare const UpdateAssociationResultFilterSensitiveLog: (obj: UpdateAssociationResult) => any; +/** + * @internal + */ +export declare const UpdateAssociationStatusResultFilterSensitiveLog: (obj: UpdateAssociationStatusResult) => any; +/** + * @internal + */ +export declare const UpdateMaintenanceWindowRequestFilterSensitiveLog: (obj: UpdateMaintenanceWindowRequest) => any; +/** + * @internal + */ +export declare const UpdateMaintenanceWindowResultFilterSensitiveLog: (obj: UpdateMaintenanceWindowResult) => any; +/** + * @internal + */ +export declare const UpdateMaintenanceWindowTargetRequestFilterSensitiveLog: (obj: UpdateMaintenanceWindowTargetRequest) => any; +/** + * @internal + */ +export declare const UpdateMaintenanceWindowTargetResultFilterSensitiveLog: (obj: UpdateMaintenanceWindowTargetResult) => any; +/** + * @internal + */ +export declare const UpdateMaintenanceWindowTaskRequestFilterSensitiveLog: (obj: UpdateMaintenanceWindowTaskRequest) => any; +/** + * @internal + */ +export declare const UpdateMaintenanceWindowTaskResultFilterSensitiveLog: (obj: UpdateMaintenanceWindowTaskResult) => any; +/** + * @internal + */ +export declare const UpdatePatchBaselineRequestFilterSensitiveLog: (obj: UpdatePatchBaselineRequest) => any; +/** + * @internal + */ +export declare const UpdatePatchBaselineResultFilterSensitiveLog: (obj: UpdatePatchBaselineResult) => any; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeActivationsPaginator.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeActivationsPaginator.d.ts new file mode 100644 index 00000000..0385a816 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeActivationsPaginator.d.ts @@ -0,0 +1,7 @@ +import { Paginator } from "@smithy/types"; +import { DescribeActivationsCommandInput, DescribeActivationsCommandOutput } from "../commands/DescribeActivationsCommand"; +import { SSMPaginationConfiguration } from "./Interfaces"; +/** + * @public + */ +export declare function paginateDescribeActivations(config: SSMPaginationConfiguration, input: DescribeActivationsCommandInput, ...additionalArguments: any): Paginator; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeAssociationExecutionTargetsPaginator.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeAssociationExecutionTargetsPaginator.d.ts new file mode 100644 index 00000000..bc6ff7d3 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeAssociationExecutionTargetsPaginator.d.ts @@ -0,0 +1,7 @@ +import { Paginator } from "@smithy/types"; +import { DescribeAssociationExecutionTargetsCommandInput, DescribeAssociationExecutionTargetsCommandOutput } from "../commands/DescribeAssociationExecutionTargetsCommand"; +import { SSMPaginationConfiguration } from "./Interfaces"; +/** + * @public + */ +export declare function paginateDescribeAssociationExecutionTargets(config: SSMPaginationConfiguration, input: DescribeAssociationExecutionTargetsCommandInput, ...additionalArguments: any): Paginator; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeAssociationExecutionsPaginator.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeAssociationExecutionsPaginator.d.ts new file mode 100644 index 00000000..77954909 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeAssociationExecutionsPaginator.d.ts @@ -0,0 +1,7 @@ +import { Paginator } from "@smithy/types"; +import { DescribeAssociationExecutionsCommandInput, DescribeAssociationExecutionsCommandOutput } from "../commands/DescribeAssociationExecutionsCommand"; +import { SSMPaginationConfiguration } from "./Interfaces"; +/** + * @public + */ +export declare function paginateDescribeAssociationExecutions(config: SSMPaginationConfiguration, input: DescribeAssociationExecutionsCommandInput, ...additionalArguments: any): Paginator; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeAutomationExecutionsPaginator.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeAutomationExecutionsPaginator.d.ts new file mode 100644 index 00000000..332e64a2 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeAutomationExecutionsPaginator.d.ts @@ -0,0 +1,7 @@ +import { Paginator } from "@smithy/types"; +import { DescribeAutomationExecutionsCommandInput, DescribeAutomationExecutionsCommandOutput } from "../commands/DescribeAutomationExecutionsCommand"; +import { SSMPaginationConfiguration } from "./Interfaces"; +/** + * @public + */ +export declare function paginateDescribeAutomationExecutions(config: SSMPaginationConfiguration, input: DescribeAutomationExecutionsCommandInput, ...additionalArguments: any): Paginator; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeAutomationStepExecutionsPaginator.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeAutomationStepExecutionsPaginator.d.ts new file mode 100644 index 00000000..cceadacc --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeAutomationStepExecutionsPaginator.d.ts @@ -0,0 +1,7 @@ +import { Paginator } from "@smithy/types"; +import { DescribeAutomationStepExecutionsCommandInput, DescribeAutomationStepExecutionsCommandOutput } from "../commands/DescribeAutomationStepExecutionsCommand"; +import { SSMPaginationConfiguration } from "./Interfaces"; +/** + * @public + */ +export declare function paginateDescribeAutomationStepExecutions(config: SSMPaginationConfiguration, input: DescribeAutomationStepExecutionsCommandInput, ...additionalArguments: any): Paginator; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeAvailablePatchesPaginator.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeAvailablePatchesPaginator.d.ts new file mode 100644 index 00000000..d882af20 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeAvailablePatchesPaginator.d.ts @@ -0,0 +1,7 @@ +import { Paginator } from "@smithy/types"; +import { DescribeAvailablePatchesCommandInput, DescribeAvailablePatchesCommandOutput } from "../commands/DescribeAvailablePatchesCommand"; +import { SSMPaginationConfiguration } from "./Interfaces"; +/** + * @public + */ +export declare function paginateDescribeAvailablePatches(config: SSMPaginationConfiguration, input: DescribeAvailablePatchesCommandInput, ...additionalArguments: any): Paginator; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeEffectiveInstanceAssociationsPaginator.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeEffectiveInstanceAssociationsPaginator.d.ts new file mode 100644 index 00000000..5aec0686 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeEffectiveInstanceAssociationsPaginator.d.ts @@ -0,0 +1,7 @@ +import { Paginator } from "@smithy/types"; +import { DescribeEffectiveInstanceAssociationsCommandInput, DescribeEffectiveInstanceAssociationsCommandOutput } from "../commands/DescribeEffectiveInstanceAssociationsCommand"; +import { SSMPaginationConfiguration } from "./Interfaces"; +/** + * @public + */ +export declare function paginateDescribeEffectiveInstanceAssociations(config: SSMPaginationConfiguration, input: DescribeEffectiveInstanceAssociationsCommandInput, ...additionalArguments: any): Paginator; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeEffectivePatchesForPatchBaselinePaginator.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeEffectivePatchesForPatchBaselinePaginator.d.ts new file mode 100644 index 00000000..f33693e9 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeEffectivePatchesForPatchBaselinePaginator.d.ts @@ -0,0 +1,7 @@ +import { Paginator } from "@smithy/types"; +import { DescribeEffectivePatchesForPatchBaselineCommandInput, DescribeEffectivePatchesForPatchBaselineCommandOutput } from "../commands/DescribeEffectivePatchesForPatchBaselineCommand"; +import { SSMPaginationConfiguration } from "./Interfaces"; +/** + * @public + */ +export declare function paginateDescribeEffectivePatchesForPatchBaseline(config: SSMPaginationConfiguration, input: DescribeEffectivePatchesForPatchBaselineCommandInput, ...additionalArguments: any): Paginator; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeInstanceAssociationsStatusPaginator.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeInstanceAssociationsStatusPaginator.d.ts new file mode 100644 index 00000000..128ad27e --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeInstanceAssociationsStatusPaginator.d.ts @@ -0,0 +1,7 @@ +import { Paginator } from "@smithy/types"; +import { DescribeInstanceAssociationsStatusCommandInput, DescribeInstanceAssociationsStatusCommandOutput } from "../commands/DescribeInstanceAssociationsStatusCommand"; +import { SSMPaginationConfiguration } from "./Interfaces"; +/** + * @public + */ +export declare function paginateDescribeInstanceAssociationsStatus(config: SSMPaginationConfiguration, input: DescribeInstanceAssociationsStatusCommandInput, ...additionalArguments: any): Paginator; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeInstanceInformationPaginator.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeInstanceInformationPaginator.d.ts new file mode 100644 index 00000000..18101b1f --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeInstanceInformationPaginator.d.ts @@ -0,0 +1,7 @@ +import { Paginator } from "@smithy/types"; +import { DescribeInstanceInformationCommandInput, DescribeInstanceInformationCommandOutput } from "../commands/DescribeInstanceInformationCommand"; +import { SSMPaginationConfiguration } from "./Interfaces"; +/** + * @public + */ +export declare function paginateDescribeInstanceInformation(config: SSMPaginationConfiguration, input: DescribeInstanceInformationCommandInput, ...additionalArguments: any): Paginator; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeInstancePatchStatesForPatchGroupPaginator.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeInstancePatchStatesForPatchGroupPaginator.d.ts new file mode 100644 index 00000000..2afee2f7 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeInstancePatchStatesForPatchGroupPaginator.d.ts @@ -0,0 +1,7 @@ +import { Paginator } from "@smithy/types"; +import { DescribeInstancePatchStatesForPatchGroupCommandInput, DescribeInstancePatchStatesForPatchGroupCommandOutput } from "../commands/DescribeInstancePatchStatesForPatchGroupCommand"; +import { SSMPaginationConfiguration } from "./Interfaces"; +/** + * @public + */ +export declare function paginateDescribeInstancePatchStatesForPatchGroup(config: SSMPaginationConfiguration, input: DescribeInstancePatchStatesForPatchGroupCommandInput, ...additionalArguments: any): Paginator; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeInstancePatchStatesPaginator.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeInstancePatchStatesPaginator.d.ts new file mode 100644 index 00000000..a290aef0 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeInstancePatchStatesPaginator.d.ts @@ -0,0 +1,7 @@ +import { Paginator } from "@smithy/types"; +import { DescribeInstancePatchStatesCommandInput, DescribeInstancePatchStatesCommandOutput } from "../commands/DescribeInstancePatchStatesCommand"; +import { SSMPaginationConfiguration } from "./Interfaces"; +/** + * @public + */ +export declare function paginateDescribeInstancePatchStates(config: SSMPaginationConfiguration, input: DescribeInstancePatchStatesCommandInput, ...additionalArguments: any): Paginator; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeInstancePatchesPaginator.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeInstancePatchesPaginator.d.ts new file mode 100644 index 00000000..58cb1612 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeInstancePatchesPaginator.d.ts @@ -0,0 +1,7 @@ +import { Paginator } from "@smithy/types"; +import { DescribeInstancePatchesCommandInput, DescribeInstancePatchesCommandOutput } from "../commands/DescribeInstancePatchesCommand"; +import { SSMPaginationConfiguration } from "./Interfaces"; +/** + * @public + */ +export declare function paginateDescribeInstancePatches(config: SSMPaginationConfiguration, input: DescribeInstancePatchesCommandInput, ...additionalArguments: any): Paginator; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeInventoryDeletionsPaginator.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeInventoryDeletionsPaginator.d.ts new file mode 100644 index 00000000..01ba28c2 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeInventoryDeletionsPaginator.d.ts @@ -0,0 +1,7 @@ +import { Paginator } from "@smithy/types"; +import { DescribeInventoryDeletionsCommandInput, DescribeInventoryDeletionsCommandOutput } from "../commands/DescribeInventoryDeletionsCommand"; +import { SSMPaginationConfiguration } from "./Interfaces"; +/** + * @public + */ +export declare function paginateDescribeInventoryDeletions(config: SSMPaginationConfiguration, input: DescribeInventoryDeletionsCommandInput, ...additionalArguments: any): Paginator; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeMaintenanceWindowExecutionTaskInvocationsPaginator.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeMaintenanceWindowExecutionTaskInvocationsPaginator.d.ts new file mode 100644 index 00000000..ffa26e39 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeMaintenanceWindowExecutionTaskInvocationsPaginator.d.ts @@ -0,0 +1,7 @@ +import { Paginator } from "@smithy/types"; +import { DescribeMaintenanceWindowExecutionTaskInvocationsCommandInput, DescribeMaintenanceWindowExecutionTaskInvocationsCommandOutput } from "../commands/DescribeMaintenanceWindowExecutionTaskInvocationsCommand"; +import { SSMPaginationConfiguration } from "./Interfaces"; +/** + * @public + */ +export declare function paginateDescribeMaintenanceWindowExecutionTaskInvocations(config: SSMPaginationConfiguration, input: DescribeMaintenanceWindowExecutionTaskInvocationsCommandInput, ...additionalArguments: any): Paginator; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeMaintenanceWindowExecutionTasksPaginator.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeMaintenanceWindowExecutionTasksPaginator.d.ts new file mode 100644 index 00000000..1a4e1da9 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeMaintenanceWindowExecutionTasksPaginator.d.ts @@ -0,0 +1,7 @@ +import { Paginator } from "@smithy/types"; +import { DescribeMaintenanceWindowExecutionTasksCommandInput, DescribeMaintenanceWindowExecutionTasksCommandOutput } from "../commands/DescribeMaintenanceWindowExecutionTasksCommand"; +import { SSMPaginationConfiguration } from "./Interfaces"; +/** + * @public + */ +export declare function paginateDescribeMaintenanceWindowExecutionTasks(config: SSMPaginationConfiguration, input: DescribeMaintenanceWindowExecutionTasksCommandInput, ...additionalArguments: any): Paginator; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeMaintenanceWindowExecutionsPaginator.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeMaintenanceWindowExecutionsPaginator.d.ts new file mode 100644 index 00000000..0fe24b49 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeMaintenanceWindowExecutionsPaginator.d.ts @@ -0,0 +1,7 @@ +import { Paginator } from "@smithy/types"; +import { DescribeMaintenanceWindowExecutionsCommandInput, DescribeMaintenanceWindowExecutionsCommandOutput } from "../commands/DescribeMaintenanceWindowExecutionsCommand"; +import { SSMPaginationConfiguration } from "./Interfaces"; +/** + * @public + */ +export declare function paginateDescribeMaintenanceWindowExecutions(config: SSMPaginationConfiguration, input: DescribeMaintenanceWindowExecutionsCommandInput, ...additionalArguments: any): Paginator; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeMaintenanceWindowSchedulePaginator.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeMaintenanceWindowSchedulePaginator.d.ts new file mode 100644 index 00000000..8bc26ec4 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeMaintenanceWindowSchedulePaginator.d.ts @@ -0,0 +1,7 @@ +import { Paginator } from "@smithy/types"; +import { DescribeMaintenanceWindowScheduleCommandInput, DescribeMaintenanceWindowScheduleCommandOutput } from "../commands/DescribeMaintenanceWindowScheduleCommand"; +import { SSMPaginationConfiguration } from "./Interfaces"; +/** + * @public + */ +export declare function paginateDescribeMaintenanceWindowSchedule(config: SSMPaginationConfiguration, input: DescribeMaintenanceWindowScheduleCommandInput, ...additionalArguments: any): Paginator; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeMaintenanceWindowTargetsPaginator.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeMaintenanceWindowTargetsPaginator.d.ts new file mode 100644 index 00000000..52730d43 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeMaintenanceWindowTargetsPaginator.d.ts @@ -0,0 +1,7 @@ +import { Paginator } from "@smithy/types"; +import { DescribeMaintenanceWindowTargetsCommandInput, DescribeMaintenanceWindowTargetsCommandOutput } from "../commands/DescribeMaintenanceWindowTargetsCommand"; +import { SSMPaginationConfiguration } from "./Interfaces"; +/** + * @public + */ +export declare function paginateDescribeMaintenanceWindowTargets(config: SSMPaginationConfiguration, input: DescribeMaintenanceWindowTargetsCommandInput, ...additionalArguments: any): Paginator; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeMaintenanceWindowTasksPaginator.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeMaintenanceWindowTasksPaginator.d.ts new file mode 100644 index 00000000..2a246197 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeMaintenanceWindowTasksPaginator.d.ts @@ -0,0 +1,7 @@ +import { Paginator } from "@smithy/types"; +import { DescribeMaintenanceWindowTasksCommandInput, DescribeMaintenanceWindowTasksCommandOutput } from "../commands/DescribeMaintenanceWindowTasksCommand"; +import { SSMPaginationConfiguration } from "./Interfaces"; +/** + * @public + */ +export declare function paginateDescribeMaintenanceWindowTasks(config: SSMPaginationConfiguration, input: DescribeMaintenanceWindowTasksCommandInput, ...additionalArguments: any): Paginator; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeMaintenanceWindowsForTargetPaginator.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeMaintenanceWindowsForTargetPaginator.d.ts new file mode 100644 index 00000000..b7c51d6d --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeMaintenanceWindowsForTargetPaginator.d.ts @@ -0,0 +1,7 @@ +import { Paginator } from "@smithy/types"; +import { DescribeMaintenanceWindowsForTargetCommandInput, DescribeMaintenanceWindowsForTargetCommandOutput } from "../commands/DescribeMaintenanceWindowsForTargetCommand"; +import { SSMPaginationConfiguration } from "./Interfaces"; +/** + * @public + */ +export declare function paginateDescribeMaintenanceWindowsForTarget(config: SSMPaginationConfiguration, input: DescribeMaintenanceWindowsForTargetCommandInput, ...additionalArguments: any): Paginator; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeMaintenanceWindowsPaginator.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeMaintenanceWindowsPaginator.d.ts new file mode 100644 index 00000000..2b5d58d5 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeMaintenanceWindowsPaginator.d.ts @@ -0,0 +1,7 @@ +import { Paginator } from "@smithy/types"; +import { DescribeMaintenanceWindowsCommandInput, DescribeMaintenanceWindowsCommandOutput } from "../commands/DescribeMaintenanceWindowsCommand"; +import { SSMPaginationConfiguration } from "./Interfaces"; +/** + * @public + */ +export declare function paginateDescribeMaintenanceWindows(config: SSMPaginationConfiguration, input: DescribeMaintenanceWindowsCommandInput, ...additionalArguments: any): Paginator; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeOpsItemsPaginator.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeOpsItemsPaginator.d.ts new file mode 100644 index 00000000..36312a56 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeOpsItemsPaginator.d.ts @@ -0,0 +1,7 @@ +import { Paginator } from "@smithy/types"; +import { DescribeOpsItemsCommandInput, DescribeOpsItemsCommandOutput } from "../commands/DescribeOpsItemsCommand"; +import { SSMPaginationConfiguration } from "./Interfaces"; +/** + * @public + */ +export declare function paginateDescribeOpsItems(config: SSMPaginationConfiguration, input: DescribeOpsItemsCommandInput, ...additionalArguments: any): Paginator; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeParametersPaginator.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeParametersPaginator.d.ts new file mode 100644 index 00000000..036c8d57 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeParametersPaginator.d.ts @@ -0,0 +1,7 @@ +import { Paginator } from "@smithy/types"; +import { DescribeParametersCommandInput, DescribeParametersCommandOutput } from "../commands/DescribeParametersCommand"; +import { SSMPaginationConfiguration } from "./Interfaces"; +/** + * @public + */ +export declare function paginateDescribeParameters(config: SSMPaginationConfiguration, input: DescribeParametersCommandInput, ...additionalArguments: any): Paginator; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribePatchBaselinesPaginator.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribePatchBaselinesPaginator.d.ts new file mode 100644 index 00000000..7cd2a008 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribePatchBaselinesPaginator.d.ts @@ -0,0 +1,7 @@ +import { Paginator } from "@smithy/types"; +import { DescribePatchBaselinesCommandInput, DescribePatchBaselinesCommandOutput } from "../commands/DescribePatchBaselinesCommand"; +import { SSMPaginationConfiguration } from "./Interfaces"; +/** + * @public + */ +export declare function paginateDescribePatchBaselines(config: SSMPaginationConfiguration, input: DescribePatchBaselinesCommandInput, ...additionalArguments: any): Paginator; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribePatchGroupsPaginator.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribePatchGroupsPaginator.d.ts new file mode 100644 index 00000000..4eecc811 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribePatchGroupsPaginator.d.ts @@ -0,0 +1,7 @@ +import { Paginator } from "@smithy/types"; +import { DescribePatchGroupsCommandInput, DescribePatchGroupsCommandOutput } from "../commands/DescribePatchGroupsCommand"; +import { SSMPaginationConfiguration } from "./Interfaces"; +/** + * @public + */ +export declare function paginateDescribePatchGroups(config: SSMPaginationConfiguration, input: DescribePatchGroupsCommandInput, ...additionalArguments: any): Paginator; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribePatchPropertiesPaginator.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribePatchPropertiesPaginator.d.ts new file mode 100644 index 00000000..af39badd --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribePatchPropertiesPaginator.d.ts @@ -0,0 +1,7 @@ +import { Paginator } from "@smithy/types"; +import { DescribePatchPropertiesCommandInput, DescribePatchPropertiesCommandOutput } from "../commands/DescribePatchPropertiesCommand"; +import { SSMPaginationConfiguration } from "./Interfaces"; +/** + * @public + */ +export declare function paginateDescribePatchProperties(config: SSMPaginationConfiguration, input: DescribePatchPropertiesCommandInput, ...additionalArguments: any): Paginator; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeSessionsPaginator.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeSessionsPaginator.d.ts new file mode 100644 index 00000000..cef45e00 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/pagination/DescribeSessionsPaginator.d.ts @@ -0,0 +1,7 @@ +import { Paginator } from "@smithy/types"; +import { DescribeSessionsCommandInput, DescribeSessionsCommandOutput } from "../commands/DescribeSessionsCommand"; +import { SSMPaginationConfiguration } from "./Interfaces"; +/** + * @public + */ +export declare function paginateDescribeSessions(config: SSMPaginationConfiguration, input: DescribeSessionsCommandInput, ...additionalArguments: any): Paginator; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/pagination/GetInventoryPaginator.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/pagination/GetInventoryPaginator.d.ts new file mode 100644 index 00000000..eaca9492 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/pagination/GetInventoryPaginator.d.ts @@ -0,0 +1,7 @@ +import { Paginator } from "@smithy/types"; +import { GetInventoryCommandInput, GetInventoryCommandOutput } from "../commands/GetInventoryCommand"; +import { SSMPaginationConfiguration } from "./Interfaces"; +/** + * @public + */ +export declare function paginateGetInventory(config: SSMPaginationConfiguration, input: GetInventoryCommandInput, ...additionalArguments: any): Paginator; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/pagination/GetInventorySchemaPaginator.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/pagination/GetInventorySchemaPaginator.d.ts new file mode 100644 index 00000000..f3dc504d --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/pagination/GetInventorySchemaPaginator.d.ts @@ -0,0 +1,7 @@ +import { Paginator } from "@smithy/types"; +import { GetInventorySchemaCommandInput, GetInventorySchemaCommandOutput } from "../commands/GetInventorySchemaCommand"; +import { SSMPaginationConfiguration } from "./Interfaces"; +/** + * @public + */ +export declare function paginateGetInventorySchema(config: SSMPaginationConfiguration, input: GetInventorySchemaCommandInput, ...additionalArguments: any): Paginator; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/pagination/GetOpsSummaryPaginator.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/pagination/GetOpsSummaryPaginator.d.ts new file mode 100644 index 00000000..aa2802f5 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/pagination/GetOpsSummaryPaginator.d.ts @@ -0,0 +1,7 @@ +import { Paginator } from "@smithy/types"; +import { GetOpsSummaryCommandInput, GetOpsSummaryCommandOutput } from "../commands/GetOpsSummaryCommand"; +import { SSMPaginationConfiguration } from "./Interfaces"; +/** + * @public + */ +export declare function paginateGetOpsSummary(config: SSMPaginationConfiguration, input: GetOpsSummaryCommandInput, ...additionalArguments: any): Paginator; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/pagination/GetParameterHistoryPaginator.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/pagination/GetParameterHistoryPaginator.d.ts new file mode 100644 index 00000000..de5e5034 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/pagination/GetParameterHistoryPaginator.d.ts @@ -0,0 +1,7 @@ +import { Paginator } from "@smithy/types"; +import { GetParameterHistoryCommandInput, GetParameterHistoryCommandOutput } from "../commands/GetParameterHistoryCommand"; +import { SSMPaginationConfiguration } from "./Interfaces"; +/** + * @public + */ +export declare function paginateGetParameterHistory(config: SSMPaginationConfiguration, input: GetParameterHistoryCommandInput, ...additionalArguments: any): Paginator; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/pagination/GetParametersByPathPaginator.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/pagination/GetParametersByPathPaginator.d.ts new file mode 100644 index 00000000..43e67cf5 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/pagination/GetParametersByPathPaginator.d.ts @@ -0,0 +1,7 @@ +import { Paginator } from "@smithy/types"; +import { GetParametersByPathCommandInput, GetParametersByPathCommandOutput } from "../commands/GetParametersByPathCommand"; +import { SSMPaginationConfiguration } from "./Interfaces"; +/** + * @public + */ +export declare function paginateGetParametersByPath(config: SSMPaginationConfiguration, input: GetParametersByPathCommandInput, ...additionalArguments: any): Paginator; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/pagination/GetResourcePoliciesPaginator.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/pagination/GetResourcePoliciesPaginator.d.ts new file mode 100644 index 00000000..7e78bb6e --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/pagination/GetResourcePoliciesPaginator.d.ts @@ -0,0 +1,7 @@ +import { Paginator } from "@smithy/types"; +import { GetResourcePoliciesCommandInput, GetResourcePoliciesCommandOutput } from "../commands/GetResourcePoliciesCommand"; +import { SSMPaginationConfiguration } from "./Interfaces"; +/** + * @public + */ +export declare function paginateGetResourcePolicies(config: SSMPaginationConfiguration, input: GetResourcePoliciesCommandInput, ...additionalArguments: any): Paginator; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/pagination/Interfaces.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/pagination/Interfaces.d.ts new file mode 100644 index 00000000..f46bd5e1 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/pagination/Interfaces.d.ts @@ -0,0 +1,8 @@ +import { PaginationConfiguration } from "@smithy/types"; +import { SSMClient } from "../SSMClient"; +/** + * @public + */ +export interface SSMPaginationConfiguration extends PaginationConfiguration { + client: SSMClient; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/pagination/ListAssociationVersionsPaginator.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/pagination/ListAssociationVersionsPaginator.d.ts new file mode 100644 index 00000000..5ac0317e --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/pagination/ListAssociationVersionsPaginator.d.ts @@ -0,0 +1,7 @@ +import { Paginator } from "@smithy/types"; +import { ListAssociationVersionsCommandInput, ListAssociationVersionsCommandOutput } from "../commands/ListAssociationVersionsCommand"; +import { SSMPaginationConfiguration } from "./Interfaces"; +/** + * @public + */ +export declare function paginateListAssociationVersions(config: SSMPaginationConfiguration, input: ListAssociationVersionsCommandInput, ...additionalArguments: any): Paginator; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/pagination/ListAssociationsPaginator.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/pagination/ListAssociationsPaginator.d.ts new file mode 100644 index 00000000..f637cc6a --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/pagination/ListAssociationsPaginator.d.ts @@ -0,0 +1,7 @@ +import { Paginator } from "@smithy/types"; +import { ListAssociationsCommandInput, ListAssociationsCommandOutput } from "../commands/ListAssociationsCommand"; +import { SSMPaginationConfiguration } from "./Interfaces"; +/** + * @public + */ +export declare function paginateListAssociations(config: SSMPaginationConfiguration, input: ListAssociationsCommandInput, ...additionalArguments: any): Paginator; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/pagination/ListCommandInvocationsPaginator.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/pagination/ListCommandInvocationsPaginator.d.ts new file mode 100644 index 00000000..1b8709b4 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/pagination/ListCommandInvocationsPaginator.d.ts @@ -0,0 +1,7 @@ +import { Paginator } from "@smithy/types"; +import { ListCommandInvocationsCommandInput, ListCommandInvocationsCommandOutput } from "../commands/ListCommandInvocationsCommand"; +import { SSMPaginationConfiguration } from "./Interfaces"; +/** + * @public + */ +export declare function paginateListCommandInvocations(config: SSMPaginationConfiguration, input: ListCommandInvocationsCommandInput, ...additionalArguments: any): Paginator; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/pagination/ListCommandsPaginator.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/pagination/ListCommandsPaginator.d.ts new file mode 100644 index 00000000..f89f36d5 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/pagination/ListCommandsPaginator.d.ts @@ -0,0 +1,7 @@ +import { Paginator } from "@smithy/types"; +import { ListCommandsCommandInput, ListCommandsCommandOutput } from "../commands/ListCommandsCommand"; +import { SSMPaginationConfiguration } from "./Interfaces"; +/** + * @public + */ +export declare function paginateListCommands(config: SSMPaginationConfiguration, input: ListCommandsCommandInput, ...additionalArguments: any): Paginator; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/pagination/ListComplianceItemsPaginator.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/pagination/ListComplianceItemsPaginator.d.ts new file mode 100644 index 00000000..ca6dd829 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/pagination/ListComplianceItemsPaginator.d.ts @@ -0,0 +1,7 @@ +import { Paginator } from "@smithy/types"; +import { ListComplianceItemsCommandInput, ListComplianceItemsCommandOutput } from "../commands/ListComplianceItemsCommand"; +import { SSMPaginationConfiguration } from "./Interfaces"; +/** + * @public + */ +export declare function paginateListComplianceItems(config: SSMPaginationConfiguration, input: ListComplianceItemsCommandInput, ...additionalArguments: any): Paginator; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/pagination/ListComplianceSummariesPaginator.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/pagination/ListComplianceSummariesPaginator.d.ts new file mode 100644 index 00000000..f8d4852f --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/pagination/ListComplianceSummariesPaginator.d.ts @@ -0,0 +1,7 @@ +import { Paginator } from "@smithy/types"; +import { ListComplianceSummariesCommandInput, ListComplianceSummariesCommandOutput } from "../commands/ListComplianceSummariesCommand"; +import { SSMPaginationConfiguration } from "./Interfaces"; +/** + * @public + */ +export declare function paginateListComplianceSummaries(config: SSMPaginationConfiguration, input: ListComplianceSummariesCommandInput, ...additionalArguments: any): Paginator; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/pagination/ListDocumentVersionsPaginator.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/pagination/ListDocumentVersionsPaginator.d.ts new file mode 100644 index 00000000..72946575 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/pagination/ListDocumentVersionsPaginator.d.ts @@ -0,0 +1,7 @@ +import { Paginator } from "@smithy/types"; +import { ListDocumentVersionsCommandInput, ListDocumentVersionsCommandOutput } from "../commands/ListDocumentVersionsCommand"; +import { SSMPaginationConfiguration } from "./Interfaces"; +/** + * @public + */ +export declare function paginateListDocumentVersions(config: SSMPaginationConfiguration, input: ListDocumentVersionsCommandInput, ...additionalArguments: any): Paginator; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/pagination/ListDocumentsPaginator.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/pagination/ListDocumentsPaginator.d.ts new file mode 100644 index 00000000..745a9a3e --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/pagination/ListDocumentsPaginator.d.ts @@ -0,0 +1,7 @@ +import { Paginator } from "@smithy/types"; +import { ListDocumentsCommandInput, ListDocumentsCommandOutput } from "../commands/ListDocumentsCommand"; +import { SSMPaginationConfiguration } from "./Interfaces"; +/** + * @public + */ +export declare function paginateListDocuments(config: SSMPaginationConfiguration, input: ListDocumentsCommandInput, ...additionalArguments: any): Paginator; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/pagination/ListOpsItemEventsPaginator.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/pagination/ListOpsItemEventsPaginator.d.ts new file mode 100644 index 00000000..aa3a5130 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/pagination/ListOpsItemEventsPaginator.d.ts @@ -0,0 +1,7 @@ +import { Paginator } from "@smithy/types"; +import { ListOpsItemEventsCommandInput, ListOpsItemEventsCommandOutput } from "../commands/ListOpsItemEventsCommand"; +import { SSMPaginationConfiguration } from "./Interfaces"; +/** + * @public + */ +export declare function paginateListOpsItemEvents(config: SSMPaginationConfiguration, input: ListOpsItemEventsCommandInput, ...additionalArguments: any): Paginator; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/pagination/ListOpsItemRelatedItemsPaginator.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/pagination/ListOpsItemRelatedItemsPaginator.d.ts new file mode 100644 index 00000000..c4434fe6 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/pagination/ListOpsItemRelatedItemsPaginator.d.ts @@ -0,0 +1,7 @@ +import { Paginator } from "@smithy/types"; +import { ListOpsItemRelatedItemsCommandInput, ListOpsItemRelatedItemsCommandOutput } from "../commands/ListOpsItemRelatedItemsCommand"; +import { SSMPaginationConfiguration } from "./Interfaces"; +/** + * @public + */ +export declare function paginateListOpsItemRelatedItems(config: SSMPaginationConfiguration, input: ListOpsItemRelatedItemsCommandInput, ...additionalArguments: any): Paginator; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/pagination/ListOpsMetadataPaginator.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/pagination/ListOpsMetadataPaginator.d.ts new file mode 100644 index 00000000..ebbcd1dd --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/pagination/ListOpsMetadataPaginator.d.ts @@ -0,0 +1,7 @@ +import { Paginator } from "@smithy/types"; +import { ListOpsMetadataCommandInput, ListOpsMetadataCommandOutput } from "../commands/ListOpsMetadataCommand"; +import { SSMPaginationConfiguration } from "./Interfaces"; +/** + * @public + */ +export declare function paginateListOpsMetadata(config: SSMPaginationConfiguration, input: ListOpsMetadataCommandInput, ...additionalArguments: any): Paginator; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/pagination/ListResourceComplianceSummariesPaginator.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/pagination/ListResourceComplianceSummariesPaginator.d.ts new file mode 100644 index 00000000..cc9ca107 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/pagination/ListResourceComplianceSummariesPaginator.d.ts @@ -0,0 +1,7 @@ +import { Paginator } from "@smithy/types"; +import { ListResourceComplianceSummariesCommandInput, ListResourceComplianceSummariesCommandOutput } from "../commands/ListResourceComplianceSummariesCommand"; +import { SSMPaginationConfiguration } from "./Interfaces"; +/** + * @public + */ +export declare function paginateListResourceComplianceSummaries(config: SSMPaginationConfiguration, input: ListResourceComplianceSummariesCommandInput, ...additionalArguments: any): Paginator; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/pagination/ListResourceDataSyncPaginator.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/pagination/ListResourceDataSyncPaginator.d.ts new file mode 100644 index 00000000..2dad4773 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/pagination/ListResourceDataSyncPaginator.d.ts @@ -0,0 +1,7 @@ +import { Paginator } from "@smithy/types"; +import { ListResourceDataSyncCommandInput, ListResourceDataSyncCommandOutput } from "../commands/ListResourceDataSyncCommand"; +import { SSMPaginationConfiguration } from "./Interfaces"; +/** + * @public + */ +export declare function paginateListResourceDataSync(config: SSMPaginationConfiguration, input: ListResourceDataSyncCommandInput, ...additionalArguments: any): Paginator; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/pagination/index.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/pagination/index.d.ts new file mode 100644 index 00000000..7cb9faa7 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/pagination/index.d.ts @@ -0,0 +1,48 @@ +export * from "./DescribeActivationsPaginator"; +export * from "./DescribeAssociationExecutionTargetsPaginator"; +export * from "./DescribeAssociationExecutionsPaginator"; +export * from "./DescribeAutomationExecutionsPaginator"; +export * from "./DescribeAutomationStepExecutionsPaginator"; +export * from "./DescribeAvailablePatchesPaginator"; +export * from "./DescribeEffectiveInstanceAssociationsPaginator"; +export * from "./DescribeEffectivePatchesForPatchBaselinePaginator"; +export * from "./DescribeInstanceAssociationsStatusPaginator"; +export * from "./DescribeInstanceInformationPaginator"; +export * from "./Interfaces"; +export * from "./DescribeInstancePatchStatesForPatchGroupPaginator"; +export * from "./DescribeInstancePatchStatesPaginator"; +export * from "./DescribeInstancePatchesPaginator"; +export * from "./DescribeInventoryDeletionsPaginator"; +export * from "./DescribeMaintenanceWindowExecutionTaskInvocationsPaginator"; +export * from "./DescribeMaintenanceWindowExecutionTasksPaginator"; +export * from "./DescribeMaintenanceWindowExecutionsPaginator"; +export * from "./DescribeMaintenanceWindowSchedulePaginator"; +export * from "./DescribeMaintenanceWindowTargetsPaginator"; +export * from "./DescribeMaintenanceWindowTasksPaginator"; +export * from "./DescribeMaintenanceWindowsForTargetPaginator"; +export * from "./DescribeMaintenanceWindowsPaginator"; +export * from "./DescribeOpsItemsPaginator"; +export * from "./DescribeParametersPaginator"; +export * from "./DescribePatchBaselinesPaginator"; +export * from "./DescribePatchGroupsPaginator"; +export * from "./DescribePatchPropertiesPaginator"; +export * from "./DescribeSessionsPaginator"; +export * from "./GetInventoryPaginator"; +export * from "./GetInventorySchemaPaginator"; +export * from "./GetOpsSummaryPaginator"; +export * from "./GetParameterHistoryPaginator"; +export * from "./GetParametersByPathPaginator"; +export * from "./GetResourcePoliciesPaginator"; +export * from "./ListAssociationVersionsPaginator"; +export * from "./ListAssociationsPaginator"; +export * from "./ListCommandInvocationsPaginator"; +export * from "./ListCommandsPaginator"; +export * from "./ListComplianceItemsPaginator"; +export * from "./ListComplianceSummariesPaginator"; +export * from "./ListDocumentVersionsPaginator"; +export * from "./ListDocumentsPaginator"; +export * from "./ListOpsItemEventsPaginator"; +export * from "./ListOpsItemRelatedItemsPaginator"; +export * from "./ListOpsMetadataPaginator"; +export * from "./ListResourceComplianceSummariesPaginator"; +export * from "./ListResourceDataSyncPaginator"; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/protocols/Aws_json1_1.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/protocols/Aws_json1_1.d.ts new file mode 100644 index 00000000..c4f5f3d1 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/protocols/Aws_json1_1.d.ts @@ -0,0 +1,1253 @@ +import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http"; +import { SerdeContext as __SerdeContext } from "@smithy/types"; +import { AddTagsToResourceCommandInput, AddTagsToResourceCommandOutput } from "../commands/AddTagsToResourceCommand"; +import { AssociateOpsItemRelatedItemCommandInput, AssociateOpsItemRelatedItemCommandOutput } from "../commands/AssociateOpsItemRelatedItemCommand"; +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 { CreateOpsMetadataCommandInput, CreateOpsMetadataCommandOutput } from "../commands/CreateOpsMetadataCommand"; +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 { DeleteOpsItemCommandInput, DeleteOpsItemCommandOutput } from "../commands/DeleteOpsItemCommand"; +import { DeleteOpsMetadataCommandInput, DeleteOpsMetadataCommandOutput } from "../commands/DeleteOpsMetadataCommand"; +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 { DeleteResourcePolicyCommandInput, DeleteResourcePolicyCommandOutput } from "../commands/DeleteResourcePolicyCommand"; +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 { DescribeAssociationExecutionsCommandInput, DescribeAssociationExecutionsCommandOutput } from "../commands/DescribeAssociationExecutionsCommand"; +import { DescribeAssociationExecutionTargetsCommandInput, DescribeAssociationExecutionTargetsCommandOutput } from "../commands/DescribeAssociationExecutionTargetsCommand"; +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 { DescribeInstancePatchesCommandInput, DescribeInstancePatchesCommandOutput } from "../commands/DescribeInstancePatchesCommand"; +import { DescribeInstancePatchStatesCommandInput, DescribeInstancePatchStatesCommandOutput } from "../commands/DescribeInstancePatchStatesCommand"; +import { DescribeInstancePatchStatesForPatchGroupCommandInput, DescribeInstancePatchStatesForPatchGroupCommandOutput } from "../commands/DescribeInstancePatchStatesForPatchGroupCommand"; +import { DescribeInventoryDeletionsCommandInput, DescribeInventoryDeletionsCommandOutput } from "../commands/DescribeInventoryDeletionsCommand"; +import { DescribeMaintenanceWindowExecutionsCommandInput, DescribeMaintenanceWindowExecutionsCommandOutput } from "../commands/DescribeMaintenanceWindowExecutionsCommand"; +import { DescribeMaintenanceWindowExecutionTaskInvocationsCommandInput, DescribeMaintenanceWindowExecutionTaskInvocationsCommandOutput } from "../commands/DescribeMaintenanceWindowExecutionTaskInvocationsCommand"; +import { DescribeMaintenanceWindowExecutionTasksCommandInput, DescribeMaintenanceWindowExecutionTasksCommandOutput } from "../commands/DescribeMaintenanceWindowExecutionTasksCommand"; +import { DescribeMaintenanceWindowScheduleCommandInput, DescribeMaintenanceWindowScheduleCommandOutput } from "../commands/DescribeMaintenanceWindowScheduleCommand"; +import { DescribeMaintenanceWindowsCommandInput, DescribeMaintenanceWindowsCommandOutput } from "../commands/DescribeMaintenanceWindowsCommand"; +import { DescribeMaintenanceWindowsForTargetCommandInput, DescribeMaintenanceWindowsForTargetCommandOutput } from "../commands/DescribeMaintenanceWindowsForTargetCommand"; +import { DescribeMaintenanceWindowTargetsCommandInput, DescribeMaintenanceWindowTargetsCommandOutput } from "../commands/DescribeMaintenanceWindowTargetsCommand"; +import { DescribeMaintenanceWindowTasksCommandInput, DescribeMaintenanceWindowTasksCommandOutput } from "../commands/DescribeMaintenanceWindowTasksCommand"; +import { DescribeOpsItemsCommandInput, DescribeOpsItemsCommandOutput } from "../commands/DescribeOpsItemsCommand"; +import { DescribeParametersCommandInput, DescribeParametersCommandOutput } from "../commands/DescribeParametersCommand"; +import { DescribePatchBaselinesCommandInput, DescribePatchBaselinesCommandOutput } from "../commands/DescribePatchBaselinesCommand"; +import { DescribePatchGroupsCommandInput, DescribePatchGroupsCommandOutput } from "../commands/DescribePatchGroupsCommand"; +import { DescribePatchGroupStateCommandInput, DescribePatchGroupStateCommandOutput } from "../commands/DescribePatchGroupStateCommand"; +import { DescribePatchPropertiesCommandInput, DescribePatchPropertiesCommandOutput } from "../commands/DescribePatchPropertiesCommand"; +import { DescribeSessionsCommandInput, DescribeSessionsCommandOutput } from "../commands/DescribeSessionsCommand"; +import { DisassociateOpsItemRelatedItemCommandInput, DisassociateOpsItemRelatedItemCommandOutput } from "../commands/DisassociateOpsItemRelatedItemCommand"; +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 { GetOpsMetadataCommandInput, GetOpsMetadataCommandOutput } from "../commands/GetOpsMetadataCommand"; +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 { GetResourcePoliciesCommandInput, GetResourcePoliciesCommandOutput } from "../commands/GetResourcePoliciesCommand"; +import { GetServiceSettingCommandInput, GetServiceSettingCommandOutput } from "../commands/GetServiceSettingCommand"; +import { LabelParameterVersionCommandInput, LabelParameterVersionCommandOutput } from "../commands/LabelParameterVersionCommand"; +import { ListAssociationsCommandInput, ListAssociationsCommandOutput } from "../commands/ListAssociationsCommand"; +import { ListAssociationVersionsCommandInput, ListAssociationVersionsCommandOutput } from "../commands/ListAssociationVersionsCommand"; +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 { ListDocumentMetadataHistoryCommandInput, ListDocumentMetadataHistoryCommandOutput } from "../commands/ListDocumentMetadataHistoryCommand"; +import { ListDocumentsCommandInput, ListDocumentsCommandOutput } from "../commands/ListDocumentsCommand"; +import { ListDocumentVersionsCommandInput, ListDocumentVersionsCommandOutput } from "../commands/ListDocumentVersionsCommand"; +import { ListInventoryEntriesCommandInput, ListInventoryEntriesCommandOutput } from "../commands/ListInventoryEntriesCommand"; +import { ListOpsItemEventsCommandInput, ListOpsItemEventsCommandOutput } from "../commands/ListOpsItemEventsCommand"; +import { ListOpsItemRelatedItemsCommandInput, ListOpsItemRelatedItemsCommandOutput } from "../commands/ListOpsItemRelatedItemsCommand"; +import { ListOpsMetadataCommandInput, ListOpsMetadataCommandOutput } from "../commands/ListOpsMetadataCommand"; +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 { PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput } from "../commands/PutResourcePolicyCommand"; +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 { StartChangeRequestExecutionCommandInput, StartChangeRequestExecutionCommandOutput } from "../commands/StartChangeRequestExecutionCommand"; +import { StartSessionCommandInput, StartSessionCommandOutput } from "../commands/StartSessionCommand"; +import { StopAutomationExecutionCommandInput, StopAutomationExecutionCommandOutput } from "../commands/StopAutomationExecutionCommand"; +import { TerminateSessionCommandInput, TerminateSessionCommandOutput } from "../commands/TerminateSessionCommand"; +import { UnlabelParameterVersionCommandInput, UnlabelParameterVersionCommandOutput } from "../commands/UnlabelParameterVersionCommand"; +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 { UpdateDocumentMetadataCommandInput, UpdateDocumentMetadataCommandOutput } from "../commands/UpdateDocumentMetadataCommand"; +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 { UpdateOpsMetadataCommandInput, UpdateOpsMetadataCommandOutput } from "../commands/UpdateOpsMetadataCommand"; +import { UpdatePatchBaselineCommandInput, UpdatePatchBaselineCommandOutput } from "../commands/UpdatePatchBaselineCommand"; +import { UpdateResourceDataSyncCommandInput, UpdateResourceDataSyncCommandOutput } from "../commands/UpdateResourceDataSyncCommand"; +import { UpdateServiceSettingCommandInput, UpdateServiceSettingCommandOutput } from "../commands/UpdateServiceSettingCommand"; +/** + * serializeAws_json1_1AddTagsToResourceCommand + */ +export declare const se_AddTagsToResourceCommand: (input: AddTagsToResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1AssociateOpsItemRelatedItemCommand + */ +export declare const se_AssociateOpsItemRelatedItemCommand: (input: AssociateOpsItemRelatedItemCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1CancelCommandCommand + */ +export declare const se_CancelCommandCommand: (input: CancelCommandCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1CancelMaintenanceWindowExecutionCommand + */ +export declare const se_CancelMaintenanceWindowExecutionCommand: (input: CancelMaintenanceWindowExecutionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1CreateActivationCommand + */ +export declare const se_CreateActivationCommand: (input: CreateActivationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1CreateAssociationCommand + */ +export declare const se_CreateAssociationCommand: (input: CreateAssociationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1CreateAssociationBatchCommand + */ +export declare const se_CreateAssociationBatchCommand: (input: CreateAssociationBatchCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1CreateDocumentCommand + */ +export declare const se_CreateDocumentCommand: (input: CreateDocumentCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1CreateMaintenanceWindowCommand + */ +export declare const se_CreateMaintenanceWindowCommand: (input: CreateMaintenanceWindowCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1CreateOpsItemCommand + */ +export declare const se_CreateOpsItemCommand: (input: CreateOpsItemCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1CreateOpsMetadataCommand + */ +export declare const se_CreateOpsMetadataCommand: (input: CreateOpsMetadataCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1CreatePatchBaselineCommand + */ +export declare const se_CreatePatchBaselineCommand: (input: CreatePatchBaselineCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1CreateResourceDataSyncCommand + */ +export declare const se_CreateResourceDataSyncCommand: (input: CreateResourceDataSyncCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1DeleteActivationCommand + */ +export declare const se_DeleteActivationCommand: (input: DeleteActivationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1DeleteAssociationCommand + */ +export declare const se_DeleteAssociationCommand: (input: DeleteAssociationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1DeleteDocumentCommand + */ +export declare const se_DeleteDocumentCommand: (input: DeleteDocumentCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1DeleteInventoryCommand + */ +export declare const se_DeleteInventoryCommand: (input: DeleteInventoryCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1DeleteMaintenanceWindowCommand + */ +export declare const se_DeleteMaintenanceWindowCommand: (input: DeleteMaintenanceWindowCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1DeleteOpsItemCommand + */ +export declare const se_DeleteOpsItemCommand: (input: DeleteOpsItemCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1DeleteOpsMetadataCommand + */ +export declare const se_DeleteOpsMetadataCommand: (input: DeleteOpsMetadataCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1DeleteParameterCommand + */ +export declare const se_DeleteParameterCommand: (input: DeleteParameterCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1DeleteParametersCommand + */ +export declare const se_DeleteParametersCommand: (input: DeleteParametersCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1DeletePatchBaselineCommand + */ +export declare const se_DeletePatchBaselineCommand: (input: DeletePatchBaselineCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1DeleteResourceDataSyncCommand + */ +export declare const se_DeleteResourceDataSyncCommand: (input: DeleteResourceDataSyncCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1DeleteResourcePolicyCommand + */ +export declare const se_DeleteResourcePolicyCommand: (input: DeleteResourcePolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1DeregisterManagedInstanceCommand + */ +export declare const se_DeregisterManagedInstanceCommand: (input: DeregisterManagedInstanceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1DeregisterPatchBaselineForPatchGroupCommand + */ +export declare const se_DeregisterPatchBaselineForPatchGroupCommand: (input: DeregisterPatchBaselineForPatchGroupCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1DeregisterTargetFromMaintenanceWindowCommand + */ +export declare const se_DeregisterTargetFromMaintenanceWindowCommand: (input: DeregisterTargetFromMaintenanceWindowCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1DeregisterTaskFromMaintenanceWindowCommand + */ +export declare const se_DeregisterTaskFromMaintenanceWindowCommand: (input: DeregisterTaskFromMaintenanceWindowCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1DescribeActivationsCommand + */ +export declare const se_DescribeActivationsCommand: (input: DescribeActivationsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1DescribeAssociationCommand + */ +export declare const se_DescribeAssociationCommand: (input: DescribeAssociationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1DescribeAssociationExecutionsCommand + */ +export declare const se_DescribeAssociationExecutionsCommand: (input: DescribeAssociationExecutionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1DescribeAssociationExecutionTargetsCommand + */ +export declare const se_DescribeAssociationExecutionTargetsCommand: (input: DescribeAssociationExecutionTargetsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1DescribeAutomationExecutionsCommand + */ +export declare const se_DescribeAutomationExecutionsCommand: (input: DescribeAutomationExecutionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1DescribeAutomationStepExecutionsCommand + */ +export declare const se_DescribeAutomationStepExecutionsCommand: (input: DescribeAutomationStepExecutionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1DescribeAvailablePatchesCommand + */ +export declare const se_DescribeAvailablePatchesCommand: (input: DescribeAvailablePatchesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1DescribeDocumentCommand + */ +export declare const se_DescribeDocumentCommand: (input: DescribeDocumentCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1DescribeDocumentPermissionCommand + */ +export declare const se_DescribeDocumentPermissionCommand: (input: DescribeDocumentPermissionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1DescribeEffectiveInstanceAssociationsCommand + */ +export declare const se_DescribeEffectiveInstanceAssociationsCommand: (input: DescribeEffectiveInstanceAssociationsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1DescribeEffectivePatchesForPatchBaselineCommand + */ +export declare const se_DescribeEffectivePatchesForPatchBaselineCommand: (input: DescribeEffectivePatchesForPatchBaselineCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1DescribeInstanceAssociationsStatusCommand + */ +export declare const se_DescribeInstanceAssociationsStatusCommand: (input: DescribeInstanceAssociationsStatusCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1DescribeInstanceInformationCommand + */ +export declare const se_DescribeInstanceInformationCommand: (input: DescribeInstanceInformationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1DescribeInstancePatchesCommand + */ +export declare const se_DescribeInstancePatchesCommand: (input: DescribeInstancePatchesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1DescribeInstancePatchStatesCommand + */ +export declare const se_DescribeInstancePatchStatesCommand: (input: DescribeInstancePatchStatesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1DescribeInstancePatchStatesForPatchGroupCommand + */ +export declare const se_DescribeInstancePatchStatesForPatchGroupCommand: (input: DescribeInstancePatchStatesForPatchGroupCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1DescribeInventoryDeletionsCommand + */ +export declare const se_DescribeInventoryDeletionsCommand: (input: DescribeInventoryDeletionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1DescribeMaintenanceWindowExecutionsCommand + */ +export declare const se_DescribeMaintenanceWindowExecutionsCommand: (input: DescribeMaintenanceWindowExecutionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1DescribeMaintenanceWindowExecutionTaskInvocationsCommand + */ +export declare const se_DescribeMaintenanceWindowExecutionTaskInvocationsCommand: (input: DescribeMaintenanceWindowExecutionTaskInvocationsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1DescribeMaintenanceWindowExecutionTasksCommand + */ +export declare const se_DescribeMaintenanceWindowExecutionTasksCommand: (input: DescribeMaintenanceWindowExecutionTasksCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1DescribeMaintenanceWindowsCommand + */ +export declare const se_DescribeMaintenanceWindowsCommand: (input: DescribeMaintenanceWindowsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1DescribeMaintenanceWindowScheduleCommand + */ +export declare const se_DescribeMaintenanceWindowScheduleCommand: (input: DescribeMaintenanceWindowScheduleCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1DescribeMaintenanceWindowsForTargetCommand + */ +export declare const se_DescribeMaintenanceWindowsForTargetCommand: (input: DescribeMaintenanceWindowsForTargetCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1DescribeMaintenanceWindowTargetsCommand + */ +export declare const se_DescribeMaintenanceWindowTargetsCommand: (input: DescribeMaintenanceWindowTargetsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1DescribeMaintenanceWindowTasksCommand + */ +export declare const se_DescribeMaintenanceWindowTasksCommand: (input: DescribeMaintenanceWindowTasksCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1DescribeOpsItemsCommand + */ +export declare const se_DescribeOpsItemsCommand: (input: DescribeOpsItemsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1DescribeParametersCommand + */ +export declare const se_DescribeParametersCommand: (input: DescribeParametersCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1DescribePatchBaselinesCommand + */ +export declare const se_DescribePatchBaselinesCommand: (input: DescribePatchBaselinesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1DescribePatchGroupsCommand + */ +export declare const se_DescribePatchGroupsCommand: (input: DescribePatchGroupsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1DescribePatchGroupStateCommand + */ +export declare const se_DescribePatchGroupStateCommand: (input: DescribePatchGroupStateCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1DescribePatchPropertiesCommand + */ +export declare const se_DescribePatchPropertiesCommand: (input: DescribePatchPropertiesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1DescribeSessionsCommand + */ +export declare const se_DescribeSessionsCommand: (input: DescribeSessionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1DisassociateOpsItemRelatedItemCommand + */ +export declare const se_DisassociateOpsItemRelatedItemCommand: (input: DisassociateOpsItemRelatedItemCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1GetAutomationExecutionCommand + */ +export declare const se_GetAutomationExecutionCommand: (input: GetAutomationExecutionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1GetCalendarStateCommand + */ +export declare const se_GetCalendarStateCommand: (input: GetCalendarStateCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1GetCommandInvocationCommand + */ +export declare const se_GetCommandInvocationCommand: (input: GetCommandInvocationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1GetConnectionStatusCommand + */ +export declare const se_GetConnectionStatusCommand: (input: GetConnectionStatusCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1GetDefaultPatchBaselineCommand + */ +export declare const se_GetDefaultPatchBaselineCommand: (input: GetDefaultPatchBaselineCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1GetDeployablePatchSnapshotForInstanceCommand + */ +export declare const se_GetDeployablePatchSnapshotForInstanceCommand: (input: GetDeployablePatchSnapshotForInstanceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1GetDocumentCommand + */ +export declare const se_GetDocumentCommand: (input: GetDocumentCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1GetInventoryCommand + */ +export declare const se_GetInventoryCommand: (input: GetInventoryCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1GetInventorySchemaCommand + */ +export declare const se_GetInventorySchemaCommand: (input: GetInventorySchemaCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1GetMaintenanceWindowCommand + */ +export declare const se_GetMaintenanceWindowCommand: (input: GetMaintenanceWindowCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1GetMaintenanceWindowExecutionCommand + */ +export declare const se_GetMaintenanceWindowExecutionCommand: (input: GetMaintenanceWindowExecutionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1GetMaintenanceWindowExecutionTaskCommand + */ +export declare const se_GetMaintenanceWindowExecutionTaskCommand: (input: GetMaintenanceWindowExecutionTaskCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1GetMaintenanceWindowExecutionTaskInvocationCommand + */ +export declare const se_GetMaintenanceWindowExecutionTaskInvocationCommand: (input: GetMaintenanceWindowExecutionTaskInvocationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1GetMaintenanceWindowTaskCommand + */ +export declare const se_GetMaintenanceWindowTaskCommand: (input: GetMaintenanceWindowTaskCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1GetOpsItemCommand + */ +export declare const se_GetOpsItemCommand: (input: GetOpsItemCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1GetOpsMetadataCommand + */ +export declare const se_GetOpsMetadataCommand: (input: GetOpsMetadataCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1GetOpsSummaryCommand + */ +export declare const se_GetOpsSummaryCommand: (input: GetOpsSummaryCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1GetParameterCommand + */ +export declare const se_GetParameterCommand: (input: GetParameterCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1GetParameterHistoryCommand + */ +export declare const se_GetParameterHistoryCommand: (input: GetParameterHistoryCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1GetParametersCommand + */ +export declare const se_GetParametersCommand: (input: GetParametersCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1GetParametersByPathCommand + */ +export declare const se_GetParametersByPathCommand: (input: GetParametersByPathCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1GetPatchBaselineCommand + */ +export declare const se_GetPatchBaselineCommand: (input: GetPatchBaselineCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1GetPatchBaselineForPatchGroupCommand + */ +export declare const se_GetPatchBaselineForPatchGroupCommand: (input: GetPatchBaselineForPatchGroupCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1GetResourcePoliciesCommand + */ +export declare const se_GetResourcePoliciesCommand: (input: GetResourcePoliciesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1GetServiceSettingCommand + */ +export declare const se_GetServiceSettingCommand: (input: GetServiceSettingCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1LabelParameterVersionCommand + */ +export declare const se_LabelParameterVersionCommand: (input: LabelParameterVersionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1ListAssociationsCommand + */ +export declare const se_ListAssociationsCommand: (input: ListAssociationsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1ListAssociationVersionsCommand + */ +export declare const se_ListAssociationVersionsCommand: (input: ListAssociationVersionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1ListCommandInvocationsCommand + */ +export declare const se_ListCommandInvocationsCommand: (input: ListCommandInvocationsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1ListCommandsCommand + */ +export declare const se_ListCommandsCommand: (input: ListCommandsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1ListComplianceItemsCommand + */ +export declare const se_ListComplianceItemsCommand: (input: ListComplianceItemsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1ListComplianceSummariesCommand + */ +export declare const se_ListComplianceSummariesCommand: (input: ListComplianceSummariesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1ListDocumentMetadataHistoryCommand + */ +export declare const se_ListDocumentMetadataHistoryCommand: (input: ListDocumentMetadataHistoryCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1ListDocumentsCommand + */ +export declare const se_ListDocumentsCommand: (input: ListDocumentsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1ListDocumentVersionsCommand + */ +export declare const se_ListDocumentVersionsCommand: (input: ListDocumentVersionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1ListInventoryEntriesCommand + */ +export declare const se_ListInventoryEntriesCommand: (input: ListInventoryEntriesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1ListOpsItemEventsCommand + */ +export declare const se_ListOpsItemEventsCommand: (input: ListOpsItemEventsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1ListOpsItemRelatedItemsCommand + */ +export declare const se_ListOpsItemRelatedItemsCommand: (input: ListOpsItemRelatedItemsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1ListOpsMetadataCommand + */ +export declare const se_ListOpsMetadataCommand: (input: ListOpsMetadataCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1ListResourceComplianceSummariesCommand + */ +export declare const se_ListResourceComplianceSummariesCommand: (input: ListResourceComplianceSummariesCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1ListResourceDataSyncCommand + */ +export declare const se_ListResourceDataSyncCommand: (input: ListResourceDataSyncCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1ListTagsForResourceCommand + */ +export declare const se_ListTagsForResourceCommand: (input: ListTagsForResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1ModifyDocumentPermissionCommand + */ +export declare const se_ModifyDocumentPermissionCommand: (input: ModifyDocumentPermissionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1PutComplianceItemsCommand + */ +export declare const se_PutComplianceItemsCommand: (input: PutComplianceItemsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1PutInventoryCommand + */ +export declare const se_PutInventoryCommand: (input: PutInventoryCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1PutParameterCommand + */ +export declare const se_PutParameterCommand: (input: PutParameterCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1PutResourcePolicyCommand + */ +export declare const se_PutResourcePolicyCommand: (input: PutResourcePolicyCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1RegisterDefaultPatchBaselineCommand + */ +export declare const se_RegisterDefaultPatchBaselineCommand: (input: RegisterDefaultPatchBaselineCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1RegisterPatchBaselineForPatchGroupCommand + */ +export declare const se_RegisterPatchBaselineForPatchGroupCommand: (input: RegisterPatchBaselineForPatchGroupCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1RegisterTargetWithMaintenanceWindowCommand + */ +export declare const se_RegisterTargetWithMaintenanceWindowCommand: (input: RegisterTargetWithMaintenanceWindowCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1RegisterTaskWithMaintenanceWindowCommand + */ +export declare const se_RegisterTaskWithMaintenanceWindowCommand: (input: RegisterTaskWithMaintenanceWindowCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1RemoveTagsFromResourceCommand + */ +export declare const se_RemoveTagsFromResourceCommand: (input: RemoveTagsFromResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1ResetServiceSettingCommand + */ +export declare const se_ResetServiceSettingCommand: (input: ResetServiceSettingCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1ResumeSessionCommand + */ +export declare const se_ResumeSessionCommand: (input: ResumeSessionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1SendAutomationSignalCommand + */ +export declare const se_SendAutomationSignalCommand: (input: SendAutomationSignalCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1SendCommandCommand + */ +export declare const se_SendCommandCommand: (input: SendCommandCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1StartAssociationsOnceCommand + */ +export declare const se_StartAssociationsOnceCommand: (input: StartAssociationsOnceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1StartAutomationExecutionCommand + */ +export declare const se_StartAutomationExecutionCommand: (input: StartAutomationExecutionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1StartChangeRequestExecutionCommand + */ +export declare const se_StartChangeRequestExecutionCommand: (input: StartChangeRequestExecutionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1StartSessionCommand + */ +export declare const se_StartSessionCommand: (input: StartSessionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1StopAutomationExecutionCommand + */ +export declare const se_StopAutomationExecutionCommand: (input: StopAutomationExecutionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1TerminateSessionCommand + */ +export declare const se_TerminateSessionCommand: (input: TerminateSessionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1UnlabelParameterVersionCommand + */ +export declare const se_UnlabelParameterVersionCommand: (input: UnlabelParameterVersionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1UpdateAssociationCommand + */ +export declare const se_UpdateAssociationCommand: (input: UpdateAssociationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1UpdateAssociationStatusCommand + */ +export declare const se_UpdateAssociationStatusCommand: (input: UpdateAssociationStatusCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1UpdateDocumentCommand + */ +export declare const se_UpdateDocumentCommand: (input: UpdateDocumentCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1UpdateDocumentDefaultVersionCommand + */ +export declare const se_UpdateDocumentDefaultVersionCommand: (input: UpdateDocumentDefaultVersionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1UpdateDocumentMetadataCommand + */ +export declare const se_UpdateDocumentMetadataCommand: (input: UpdateDocumentMetadataCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1UpdateMaintenanceWindowCommand + */ +export declare const se_UpdateMaintenanceWindowCommand: (input: UpdateMaintenanceWindowCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1UpdateMaintenanceWindowTargetCommand + */ +export declare const se_UpdateMaintenanceWindowTargetCommand: (input: UpdateMaintenanceWindowTargetCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1UpdateMaintenanceWindowTaskCommand + */ +export declare const se_UpdateMaintenanceWindowTaskCommand: (input: UpdateMaintenanceWindowTaskCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1UpdateManagedInstanceRoleCommand + */ +export declare const se_UpdateManagedInstanceRoleCommand: (input: UpdateManagedInstanceRoleCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1UpdateOpsItemCommand + */ +export declare const se_UpdateOpsItemCommand: (input: UpdateOpsItemCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1UpdateOpsMetadataCommand + */ +export declare const se_UpdateOpsMetadataCommand: (input: UpdateOpsMetadataCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1UpdatePatchBaselineCommand + */ +export declare const se_UpdatePatchBaselineCommand: (input: UpdatePatchBaselineCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1UpdateResourceDataSyncCommand + */ +export declare const se_UpdateResourceDataSyncCommand: (input: UpdateResourceDataSyncCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * serializeAws_json1_1UpdateServiceSettingCommand + */ +export declare const se_UpdateServiceSettingCommand: (input: UpdateServiceSettingCommandInput, context: __SerdeContext) => Promise<__HttpRequest>; +/** + * deserializeAws_json1_1AddTagsToResourceCommand + */ +export declare const de_AddTagsToResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1AssociateOpsItemRelatedItemCommand + */ +export declare const de_AssociateOpsItemRelatedItemCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1CancelCommandCommand + */ +export declare const de_CancelCommandCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1CancelMaintenanceWindowExecutionCommand + */ +export declare const de_CancelMaintenanceWindowExecutionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1CreateActivationCommand + */ +export declare const de_CreateActivationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1CreateAssociationCommand + */ +export declare const de_CreateAssociationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1CreateAssociationBatchCommand + */ +export declare const de_CreateAssociationBatchCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1CreateDocumentCommand + */ +export declare const de_CreateDocumentCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1CreateMaintenanceWindowCommand + */ +export declare const de_CreateMaintenanceWindowCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1CreateOpsItemCommand + */ +export declare const de_CreateOpsItemCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1CreateOpsMetadataCommand + */ +export declare const de_CreateOpsMetadataCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1CreatePatchBaselineCommand + */ +export declare const de_CreatePatchBaselineCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1CreateResourceDataSyncCommand + */ +export declare const de_CreateResourceDataSyncCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1DeleteActivationCommand + */ +export declare const de_DeleteActivationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1DeleteAssociationCommand + */ +export declare const de_DeleteAssociationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1DeleteDocumentCommand + */ +export declare const de_DeleteDocumentCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1DeleteInventoryCommand + */ +export declare const de_DeleteInventoryCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1DeleteMaintenanceWindowCommand + */ +export declare const de_DeleteMaintenanceWindowCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1DeleteOpsItemCommand + */ +export declare const de_DeleteOpsItemCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1DeleteOpsMetadataCommand + */ +export declare const de_DeleteOpsMetadataCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1DeleteParameterCommand + */ +export declare const de_DeleteParameterCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1DeleteParametersCommand + */ +export declare const de_DeleteParametersCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1DeletePatchBaselineCommand + */ +export declare const de_DeletePatchBaselineCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1DeleteResourceDataSyncCommand + */ +export declare const de_DeleteResourceDataSyncCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1DeleteResourcePolicyCommand + */ +export declare const de_DeleteResourcePolicyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1DeregisterManagedInstanceCommand + */ +export declare const de_DeregisterManagedInstanceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1DeregisterPatchBaselineForPatchGroupCommand + */ +export declare const de_DeregisterPatchBaselineForPatchGroupCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1DeregisterTargetFromMaintenanceWindowCommand + */ +export declare const de_DeregisterTargetFromMaintenanceWindowCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1DeregisterTaskFromMaintenanceWindowCommand + */ +export declare const de_DeregisterTaskFromMaintenanceWindowCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1DescribeActivationsCommand + */ +export declare const de_DescribeActivationsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1DescribeAssociationCommand + */ +export declare const de_DescribeAssociationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1DescribeAssociationExecutionsCommand + */ +export declare const de_DescribeAssociationExecutionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1DescribeAssociationExecutionTargetsCommand + */ +export declare const de_DescribeAssociationExecutionTargetsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1DescribeAutomationExecutionsCommand + */ +export declare const de_DescribeAutomationExecutionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1DescribeAutomationStepExecutionsCommand + */ +export declare const de_DescribeAutomationStepExecutionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1DescribeAvailablePatchesCommand + */ +export declare const de_DescribeAvailablePatchesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1DescribeDocumentCommand + */ +export declare const de_DescribeDocumentCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1DescribeDocumentPermissionCommand + */ +export declare const de_DescribeDocumentPermissionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1DescribeEffectiveInstanceAssociationsCommand + */ +export declare const de_DescribeEffectiveInstanceAssociationsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1DescribeEffectivePatchesForPatchBaselineCommand + */ +export declare const de_DescribeEffectivePatchesForPatchBaselineCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1DescribeInstanceAssociationsStatusCommand + */ +export declare const de_DescribeInstanceAssociationsStatusCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1DescribeInstanceInformationCommand + */ +export declare const de_DescribeInstanceInformationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1DescribeInstancePatchesCommand + */ +export declare const de_DescribeInstancePatchesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1DescribeInstancePatchStatesCommand + */ +export declare const de_DescribeInstancePatchStatesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1DescribeInstancePatchStatesForPatchGroupCommand + */ +export declare const de_DescribeInstancePatchStatesForPatchGroupCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1DescribeInventoryDeletionsCommand + */ +export declare const de_DescribeInventoryDeletionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1DescribeMaintenanceWindowExecutionsCommand + */ +export declare const de_DescribeMaintenanceWindowExecutionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1DescribeMaintenanceWindowExecutionTaskInvocationsCommand + */ +export declare const de_DescribeMaintenanceWindowExecutionTaskInvocationsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1DescribeMaintenanceWindowExecutionTasksCommand + */ +export declare const de_DescribeMaintenanceWindowExecutionTasksCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1DescribeMaintenanceWindowsCommand + */ +export declare const de_DescribeMaintenanceWindowsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1DescribeMaintenanceWindowScheduleCommand + */ +export declare const de_DescribeMaintenanceWindowScheduleCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1DescribeMaintenanceWindowsForTargetCommand + */ +export declare const de_DescribeMaintenanceWindowsForTargetCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1DescribeMaintenanceWindowTargetsCommand + */ +export declare const de_DescribeMaintenanceWindowTargetsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1DescribeMaintenanceWindowTasksCommand + */ +export declare const de_DescribeMaintenanceWindowTasksCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1DescribeOpsItemsCommand + */ +export declare const de_DescribeOpsItemsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1DescribeParametersCommand + */ +export declare const de_DescribeParametersCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1DescribePatchBaselinesCommand + */ +export declare const de_DescribePatchBaselinesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1DescribePatchGroupsCommand + */ +export declare const de_DescribePatchGroupsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1DescribePatchGroupStateCommand + */ +export declare const de_DescribePatchGroupStateCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1DescribePatchPropertiesCommand + */ +export declare const de_DescribePatchPropertiesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1DescribeSessionsCommand + */ +export declare const de_DescribeSessionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1DisassociateOpsItemRelatedItemCommand + */ +export declare const de_DisassociateOpsItemRelatedItemCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1GetAutomationExecutionCommand + */ +export declare const de_GetAutomationExecutionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1GetCalendarStateCommand + */ +export declare const de_GetCalendarStateCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1GetCommandInvocationCommand + */ +export declare const de_GetCommandInvocationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1GetConnectionStatusCommand + */ +export declare const de_GetConnectionStatusCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1GetDefaultPatchBaselineCommand + */ +export declare const de_GetDefaultPatchBaselineCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1GetDeployablePatchSnapshotForInstanceCommand + */ +export declare const de_GetDeployablePatchSnapshotForInstanceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1GetDocumentCommand + */ +export declare const de_GetDocumentCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1GetInventoryCommand + */ +export declare const de_GetInventoryCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1GetInventorySchemaCommand + */ +export declare const de_GetInventorySchemaCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1GetMaintenanceWindowCommand + */ +export declare const de_GetMaintenanceWindowCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1GetMaintenanceWindowExecutionCommand + */ +export declare const de_GetMaintenanceWindowExecutionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1GetMaintenanceWindowExecutionTaskCommand + */ +export declare const de_GetMaintenanceWindowExecutionTaskCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1GetMaintenanceWindowExecutionTaskInvocationCommand + */ +export declare const de_GetMaintenanceWindowExecutionTaskInvocationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1GetMaintenanceWindowTaskCommand + */ +export declare const de_GetMaintenanceWindowTaskCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1GetOpsItemCommand + */ +export declare const de_GetOpsItemCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1GetOpsMetadataCommand + */ +export declare const de_GetOpsMetadataCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1GetOpsSummaryCommand + */ +export declare const de_GetOpsSummaryCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1GetParameterCommand + */ +export declare const de_GetParameterCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1GetParameterHistoryCommand + */ +export declare const de_GetParameterHistoryCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1GetParametersCommand + */ +export declare const de_GetParametersCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1GetParametersByPathCommand + */ +export declare const de_GetParametersByPathCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1GetPatchBaselineCommand + */ +export declare const de_GetPatchBaselineCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1GetPatchBaselineForPatchGroupCommand + */ +export declare const de_GetPatchBaselineForPatchGroupCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1GetResourcePoliciesCommand + */ +export declare const de_GetResourcePoliciesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1GetServiceSettingCommand + */ +export declare const de_GetServiceSettingCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1LabelParameterVersionCommand + */ +export declare const de_LabelParameterVersionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1ListAssociationsCommand + */ +export declare const de_ListAssociationsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1ListAssociationVersionsCommand + */ +export declare const de_ListAssociationVersionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1ListCommandInvocationsCommand + */ +export declare const de_ListCommandInvocationsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1ListCommandsCommand + */ +export declare const de_ListCommandsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1ListComplianceItemsCommand + */ +export declare const de_ListComplianceItemsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1ListComplianceSummariesCommand + */ +export declare const de_ListComplianceSummariesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1ListDocumentMetadataHistoryCommand + */ +export declare const de_ListDocumentMetadataHistoryCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1ListDocumentsCommand + */ +export declare const de_ListDocumentsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1ListDocumentVersionsCommand + */ +export declare const de_ListDocumentVersionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1ListInventoryEntriesCommand + */ +export declare const de_ListInventoryEntriesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1ListOpsItemEventsCommand + */ +export declare const de_ListOpsItemEventsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1ListOpsItemRelatedItemsCommand + */ +export declare const de_ListOpsItemRelatedItemsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1ListOpsMetadataCommand + */ +export declare const de_ListOpsMetadataCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1ListResourceComplianceSummariesCommand + */ +export declare const de_ListResourceComplianceSummariesCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1ListResourceDataSyncCommand + */ +export declare const de_ListResourceDataSyncCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1ListTagsForResourceCommand + */ +export declare const de_ListTagsForResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1ModifyDocumentPermissionCommand + */ +export declare const de_ModifyDocumentPermissionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1PutComplianceItemsCommand + */ +export declare const de_PutComplianceItemsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1PutInventoryCommand + */ +export declare const de_PutInventoryCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1PutParameterCommand + */ +export declare const de_PutParameterCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1PutResourcePolicyCommand + */ +export declare const de_PutResourcePolicyCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1RegisterDefaultPatchBaselineCommand + */ +export declare const de_RegisterDefaultPatchBaselineCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1RegisterPatchBaselineForPatchGroupCommand + */ +export declare const de_RegisterPatchBaselineForPatchGroupCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1RegisterTargetWithMaintenanceWindowCommand + */ +export declare const de_RegisterTargetWithMaintenanceWindowCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1RegisterTaskWithMaintenanceWindowCommand + */ +export declare const de_RegisterTaskWithMaintenanceWindowCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1RemoveTagsFromResourceCommand + */ +export declare const de_RemoveTagsFromResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1ResetServiceSettingCommand + */ +export declare const de_ResetServiceSettingCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1ResumeSessionCommand + */ +export declare const de_ResumeSessionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1SendAutomationSignalCommand + */ +export declare const de_SendAutomationSignalCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1SendCommandCommand + */ +export declare const de_SendCommandCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1StartAssociationsOnceCommand + */ +export declare const de_StartAssociationsOnceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1StartAutomationExecutionCommand + */ +export declare const de_StartAutomationExecutionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1StartChangeRequestExecutionCommand + */ +export declare const de_StartChangeRequestExecutionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1StartSessionCommand + */ +export declare const de_StartSessionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1StopAutomationExecutionCommand + */ +export declare const de_StopAutomationExecutionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1TerminateSessionCommand + */ +export declare const de_TerminateSessionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1UnlabelParameterVersionCommand + */ +export declare const de_UnlabelParameterVersionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1UpdateAssociationCommand + */ +export declare const de_UpdateAssociationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1UpdateAssociationStatusCommand + */ +export declare const de_UpdateAssociationStatusCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1UpdateDocumentCommand + */ +export declare const de_UpdateDocumentCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1UpdateDocumentDefaultVersionCommand + */ +export declare const de_UpdateDocumentDefaultVersionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1UpdateDocumentMetadataCommand + */ +export declare const de_UpdateDocumentMetadataCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1UpdateMaintenanceWindowCommand + */ +export declare const de_UpdateMaintenanceWindowCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1UpdateMaintenanceWindowTargetCommand + */ +export declare const de_UpdateMaintenanceWindowTargetCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1UpdateMaintenanceWindowTaskCommand + */ +export declare const de_UpdateMaintenanceWindowTaskCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1UpdateManagedInstanceRoleCommand + */ +export declare const de_UpdateManagedInstanceRoleCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1UpdateOpsItemCommand + */ +export declare const de_UpdateOpsItemCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1UpdateOpsMetadataCommand + */ +export declare const de_UpdateOpsMetadataCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1UpdatePatchBaselineCommand + */ +export declare const de_UpdatePatchBaselineCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1UpdateResourceDataSyncCommand + */ +export declare const de_UpdateResourceDataSyncCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; +/** + * deserializeAws_json1_1UpdateServiceSettingCommand + */ +export declare const de_UpdateServiceSettingCommand: (output: __HttpResponse, context: __SerdeContext) => Promise; diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/runtimeConfig.browser.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.browser.d.ts similarity index 94% rename from node_modules/@aws-sdk/client-lambda/dist-types/runtimeConfig.browser.d.ts rename to node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.browser.d.ts index 089c28e4..96edeae9 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-types/runtimeConfig.browser.d.ts +++ b/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.browser.d.ts @@ -1,15 +1,14 @@ import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler"; -import { LambdaClientConfig } from "./LambdaClient"; +import { SSMClientConfig } from "./SSMClient"; /** * @internal */ -export declare const getRuntimeConfig: (config: LambdaClientConfig) => { +export declare const getRuntimeConfig: (config: SSMClientConfig) => { runtime: string; defaultsMode: import("@smithy/types").Provider; bodyLengthChecker: import("@smithy/types").BodyLengthCalculator; credentialDefaultProvider: (input: any) => import("@smithy/types").Provider; defaultUserAgentProvider: import("@smithy/types").Provider; - eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider; maxAttempts: number | import("@smithy/types").Provider; region: string | import("@smithy/types").Provider; requestHandler: (import("@smithy/types").RequestHandler & import("@smithy/types").RequestHandler & { diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/runtimeConfig.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.d.ts similarity index 94% rename from node_modules/@aws-sdk/client-lambda/dist-types/runtimeConfig.d.ts rename to node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.d.ts index 298468fa..80b293a4 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-types/runtimeConfig.d.ts +++ b/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.d.ts @@ -1,15 +1,14 @@ import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler"; -import { LambdaClientConfig } from "./LambdaClient"; +import { SSMClientConfig } from "./SSMClient"; /** * @internal */ -export declare const getRuntimeConfig: (config: LambdaClientConfig) => { +export declare const getRuntimeConfig: (config: SSMClientConfig) => { runtime: string; defaultsMode: import("@smithy/types").Provider; bodyLengthChecker: import("@smithy/types").BodyLengthCalculator; credentialDefaultProvider: (input: any) => import("@smithy/types").Provider; defaultUserAgentProvider: import("@smithy/types").Provider; - eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider; maxAttempts: number | import("@smithy/types").Provider; region: string | import("@smithy/types").Provider; requestHandler: (import("@smithy/types").RequestHandler & import("@smithy/types").RequestHandler & { diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/runtimeConfig.native.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.native.d.ts similarity index 93% rename from node_modules/@aws-sdk/client-lambda/dist-types/runtimeConfig.native.d.ts rename to node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.native.d.ts index c2ad5382..eaa61feb 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-types/runtimeConfig.native.d.ts +++ b/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.native.d.ts @@ -1,8 +1,8 @@ -import { LambdaClientConfig } from "./LambdaClient"; +import { SSMClientConfig } from "./SSMClient"; /** * @internal */ -export declare const getRuntimeConfig: (config: LambdaClientConfig) => { +export declare const getRuntimeConfig: (config: SSMClientConfig) => { runtime: string; sha256: import("@smithy/types").HashConstructor; requestHandler: (import("@smithy/types").RequestHandler & import("@smithy/types").RequestHandler & { @@ -28,7 +28,6 @@ export declare const getRuntimeConfig: (config: LambdaClientConfig) => { retryMode: string | import("@smithy/types").Provider; logger: import("@smithy/types").Logger; extensions: import("./runtimeExtensions").RuntimeExtension[]; - eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider; defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider; endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider | undefined; endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: { diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/runtimeConfig.shared.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.shared.d.ts similarity index 84% rename from node_modules/@aws-sdk/client-lambda/dist-types/runtimeConfig.shared.d.ts rename to node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.shared.d.ts index f067369d..d4df3f33 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-types/runtimeConfig.shared.d.ts +++ b/node_modules/@aws-sdk/client-ssm/dist-types/runtimeConfig.shared.d.ts @@ -1,8 +1,8 @@ -import { LambdaClientConfig } from "./LambdaClient"; +import { SSMClientConfig } from "./SSMClient"; /** * @internal */ -export declare const getRuntimeConfig: (config: LambdaClientConfig) => { +export declare const getRuntimeConfig: (config: SSMClientConfig) => { apiVersion: string; base64Decoder: import("@smithy/types").Decoder; base64Encoder: import("@smithy/types").Encoder; diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/runtimeExtensions.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/runtimeExtensions.d.ts similarity index 65% rename from node_modules/@aws-sdk/client-lambda/dist-types/runtimeExtensions.d.ts rename to node_modules/@aws-sdk/client-ssm/dist-types/runtimeExtensions.d.ts index 326bc873..8ea50e31 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-types/runtimeExtensions.d.ts +++ b/node_modules/@aws-sdk/client-ssm/dist-types/runtimeExtensions.d.ts @@ -1,9 +1,9 @@ -import { LambdaExtensionConfiguration } from "./extensionConfiguration"; +import { SSMExtensionConfiguration } from "./extensionConfiguration"; /** * @public */ export interface RuntimeExtension { - configure(extensionConfiguration: LambdaExtensionConfiguration): void; + configure(extensionConfiguration: SSMExtensionConfiguration): void; } /** * @public diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/SSM.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/SSM.d.ts new file mode 100644 index 00000000..6449f3bb --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/SSM.d.ts @@ -0,0 +1,2482 @@ +import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types"; +import { + AddTagsToResourceCommandInput, + AddTagsToResourceCommandOutput, +} from "./commands/AddTagsToResourceCommand"; +import { + AssociateOpsItemRelatedItemCommandInput, + AssociateOpsItemRelatedItemCommandOutput, +} from "./commands/AssociateOpsItemRelatedItemCommand"; +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 { + CreateOpsMetadataCommandInput, + CreateOpsMetadataCommandOutput, +} from "./commands/CreateOpsMetadataCommand"; +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 { + DeleteOpsItemCommandInput, + DeleteOpsItemCommandOutput, +} from "./commands/DeleteOpsItemCommand"; +import { + DeleteOpsMetadataCommandInput, + DeleteOpsMetadataCommandOutput, +} from "./commands/DeleteOpsMetadataCommand"; +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 { + DeleteResourcePolicyCommandInput, + DeleteResourcePolicyCommandOutput, +} from "./commands/DeleteResourcePolicyCommand"; +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 { + DescribeAssociationExecutionsCommandInput, + DescribeAssociationExecutionsCommandOutput, +} from "./commands/DescribeAssociationExecutionsCommand"; +import { + DescribeAssociationExecutionTargetsCommandInput, + DescribeAssociationExecutionTargetsCommandOutput, +} from "./commands/DescribeAssociationExecutionTargetsCommand"; +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 { + DescribeInstancePatchesCommandInput, + DescribeInstancePatchesCommandOutput, +} from "./commands/DescribeInstancePatchesCommand"; +import { + DescribeInstancePatchStatesCommandInput, + DescribeInstancePatchStatesCommandOutput, +} from "./commands/DescribeInstancePatchStatesCommand"; +import { + DescribeInstancePatchStatesForPatchGroupCommandInput, + DescribeInstancePatchStatesForPatchGroupCommandOutput, +} from "./commands/DescribeInstancePatchStatesForPatchGroupCommand"; +import { + DescribeInventoryDeletionsCommandInput, + DescribeInventoryDeletionsCommandOutput, +} from "./commands/DescribeInventoryDeletionsCommand"; +import { + DescribeMaintenanceWindowExecutionsCommandInput, + DescribeMaintenanceWindowExecutionsCommandOutput, +} from "./commands/DescribeMaintenanceWindowExecutionsCommand"; +import { + DescribeMaintenanceWindowExecutionTaskInvocationsCommandInput, + DescribeMaintenanceWindowExecutionTaskInvocationsCommandOutput, +} from "./commands/DescribeMaintenanceWindowExecutionTaskInvocationsCommand"; +import { + DescribeMaintenanceWindowExecutionTasksCommandInput, + DescribeMaintenanceWindowExecutionTasksCommandOutput, +} from "./commands/DescribeMaintenanceWindowExecutionTasksCommand"; +import { + DescribeMaintenanceWindowScheduleCommandInput, + DescribeMaintenanceWindowScheduleCommandOutput, +} from "./commands/DescribeMaintenanceWindowScheduleCommand"; +import { + DescribeMaintenanceWindowsCommandInput, + DescribeMaintenanceWindowsCommandOutput, +} from "./commands/DescribeMaintenanceWindowsCommand"; +import { + DescribeMaintenanceWindowsForTargetCommandInput, + DescribeMaintenanceWindowsForTargetCommandOutput, +} from "./commands/DescribeMaintenanceWindowsForTargetCommand"; +import { + DescribeMaintenanceWindowTargetsCommandInput, + DescribeMaintenanceWindowTargetsCommandOutput, +} from "./commands/DescribeMaintenanceWindowTargetsCommand"; +import { + DescribeMaintenanceWindowTasksCommandInput, + DescribeMaintenanceWindowTasksCommandOutput, +} from "./commands/DescribeMaintenanceWindowTasksCommand"; +import { + DescribeOpsItemsCommandInput, + DescribeOpsItemsCommandOutput, +} from "./commands/DescribeOpsItemsCommand"; +import { + DescribeParametersCommandInput, + DescribeParametersCommandOutput, +} from "./commands/DescribeParametersCommand"; +import { + DescribePatchBaselinesCommandInput, + DescribePatchBaselinesCommandOutput, +} from "./commands/DescribePatchBaselinesCommand"; +import { + DescribePatchGroupsCommandInput, + DescribePatchGroupsCommandOutput, +} from "./commands/DescribePatchGroupsCommand"; +import { + DescribePatchGroupStateCommandInput, + DescribePatchGroupStateCommandOutput, +} from "./commands/DescribePatchGroupStateCommand"; +import { + DescribePatchPropertiesCommandInput, + DescribePatchPropertiesCommandOutput, +} from "./commands/DescribePatchPropertiesCommand"; +import { + DescribeSessionsCommandInput, + DescribeSessionsCommandOutput, +} from "./commands/DescribeSessionsCommand"; +import { + DisassociateOpsItemRelatedItemCommandInput, + DisassociateOpsItemRelatedItemCommandOutput, +} from "./commands/DisassociateOpsItemRelatedItemCommand"; +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 { + GetOpsMetadataCommandInput, + GetOpsMetadataCommandOutput, +} from "./commands/GetOpsMetadataCommand"; +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 { + GetResourcePoliciesCommandInput, + GetResourcePoliciesCommandOutput, +} from "./commands/GetResourcePoliciesCommand"; +import { + GetServiceSettingCommandInput, + GetServiceSettingCommandOutput, +} from "./commands/GetServiceSettingCommand"; +import { + LabelParameterVersionCommandInput, + LabelParameterVersionCommandOutput, +} from "./commands/LabelParameterVersionCommand"; +import { + ListAssociationsCommandInput, + ListAssociationsCommandOutput, +} from "./commands/ListAssociationsCommand"; +import { + ListAssociationVersionsCommandInput, + ListAssociationVersionsCommandOutput, +} from "./commands/ListAssociationVersionsCommand"; +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 { + ListDocumentMetadataHistoryCommandInput, + ListDocumentMetadataHistoryCommandOutput, +} from "./commands/ListDocumentMetadataHistoryCommand"; +import { + ListDocumentsCommandInput, + ListDocumentsCommandOutput, +} from "./commands/ListDocumentsCommand"; +import { + ListDocumentVersionsCommandInput, + ListDocumentVersionsCommandOutput, +} from "./commands/ListDocumentVersionsCommand"; +import { + ListInventoryEntriesCommandInput, + ListInventoryEntriesCommandOutput, +} from "./commands/ListInventoryEntriesCommand"; +import { + ListOpsItemEventsCommandInput, + ListOpsItemEventsCommandOutput, +} from "./commands/ListOpsItemEventsCommand"; +import { + ListOpsItemRelatedItemsCommandInput, + ListOpsItemRelatedItemsCommandOutput, +} from "./commands/ListOpsItemRelatedItemsCommand"; +import { + ListOpsMetadataCommandInput, + ListOpsMetadataCommandOutput, +} from "./commands/ListOpsMetadataCommand"; +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 { + PutResourcePolicyCommandInput, + PutResourcePolicyCommandOutput, +} from "./commands/PutResourcePolicyCommand"; +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 { + StartChangeRequestExecutionCommandInput, + StartChangeRequestExecutionCommandOutput, +} from "./commands/StartChangeRequestExecutionCommand"; +import { + StartSessionCommandInput, + StartSessionCommandOutput, +} from "./commands/StartSessionCommand"; +import { + StopAutomationExecutionCommandInput, + StopAutomationExecutionCommandOutput, +} from "./commands/StopAutomationExecutionCommand"; +import { + TerminateSessionCommandInput, + TerminateSessionCommandOutput, +} from "./commands/TerminateSessionCommand"; +import { + UnlabelParameterVersionCommandInput, + UnlabelParameterVersionCommandOutput, +} from "./commands/UnlabelParameterVersionCommand"; +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 { + UpdateDocumentMetadataCommandInput, + UpdateDocumentMetadataCommandOutput, +} from "./commands/UpdateDocumentMetadataCommand"; +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 { + UpdateOpsMetadataCommandInput, + UpdateOpsMetadataCommandOutput, +} from "./commands/UpdateOpsMetadataCommand"; +import { + UpdatePatchBaselineCommandInput, + UpdatePatchBaselineCommandOutput, +} from "./commands/UpdatePatchBaselineCommand"; +import { + UpdateResourceDataSyncCommandInput, + UpdateResourceDataSyncCommandOutput, +} from "./commands/UpdateResourceDataSyncCommand"; +import { + UpdateServiceSettingCommandInput, + UpdateServiceSettingCommandOutput, +} from "./commands/UpdateServiceSettingCommand"; +import { SSMClient } from "./SSMClient"; +export interface SSM { + addTagsToResource( + args: AddTagsToResourceCommandInput, + options?: __HttpHandlerOptions + ): Promise; + addTagsToResource( + args: AddTagsToResourceCommandInput, + cb: (err: any, data?: AddTagsToResourceCommandOutput) => void + ): void; + addTagsToResource( + args: AddTagsToResourceCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: AddTagsToResourceCommandOutput) => void + ): void; + associateOpsItemRelatedItem( + args: AssociateOpsItemRelatedItemCommandInput, + options?: __HttpHandlerOptions + ): Promise; + associateOpsItemRelatedItem( + args: AssociateOpsItemRelatedItemCommandInput, + cb: (err: any, data?: AssociateOpsItemRelatedItemCommandOutput) => void + ): void; + associateOpsItemRelatedItem( + args: AssociateOpsItemRelatedItemCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: AssociateOpsItemRelatedItemCommandOutput) => void + ): void; + cancelCommand( + args: CancelCommandCommandInput, + options?: __HttpHandlerOptions + ): Promise; + cancelCommand( + args: CancelCommandCommandInput, + cb: (err: any, data?: CancelCommandCommandOutput) => void + ): void; + cancelCommand( + args: CancelCommandCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: CancelCommandCommandOutput) => void + ): void; + cancelMaintenanceWindowExecution( + args: CancelMaintenanceWindowExecutionCommandInput, + options?: __HttpHandlerOptions + ): Promise; + cancelMaintenanceWindowExecution( + args: CancelMaintenanceWindowExecutionCommandInput, + cb: (err: any, data?: CancelMaintenanceWindowExecutionCommandOutput) => void + ): void; + cancelMaintenanceWindowExecution( + args: CancelMaintenanceWindowExecutionCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: CancelMaintenanceWindowExecutionCommandOutput) => void + ): void; + createActivation( + args: CreateActivationCommandInput, + options?: __HttpHandlerOptions + ): Promise; + createActivation( + args: CreateActivationCommandInput, + cb: (err: any, data?: CreateActivationCommandOutput) => void + ): void; + createActivation( + args: CreateActivationCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: CreateActivationCommandOutput) => void + ): void; + createAssociation( + args: CreateAssociationCommandInput, + options?: __HttpHandlerOptions + ): Promise; + createAssociation( + args: CreateAssociationCommandInput, + cb: (err: any, data?: CreateAssociationCommandOutput) => void + ): void; + createAssociation( + args: CreateAssociationCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: CreateAssociationCommandOutput) => void + ): void; + createAssociationBatch( + args: CreateAssociationBatchCommandInput, + options?: __HttpHandlerOptions + ): Promise; + createAssociationBatch( + args: CreateAssociationBatchCommandInput, + cb: (err: any, data?: CreateAssociationBatchCommandOutput) => void + ): void; + createAssociationBatch( + args: CreateAssociationBatchCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: CreateAssociationBatchCommandOutput) => void + ): void; + createDocument( + args: CreateDocumentCommandInput, + options?: __HttpHandlerOptions + ): Promise; + createDocument( + args: CreateDocumentCommandInput, + cb: (err: any, data?: CreateDocumentCommandOutput) => void + ): void; + createDocument( + args: CreateDocumentCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: CreateDocumentCommandOutput) => void + ): void; + createMaintenanceWindow( + args: CreateMaintenanceWindowCommandInput, + options?: __HttpHandlerOptions + ): Promise; + createMaintenanceWindow( + args: CreateMaintenanceWindowCommandInput, + cb: (err: any, data?: CreateMaintenanceWindowCommandOutput) => void + ): void; + createMaintenanceWindow( + args: CreateMaintenanceWindowCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: CreateMaintenanceWindowCommandOutput) => void + ): void; + createOpsItem( + args: CreateOpsItemCommandInput, + options?: __HttpHandlerOptions + ): Promise; + createOpsItem( + args: CreateOpsItemCommandInput, + cb: (err: any, data?: CreateOpsItemCommandOutput) => void + ): void; + createOpsItem( + args: CreateOpsItemCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: CreateOpsItemCommandOutput) => void + ): void; + createOpsMetadata( + args: CreateOpsMetadataCommandInput, + options?: __HttpHandlerOptions + ): Promise; + createOpsMetadata( + args: CreateOpsMetadataCommandInput, + cb: (err: any, data?: CreateOpsMetadataCommandOutput) => void + ): void; + createOpsMetadata( + args: CreateOpsMetadataCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: CreateOpsMetadataCommandOutput) => void + ): void; + createPatchBaseline( + args: CreatePatchBaselineCommandInput, + options?: __HttpHandlerOptions + ): Promise; + createPatchBaseline( + args: CreatePatchBaselineCommandInput, + cb: (err: any, data?: CreatePatchBaselineCommandOutput) => void + ): void; + createPatchBaseline( + args: CreatePatchBaselineCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: CreatePatchBaselineCommandOutput) => void + ): void; + createResourceDataSync( + args: CreateResourceDataSyncCommandInput, + options?: __HttpHandlerOptions + ): Promise; + createResourceDataSync( + args: CreateResourceDataSyncCommandInput, + cb: (err: any, data?: CreateResourceDataSyncCommandOutput) => void + ): void; + createResourceDataSync( + args: CreateResourceDataSyncCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: CreateResourceDataSyncCommandOutput) => void + ): void; + deleteActivation( + args: DeleteActivationCommandInput, + options?: __HttpHandlerOptions + ): Promise; + deleteActivation( + args: DeleteActivationCommandInput, + cb: (err: any, data?: DeleteActivationCommandOutput) => void + ): void; + deleteActivation( + args: DeleteActivationCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DeleteActivationCommandOutput) => void + ): void; + deleteAssociation( + args: DeleteAssociationCommandInput, + options?: __HttpHandlerOptions + ): Promise; + deleteAssociation( + args: DeleteAssociationCommandInput, + cb: (err: any, data?: DeleteAssociationCommandOutput) => void + ): void; + deleteAssociation( + args: DeleteAssociationCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DeleteAssociationCommandOutput) => void + ): void; + deleteDocument( + args: DeleteDocumentCommandInput, + options?: __HttpHandlerOptions + ): Promise; + deleteDocument( + args: DeleteDocumentCommandInput, + cb: (err: any, data?: DeleteDocumentCommandOutput) => void + ): void; + deleteDocument( + args: DeleteDocumentCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DeleteDocumentCommandOutput) => void + ): void; + deleteInventory( + args: DeleteInventoryCommandInput, + options?: __HttpHandlerOptions + ): Promise; + deleteInventory( + args: DeleteInventoryCommandInput, + cb: (err: any, data?: DeleteInventoryCommandOutput) => void + ): void; + deleteInventory( + args: DeleteInventoryCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DeleteInventoryCommandOutput) => void + ): void; + deleteMaintenanceWindow( + args: DeleteMaintenanceWindowCommandInput, + options?: __HttpHandlerOptions + ): Promise; + deleteMaintenanceWindow( + args: DeleteMaintenanceWindowCommandInput, + cb: (err: any, data?: DeleteMaintenanceWindowCommandOutput) => void + ): void; + deleteMaintenanceWindow( + args: DeleteMaintenanceWindowCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DeleteMaintenanceWindowCommandOutput) => void + ): void; + deleteOpsItem( + args: DeleteOpsItemCommandInput, + options?: __HttpHandlerOptions + ): Promise; + deleteOpsItem( + args: DeleteOpsItemCommandInput, + cb: (err: any, data?: DeleteOpsItemCommandOutput) => void + ): void; + deleteOpsItem( + args: DeleteOpsItemCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DeleteOpsItemCommandOutput) => void + ): void; + deleteOpsMetadata( + args: DeleteOpsMetadataCommandInput, + options?: __HttpHandlerOptions + ): Promise; + deleteOpsMetadata( + args: DeleteOpsMetadataCommandInput, + cb: (err: any, data?: DeleteOpsMetadataCommandOutput) => void + ): void; + deleteOpsMetadata( + args: DeleteOpsMetadataCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DeleteOpsMetadataCommandOutput) => void + ): void; + deleteParameter( + args: DeleteParameterCommandInput, + options?: __HttpHandlerOptions + ): Promise; + deleteParameter( + args: DeleteParameterCommandInput, + cb: (err: any, data?: DeleteParameterCommandOutput) => void + ): void; + deleteParameter( + args: DeleteParameterCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DeleteParameterCommandOutput) => void + ): void; + deleteParameters( + args: DeleteParametersCommandInput, + options?: __HttpHandlerOptions + ): Promise; + deleteParameters( + args: DeleteParametersCommandInput, + cb: (err: any, data?: DeleteParametersCommandOutput) => void + ): void; + deleteParameters( + args: DeleteParametersCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DeleteParametersCommandOutput) => void + ): void; + deletePatchBaseline( + args: DeletePatchBaselineCommandInput, + options?: __HttpHandlerOptions + ): Promise; + deletePatchBaseline( + args: DeletePatchBaselineCommandInput, + cb: (err: any, data?: DeletePatchBaselineCommandOutput) => void + ): void; + deletePatchBaseline( + args: DeletePatchBaselineCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DeletePatchBaselineCommandOutput) => void + ): void; + deleteResourceDataSync( + args: DeleteResourceDataSyncCommandInput, + options?: __HttpHandlerOptions + ): Promise; + deleteResourceDataSync( + args: DeleteResourceDataSyncCommandInput, + cb: (err: any, data?: DeleteResourceDataSyncCommandOutput) => void + ): void; + deleteResourceDataSync( + args: DeleteResourceDataSyncCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DeleteResourceDataSyncCommandOutput) => void + ): void; + deleteResourcePolicy( + args: DeleteResourcePolicyCommandInput, + options?: __HttpHandlerOptions + ): Promise; + deleteResourcePolicy( + args: DeleteResourcePolicyCommandInput, + cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void + ): void; + deleteResourcePolicy( + args: DeleteResourcePolicyCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void + ): void; + deregisterManagedInstance( + args: DeregisterManagedInstanceCommandInput, + options?: __HttpHandlerOptions + ): Promise; + deregisterManagedInstance( + args: DeregisterManagedInstanceCommandInput, + cb: (err: any, data?: DeregisterManagedInstanceCommandOutput) => void + ): void; + deregisterManagedInstance( + args: DeregisterManagedInstanceCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DeregisterManagedInstanceCommandOutput) => void + ): void; + deregisterPatchBaselineForPatchGroup( + args: DeregisterPatchBaselineForPatchGroupCommandInput, + options?: __HttpHandlerOptions + ): Promise; + deregisterPatchBaselineForPatchGroup( + args: DeregisterPatchBaselineForPatchGroupCommandInput, + cb: ( + err: any, + data?: DeregisterPatchBaselineForPatchGroupCommandOutput + ) => void + ): void; + deregisterPatchBaselineForPatchGroup( + args: DeregisterPatchBaselineForPatchGroupCommandInput, + options: __HttpHandlerOptions, + cb: ( + err: any, + data?: DeregisterPatchBaselineForPatchGroupCommandOutput + ) => void + ): void; + deregisterTargetFromMaintenanceWindow( + args: DeregisterTargetFromMaintenanceWindowCommandInput, + options?: __HttpHandlerOptions + ): Promise; + deregisterTargetFromMaintenanceWindow( + args: DeregisterTargetFromMaintenanceWindowCommandInput, + cb: ( + err: any, + data?: DeregisterTargetFromMaintenanceWindowCommandOutput + ) => void + ): void; + deregisterTargetFromMaintenanceWindow( + args: DeregisterTargetFromMaintenanceWindowCommandInput, + options: __HttpHandlerOptions, + cb: ( + err: any, + data?: DeregisterTargetFromMaintenanceWindowCommandOutput + ) => void + ): void; + deregisterTaskFromMaintenanceWindow( + args: DeregisterTaskFromMaintenanceWindowCommandInput, + options?: __HttpHandlerOptions + ): Promise; + deregisterTaskFromMaintenanceWindow( + args: DeregisterTaskFromMaintenanceWindowCommandInput, + cb: ( + err: any, + data?: DeregisterTaskFromMaintenanceWindowCommandOutput + ) => void + ): void; + deregisterTaskFromMaintenanceWindow( + args: DeregisterTaskFromMaintenanceWindowCommandInput, + options: __HttpHandlerOptions, + cb: ( + err: any, + data?: DeregisterTaskFromMaintenanceWindowCommandOutput + ) => void + ): void; + describeActivations( + args: DescribeActivationsCommandInput, + options?: __HttpHandlerOptions + ): Promise; + describeActivations( + args: DescribeActivationsCommandInput, + cb: (err: any, data?: DescribeActivationsCommandOutput) => void + ): void; + describeActivations( + args: DescribeActivationsCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DescribeActivationsCommandOutput) => void + ): void; + describeAssociation( + args: DescribeAssociationCommandInput, + options?: __HttpHandlerOptions + ): Promise; + describeAssociation( + args: DescribeAssociationCommandInput, + cb: (err: any, data?: DescribeAssociationCommandOutput) => void + ): void; + describeAssociation( + args: DescribeAssociationCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DescribeAssociationCommandOutput) => void + ): void; + describeAssociationExecutions( + args: DescribeAssociationExecutionsCommandInput, + options?: __HttpHandlerOptions + ): Promise; + describeAssociationExecutions( + args: DescribeAssociationExecutionsCommandInput, + cb: (err: any, data?: DescribeAssociationExecutionsCommandOutput) => void + ): void; + describeAssociationExecutions( + args: DescribeAssociationExecutionsCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DescribeAssociationExecutionsCommandOutput) => void + ): void; + describeAssociationExecutionTargets( + args: DescribeAssociationExecutionTargetsCommandInput, + options?: __HttpHandlerOptions + ): Promise; + describeAssociationExecutionTargets( + args: DescribeAssociationExecutionTargetsCommandInput, + cb: ( + err: any, + data?: DescribeAssociationExecutionTargetsCommandOutput + ) => void + ): void; + describeAssociationExecutionTargets( + args: DescribeAssociationExecutionTargetsCommandInput, + options: __HttpHandlerOptions, + cb: ( + err: any, + data?: DescribeAssociationExecutionTargetsCommandOutput + ) => void + ): void; + describeAutomationExecutions( + args: DescribeAutomationExecutionsCommandInput, + options?: __HttpHandlerOptions + ): Promise; + describeAutomationExecutions( + args: DescribeAutomationExecutionsCommandInput, + cb: (err: any, data?: DescribeAutomationExecutionsCommandOutput) => void + ): void; + describeAutomationExecutions( + args: DescribeAutomationExecutionsCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DescribeAutomationExecutionsCommandOutput) => void + ): void; + describeAutomationStepExecutions( + args: DescribeAutomationStepExecutionsCommandInput, + options?: __HttpHandlerOptions + ): Promise; + describeAutomationStepExecutions( + args: DescribeAutomationStepExecutionsCommandInput, + cb: (err: any, data?: DescribeAutomationStepExecutionsCommandOutput) => void + ): void; + describeAutomationStepExecutions( + args: DescribeAutomationStepExecutionsCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DescribeAutomationStepExecutionsCommandOutput) => void + ): void; + describeAvailablePatches( + args: DescribeAvailablePatchesCommandInput, + options?: __HttpHandlerOptions + ): Promise; + describeAvailablePatches( + args: DescribeAvailablePatchesCommandInput, + cb: (err: any, data?: DescribeAvailablePatchesCommandOutput) => void + ): void; + describeAvailablePatches( + args: DescribeAvailablePatchesCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DescribeAvailablePatchesCommandOutput) => void + ): void; + describeDocument( + args: DescribeDocumentCommandInput, + options?: __HttpHandlerOptions + ): Promise; + describeDocument( + args: DescribeDocumentCommandInput, + cb: (err: any, data?: DescribeDocumentCommandOutput) => void + ): void; + describeDocument( + args: DescribeDocumentCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DescribeDocumentCommandOutput) => void + ): void; + describeDocumentPermission( + args: DescribeDocumentPermissionCommandInput, + options?: __HttpHandlerOptions + ): Promise; + describeDocumentPermission( + args: DescribeDocumentPermissionCommandInput, + cb: (err: any, data?: DescribeDocumentPermissionCommandOutput) => void + ): void; + describeDocumentPermission( + args: DescribeDocumentPermissionCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DescribeDocumentPermissionCommandOutput) => void + ): void; + describeEffectiveInstanceAssociations( + args: DescribeEffectiveInstanceAssociationsCommandInput, + options?: __HttpHandlerOptions + ): Promise; + describeEffectiveInstanceAssociations( + args: DescribeEffectiveInstanceAssociationsCommandInput, + cb: ( + err: any, + data?: DescribeEffectiveInstanceAssociationsCommandOutput + ) => void + ): void; + describeEffectiveInstanceAssociations( + args: DescribeEffectiveInstanceAssociationsCommandInput, + options: __HttpHandlerOptions, + cb: ( + err: any, + data?: DescribeEffectiveInstanceAssociationsCommandOutput + ) => void + ): void; + describeEffectivePatchesForPatchBaseline( + args: DescribeEffectivePatchesForPatchBaselineCommandInput, + options?: __HttpHandlerOptions + ): Promise; + describeEffectivePatchesForPatchBaseline( + args: DescribeEffectivePatchesForPatchBaselineCommandInput, + cb: ( + err: any, + data?: DescribeEffectivePatchesForPatchBaselineCommandOutput + ) => void + ): void; + describeEffectivePatchesForPatchBaseline( + args: DescribeEffectivePatchesForPatchBaselineCommandInput, + options: __HttpHandlerOptions, + cb: ( + err: any, + data?: DescribeEffectivePatchesForPatchBaselineCommandOutput + ) => void + ): void; + describeInstanceAssociationsStatus( + args: DescribeInstanceAssociationsStatusCommandInput, + options?: __HttpHandlerOptions + ): Promise; + describeInstanceAssociationsStatus( + args: DescribeInstanceAssociationsStatusCommandInput, + cb: ( + err: any, + data?: DescribeInstanceAssociationsStatusCommandOutput + ) => void + ): void; + describeInstanceAssociationsStatus( + args: DescribeInstanceAssociationsStatusCommandInput, + options: __HttpHandlerOptions, + cb: ( + err: any, + data?: DescribeInstanceAssociationsStatusCommandOutput + ) => void + ): void; + describeInstanceInformation( + args: DescribeInstanceInformationCommandInput, + options?: __HttpHandlerOptions + ): Promise; + describeInstanceInformation( + args: DescribeInstanceInformationCommandInput, + cb: (err: any, data?: DescribeInstanceInformationCommandOutput) => void + ): void; + describeInstanceInformation( + args: DescribeInstanceInformationCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DescribeInstanceInformationCommandOutput) => void + ): void; + describeInstancePatches( + args: DescribeInstancePatchesCommandInput, + options?: __HttpHandlerOptions + ): Promise; + describeInstancePatches( + args: DescribeInstancePatchesCommandInput, + cb: (err: any, data?: DescribeInstancePatchesCommandOutput) => void + ): void; + describeInstancePatches( + args: DescribeInstancePatchesCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DescribeInstancePatchesCommandOutput) => void + ): void; + describeInstancePatchStates( + args: DescribeInstancePatchStatesCommandInput, + options?: __HttpHandlerOptions + ): Promise; + describeInstancePatchStates( + args: DescribeInstancePatchStatesCommandInput, + cb: (err: any, data?: DescribeInstancePatchStatesCommandOutput) => void + ): void; + describeInstancePatchStates( + args: DescribeInstancePatchStatesCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DescribeInstancePatchStatesCommandOutput) => void + ): void; + describeInstancePatchStatesForPatchGroup( + args: DescribeInstancePatchStatesForPatchGroupCommandInput, + options?: __HttpHandlerOptions + ): Promise; + describeInstancePatchStatesForPatchGroup( + args: DescribeInstancePatchStatesForPatchGroupCommandInput, + cb: ( + err: any, + data?: DescribeInstancePatchStatesForPatchGroupCommandOutput + ) => void + ): void; + describeInstancePatchStatesForPatchGroup( + args: DescribeInstancePatchStatesForPatchGroupCommandInput, + options: __HttpHandlerOptions, + cb: ( + err: any, + data?: DescribeInstancePatchStatesForPatchGroupCommandOutput + ) => void + ): void; + describeInventoryDeletions( + args: DescribeInventoryDeletionsCommandInput, + options?: __HttpHandlerOptions + ): Promise; + describeInventoryDeletions( + args: DescribeInventoryDeletionsCommandInput, + cb: (err: any, data?: DescribeInventoryDeletionsCommandOutput) => void + ): void; + describeInventoryDeletions( + args: DescribeInventoryDeletionsCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DescribeInventoryDeletionsCommandOutput) => void + ): void; + describeMaintenanceWindowExecutions( + args: DescribeMaintenanceWindowExecutionsCommandInput, + options?: __HttpHandlerOptions + ): Promise; + describeMaintenanceWindowExecutions( + args: DescribeMaintenanceWindowExecutionsCommandInput, + cb: ( + err: any, + data?: DescribeMaintenanceWindowExecutionsCommandOutput + ) => void + ): void; + describeMaintenanceWindowExecutions( + args: DescribeMaintenanceWindowExecutionsCommandInput, + options: __HttpHandlerOptions, + cb: ( + err: any, + data?: DescribeMaintenanceWindowExecutionsCommandOutput + ) => void + ): void; + describeMaintenanceWindowExecutionTaskInvocations( + args: DescribeMaintenanceWindowExecutionTaskInvocationsCommandInput, + options?: __HttpHandlerOptions + ): Promise; + describeMaintenanceWindowExecutionTaskInvocations( + args: DescribeMaintenanceWindowExecutionTaskInvocationsCommandInput, + cb: ( + err: any, + data?: DescribeMaintenanceWindowExecutionTaskInvocationsCommandOutput + ) => void + ): void; + describeMaintenanceWindowExecutionTaskInvocations( + args: DescribeMaintenanceWindowExecutionTaskInvocationsCommandInput, + options: __HttpHandlerOptions, + cb: ( + err: any, + data?: DescribeMaintenanceWindowExecutionTaskInvocationsCommandOutput + ) => void + ): void; + describeMaintenanceWindowExecutionTasks( + args: DescribeMaintenanceWindowExecutionTasksCommandInput, + options?: __HttpHandlerOptions + ): Promise; + describeMaintenanceWindowExecutionTasks( + args: DescribeMaintenanceWindowExecutionTasksCommandInput, + cb: ( + err: any, + data?: DescribeMaintenanceWindowExecutionTasksCommandOutput + ) => void + ): void; + describeMaintenanceWindowExecutionTasks( + args: DescribeMaintenanceWindowExecutionTasksCommandInput, + options: __HttpHandlerOptions, + cb: ( + err: any, + data?: DescribeMaintenanceWindowExecutionTasksCommandOutput + ) => void + ): void; + describeMaintenanceWindows( + args: DescribeMaintenanceWindowsCommandInput, + options?: __HttpHandlerOptions + ): Promise; + describeMaintenanceWindows( + args: DescribeMaintenanceWindowsCommandInput, + cb: (err: any, data?: DescribeMaintenanceWindowsCommandOutput) => void + ): void; + describeMaintenanceWindows( + args: DescribeMaintenanceWindowsCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DescribeMaintenanceWindowsCommandOutput) => void + ): void; + describeMaintenanceWindowSchedule( + args: DescribeMaintenanceWindowScheduleCommandInput, + options?: __HttpHandlerOptions + ): Promise; + describeMaintenanceWindowSchedule( + args: DescribeMaintenanceWindowScheduleCommandInput, + cb: ( + err: any, + data?: DescribeMaintenanceWindowScheduleCommandOutput + ) => void + ): void; + describeMaintenanceWindowSchedule( + args: DescribeMaintenanceWindowScheduleCommandInput, + options: __HttpHandlerOptions, + cb: ( + err: any, + data?: DescribeMaintenanceWindowScheduleCommandOutput + ) => void + ): void; + describeMaintenanceWindowsForTarget( + args: DescribeMaintenanceWindowsForTargetCommandInput, + options?: __HttpHandlerOptions + ): Promise; + describeMaintenanceWindowsForTarget( + args: DescribeMaintenanceWindowsForTargetCommandInput, + cb: ( + err: any, + data?: DescribeMaintenanceWindowsForTargetCommandOutput + ) => void + ): void; + describeMaintenanceWindowsForTarget( + args: DescribeMaintenanceWindowsForTargetCommandInput, + options: __HttpHandlerOptions, + cb: ( + err: any, + data?: DescribeMaintenanceWindowsForTargetCommandOutput + ) => void + ): void; + describeMaintenanceWindowTargets( + args: DescribeMaintenanceWindowTargetsCommandInput, + options?: __HttpHandlerOptions + ): Promise; + describeMaintenanceWindowTargets( + args: DescribeMaintenanceWindowTargetsCommandInput, + cb: (err: any, data?: DescribeMaintenanceWindowTargetsCommandOutput) => void + ): void; + describeMaintenanceWindowTargets( + args: DescribeMaintenanceWindowTargetsCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DescribeMaintenanceWindowTargetsCommandOutput) => void + ): void; + describeMaintenanceWindowTasks( + args: DescribeMaintenanceWindowTasksCommandInput, + options?: __HttpHandlerOptions + ): Promise; + describeMaintenanceWindowTasks( + args: DescribeMaintenanceWindowTasksCommandInput, + cb: (err: any, data?: DescribeMaintenanceWindowTasksCommandOutput) => void + ): void; + describeMaintenanceWindowTasks( + args: DescribeMaintenanceWindowTasksCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DescribeMaintenanceWindowTasksCommandOutput) => void + ): void; + describeOpsItems( + args: DescribeOpsItemsCommandInput, + options?: __HttpHandlerOptions + ): Promise; + describeOpsItems( + args: DescribeOpsItemsCommandInput, + cb: (err: any, data?: DescribeOpsItemsCommandOutput) => void + ): void; + describeOpsItems( + args: DescribeOpsItemsCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DescribeOpsItemsCommandOutput) => void + ): void; + describeParameters( + args: DescribeParametersCommandInput, + options?: __HttpHandlerOptions + ): Promise; + describeParameters( + args: DescribeParametersCommandInput, + cb: (err: any, data?: DescribeParametersCommandOutput) => void + ): void; + describeParameters( + args: DescribeParametersCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DescribeParametersCommandOutput) => void + ): void; + describePatchBaselines( + args: DescribePatchBaselinesCommandInput, + options?: __HttpHandlerOptions + ): Promise; + describePatchBaselines( + args: DescribePatchBaselinesCommandInput, + cb: (err: any, data?: DescribePatchBaselinesCommandOutput) => void + ): void; + describePatchBaselines( + args: DescribePatchBaselinesCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DescribePatchBaselinesCommandOutput) => void + ): void; + describePatchGroups( + args: DescribePatchGroupsCommandInput, + options?: __HttpHandlerOptions + ): Promise; + describePatchGroups( + args: DescribePatchGroupsCommandInput, + cb: (err: any, data?: DescribePatchGroupsCommandOutput) => void + ): void; + describePatchGroups( + args: DescribePatchGroupsCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DescribePatchGroupsCommandOutput) => void + ): void; + describePatchGroupState( + args: DescribePatchGroupStateCommandInput, + options?: __HttpHandlerOptions + ): Promise; + describePatchGroupState( + args: DescribePatchGroupStateCommandInput, + cb: (err: any, data?: DescribePatchGroupStateCommandOutput) => void + ): void; + describePatchGroupState( + args: DescribePatchGroupStateCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DescribePatchGroupStateCommandOutput) => void + ): void; + describePatchProperties( + args: DescribePatchPropertiesCommandInput, + options?: __HttpHandlerOptions + ): Promise; + describePatchProperties( + args: DescribePatchPropertiesCommandInput, + cb: (err: any, data?: DescribePatchPropertiesCommandOutput) => void + ): void; + describePatchProperties( + args: DescribePatchPropertiesCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DescribePatchPropertiesCommandOutput) => void + ): void; + describeSessions( + args: DescribeSessionsCommandInput, + options?: __HttpHandlerOptions + ): Promise; + describeSessions( + args: DescribeSessionsCommandInput, + cb: (err: any, data?: DescribeSessionsCommandOutput) => void + ): void; + describeSessions( + args: DescribeSessionsCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DescribeSessionsCommandOutput) => void + ): void; + disassociateOpsItemRelatedItem( + args: DisassociateOpsItemRelatedItemCommandInput, + options?: __HttpHandlerOptions + ): Promise; + disassociateOpsItemRelatedItem( + args: DisassociateOpsItemRelatedItemCommandInput, + cb: (err: any, data?: DisassociateOpsItemRelatedItemCommandOutput) => void + ): void; + disassociateOpsItemRelatedItem( + args: DisassociateOpsItemRelatedItemCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: DisassociateOpsItemRelatedItemCommandOutput) => void + ): void; + getAutomationExecution( + args: GetAutomationExecutionCommandInput, + options?: __HttpHandlerOptions + ): Promise; + getAutomationExecution( + args: GetAutomationExecutionCommandInput, + cb: (err: any, data?: GetAutomationExecutionCommandOutput) => void + ): void; + getAutomationExecution( + args: GetAutomationExecutionCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: GetAutomationExecutionCommandOutput) => void + ): void; + getCalendarState( + args: GetCalendarStateCommandInput, + options?: __HttpHandlerOptions + ): Promise; + getCalendarState( + args: GetCalendarStateCommandInput, + cb: (err: any, data?: GetCalendarStateCommandOutput) => void + ): void; + getCalendarState( + args: GetCalendarStateCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: GetCalendarStateCommandOutput) => void + ): void; + getCommandInvocation( + args: GetCommandInvocationCommandInput, + options?: __HttpHandlerOptions + ): Promise; + getCommandInvocation( + args: GetCommandInvocationCommandInput, + cb: (err: any, data?: GetCommandInvocationCommandOutput) => void + ): void; + getCommandInvocation( + args: GetCommandInvocationCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: GetCommandInvocationCommandOutput) => void + ): void; + getConnectionStatus( + args: GetConnectionStatusCommandInput, + options?: __HttpHandlerOptions + ): Promise; + getConnectionStatus( + args: GetConnectionStatusCommandInput, + cb: (err: any, data?: GetConnectionStatusCommandOutput) => void + ): void; + getConnectionStatus( + args: GetConnectionStatusCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: GetConnectionStatusCommandOutput) => void + ): void; + getDefaultPatchBaseline( + args: GetDefaultPatchBaselineCommandInput, + options?: __HttpHandlerOptions + ): Promise; + getDefaultPatchBaseline( + args: GetDefaultPatchBaselineCommandInput, + cb: (err: any, data?: GetDefaultPatchBaselineCommandOutput) => void + ): void; + getDefaultPatchBaseline( + args: GetDefaultPatchBaselineCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: GetDefaultPatchBaselineCommandOutput) => void + ): void; + getDeployablePatchSnapshotForInstance( + args: GetDeployablePatchSnapshotForInstanceCommandInput, + options?: __HttpHandlerOptions + ): Promise; + getDeployablePatchSnapshotForInstance( + args: GetDeployablePatchSnapshotForInstanceCommandInput, + cb: ( + err: any, + data?: GetDeployablePatchSnapshotForInstanceCommandOutput + ) => void + ): void; + getDeployablePatchSnapshotForInstance( + args: GetDeployablePatchSnapshotForInstanceCommandInput, + options: __HttpHandlerOptions, + cb: ( + err: any, + data?: GetDeployablePatchSnapshotForInstanceCommandOutput + ) => void + ): void; + getDocument( + args: GetDocumentCommandInput, + options?: __HttpHandlerOptions + ): Promise; + getDocument( + args: GetDocumentCommandInput, + cb: (err: any, data?: GetDocumentCommandOutput) => void + ): void; + getDocument( + args: GetDocumentCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: GetDocumentCommandOutput) => void + ): void; + getInventory( + args: GetInventoryCommandInput, + options?: __HttpHandlerOptions + ): Promise; + getInventory( + args: GetInventoryCommandInput, + cb: (err: any, data?: GetInventoryCommandOutput) => void + ): void; + getInventory( + args: GetInventoryCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: GetInventoryCommandOutput) => void + ): void; + getInventorySchema( + args: GetInventorySchemaCommandInput, + options?: __HttpHandlerOptions + ): Promise; + getInventorySchema( + args: GetInventorySchemaCommandInput, + cb: (err: any, data?: GetInventorySchemaCommandOutput) => void + ): void; + getInventorySchema( + args: GetInventorySchemaCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: GetInventorySchemaCommandOutput) => void + ): void; + getMaintenanceWindow( + args: GetMaintenanceWindowCommandInput, + options?: __HttpHandlerOptions + ): Promise; + getMaintenanceWindow( + args: GetMaintenanceWindowCommandInput, + cb: (err: any, data?: GetMaintenanceWindowCommandOutput) => void + ): void; + getMaintenanceWindow( + args: GetMaintenanceWindowCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: GetMaintenanceWindowCommandOutput) => void + ): void; + getMaintenanceWindowExecution( + args: GetMaintenanceWindowExecutionCommandInput, + options?: __HttpHandlerOptions + ): Promise; + getMaintenanceWindowExecution( + args: GetMaintenanceWindowExecutionCommandInput, + cb: (err: any, data?: GetMaintenanceWindowExecutionCommandOutput) => void + ): void; + getMaintenanceWindowExecution( + args: GetMaintenanceWindowExecutionCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: GetMaintenanceWindowExecutionCommandOutput) => void + ): void; + getMaintenanceWindowExecutionTask( + args: GetMaintenanceWindowExecutionTaskCommandInput, + options?: __HttpHandlerOptions + ): Promise; + getMaintenanceWindowExecutionTask( + args: GetMaintenanceWindowExecutionTaskCommandInput, + cb: ( + err: any, + data?: GetMaintenanceWindowExecutionTaskCommandOutput + ) => void + ): void; + getMaintenanceWindowExecutionTask( + args: GetMaintenanceWindowExecutionTaskCommandInput, + options: __HttpHandlerOptions, + cb: ( + err: any, + data?: GetMaintenanceWindowExecutionTaskCommandOutput + ) => void + ): void; + getMaintenanceWindowExecutionTaskInvocation( + args: GetMaintenanceWindowExecutionTaskInvocationCommandInput, + options?: __HttpHandlerOptions + ): Promise; + getMaintenanceWindowExecutionTaskInvocation( + args: GetMaintenanceWindowExecutionTaskInvocationCommandInput, + cb: ( + err: any, + data?: GetMaintenanceWindowExecutionTaskInvocationCommandOutput + ) => void + ): void; + getMaintenanceWindowExecutionTaskInvocation( + args: GetMaintenanceWindowExecutionTaskInvocationCommandInput, + options: __HttpHandlerOptions, + cb: ( + err: any, + data?: GetMaintenanceWindowExecutionTaskInvocationCommandOutput + ) => void + ): void; + getMaintenanceWindowTask( + args: GetMaintenanceWindowTaskCommandInput, + options?: __HttpHandlerOptions + ): Promise; + getMaintenanceWindowTask( + args: GetMaintenanceWindowTaskCommandInput, + cb: (err: any, data?: GetMaintenanceWindowTaskCommandOutput) => void + ): void; + getMaintenanceWindowTask( + args: GetMaintenanceWindowTaskCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: GetMaintenanceWindowTaskCommandOutput) => void + ): void; + getOpsItem( + args: GetOpsItemCommandInput, + options?: __HttpHandlerOptions + ): Promise; + getOpsItem( + args: GetOpsItemCommandInput, + cb: (err: any, data?: GetOpsItemCommandOutput) => void + ): void; + getOpsItem( + args: GetOpsItemCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: GetOpsItemCommandOutput) => void + ): void; + getOpsMetadata( + args: GetOpsMetadataCommandInput, + options?: __HttpHandlerOptions + ): Promise; + getOpsMetadata( + args: GetOpsMetadataCommandInput, + cb: (err: any, data?: GetOpsMetadataCommandOutput) => void + ): void; + getOpsMetadata( + args: GetOpsMetadataCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: GetOpsMetadataCommandOutput) => void + ): void; + getOpsSummary( + args: GetOpsSummaryCommandInput, + options?: __HttpHandlerOptions + ): Promise; + getOpsSummary( + args: GetOpsSummaryCommandInput, + cb: (err: any, data?: GetOpsSummaryCommandOutput) => void + ): void; + getOpsSummary( + args: GetOpsSummaryCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: GetOpsSummaryCommandOutput) => void + ): void; + getParameter( + args: GetParameterCommandInput, + options?: __HttpHandlerOptions + ): Promise; + getParameter( + args: GetParameterCommandInput, + cb: (err: any, data?: GetParameterCommandOutput) => void + ): void; + getParameter( + args: GetParameterCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: GetParameterCommandOutput) => void + ): void; + getParameterHistory( + args: GetParameterHistoryCommandInput, + options?: __HttpHandlerOptions + ): Promise; + getParameterHistory( + args: GetParameterHistoryCommandInput, + cb: (err: any, data?: GetParameterHistoryCommandOutput) => void + ): void; + getParameterHistory( + args: GetParameterHistoryCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: GetParameterHistoryCommandOutput) => void + ): void; + getParameters( + args: GetParametersCommandInput, + options?: __HttpHandlerOptions + ): Promise; + getParameters( + args: GetParametersCommandInput, + cb: (err: any, data?: GetParametersCommandOutput) => void + ): void; + getParameters( + args: GetParametersCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: GetParametersCommandOutput) => void + ): void; + getParametersByPath( + args: GetParametersByPathCommandInput, + options?: __HttpHandlerOptions + ): Promise; + getParametersByPath( + args: GetParametersByPathCommandInput, + cb: (err: any, data?: GetParametersByPathCommandOutput) => void + ): void; + getParametersByPath( + args: GetParametersByPathCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: GetParametersByPathCommandOutput) => void + ): void; + getPatchBaseline( + args: GetPatchBaselineCommandInput, + options?: __HttpHandlerOptions + ): Promise; + getPatchBaseline( + args: GetPatchBaselineCommandInput, + cb: (err: any, data?: GetPatchBaselineCommandOutput) => void + ): void; + getPatchBaseline( + args: GetPatchBaselineCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: GetPatchBaselineCommandOutput) => void + ): void; + getPatchBaselineForPatchGroup( + args: GetPatchBaselineForPatchGroupCommandInput, + options?: __HttpHandlerOptions + ): Promise; + getPatchBaselineForPatchGroup( + args: GetPatchBaselineForPatchGroupCommandInput, + cb: (err: any, data?: GetPatchBaselineForPatchGroupCommandOutput) => void + ): void; + getPatchBaselineForPatchGroup( + args: GetPatchBaselineForPatchGroupCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: GetPatchBaselineForPatchGroupCommandOutput) => void + ): void; + getResourcePolicies( + args: GetResourcePoliciesCommandInput, + options?: __HttpHandlerOptions + ): Promise; + getResourcePolicies( + args: GetResourcePoliciesCommandInput, + cb: (err: any, data?: GetResourcePoliciesCommandOutput) => void + ): void; + getResourcePolicies( + args: GetResourcePoliciesCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: GetResourcePoliciesCommandOutput) => void + ): void; + getServiceSetting( + args: GetServiceSettingCommandInput, + options?: __HttpHandlerOptions + ): Promise; + getServiceSetting( + args: GetServiceSettingCommandInput, + cb: (err: any, data?: GetServiceSettingCommandOutput) => void + ): void; + getServiceSetting( + args: GetServiceSettingCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: GetServiceSettingCommandOutput) => void + ): void; + labelParameterVersion( + args: LabelParameterVersionCommandInput, + options?: __HttpHandlerOptions + ): Promise; + labelParameterVersion( + args: LabelParameterVersionCommandInput, + cb: (err: any, data?: LabelParameterVersionCommandOutput) => void + ): void; + labelParameterVersion( + args: LabelParameterVersionCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: LabelParameterVersionCommandOutput) => void + ): void; + listAssociations( + args: ListAssociationsCommandInput, + options?: __HttpHandlerOptions + ): Promise; + listAssociations( + args: ListAssociationsCommandInput, + cb: (err: any, data?: ListAssociationsCommandOutput) => void + ): void; + listAssociations( + args: ListAssociationsCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: ListAssociationsCommandOutput) => void + ): void; + listAssociationVersions( + args: ListAssociationVersionsCommandInput, + options?: __HttpHandlerOptions + ): Promise; + listAssociationVersions( + args: ListAssociationVersionsCommandInput, + cb: (err: any, data?: ListAssociationVersionsCommandOutput) => void + ): void; + listAssociationVersions( + args: ListAssociationVersionsCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: ListAssociationVersionsCommandOutput) => void + ): void; + listCommandInvocations( + args: ListCommandInvocationsCommandInput, + options?: __HttpHandlerOptions + ): Promise; + listCommandInvocations( + args: ListCommandInvocationsCommandInput, + cb: (err: any, data?: ListCommandInvocationsCommandOutput) => void + ): void; + listCommandInvocations( + args: ListCommandInvocationsCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: ListCommandInvocationsCommandOutput) => void + ): void; + listCommands( + args: ListCommandsCommandInput, + options?: __HttpHandlerOptions + ): Promise; + listCommands( + args: ListCommandsCommandInput, + cb: (err: any, data?: ListCommandsCommandOutput) => void + ): void; + listCommands( + args: ListCommandsCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: ListCommandsCommandOutput) => void + ): void; + listComplianceItems( + args: ListComplianceItemsCommandInput, + options?: __HttpHandlerOptions + ): Promise; + listComplianceItems( + args: ListComplianceItemsCommandInput, + cb: (err: any, data?: ListComplianceItemsCommandOutput) => void + ): void; + listComplianceItems( + args: ListComplianceItemsCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: ListComplianceItemsCommandOutput) => void + ): void; + listComplianceSummaries( + args: ListComplianceSummariesCommandInput, + options?: __HttpHandlerOptions + ): Promise; + listComplianceSummaries( + args: ListComplianceSummariesCommandInput, + cb: (err: any, data?: ListComplianceSummariesCommandOutput) => void + ): void; + listComplianceSummaries( + args: ListComplianceSummariesCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: ListComplianceSummariesCommandOutput) => void + ): void; + listDocumentMetadataHistory( + args: ListDocumentMetadataHistoryCommandInput, + options?: __HttpHandlerOptions + ): Promise; + listDocumentMetadataHistory( + args: ListDocumentMetadataHistoryCommandInput, + cb: (err: any, data?: ListDocumentMetadataHistoryCommandOutput) => void + ): void; + listDocumentMetadataHistory( + args: ListDocumentMetadataHistoryCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: ListDocumentMetadataHistoryCommandOutput) => void + ): void; + listDocuments( + args: ListDocumentsCommandInput, + options?: __HttpHandlerOptions + ): Promise; + listDocuments( + args: ListDocumentsCommandInput, + cb: (err: any, data?: ListDocumentsCommandOutput) => void + ): void; + listDocuments( + args: ListDocumentsCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: ListDocumentsCommandOutput) => void + ): void; + listDocumentVersions( + args: ListDocumentVersionsCommandInput, + options?: __HttpHandlerOptions + ): Promise; + listDocumentVersions( + args: ListDocumentVersionsCommandInput, + cb: (err: any, data?: ListDocumentVersionsCommandOutput) => void + ): void; + listDocumentVersions( + args: ListDocumentVersionsCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: ListDocumentVersionsCommandOutput) => void + ): void; + listInventoryEntries( + args: ListInventoryEntriesCommandInput, + options?: __HttpHandlerOptions + ): Promise; + listInventoryEntries( + args: ListInventoryEntriesCommandInput, + cb: (err: any, data?: ListInventoryEntriesCommandOutput) => void + ): void; + listInventoryEntries( + args: ListInventoryEntriesCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: ListInventoryEntriesCommandOutput) => void + ): void; + listOpsItemEvents( + args: ListOpsItemEventsCommandInput, + options?: __HttpHandlerOptions + ): Promise; + listOpsItemEvents( + args: ListOpsItemEventsCommandInput, + cb: (err: any, data?: ListOpsItemEventsCommandOutput) => void + ): void; + listOpsItemEvents( + args: ListOpsItemEventsCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: ListOpsItemEventsCommandOutput) => void + ): void; + listOpsItemRelatedItems( + args: ListOpsItemRelatedItemsCommandInput, + options?: __HttpHandlerOptions + ): Promise; + listOpsItemRelatedItems( + args: ListOpsItemRelatedItemsCommandInput, + cb: (err: any, data?: ListOpsItemRelatedItemsCommandOutput) => void + ): void; + listOpsItemRelatedItems( + args: ListOpsItemRelatedItemsCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: ListOpsItemRelatedItemsCommandOutput) => void + ): void; + listOpsMetadata( + args: ListOpsMetadataCommandInput, + options?: __HttpHandlerOptions + ): Promise; + listOpsMetadata( + args: ListOpsMetadataCommandInput, + cb: (err: any, data?: ListOpsMetadataCommandOutput) => void + ): void; + listOpsMetadata( + args: ListOpsMetadataCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: ListOpsMetadataCommandOutput) => void + ): void; + listResourceComplianceSummaries( + args: ListResourceComplianceSummariesCommandInput, + options?: __HttpHandlerOptions + ): Promise; + listResourceComplianceSummaries( + args: ListResourceComplianceSummariesCommandInput, + cb: (err: any, data?: ListResourceComplianceSummariesCommandOutput) => void + ): void; + listResourceComplianceSummaries( + args: ListResourceComplianceSummariesCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: ListResourceComplianceSummariesCommandOutput) => void + ): void; + listResourceDataSync( + args: ListResourceDataSyncCommandInput, + options?: __HttpHandlerOptions + ): Promise; + listResourceDataSync( + args: ListResourceDataSyncCommandInput, + cb: (err: any, data?: ListResourceDataSyncCommandOutput) => void + ): void; + listResourceDataSync( + args: ListResourceDataSyncCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: ListResourceDataSyncCommandOutput) => void + ): void; + listTagsForResource( + args: ListTagsForResourceCommandInput, + options?: __HttpHandlerOptions + ): Promise; + listTagsForResource( + args: ListTagsForResourceCommandInput, + cb: (err: any, data?: ListTagsForResourceCommandOutput) => void + ): void; + listTagsForResource( + args: ListTagsForResourceCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: ListTagsForResourceCommandOutput) => void + ): void; + modifyDocumentPermission( + args: ModifyDocumentPermissionCommandInput, + options?: __HttpHandlerOptions + ): Promise; + modifyDocumentPermission( + args: ModifyDocumentPermissionCommandInput, + cb: (err: any, data?: ModifyDocumentPermissionCommandOutput) => void + ): void; + modifyDocumentPermission( + args: ModifyDocumentPermissionCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: ModifyDocumentPermissionCommandOutput) => void + ): void; + putComplianceItems( + args: PutComplianceItemsCommandInput, + options?: __HttpHandlerOptions + ): Promise; + putComplianceItems( + args: PutComplianceItemsCommandInput, + cb: (err: any, data?: PutComplianceItemsCommandOutput) => void + ): void; + putComplianceItems( + args: PutComplianceItemsCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: PutComplianceItemsCommandOutput) => void + ): void; + putInventory( + args: PutInventoryCommandInput, + options?: __HttpHandlerOptions + ): Promise; + putInventory( + args: PutInventoryCommandInput, + cb: (err: any, data?: PutInventoryCommandOutput) => void + ): void; + putInventory( + args: PutInventoryCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: PutInventoryCommandOutput) => void + ): void; + putParameter( + args: PutParameterCommandInput, + options?: __HttpHandlerOptions + ): Promise; + putParameter( + args: PutParameterCommandInput, + cb: (err: any, data?: PutParameterCommandOutput) => void + ): void; + putParameter( + args: PutParameterCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: PutParameterCommandOutput) => void + ): void; + putResourcePolicy( + args: PutResourcePolicyCommandInput, + options?: __HttpHandlerOptions + ): Promise; + putResourcePolicy( + args: PutResourcePolicyCommandInput, + cb: (err: any, data?: PutResourcePolicyCommandOutput) => void + ): void; + putResourcePolicy( + args: PutResourcePolicyCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: PutResourcePolicyCommandOutput) => void + ): void; + registerDefaultPatchBaseline( + args: RegisterDefaultPatchBaselineCommandInput, + options?: __HttpHandlerOptions + ): Promise; + registerDefaultPatchBaseline( + args: RegisterDefaultPatchBaselineCommandInput, + cb: (err: any, data?: RegisterDefaultPatchBaselineCommandOutput) => void + ): void; + registerDefaultPatchBaseline( + args: RegisterDefaultPatchBaselineCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: RegisterDefaultPatchBaselineCommandOutput) => void + ): void; + registerPatchBaselineForPatchGroup( + args: RegisterPatchBaselineForPatchGroupCommandInput, + options?: __HttpHandlerOptions + ): Promise; + registerPatchBaselineForPatchGroup( + args: RegisterPatchBaselineForPatchGroupCommandInput, + cb: ( + err: any, + data?: RegisterPatchBaselineForPatchGroupCommandOutput + ) => void + ): void; + registerPatchBaselineForPatchGroup( + args: RegisterPatchBaselineForPatchGroupCommandInput, + options: __HttpHandlerOptions, + cb: ( + err: any, + data?: RegisterPatchBaselineForPatchGroupCommandOutput + ) => void + ): void; + registerTargetWithMaintenanceWindow( + args: RegisterTargetWithMaintenanceWindowCommandInput, + options?: __HttpHandlerOptions + ): Promise; + registerTargetWithMaintenanceWindow( + args: RegisterTargetWithMaintenanceWindowCommandInput, + cb: ( + err: any, + data?: RegisterTargetWithMaintenanceWindowCommandOutput + ) => void + ): void; + registerTargetWithMaintenanceWindow( + args: RegisterTargetWithMaintenanceWindowCommandInput, + options: __HttpHandlerOptions, + cb: ( + err: any, + data?: RegisterTargetWithMaintenanceWindowCommandOutput + ) => void + ): void; + registerTaskWithMaintenanceWindow( + args: RegisterTaskWithMaintenanceWindowCommandInput, + options?: __HttpHandlerOptions + ): Promise; + registerTaskWithMaintenanceWindow( + args: RegisterTaskWithMaintenanceWindowCommandInput, + cb: ( + err: any, + data?: RegisterTaskWithMaintenanceWindowCommandOutput + ) => void + ): void; + registerTaskWithMaintenanceWindow( + args: RegisterTaskWithMaintenanceWindowCommandInput, + options: __HttpHandlerOptions, + cb: ( + err: any, + data?: RegisterTaskWithMaintenanceWindowCommandOutput + ) => void + ): void; + removeTagsFromResource( + args: RemoveTagsFromResourceCommandInput, + options?: __HttpHandlerOptions + ): Promise; + removeTagsFromResource( + args: RemoveTagsFromResourceCommandInput, + cb: (err: any, data?: RemoveTagsFromResourceCommandOutput) => void + ): void; + removeTagsFromResource( + args: RemoveTagsFromResourceCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: RemoveTagsFromResourceCommandOutput) => void + ): void; + resetServiceSetting( + args: ResetServiceSettingCommandInput, + options?: __HttpHandlerOptions + ): Promise; + resetServiceSetting( + args: ResetServiceSettingCommandInput, + cb: (err: any, data?: ResetServiceSettingCommandOutput) => void + ): void; + resetServiceSetting( + args: ResetServiceSettingCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: ResetServiceSettingCommandOutput) => void + ): void; + resumeSession( + args: ResumeSessionCommandInput, + options?: __HttpHandlerOptions + ): Promise; + resumeSession( + args: ResumeSessionCommandInput, + cb: (err: any, data?: ResumeSessionCommandOutput) => void + ): void; + resumeSession( + args: ResumeSessionCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: ResumeSessionCommandOutput) => void + ): void; + sendAutomationSignal( + args: SendAutomationSignalCommandInput, + options?: __HttpHandlerOptions + ): Promise; + sendAutomationSignal( + args: SendAutomationSignalCommandInput, + cb: (err: any, data?: SendAutomationSignalCommandOutput) => void + ): void; + sendAutomationSignal( + args: SendAutomationSignalCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: SendAutomationSignalCommandOutput) => void + ): void; + sendCommand( + args: SendCommandCommandInput, + options?: __HttpHandlerOptions + ): Promise; + sendCommand( + args: SendCommandCommandInput, + cb: (err: any, data?: SendCommandCommandOutput) => void + ): void; + sendCommand( + args: SendCommandCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: SendCommandCommandOutput) => void + ): void; + startAssociationsOnce( + args: StartAssociationsOnceCommandInput, + options?: __HttpHandlerOptions + ): Promise; + startAssociationsOnce( + args: StartAssociationsOnceCommandInput, + cb: (err: any, data?: StartAssociationsOnceCommandOutput) => void + ): void; + startAssociationsOnce( + args: StartAssociationsOnceCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: StartAssociationsOnceCommandOutput) => void + ): void; + startAutomationExecution( + args: StartAutomationExecutionCommandInput, + options?: __HttpHandlerOptions + ): Promise; + startAutomationExecution( + args: StartAutomationExecutionCommandInput, + cb: (err: any, data?: StartAutomationExecutionCommandOutput) => void + ): void; + startAutomationExecution( + args: StartAutomationExecutionCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: StartAutomationExecutionCommandOutput) => void + ): void; + startChangeRequestExecution( + args: StartChangeRequestExecutionCommandInput, + options?: __HttpHandlerOptions + ): Promise; + startChangeRequestExecution( + args: StartChangeRequestExecutionCommandInput, + cb: (err: any, data?: StartChangeRequestExecutionCommandOutput) => void + ): void; + startChangeRequestExecution( + args: StartChangeRequestExecutionCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: StartChangeRequestExecutionCommandOutput) => void + ): void; + startSession( + args: StartSessionCommandInput, + options?: __HttpHandlerOptions + ): Promise; + startSession( + args: StartSessionCommandInput, + cb: (err: any, data?: StartSessionCommandOutput) => void + ): void; + startSession( + args: StartSessionCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: StartSessionCommandOutput) => void + ): void; + stopAutomationExecution( + args: StopAutomationExecutionCommandInput, + options?: __HttpHandlerOptions + ): Promise; + stopAutomationExecution( + args: StopAutomationExecutionCommandInput, + cb: (err: any, data?: StopAutomationExecutionCommandOutput) => void + ): void; + stopAutomationExecution( + args: StopAutomationExecutionCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: StopAutomationExecutionCommandOutput) => void + ): void; + terminateSession( + args: TerminateSessionCommandInput, + options?: __HttpHandlerOptions + ): Promise; + terminateSession( + args: TerminateSessionCommandInput, + cb: (err: any, data?: TerminateSessionCommandOutput) => void + ): void; + terminateSession( + args: TerminateSessionCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: TerminateSessionCommandOutput) => void + ): void; + unlabelParameterVersion( + args: UnlabelParameterVersionCommandInput, + options?: __HttpHandlerOptions + ): Promise; + unlabelParameterVersion( + args: UnlabelParameterVersionCommandInput, + cb: (err: any, data?: UnlabelParameterVersionCommandOutput) => void + ): void; + unlabelParameterVersion( + args: UnlabelParameterVersionCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: UnlabelParameterVersionCommandOutput) => void + ): void; + updateAssociation( + args: UpdateAssociationCommandInput, + options?: __HttpHandlerOptions + ): Promise; + updateAssociation( + args: UpdateAssociationCommandInput, + cb: (err: any, data?: UpdateAssociationCommandOutput) => void + ): void; + updateAssociation( + args: UpdateAssociationCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: UpdateAssociationCommandOutput) => void + ): void; + updateAssociationStatus( + args: UpdateAssociationStatusCommandInput, + options?: __HttpHandlerOptions + ): Promise; + updateAssociationStatus( + args: UpdateAssociationStatusCommandInput, + cb: (err: any, data?: UpdateAssociationStatusCommandOutput) => void + ): void; + updateAssociationStatus( + args: UpdateAssociationStatusCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: UpdateAssociationStatusCommandOutput) => void + ): void; + updateDocument( + args: UpdateDocumentCommandInput, + options?: __HttpHandlerOptions + ): Promise; + updateDocument( + args: UpdateDocumentCommandInput, + cb: (err: any, data?: UpdateDocumentCommandOutput) => void + ): void; + updateDocument( + args: UpdateDocumentCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: UpdateDocumentCommandOutput) => void + ): void; + updateDocumentDefaultVersion( + args: UpdateDocumentDefaultVersionCommandInput, + options?: __HttpHandlerOptions + ): Promise; + updateDocumentDefaultVersion( + args: UpdateDocumentDefaultVersionCommandInput, + cb: (err: any, data?: UpdateDocumentDefaultVersionCommandOutput) => void + ): void; + updateDocumentDefaultVersion( + args: UpdateDocumentDefaultVersionCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: UpdateDocumentDefaultVersionCommandOutput) => void + ): void; + updateDocumentMetadata( + args: UpdateDocumentMetadataCommandInput, + options?: __HttpHandlerOptions + ): Promise; + updateDocumentMetadata( + args: UpdateDocumentMetadataCommandInput, + cb: (err: any, data?: UpdateDocumentMetadataCommandOutput) => void + ): void; + updateDocumentMetadata( + args: UpdateDocumentMetadataCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: UpdateDocumentMetadataCommandOutput) => void + ): void; + updateMaintenanceWindow( + args: UpdateMaintenanceWindowCommandInput, + options?: __HttpHandlerOptions + ): Promise; + updateMaintenanceWindow( + args: UpdateMaintenanceWindowCommandInput, + cb: (err: any, data?: UpdateMaintenanceWindowCommandOutput) => void + ): void; + updateMaintenanceWindow( + args: UpdateMaintenanceWindowCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: UpdateMaintenanceWindowCommandOutput) => void + ): void; + updateMaintenanceWindowTarget( + args: UpdateMaintenanceWindowTargetCommandInput, + options?: __HttpHandlerOptions + ): Promise; + updateMaintenanceWindowTarget( + args: UpdateMaintenanceWindowTargetCommandInput, + cb: (err: any, data?: UpdateMaintenanceWindowTargetCommandOutput) => void + ): void; + updateMaintenanceWindowTarget( + args: UpdateMaintenanceWindowTargetCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: UpdateMaintenanceWindowTargetCommandOutput) => void + ): void; + updateMaintenanceWindowTask( + args: UpdateMaintenanceWindowTaskCommandInput, + options?: __HttpHandlerOptions + ): Promise; + updateMaintenanceWindowTask( + args: UpdateMaintenanceWindowTaskCommandInput, + cb: (err: any, data?: UpdateMaintenanceWindowTaskCommandOutput) => void + ): void; + updateMaintenanceWindowTask( + args: UpdateMaintenanceWindowTaskCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: UpdateMaintenanceWindowTaskCommandOutput) => void + ): void; + updateManagedInstanceRole( + args: UpdateManagedInstanceRoleCommandInput, + options?: __HttpHandlerOptions + ): Promise; + updateManagedInstanceRole( + args: UpdateManagedInstanceRoleCommandInput, + cb: (err: any, data?: UpdateManagedInstanceRoleCommandOutput) => void + ): void; + updateManagedInstanceRole( + args: UpdateManagedInstanceRoleCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: UpdateManagedInstanceRoleCommandOutput) => void + ): void; + updateOpsItem( + args: UpdateOpsItemCommandInput, + options?: __HttpHandlerOptions + ): Promise; + updateOpsItem( + args: UpdateOpsItemCommandInput, + cb: (err: any, data?: UpdateOpsItemCommandOutput) => void + ): void; + updateOpsItem( + args: UpdateOpsItemCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: UpdateOpsItemCommandOutput) => void + ): void; + updateOpsMetadata( + args: UpdateOpsMetadataCommandInput, + options?: __HttpHandlerOptions + ): Promise; + updateOpsMetadata( + args: UpdateOpsMetadataCommandInput, + cb: (err: any, data?: UpdateOpsMetadataCommandOutput) => void + ): void; + updateOpsMetadata( + args: UpdateOpsMetadataCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: UpdateOpsMetadataCommandOutput) => void + ): void; + updatePatchBaseline( + args: UpdatePatchBaselineCommandInput, + options?: __HttpHandlerOptions + ): Promise; + updatePatchBaseline( + args: UpdatePatchBaselineCommandInput, + cb: (err: any, data?: UpdatePatchBaselineCommandOutput) => void + ): void; + updatePatchBaseline( + args: UpdatePatchBaselineCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: UpdatePatchBaselineCommandOutput) => void + ): void; + updateResourceDataSync( + args: UpdateResourceDataSyncCommandInput, + options?: __HttpHandlerOptions + ): Promise; + updateResourceDataSync( + args: UpdateResourceDataSyncCommandInput, + cb: (err: any, data?: UpdateResourceDataSyncCommandOutput) => void + ): void; + updateResourceDataSync( + args: UpdateResourceDataSyncCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: UpdateResourceDataSyncCommandOutput) => void + ): void; + updateServiceSetting( + args: UpdateServiceSettingCommandInput, + options?: __HttpHandlerOptions + ): Promise; + updateServiceSetting( + args: UpdateServiceSettingCommandInput, + cb: (err: any, data?: UpdateServiceSettingCommandOutput) => void + ): void; + updateServiceSetting( + args: UpdateServiceSettingCommandInput, + options: __HttpHandlerOptions, + cb: (err: any, data?: UpdateServiceSettingCommandOutput) => void + ): void; +} +export declare class SSM extends SSMClient implements SSM {} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/SSMClient.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/SSMClient.d.ts new file mode 100644 index 00000000..bdea5e9b --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/SSMClient.d.ts @@ -0,0 +1,949 @@ +import { + HostHeaderInputConfig, + HostHeaderResolvedConfig, +} from "@aws-sdk/middleware-host-header"; +import { + AwsAuthInputConfig, + AwsAuthResolvedConfig, +} from "@aws-sdk/middleware-signing"; +import { + UserAgentInputConfig, + UserAgentResolvedConfig, +} from "@aws-sdk/middleware-user-agent"; +import { Credentials as __Credentials } from "@aws-sdk/types"; +import { + RegionInputConfig, + RegionResolvedConfig, +} from "@smithy/config-resolver"; +import { + EndpointInputConfig, + EndpointResolvedConfig, +} from "@smithy/middleware-endpoint"; +import { + RetryInputConfig, + RetryResolvedConfig, +} from "@smithy/middleware-retry"; +import { HttpHandler as __HttpHandler } from "@smithy/protocol-http"; +import { + Client as __Client, + DefaultsMode as __DefaultsMode, + SmithyConfiguration as __SmithyConfiguration, + SmithyResolvedConfiguration as __SmithyResolvedConfiguration, +} from "@smithy/smithy-client"; +import { + BodyLengthCalculator as __BodyLengthCalculator, + CheckOptionalClientConfig as __CheckOptionalClientConfig, + ChecksumConstructor as __ChecksumConstructor, + Decoder as __Decoder, + Encoder as __Encoder, + HashConstructor as __HashConstructor, + HttpHandlerOptions as __HttpHandlerOptions, + Logger as __Logger, + Provider as __Provider, + Provider, + StreamCollector as __StreamCollector, + UrlParser as __UrlParser, + UserAgent as __UserAgent, +} from "@smithy/types"; +import { + AddTagsToResourceCommandInput, + AddTagsToResourceCommandOutput, +} from "./commands/AddTagsToResourceCommand"; +import { + AssociateOpsItemRelatedItemCommandInput, + AssociateOpsItemRelatedItemCommandOutput, +} from "./commands/AssociateOpsItemRelatedItemCommand"; +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 { + CreateOpsMetadataCommandInput, + CreateOpsMetadataCommandOutput, +} from "./commands/CreateOpsMetadataCommand"; +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 { + DeleteOpsItemCommandInput, + DeleteOpsItemCommandOutput, +} from "./commands/DeleteOpsItemCommand"; +import { + DeleteOpsMetadataCommandInput, + DeleteOpsMetadataCommandOutput, +} from "./commands/DeleteOpsMetadataCommand"; +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 { + DeleteResourcePolicyCommandInput, + DeleteResourcePolicyCommandOutput, +} from "./commands/DeleteResourcePolicyCommand"; +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 { + DescribeAssociationExecutionsCommandInput, + DescribeAssociationExecutionsCommandOutput, +} from "./commands/DescribeAssociationExecutionsCommand"; +import { + DescribeAssociationExecutionTargetsCommandInput, + DescribeAssociationExecutionTargetsCommandOutput, +} from "./commands/DescribeAssociationExecutionTargetsCommand"; +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 { + DescribeInstancePatchesCommandInput, + DescribeInstancePatchesCommandOutput, +} from "./commands/DescribeInstancePatchesCommand"; +import { + DescribeInstancePatchStatesCommandInput, + DescribeInstancePatchStatesCommandOutput, +} from "./commands/DescribeInstancePatchStatesCommand"; +import { + DescribeInstancePatchStatesForPatchGroupCommandInput, + DescribeInstancePatchStatesForPatchGroupCommandOutput, +} from "./commands/DescribeInstancePatchStatesForPatchGroupCommand"; +import { + DescribeInventoryDeletionsCommandInput, + DescribeInventoryDeletionsCommandOutput, +} from "./commands/DescribeInventoryDeletionsCommand"; +import { + DescribeMaintenanceWindowExecutionsCommandInput, + DescribeMaintenanceWindowExecutionsCommandOutput, +} from "./commands/DescribeMaintenanceWindowExecutionsCommand"; +import { + DescribeMaintenanceWindowExecutionTaskInvocationsCommandInput, + DescribeMaintenanceWindowExecutionTaskInvocationsCommandOutput, +} from "./commands/DescribeMaintenanceWindowExecutionTaskInvocationsCommand"; +import { + DescribeMaintenanceWindowExecutionTasksCommandInput, + DescribeMaintenanceWindowExecutionTasksCommandOutput, +} from "./commands/DescribeMaintenanceWindowExecutionTasksCommand"; +import { + DescribeMaintenanceWindowScheduleCommandInput, + DescribeMaintenanceWindowScheduleCommandOutput, +} from "./commands/DescribeMaintenanceWindowScheduleCommand"; +import { + DescribeMaintenanceWindowsCommandInput, + DescribeMaintenanceWindowsCommandOutput, +} from "./commands/DescribeMaintenanceWindowsCommand"; +import { + DescribeMaintenanceWindowsForTargetCommandInput, + DescribeMaintenanceWindowsForTargetCommandOutput, +} from "./commands/DescribeMaintenanceWindowsForTargetCommand"; +import { + DescribeMaintenanceWindowTargetsCommandInput, + DescribeMaintenanceWindowTargetsCommandOutput, +} from "./commands/DescribeMaintenanceWindowTargetsCommand"; +import { + DescribeMaintenanceWindowTasksCommandInput, + DescribeMaintenanceWindowTasksCommandOutput, +} from "./commands/DescribeMaintenanceWindowTasksCommand"; +import { + DescribeOpsItemsCommandInput, + DescribeOpsItemsCommandOutput, +} from "./commands/DescribeOpsItemsCommand"; +import { + DescribeParametersCommandInput, + DescribeParametersCommandOutput, +} from "./commands/DescribeParametersCommand"; +import { + DescribePatchBaselinesCommandInput, + DescribePatchBaselinesCommandOutput, +} from "./commands/DescribePatchBaselinesCommand"; +import { + DescribePatchGroupsCommandInput, + DescribePatchGroupsCommandOutput, +} from "./commands/DescribePatchGroupsCommand"; +import { + DescribePatchGroupStateCommandInput, + DescribePatchGroupStateCommandOutput, +} from "./commands/DescribePatchGroupStateCommand"; +import { + DescribePatchPropertiesCommandInput, + DescribePatchPropertiesCommandOutput, +} from "./commands/DescribePatchPropertiesCommand"; +import { + DescribeSessionsCommandInput, + DescribeSessionsCommandOutput, +} from "./commands/DescribeSessionsCommand"; +import { + DisassociateOpsItemRelatedItemCommandInput, + DisassociateOpsItemRelatedItemCommandOutput, +} from "./commands/DisassociateOpsItemRelatedItemCommand"; +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 { + GetOpsMetadataCommandInput, + GetOpsMetadataCommandOutput, +} from "./commands/GetOpsMetadataCommand"; +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 { + GetResourcePoliciesCommandInput, + GetResourcePoliciesCommandOutput, +} from "./commands/GetResourcePoliciesCommand"; +import { + GetServiceSettingCommandInput, + GetServiceSettingCommandOutput, +} from "./commands/GetServiceSettingCommand"; +import { + LabelParameterVersionCommandInput, + LabelParameterVersionCommandOutput, +} from "./commands/LabelParameterVersionCommand"; +import { + ListAssociationsCommandInput, + ListAssociationsCommandOutput, +} from "./commands/ListAssociationsCommand"; +import { + ListAssociationVersionsCommandInput, + ListAssociationVersionsCommandOutput, +} from "./commands/ListAssociationVersionsCommand"; +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 { + ListDocumentMetadataHistoryCommandInput, + ListDocumentMetadataHistoryCommandOutput, +} from "./commands/ListDocumentMetadataHistoryCommand"; +import { + ListDocumentsCommandInput, + ListDocumentsCommandOutput, +} from "./commands/ListDocumentsCommand"; +import { + ListDocumentVersionsCommandInput, + ListDocumentVersionsCommandOutput, +} from "./commands/ListDocumentVersionsCommand"; +import { + ListInventoryEntriesCommandInput, + ListInventoryEntriesCommandOutput, +} from "./commands/ListInventoryEntriesCommand"; +import { + ListOpsItemEventsCommandInput, + ListOpsItemEventsCommandOutput, +} from "./commands/ListOpsItemEventsCommand"; +import { + ListOpsItemRelatedItemsCommandInput, + ListOpsItemRelatedItemsCommandOutput, +} from "./commands/ListOpsItemRelatedItemsCommand"; +import { + ListOpsMetadataCommandInput, + ListOpsMetadataCommandOutput, +} from "./commands/ListOpsMetadataCommand"; +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 { + PutResourcePolicyCommandInput, + PutResourcePolicyCommandOutput, +} from "./commands/PutResourcePolicyCommand"; +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 { + StartChangeRequestExecutionCommandInput, + StartChangeRequestExecutionCommandOutput, +} from "./commands/StartChangeRequestExecutionCommand"; +import { + StartSessionCommandInput, + StartSessionCommandOutput, +} from "./commands/StartSessionCommand"; +import { + StopAutomationExecutionCommandInput, + StopAutomationExecutionCommandOutput, +} from "./commands/StopAutomationExecutionCommand"; +import { + TerminateSessionCommandInput, + TerminateSessionCommandOutput, +} from "./commands/TerminateSessionCommand"; +import { + UnlabelParameterVersionCommandInput, + UnlabelParameterVersionCommandOutput, +} from "./commands/UnlabelParameterVersionCommand"; +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 { + UpdateDocumentMetadataCommandInput, + UpdateDocumentMetadataCommandOutput, +} from "./commands/UpdateDocumentMetadataCommand"; +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 { + UpdateOpsMetadataCommandInput, + UpdateOpsMetadataCommandOutput, +} from "./commands/UpdateOpsMetadataCommand"; +import { + UpdatePatchBaselineCommandInput, + UpdatePatchBaselineCommandOutput, +} from "./commands/UpdatePatchBaselineCommand"; +import { + UpdateResourceDataSyncCommandInput, + UpdateResourceDataSyncCommandOutput, +} from "./commands/UpdateResourceDataSyncCommand"; +import { + UpdateServiceSettingCommandInput, + UpdateServiceSettingCommandOutput, +} from "./commands/UpdateServiceSettingCommand"; +import { + ClientInputEndpointParameters, + ClientResolvedEndpointParameters, + EndpointParameters, +} from "./endpoint/EndpointParameters"; +import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions"; +export { __Client }; +export type ServiceInputTypes = + | AddTagsToResourceCommandInput + | AssociateOpsItemRelatedItemCommandInput + | CancelCommandCommandInput + | CancelMaintenanceWindowExecutionCommandInput + | CreateActivationCommandInput + | CreateAssociationBatchCommandInput + | CreateAssociationCommandInput + | CreateDocumentCommandInput + | CreateMaintenanceWindowCommandInput + | CreateOpsItemCommandInput + | CreateOpsMetadataCommandInput + | CreatePatchBaselineCommandInput + | CreateResourceDataSyncCommandInput + | DeleteActivationCommandInput + | DeleteAssociationCommandInput + | DeleteDocumentCommandInput + | DeleteInventoryCommandInput + | DeleteMaintenanceWindowCommandInput + | DeleteOpsItemCommandInput + | DeleteOpsMetadataCommandInput + | DeleteParameterCommandInput + | DeleteParametersCommandInput + | DeletePatchBaselineCommandInput + | DeleteResourceDataSyncCommandInput + | DeleteResourcePolicyCommandInput + | DeregisterManagedInstanceCommandInput + | DeregisterPatchBaselineForPatchGroupCommandInput + | DeregisterTargetFromMaintenanceWindowCommandInput + | DeregisterTaskFromMaintenanceWindowCommandInput + | DescribeActivationsCommandInput + | DescribeAssociationCommandInput + | DescribeAssociationExecutionTargetsCommandInput + | DescribeAssociationExecutionsCommandInput + | DescribeAutomationExecutionsCommandInput + | DescribeAutomationStepExecutionsCommandInput + | DescribeAvailablePatchesCommandInput + | DescribeDocumentCommandInput + | DescribeDocumentPermissionCommandInput + | DescribeEffectiveInstanceAssociationsCommandInput + | DescribeEffectivePatchesForPatchBaselineCommandInput + | DescribeInstanceAssociationsStatusCommandInput + | DescribeInstanceInformationCommandInput + | DescribeInstancePatchStatesCommandInput + | DescribeInstancePatchStatesForPatchGroupCommandInput + | DescribeInstancePatchesCommandInput + | DescribeInventoryDeletionsCommandInput + | DescribeMaintenanceWindowExecutionTaskInvocationsCommandInput + | DescribeMaintenanceWindowExecutionTasksCommandInput + | DescribeMaintenanceWindowExecutionsCommandInput + | DescribeMaintenanceWindowScheduleCommandInput + | DescribeMaintenanceWindowTargetsCommandInput + | DescribeMaintenanceWindowTasksCommandInput + | DescribeMaintenanceWindowsCommandInput + | DescribeMaintenanceWindowsForTargetCommandInput + | DescribeOpsItemsCommandInput + | DescribeParametersCommandInput + | DescribePatchBaselinesCommandInput + | DescribePatchGroupStateCommandInput + | DescribePatchGroupsCommandInput + | DescribePatchPropertiesCommandInput + | DescribeSessionsCommandInput + | DisassociateOpsItemRelatedItemCommandInput + | GetAutomationExecutionCommandInput + | GetCalendarStateCommandInput + | GetCommandInvocationCommandInput + | GetConnectionStatusCommandInput + | GetDefaultPatchBaselineCommandInput + | GetDeployablePatchSnapshotForInstanceCommandInput + | GetDocumentCommandInput + | GetInventoryCommandInput + | GetInventorySchemaCommandInput + | GetMaintenanceWindowCommandInput + | GetMaintenanceWindowExecutionCommandInput + | GetMaintenanceWindowExecutionTaskCommandInput + | GetMaintenanceWindowExecutionTaskInvocationCommandInput + | GetMaintenanceWindowTaskCommandInput + | GetOpsItemCommandInput + | GetOpsMetadataCommandInput + | GetOpsSummaryCommandInput + | GetParameterCommandInput + | GetParameterHistoryCommandInput + | GetParametersByPathCommandInput + | GetParametersCommandInput + | GetPatchBaselineCommandInput + | GetPatchBaselineForPatchGroupCommandInput + | GetResourcePoliciesCommandInput + | GetServiceSettingCommandInput + | LabelParameterVersionCommandInput + | ListAssociationVersionsCommandInput + | ListAssociationsCommandInput + | ListCommandInvocationsCommandInput + | ListCommandsCommandInput + | ListComplianceItemsCommandInput + | ListComplianceSummariesCommandInput + | ListDocumentMetadataHistoryCommandInput + | ListDocumentVersionsCommandInput + | ListDocumentsCommandInput + | ListInventoryEntriesCommandInput + | ListOpsItemEventsCommandInput + | ListOpsItemRelatedItemsCommandInput + | ListOpsMetadataCommandInput + | ListResourceComplianceSummariesCommandInput + | ListResourceDataSyncCommandInput + | ListTagsForResourceCommandInput + | ModifyDocumentPermissionCommandInput + | PutComplianceItemsCommandInput + | PutInventoryCommandInput + | PutParameterCommandInput + | PutResourcePolicyCommandInput + | RegisterDefaultPatchBaselineCommandInput + | RegisterPatchBaselineForPatchGroupCommandInput + | RegisterTargetWithMaintenanceWindowCommandInput + | RegisterTaskWithMaintenanceWindowCommandInput + | RemoveTagsFromResourceCommandInput + | ResetServiceSettingCommandInput + | ResumeSessionCommandInput + | SendAutomationSignalCommandInput + | SendCommandCommandInput + | StartAssociationsOnceCommandInput + | StartAutomationExecutionCommandInput + | StartChangeRequestExecutionCommandInput + | StartSessionCommandInput + | StopAutomationExecutionCommandInput + | TerminateSessionCommandInput + | UnlabelParameterVersionCommandInput + | UpdateAssociationCommandInput + | UpdateAssociationStatusCommandInput + | UpdateDocumentCommandInput + | UpdateDocumentDefaultVersionCommandInput + | UpdateDocumentMetadataCommandInput + | UpdateMaintenanceWindowCommandInput + | UpdateMaintenanceWindowTargetCommandInput + | UpdateMaintenanceWindowTaskCommandInput + | UpdateManagedInstanceRoleCommandInput + | UpdateOpsItemCommandInput + | UpdateOpsMetadataCommandInput + | UpdatePatchBaselineCommandInput + | UpdateResourceDataSyncCommandInput + | UpdateServiceSettingCommandInput; +export type ServiceOutputTypes = + | AddTagsToResourceCommandOutput + | AssociateOpsItemRelatedItemCommandOutput + | CancelCommandCommandOutput + | CancelMaintenanceWindowExecutionCommandOutput + | CreateActivationCommandOutput + | CreateAssociationBatchCommandOutput + | CreateAssociationCommandOutput + | CreateDocumentCommandOutput + | CreateMaintenanceWindowCommandOutput + | CreateOpsItemCommandOutput + | CreateOpsMetadataCommandOutput + | CreatePatchBaselineCommandOutput + | CreateResourceDataSyncCommandOutput + | DeleteActivationCommandOutput + | DeleteAssociationCommandOutput + | DeleteDocumentCommandOutput + | DeleteInventoryCommandOutput + | DeleteMaintenanceWindowCommandOutput + | DeleteOpsItemCommandOutput + | DeleteOpsMetadataCommandOutput + | DeleteParameterCommandOutput + | DeleteParametersCommandOutput + | DeletePatchBaselineCommandOutput + | DeleteResourceDataSyncCommandOutput + | DeleteResourcePolicyCommandOutput + | DeregisterManagedInstanceCommandOutput + | DeregisterPatchBaselineForPatchGroupCommandOutput + | DeregisterTargetFromMaintenanceWindowCommandOutput + | DeregisterTaskFromMaintenanceWindowCommandOutput + | DescribeActivationsCommandOutput + | DescribeAssociationCommandOutput + | DescribeAssociationExecutionTargetsCommandOutput + | DescribeAssociationExecutionsCommandOutput + | DescribeAutomationExecutionsCommandOutput + | DescribeAutomationStepExecutionsCommandOutput + | DescribeAvailablePatchesCommandOutput + | DescribeDocumentCommandOutput + | DescribeDocumentPermissionCommandOutput + | DescribeEffectiveInstanceAssociationsCommandOutput + | DescribeEffectivePatchesForPatchBaselineCommandOutput + | DescribeInstanceAssociationsStatusCommandOutput + | DescribeInstanceInformationCommandOutput + | DescribeInstancePatchStatesCommandOutput + | DescribeInstancePatchStatesForPatchGroupCommandOutput + | DescribeInstancePatchesCommandOutput + | DescribeInventoryDeletionsCommandOutput + | DescribeMaintenanceWindowExecutionTaskInvocationsCommandOutput + | DescribeMaintenanceWindowExecutionTasksCommandOutput + | DescribeMaintenanceWindowExecutionsCommandOutput + | DescribeMaintenanceWindowScheduleCommandOutput + | DescribeMaintenanceWindowTargetsCommandOutput + | DescribeMaintenanceWindowTasksCommandOutput + | DescribeMaintenanceWindowsCommandOutput + | DescribeMaintenanceWindowsForTargetCommandOutput + | DescribeOpsItemsCommandOutput + | DescribeParametersCommandOutput + | DescribePatchBaselinesCommandOutput + | DescribePatchGroupStateCommandOutput + | DescribePatchGroupsCommandOutput + | DescribePatchPropertiesCommandOutput + | DescribeSessionsCommandOutput + | DisassociateOpsItemRelatedItemCommandOutput + | GetAutomationExecutionCommandOutput + | GetCalendarStateCommandOutput + | GetCommandInvocationCommandOutput + | GetConnectionStatusCommandOutput + | GetDefaultPatchBaselineCommandOutput + | GetDeployablePatchSnapshotForInstanceCommandOutput + | GetDocumentCommandOutput + | GetInventoryCommandOutput + | GetInventorySchemaCommandOutput + | GetMaintenanceWindowCommandOutput + | GetMaintenanceWindowExecutionCommandOutput + | GetMaintenanceWindowExecutionTaskCommandOutput + | GetMaintenanceWindowExecutionTaskInvocationCommandOutput + | GetMaintenanceWindowTaskCommandOutput + | GetOpsItemCommandOutput + | GetOpsMetadataCommandOutput + | GetOpsSummaryCommandOutput + | GetParameterCommandOutput + | GetParameterHistoryCommandOutput + | GetParametersByPathCommandOutput + | GetParametersCommandOutput + | GetPatchBaselineCommandOutput + | GetPatchBaselineForPatchGroupCommandOutput + | GetResourcePoliciesCommandOutput + | GetServiceSettingCommandOutput + | LabelParameterVersionCommandOutput + | ListAssociationVersionsCommandOutput + | ListAssociationsCommandOutput + | ListCommandInvocationsCommandOutput + | ListCommandsCommandOutput + | ListComplianceItemsCommandOutput + | ListComplianceSummariesCommandOutput + | ListDocumentMetadataHistoryCommandOutput + | ListDocumentVersionsCommandOutput + | ListDocumentsCommandOutput + | ListInventoryEntriesCommandOutput + | ListOpsItemEventsCommandOutput + | ListOpsItemRelatedItemsCommandOutput + | ListOpsMetadataCommandOutput + | ListResourceComplianceSummariesCommandOutput + | ListResourceDataSyncCommandOutput + | ListTagsForResourceCommandOutput + | ModifyDocumentPermissionCommandOutput + | PutComplianceItemsCommandOutput + | PutInventoryCommandOutput + | PutParameterCommandOutput + | PutResourcePolicyCommandOutput + | RegisterDefaultPatchBaselineCommandOutput + | RegisterPatchBaselineForPatchGroupCommandOutput + | RegisterTargetWithMaintenanceWindowCommandOutput + | RegisterTaskWithMaintenanceWindowCommandOutput + | RemoveTagsFromResourceCommandOutput + | ResetServiceSettingCommandOutput + | ResumeSessionCommandOutput + | SendAutomationSignalCommandOutput + | SendCommandCommandOutput + | StartAssociationsOnceCommandOutput + | StartAutomationExecutionCommandOutput + | StartChangeRequestExecutionCommandOutput + | StartSessionCommandOutput + | StopAutomationExecutionCommandOutput + | TerminateSessionCommandOutput + | UnlabelParameterVersionCommandOutput + | UpdateAssociationCommandOutput + | UpdateAssociationStatusCommandOutput + | UpdateDocumentCommandOutput + | UpdateDocumentDefaultVersionCommandOutput + | UpdateDocumentMetadataCommandOutput + | UpdateMaintenanceWindowCommandOutput + | UpdateMaintenanceWindowTargetCommandOutput + | UpdateMaintenanceWindowTaskCommandOutput + | UpdateManagedInstanceRoleCommandOutput + | UpdateOpsItemCommandOutput + | UpdateOpsMetadataCommandOutput + | UpdatePatchBaselineCommandOutput + | UpdateResourceDataSyncCommandOutput + | UpdateServiceSettingCommandOutput; +export interface ClientDefaults + extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> { + requestHandler?: __HttpHandler; + sha256?: __ChecksumConstructor | __HashConstructor; + urlParser?: __UrlParser; + bodyLengthChecker?: __BodyLengthCalculator; + streamCollector?: __StreamCollector; + base64Decoder?: __Decoder; + base64Encoder?: __Encoder; + utf8Decoder?: __Decoder; + utf8Encoder?: __Encoder; + runtime?: string; + disableHostPrefix?: boolean; + serviceId?: string; + useDualstackEndpoint?: boolean | __Provider; + useFipsEndpoint?: boolean | __Provider; + region?: string | __Provider; + credentialDefaultProvider?: (input: any) => __Provider<__Credentials>; + defaultUserAgentProvider?: Provider<__UserAgent>; + maxAttempts?: number | __Provider; + retryMode?: string | __Provider; + logger?: __Logger; + extensions?: RuntimeExtension[]; + defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>; +} +export type SSMClientConfigType = Partial< + __SmithyConfiguration<__HttpHandlerOptions> +> & + ClientDefaults & + RegionInputConfig & + EndpointInputConfig & + RetryInputConfig & + HostHeaderInputConfig & + AwsAuthInputConfig & + UserAgentInputConfig & + ClientInputEndpointParameters; +export interface SSMClientConfig extends SSMClientConfigType {} +export type SSMClientResolvedConfigType = + __SmithyResolvedConfiguration<__HttpHandlerOptions> & + Required & + RuntimeExtensionsConfig & + RegionResolvedConfig & + EndpointResolvedConfig & + RetryResolvedConfig & + HostHeaderResolvedConfig & + AwsAuthResolvedConfig & + UserAgentResolvedConfig & + ClientResolvedEndpointParameters; +export interface SSMClientResolvedConfig extends SSMClientResolvedConfigType {} +export declare class SSMClient extends __Client< + __HttpHandlerOptions, + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig +> { + readonly config: SSMClientResolvedConfig; + constructor(...[configuration]: __CheckOptionalClientConfig); + destroy(): void; +} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/ListLayerVersionsCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/AddTagsToResourceCommand.d.ts similarity index 51% rename from node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/ListLayerVersionsCommand.d.ts rename to node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/AddTagsToResourceCommand.d.ts index 2c86abeb..14632859 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/ListLayerVersionsCommand.d.ts +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/AddTagsToResourceCommand.d.ts @@ -7,33 +7,33 @@ import { MiddlewareStack, } from "@smithy/types"; import { - LambdaClientResolvedConfig, + AddTagsToResourceRequest, + AddTagsToResourceResult, +} from "../models/models_0"; +import { ServiceInputTypes, ServiceOutputTypes, -} from "../LambdaClient"; -import { - ListLayerVersionsRequest, - ListLayerVersionsResponse, -} from "../models/models_0"; + SSMClientResolvedConfig, +} from "../SSMClient"; export { __MetadataBearer, $Command }; -export interface ListLayerVersionsCommandInput - extends ListLayerVersionsRequest {} -export interface ListLayerVersionsCommandOutput - extends ListLayerVersionsResponse, +export interface AddTagsToResourceCommandInput + extends AddTagsToResourceRequest {} +export interface AddTagsToResourceCommandOutput + extends AddTagsToResourceResult, __MetadataBearer {} -export declare class ListLayerVersionsCommand extends $Command< - ListLayerVersionsCommandInput, - ListLayerVersionsCommandOutput, - LambdaClientResolvedConfig +export declare class AddTagsToResourceCommand extends $Command< + AddTagsToResourceCommandInput, + AddTagsToResourceCommandOutput, + SSMClientResolvedConfig > { - readonly input: ListLayerVersionsCommandInput; + readonly input: AddTagsToResourceCommandInput; static getEndpointParameterInstructions(): EndpointParameterInstructions; - constructor(input: ListLayerVersionsCommandInput); + constructor(input: AddTagsToResourceCommandInput); resolveMiddleware( clientStack: MiddlewareStack, - configuration: LambdaClientResolvedConfig, + configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions - ): Handler; + ): Handler; private serialize; private deserialize; } diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/AssociateOpsItemRelatedItemCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/AssociateOpsItemRelatedItemCommand.d.ts new file mode 100644 index 00000000..cb82453d --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/AssociateOpsItemRelatedItemCommand.d.ts @@ -0,0 +1,42 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + AssociateOpsItemRelatedItemRequest, + AssociateOpsItemRelatedItemResponse, +} from "../models/models_0"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface AssociateOpsItemRelatedItemCommandInput + extends AssociateOpsItemRelatedItemRequest {} +export interface AssociateOpsItemRelatedItemCommandOutput + extends AssociateOpsItemRelatedItemResponse, + __MetadataBearer {} +export declare class AssociateOpsItemRelatedItemCommand extends $Command< + AssociateOpsItemRelatedItemCommandInput, + AssociateOpsItemRelatedItemCommandOutput, + SSMClientResolvedConfig +> { + readonly input: AssociateOpsItemRelatedItemCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: AssociateOpsItemRelatedItemCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler< + AssociateOpsItemRelatedItemCommandInput, + AssociateOpsItemRelatedItemCommandOutput + >; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/CancelCommandCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/CancelCommandCommand.d.ts new file mode 100644 index 00000000..5e1bc5e7 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/CancelCommandCommand.d.ts @@ -0,0 +1,35 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { CancelCommandRequest, CancelCommandResult } from "../models/models_0"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface CancelCommandCommandInput extends CancelCommandRequest {} +export interface CancelCommandCommandOutput + extends CancelCommandResult, + __MetadataBearer {} +export declare class CancelCommandCommand extends $Command< + CancelCommandCommandInput, + CancelCommandCommandOutput, + SSMClientResolvedConfig +> { + readonly input: CancelCommandCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: CancelCommandCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/CancelMaintenanceWindowExecutionCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/CancelMaintenanceWindowExecutionCommand.d.ts new file mode 100644 index 00000000..b205672f --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/CancelMaintenanceWindowExecutionCommand.d.ts @@ -0,0 +1,42 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + CancelMaintenanceWindowExecutionRequest, + CancelMaintenanceWindowExecutionResult, +} from "../models/models_0"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface CancelMaintenanceWindowExecutionCommandInput + extends CancelMaintenanceWindowExecutionRequest {} +export interface CancelMaintenanceWindowExecutionCommandOutput + extends CancelMaintenanceWindowExecutionResult, + __MetadataBearer {} +export declare class CancelMaintenanceWindowExecutionCommand extends $Command< + CancelMaintenanceWindowExecutionCommandInput, + CancelMaintenanceWindowExecutionCommandOutput, + SSMClientResolvedConfig +> { + readonly input: CancelMaintenanceWindowExecutionCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: CancelMaintenanceWindowExecutionCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler< + CancelMaintenanceWindowExecutionCommandInput, + CancelMaintenanceWindowExecutionCommandOutput + >; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/CreateActivationCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/CreateActivationCommand.d.ts new file mode 100644 index 00000000..25a98e7e --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/CreateActivationCommand.d.ts @@ -0,0 +1,38 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + CreateActivationRequest, + CreateActivationResult, +} from "../models/models_0"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface CreateActivationCommandInput extends CreateActivationRequest {} +export interface CreateActivationCommandOutput + extends CreateActivationResult, + __MetadataBearer {} +export declare class CreateActivationCommand extends $Command< + CreateActivationCommandInput, + CreateActivationCommandOutput, + SSMClientResolvedConfig +> { + readonly input: CreateActivationCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: CreateActivationCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetCodeSigningConfigCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/CreateAssociationBatchCommand.d.ts similarity index 50% rename from node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetCodeSigningConfigCommand.d.ts rename to node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/CreateAssociationBatchCommand.d.ts index a54d0e03..e459ab1b 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetCodeSigningConfigCommand.d.ts +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/CreateAssociationBatchCommand.d.ts @@ -7,35 +7,35 @@ import { MiddlewareStack, } from "@smithy/types"; import { - LambdaClientResolvedConfig, + CreateAssociationBatchRequest, + CreateAssociationBatchResult, +} from "../models/models_0"; +import { ServiceInputTypes, ServiceOutputTypes, -} from "../LambdaClient"; -import { - GetCodeSigningConfigRequest, - GetCodeSigningConfigResponse, -} from "../models/models_0"; + SSMClientResolvedConfig, +} from "../SSMClient"; export { __MetadataBearer, $Command }; -export interface GetCodeSigningConfigCommandInput - extends GetCodeSigningConfigRequest {} -export interface GetCodeSigningConfigCommandOutput - extends GetCodeSigningConfigResponse, +export interface CreateAssociationBatchCommandInput + extends CreateAssociationBatchRequest {} +export interface CreateAssociationBatchCommandOutput + extends CreateAssociationBatchResult, __MetadataBearer {} -export declare class GetCodeSigningConfigCommand extends $Command< - GetCodeSigningConfigCommandInput, - GetCodeSigningConfigCommandOutput, - LambdaClientResolvedConfig +export declare class CreateAssociationBatchCommand extends $Command< + CreateAssociationBatchCommandInput, + CreateAssociationBatchCommandOutput, + SSMClientResolvedConfig > { - readonly input: GetCodeSigningConfigCommandInput; + readonly input: CreateAssociationBatchCommandInput; static getEndpointParameterInstructions(): EndpointParameterInstructions; - constructor(input: GetCodeSigningConfigCommandInput); + constructor(input: CreateAssociationBatchCommandInput); resolveMiddleware( clientStack: MiddlewareStack, - configuration: LambdaClientResolvedConfig, + configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler< - GetCodeSigningConfigCommandInput, - GetCodeSigningConfigCommandOutput + CreateAssociationBatchCommandInput, + CreateAssociationBatchCommandOutput >; private serialize; private deserialize; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/CreateAssociationCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/CreateAssociationCommand.d.ts new file mode 100644 index 00000000..c9e3f01e --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/CreateAssociationCommand.d.ts @@ -0,0 +1,39 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + CreateAssociationRequest, + CreateAssociationResult, +} from "../models/models_0"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface CreateAssociationCommandInput + extends CreateAssociationRequest {} +export interface CreateAssociationCommandOutput + extends CreateAssociationResult, + __MetadataBearer {} +export declare class CreateAssociationCommand extends $Command< + CreateAssociationCommandInput, + CreateAssociationCommandOutput, + SSMClientResolvedConfig +> { + readonly input: CreateAssociationCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: CreateAssociationCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/CreateFunctionCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/CreateDocumentCommand.d.ts similarity index 53% rename from node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/CreateFunctionCommand.d.ts rename to node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/CreateDocumentCommand.d.ts index fc4c74e2..84466c97 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/CreateFunctionCommand.d.ts +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/CreateDocumentCommand.d.ts @@ -7,32 +7,32 @@ import { MiddlewareStack, } from "@smithy/types"; import { - LambdaClientResolvedConfig, + CreateDocumentRequest, + CreateDocumentResult, +} from "../models/models_0"; +import { ServiceInputTypes, ServiceOutputTypes, -} from "../LambdaClient"; -import { - CreateFunctionRequest, - FunctionConfiguration, -} from "../models/models_0"; + SSMClientResolvedConfig, +} from "../SSMClient"; export { __MetadataBearer, $Command }; -export interface CreateFunctionCommandInput extends CreateFunctionRequest {} -export interface CreateFunctionCommandOutput - extends FunctionConfiguration, +export interface CreateDocumentCommandInput extends CreateDocumentRequest {} +export interface CreateDocumentCommandOutput + extends CreateDocumentResult, __MetadataBearer {} -export declare class CreateFunctionCommand extends $Command< - CreateFunctionCommandInput, - CreateFunctionCommandOutput, - LambdaClientResolvedConfig +export declare class CreateDocumentCommand extends $Command< + CreateDocumentCommandInput, + CreateDocumentCommandOutput, + SSMClientResolvedConfig > { - readonly input: CreateFunctionCommandInput; + readonly input: CreateDocumentCommandInput; static getEndpointParameterInstructions(): EndpointParameterInstructions; - constructor(input: CreateFunctionCommandInput); + constructor(input: CreateDocumentCommandInput); resolveMiddleware( clientStack: MiddlewareStack, - configuration: LambdaClientResolvedConfig, + configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions - ): Handler; + ): Handler; private serialize; private deserialize; } diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/CreateMaintenanceWindowCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/CreateMaintenanceWindowCommand.d.ts new file mode 100644 index 00000000..f4be4fba --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/CreateMaintenanceWindowCommand.d.ts @@ -0,0 +1,42 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + CreateMaintenanceWindowRequest, + CreateMaintenanceWindowResult, +} from "../models/models_0"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface CreateMaintenanceWindowCommandInput + extends CreateMaintenanceWindowRequest {} +export interface CreateMaintenanceWindowCommandOutput + extends CreateMaintenanceWindowResult, + __MetadataBearer {} +export declare class CreateMaintenanceWindowCommand extends $Command< + CreateMaintenanceWindowCommandInput, + CreateMaintenanceWindowCommandOutput, + SSMClientResolvedConfig +> { + readonly input: CreateMaintenanceWindowCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: CreateMaintenanceWindowCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler< + CreateMaintenanceWindowCommandInput, + CreateMaintenanceWindowCommandOutput + >; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/AddPermissionCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/CreateOpsItemCommand.d.ts similarity index 54% rename from node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/AddPermissionCommand.d.ts rename to node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/CreateOpsItemCommand.d.ts index 47d7a980..e2fd9cc2 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/AddPermissionCommand.d.ts +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/CreateOpsItemCommand.d.ts @@ -7,32 +7,32 @@ import { MiddlewareStack, } from "@smithy/types"; import { - LambdaClientResolvedConfig, + CreateOpsItemRequest, + CreateOpsItemResponse, +} from "../models/models_0"; +import { ServiceInputTypes, ServiceOutputTypes, -} from "../LambdaClient"; -import { - AddPermissionRequest, - AddPermissionResponse, -} from "../models/models_0"; + SSMClientResolvedConfig, +} from "../SSMClient"; export { __MetadataBearer, $Command }; -export interface AddPermissionCommandInput extends AddPermissionRequest {} -export interface AddPermissionCommandOutput - extends AddPermissionResponse, +export interface CreateOpsItemCommandInput extends CreateOpsItemRequest {} +export interface CreateOpsItemCommandOutput + extends CreateOpsItemResponse, __MetadataBearer {} -export declare class AddPermissionCommand extends $Command< - AddPermissionCommandInput, - AddPermissionCommandOutput, - LambdaClientResolvedConfig +export declare class CreateOpsItemCommand extends $Command< + CreateOpsItemCommandInput, + CreateOpsItemCommandOutput, + SSMClientResolvedConfig > { - readonly input: AddPermissionCommandInput; + readonly input: CreateOpsItemCommandInput; static getEndpointParameterInstructions(): EndpointParameterInstructions; - constructor(input: AddPermissionCommandInput); + constructor(input: CreateOpsItemCommandInput); resolveMiddleware( clientStack: MiddlewareStack, - configuration: LambdaClientResolvedConfig, + configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions - ): Handler; + ): Handler; private serialize; private deserialize; } diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/CreateOpsMetadataCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/CreateOpsMetadataCommand.d.ts new file mode 100644 index 00000000..ebf46179 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/CreateOpsMetadataCommand.d.ts @@ -0,0 +1,39 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + CreateOpsMetadataRequest, + CreateOpsMetadataResult, +} from "../models/models_0"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface CreateOpsMetadataCommandInput + extends CreateOpsMetadataRequest {} +export interface CreateOpsMetadataCommandOutput + extends CreateOpsMetadataResult, + __MetadataBearer {} +export declare class CreateOpsMetadataCommand extends $Command< + CreateOpsMetadataCommandInput, + CreateOpsMetadataCommandOutput, + SSMClientResolvedConfig +> { + readonly input: CreateOpsMetadataCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: CreateOpsMetadataCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/CreatePatchBaselineCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/CreatePatchBaselineCommand.d.ts new file mode 100644 index 00000000..587b0985 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/CreatePatchBaselineCommand.d.ts @@ -0,0 +1,39 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + CreatePatchBaselineRequest, + CreatePatchBaselineResult, +} from "../models/models_0"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface CreatePatchBaselineCommandInput + extends CreatePatchBaselineRequest {} +export interface CreatePatchBaselineCommandOutput + extends CreatePatchBaselineResult, + __MetadataBearer {} +export declare class CreatePatchBaselineCommand extends $Command< + CreatePatchBaselineCommandInput, + CreatePatchBaselineCommandOutput, + SSMClientResolvedConfig +> { + readonly input: CreatePatchBaselineCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: CreatePatchBaselineCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetFunctionUrlConfigCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/CreateResourceDataSyncCommand.d.ts similarity index 50% rename from node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetFunctionUrlConfigCommand.d.ts rename to node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/CreateResourceDataSyncCommand.d.ts index ecf42508..33cfb0db 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetFunctionUrlConfigCommand.d.ts +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/CreateResourceDataSyncCommand.d.ts @@ -7,35 +7,35 @@ import { MiddlewareStack, } from "@smithy/types"; import { - LambdaClientResolvedConfig, + CreateResourceDataSyncRequest, + CreateResourceDataSyncResult, +} from "../models/models_0"; +import { ServiceInputTypes, ServiceOutputTypes, -} from "../LambdaClient"; -import { - GetFunctionUrlConfigRequest, - GetFunctionUrlConfigResponse, -} from "../models/models_0"; + SSMClientResolvedConfig, +} from "../SSMClient"; export { __MetadataBearer, $Command }; -export interface GetFunctionUrlConfigCommandInput - extends GetFunctionUrlConfigRequest {} -export interface GetFunctionUrlConfigCommandOutput - extends GetFunctionUrlConfigResponse, +export interface CreateResourceDataSyncCommandInput + extends CreateResourceDataSyncRequest {} +export interface CreateResourceDataSyncCommandOutput + extends CreateResourceDataSyncResult, __MetadataBearer {} -export declare class GetFunctionUrlConfigCommand extends $Command< - GetFunctionUrlConfigCommandInput, - GetFunctionUrlConfigCommandOutput, - LambdaClientResolvedConfig +export declare class CreateResourceDataSyncCommand extends $Command< + CreateResourceDataSyncCommandInput, + CreateResourceDataSyncCommandOutput, + SSMClientResolvedConfig > { - readonly input: GetFunctionUrlConfigCommandInput; + readonly input: CreateResourceDataSyncCommandInput; static getEndpointParameterInstructions(): EndpointParameterInstructions; - constructor(input: GetFunctionUrlConfigCommandInput); + constructor(input: CreateResourceDataSyncCommandInput); resolveMiddleware( clientStack: MiddlewareStack, - configuration: LambdaClientResolvedConfig, + configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler< - GetFunctionUrlConfigCommandInput, - GetFunctionUrlConfigCommandOutput + CreateResourceDataSyncCommandInput, + CreateResourceDataSyncCommandOutput >; private serialize; private deserialize; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeleteActivationCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeleteActivationCommand.d.ts new file mode 100644 index 00000000..194cda05 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeleteActivationCommand.d.ts @@ -0,0 +1,38 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + DeleteActivationRequest, + DeleteActivationResult, +} from "../models/models_0"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface DeleteActivationCommandInput extends DeleteActivationRequest {} +export interface DeleteActivationCommandOutput + extends DeleteActivationResult, + __MetadataBearer {} +export declare class DeleteActivationCommand extends $Command< + DeleteActivationCommandInput, + DeleteActivationCommandOutput, + SSMClientResolvedConfig +> { + readonly input: DeleteActivationCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: DeleteActivationCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeleteAssociationCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeleteAssociationCommand.d.ts new file mode 100644 index 00000000..b900d2ed --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeleteAssociationCommand.d.ts @@ -0,0 +1,39 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + DeleteAssociationRequest, + DeleteAssociationResult, +} from "../models/models_0"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface DeleteAssociationCommandInput + extends DeleteAssociationRequest {} +export interface DeleteAssociationCommandOutput + extends DeleteAssociationResult, + __MetadataBearer {} +export declare class DeleteAssociationCommand extends $Command< + DeleteAssociationCommandInput, + DeleteAssociationCommandOutput, + SSMClientResolvedConfig +> { + readonly input: DeleteAssociationCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: DeleteAssociationCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/PublishVersionCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeleteDocumentCommand.d.ts similarity index 53% rename from node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/PublishVersionCommand.d.ts rename to node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeleteDocumentCommand.d.ts index 148d4bd0..40aa6d48 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/PublishVersionCommand.d.ts +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeleteDocumentCommand.d.ts @@ -7,32 +7,32 @@ import { MiddlewareStack, } from "@smithy/types"; import { - LambdaClientResolvedConfig, + DeleteDocumentRequest, + DeleteDocumentResult, +} from "../models/models_0"; +import { ServiceInputTypes, ServiceOutputTypes, -} from "../LambdaClient"; -import { - FunctionConfiguration, - PublishVersionRequest, -} from "../models/models_0"; + SSMClientResolvedConfig, +} from "../SSMClient"; export { __MetadataBearer, $Command }; -export interface PublishVersionCommandInput extends PublishVersionRequest {} -export interface PublishVersionCommandOutput - extends FunctionConfiguration, +export interface DeleteDocumentCommandInput extends DeleteDocumentRequest {} +export interface DeleteDocumentCommandOutput + extends DeleteDocumentResult, __MetadataBearer {} -export declare class PublishVersionCommand extends $Command< - PublishVersionCommandInput, - PublishVersionCommandOutput, - LambdaClientResolvedConfig +export declare class DeleteDocumentCommand extends $Command< + DeleteDocumentCommandInput, + DeleteDocumentCommandOutput, + SSMClientResolvedConfig > { - readonly input: PublishVersionCommandInput; + readonly input: DeleteDocumentCommandInput; static getEndpointParameterInstructions(): EndpointParameterInstructions; - constructor(input: PublishVersionCommandInput); + constructor(input: DeleteDocumentCommandInput); resolveMiddleware( clientStack: MiddlewareStack, - configuration: LambdaClientResolvedConfig, + configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions - ): Handler; + ): Handler; private serialize; private deserialize; } diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetLayerVersionCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeleteInventoryCommand.d.ts similarity index 52% rename from node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetLayerVersionCommand.d.ts rename to node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeleteInventoryCommand.d.ts index 03c0fedb..07cd8a94 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetLayerVersionCommand.d.ts +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeleteInventoryCommand.d.ts @@ -7,32 +7,32 @@ import { MiddlewareStack, } from "@smithy/types"; import { - LambdaClientResolvedConfig, + DeleteInventoryRequest, + DeleteInventoryResult, +} from "../models/models_0"; +import { ServiceInputTypes, ServiceOutputTypes, -} from "../LambdaClient"; -import { - GetLayerVersionRequest, - GetLayerVersionResponse, -} from "../models/models_0"; + SSMClientResolvedConfig, +} from "../SSMClient"; export { __MetadataBearer, $Command }; -export interface GetLayerVersionCommandInput extends GetLayerVersionRequest {} -export interface GetLayerVersionCommandOutput - extends GetLayerVersionResponse, +export interface DeleteInventoryCommandInput extends DeleteInventoryRequest {} +export interface DeleteInventoryCommandOutput + extends DeleteInventoryResult, __MetadataBearer {} -export declare class GetLayerVersionCommand extends $Command< - GetLayerVersionCommandInput, - GetLayerVersionCommandOutput, - LambdaClientResolvedConfig +export declare class DeleteInventoryCommand extends $Command< + DeleteInventoryCommandInput, + DeleteInventoryCommandOutput, + SSMClientResolvedConfig > { - readonly input: GetLayerVersionCommandInput; + readonly input: DeleteInventoryCommandInput; static getEndpointParameterInstructions(): EndpointParameterInstructions; - constructor(input: GetLayerVersionCommandInput); + constructor(input: DeleteInventoryCommandInput); resolveMiddleware( clientStack: MiddlewareStack, - configuration: LambdaClientResolvedConfig, + configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions - ): Handler; + ): Handler; private serialize; private deserialize; } diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeleteMaintenanceWindowCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeleteMaintenanceWindowCommand.d.ts new file mode 100644 index 00000000..3b2f217e --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeleteMaintenanceWindowCommand.d.ts @@ -0,0 +1,42 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + DeleteMaintenanceWindowRequest, + DeleteMaintenanceWindowResult, +} from "../models/models_0"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface DeleteMaintenanceWindowCommandInput + extends DeleteMaintenanceWindowRequest {} +export interface DeleteMaintenanceWindowCommandOutput + extends DeleteMaintenanceWindowResult, + __MetadataBearer {} +export declare class DeleteMaintenanceWindowCommand extends $Command< + DeleteMaintenanceWindowCommandInput, + DeleteMaintenanceWindowCommandOutput, + SSMClientResolvedConfig +> { + readonly input: DeleteMaintenanceWindowCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: DeleteMaintenanceWindowCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler< + DeleteMaintenanceWindowCommandInput, + DeleteMaintenanceWindowCommandOutput + >; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/ListFunctionsCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeleteOpsItemCommand.d.ts similarity index 54% rename from node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/ListFunctionsCommand.d.ts rename to node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeleteOpsItemCommand.d.ts index fc4f5f3e..571b94ed 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/ListFunctionsCommand.d.ts +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeleteOpsItemCommand.d.ts @@ -7,32 +7,32 @@ import { MiddlewareStack, } from "@smithy/types"; import { - LambdaClientResolvedConfig, + DeleteOpsItemRequest, + DeleteOpsItemResponse, +} from "../models/models_0"; +import { ServiceInputTypes, ServiceOutputTypes, -} from "../LambdaClient"; -import { - ListFunctionsRequest, - ListFunctionsResponse, -} from "../models/models_0"; + SSMClientResolvedConfig, +} from "../SSMClient"; export { __MetadataBearer, $Command }; -export interface ListFunctionsCommandInput extends ListFunctionsRequest {} -export interface ListFunctionsCommandOutput - extends ListFunctionsResponse, +export interface DeleteOpsItemCommandInput extends DeleteOpsItemRequest {} +export interface DeleteOpsItemCommandOutput + extends DeleteOpsItemResponse, __MetadataBearer {} -export declare class ListFunctionsCommand extends $Command< - ListFunctionsCommandInput, - ListFunctionsCommandOutput, - LambdaClientResolvedConfig +export declare class DeleteOpsItemCommand extends $Command< + DeleteOpsItemCommandInput, + DeleteOpsItemCommandOutput, + SSMClientResolvedConfig > { - readonly input: ListFunctionsCommandInput; + readonly input: DeleteOpsItemCommandInput; static getEndpointParameterInstructions(): EndpointParameterInstructions; - constructor(input: ListFunctionsCommandInput); + constructor(input: DeleteOpsItemCommandInput); resolveMiddleware( clientStack: MiddlewareStack, - configuration: LambdaClientResolvedConfig, + configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions - ): Handler; + ): Handler; private serialize; private deserialize; } diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeleteOpsMetadataCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeleteOpsMetadataCommand.d.ts new file mode 100644 index 00000000..981cbac3 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeleteOpsMetadataCommand.d.ts @@ -0,0 +1,39 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + DeleteOpsMetadataRequest, + DeleteOpsMetadataResult, +} from "../models/models_0"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface DeleteOpsMetadataCommandInput + extends DeleteOpsMetadataRequest {} +export interface DeleteOpsMetadataCommandOutput + extends DeleteOpsMetadataResult, + __MetadataBearer {} +export declare class DeleteOpsMetadataCommand extends $Command< + DeleteOpsMetadataCommandInput, + DeleteOpsMetadataCommandOutput, + SSMClientResolvedConfig +> { + readonly input: DeleteOpsMetadataCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: DeleteOpsMetadataCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeleteParameterCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeleteParameterCommand.d.ts new file mode 100644 index 00000000..824fd4e0 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeleteParameterCommand.d.ts @@ -0,0 +1,38 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + DeleteParameterRequest, + DeleteParameterResult, +} from "../models/models_0"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface DeleteParameterCommandInput extends DeleteParameterRequest {} +export interface DeleteParameterCommandOutput + extends DeleteParameterResult, + __MetadataBearer {} +export declare class DeleteParameterCommand extends $Command< + DeleteParameterCommandInput, + DeleteParameterCommandOutput, + SSMClientResolvedConfig +> { + readonly input: DeleteParameterCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: DeleteParameterCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeleteParametersCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeleteParametersCommand.d.ts new file mode 100644 index 00000000..4c75b893 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeleteParametersCommand.d.ts @@ -0,0 +1,38 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + DeleteParametersRequest, + DeleteParametersResult, +} from "../models/models_0"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface DeleteParametersCommandInput extends DeleteParametersRequest {} +export interface DeleteParametersCommandOutput + extends DeleteParametersResult, + __MetadataBearer {} +export declare class DeleteParametersCommand extends $Command< + DeleteParametersCommandInput, + DeleteParametersCommandOutput, + SSMClientResolvedConfig +> { + readonly input: DeleteParametersCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: DeleteParametersCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeletePatchBaselineCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeletePatchBaselineCommand.d.ts new file mode 100644 index 00000000..db57435e --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeletePatchBaselineCommand.d.ts @@ -0,0 +1,39 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + DeletePatchBaselineRequest, + DeletePatchBaselineResult, +} from "../models/models_0"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface DeletePatchBaselineCommandInput + extends DeletePatchBaselineRequest {} +export interface DeletePatchBaselineCommandOutput + extends DeletePatchBaselineResult, + __MetadataBearer {} +export declare class DeletePatchBaselineCommand extends $Command< + DeletePatchBaselineCommandInput, + DeletePatchBaselineCommandOutput, + SSMClientResolvedConfig +> { + readonly input: DeletePatchBaselineCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: DeletePatchBaselineCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeleteResourceDataSyncCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeleteResourceDataSyncCommand.d.ts new file mode 100644 index 00000000..019f43c5 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeleteResourceDataSyncCommand.d.ts @@ -0,0 +1,42 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + DeleteResourceDataSyncRequest, + DeleteResourceDataSyncResult, +} from "../models/models_0"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface DeleteResourceDataSyncCommandInput + extends DeleteResourceDataSyncRequest {} +export interface DeleteResourceDataSyncCommandOutput + extends DeleteResourceDataSyncResult, + __MetadataBearer {} +export declare class DeleteResourceDataSyncCommand extends $Command< + DeleteResourceDataSyncCommandInput, + DeleteResourceDataSyncCommandOutput, + SSMClientResolvedConfig +> { + readonly input: DeleteResourceDataSyncCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: DeleteResourceDataSyncCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler< + DeleteResourceDataSyncCommandInput, + DeleteResourceDataSyncCommandOutput + >; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetLayerVersionByArnCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts similarity index 50% rename from node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetLayerVersionByArnCommand.d.ts rename to node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts index 253a8eb4..f13aef82 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetLayerVersionByArnCommand.d.ts +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts @@ -7,35 +7,35 @@ import { MiddlewareStack, } from "@smithy/types"; import { - LambdaClientResolvedConfig, + DeleteResourcePolicyRequest, + DeleteResourcePolicyResponse, +} from "../models/models_0"; +import { ServiceInputTypes, ServiceOutputTypes, -} from "../LambdaClient"; -import { - GetLayerVersionByArnRequest, - GetLayerVersionResponse, -} from "../models/models_0"; + SSMClientResolvedConfig, +} from "../SSMClient"; export { __MetadataBearer, $Command }; -export interface GetLayerVersionByArnCommandInput - extends GetLayerVersionByArnRequest {} -export interface GetLayerVersionByArnCommandOutput - extends GetLayerVersionResponse, +export interface DeleteResourcePolicyCommandInput + extends DeleteResourcePolicyRequest {} +export interface DeleteResourcePolicyCommandOutput + extends DeleteResourcePolicyResponse, __MetadataBearer {} -export declare class GetLayerVersionByArnCommand extends $Command< - GetLayerVersionByArnCommandInput, - GetLayerVersionByArnCommandOutput, - LambdaClientResolvedConfig +export declare class DeleteResourcePolicyCommand extends $Command< + DeleteResourcePolicyCommandInput, + DeleteResourcePolicyCommandOutput, + SSMClientResolvedConfig > { - readonly input: GetLayerVersionByArnCommandInput; + readonly input: DeleteResourcePolicyCommandInput; static getEndpointParameterInstructions(): EndpointParameterInstructions; - constructor(input: GetLayerVersionByArnCommandInput); + constructor(input: DeleteResourcePolicyCommandInput); resolveMiddleware( clientStack: MiddlewareStack, - configuration: LambdaClientResolvedConfig, + configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler< - GetLayerVersionByArnCommandInput, - GetLayerVersionByArnCommandOutput + DeleteResourcePolicyCommandInput, + DeleteResourcePolicyCommandOutput >; private serialize; private deserialize; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeregisterManagedInstanceCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeregisterManagedInstanceCommand.d.ts new file mode 100644 index 00000000..352aaf5e --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeregisterManagedInstanceCommand.d.ts @@ -0,0 +1,42 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + DeregisterManagedInstanceRequest, + DeregisterManagedInstanceResult, +} from "../models/models_0"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface DeregisterManagedInstanceCommandInput + extends DeregisterManagedInstanceRequest {} +export interface DeregisterManagedInstanceCommandOutput + extends DeregisterManagedInstanceResult, + __MetadataBearer {} +export declare class DeregisterManagedInstanceCommand extends $Command< + DeregisterManagedInstanceCommandInput, + DeregisterManagedInstanceCommandOutput, + SSMClientResolvedConfig +> { + readonly input: DeregisterManagedInstanceCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: DeregisterManagedInstanceCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler< + DeregisterManagedInstanceCommandInput, + DeregisterManagedInstanceCommandOutput + >; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeregisterPatchBaselineForPatchGroupCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeregisterPatchBaselineForPatchGroupCommand.d.ts new file mode 100644 index 00000000..13e2154b --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeregisterPatchBaselineForPatchGroupCommand.d.ts @@ -0,0 +1,42 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + DeregisterPatchBaselineForPatchGroupRequest, + DeregisterPatchBaselineForPatchGroupResult, +} from "../models/models_0"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface DeregisterPatchBaselineForPatchGroupCommandInput + extends DeregisterPatchBaselineForPatchGroupRequest {} +export interface DeregisterPatchBaselineForPatchGroupCommandOutput + extends DeregisterPatchBaselineForPatchGroupResult, + __MetadataBearer {} +export declare class DeregisterPatchBaselineForPatchGroupCommand extends $Command< + DeregisterPatchBaselineForPatchGroupCommandInput, + DeregisterPatchBaselineForPatchGroupCommandOutput, + SSMClientResolvedConfig +> { + readonly input: DeregisterPatchBaselineForPatchGroupCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: DeregisterPatchBaselineForPatchGroupCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler< + DeregisterPatchBaselineForPatchGroupCommandInput, + DeregisterPatchBaselineForPatchGroupCommandOutput + >; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeregisterTargetFromMaintenanceWindowCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeregisterTargetFromMaintenanceWindowCommand.d.ts new file mode 100644 index 00000000..77a50b3c --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeregisterTargetFromMaintenanceWindowCommand.d.ts @@ -0,0 +1,42 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + DeregisterTargetFromMaintenanceWindowRequest, + DeregisterTargetFromMaintenanceWindowResult, +} from "../models/models_0"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface DeregisterTargetFromMaintenanceWindowCommandInput + extends DeregisterTargetFromMaintenanceWindowRequest {} +export interface DeregisterTargetFromMaintenanceWindowCommandOutput + extends DeregisterTargetFromMaintenanceWindowResult, + __MetadataBearer {} +export declare class DeregisterTargetFromMaintenanceWindowCommand extends $Command< + DeregisterTargetFromMaintenanceWindowCommandInput, + DeregisterTargetFromMaintenanceWindowCommandOutput, + SSMClientResolvedConfig +> { + readonly input: DeregisterTargetFromMaintenanceWindowCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: DeregisterTargetFromMaintenanceWindowCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler< + DeregisterTargetFromMaintenanceWindowCommandInput, + DeregisterTargetFromMaintenanceWindowCommandOutput + >; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeregisterTaskFromMaintenanceWindowCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeregisterTaskFromMaintenanceWindowCommand.d.ts new file mode 100644 index 00000000..0e982fc3 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DeregisterTaskFromMaintenanceWindowCommand.d.ts @@ -0,0 +1,42 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + DeregisterTaskFromMaintenanceWindowRequest, + DeregisterTaskFromMaintenanceWindowResult, +} from "../models/models_0"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface DeregisterTaskFromMaintenanceWindowCommandInput + extends DeregisterTaskFromMaintenanceWindowRequest {} +export interface DeregisterTaskFromMaintenanceWindowCommandOutput + extends DeregisterTaskFromMaintenanceWindowResult, + __MetadataBearer {} +export declare class DeregisterTaskFromMaintenanceWindowCommand extends $Command< + DeregisterTaskFromMaintenanceWindowCommandInput, + DeregisterTaskFromMaintenanceWindowCommandOutput, + SSMClientResolvedConfig +> { + readonly input: DeregisterTaskFromMaintenanceWindowCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: DeregisterTaskFromMaintenanceWindowCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler< + DeregisterTaskFromMaintenanceWindowCommandInput, + DeregisterTaskFromMaintenanceWindowCommandOutput + >; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeActivationsCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeActivationsCommand.d.ts new file mode 100644 index 00000000..42a65cdd --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeActivationsCommand.d.ts @@ -0,0 +1,39 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + DescribeActivationsRequest, + DescribeActivationsResult, +} from "../models/models_0"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface DescribeActivationsCommandInput + extends DescribeActivationsRequest {} +export interface DescribeActivationsCommandOutput + extends DescribeActivationsResult, + __MetadataBearer {} +export declare class DescribeActivationsCommand extends $Command< + DescribeActivationsCommandInput, + DescribeActivationsCommandOutput, + SSMClientResolvedConfig +> { + readonly input: DescribeActivationsCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: DescribeActivationsCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/PublishLayerVersionCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeAssociationCommand.d.ts similarity index 51% rename from node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/PublishLayerVersionCommand.d.ts rename to node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeAssociationCommand.d.ts index 594b3722..2ac72c35 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/PublishLayerVersionCommand.d.ts +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeAssociationCommand.d.ts @@ -7,33 +7,33 @@ import { MiddlewareStack, } from "@smithy/types"; import { - LambdaClientResolvedConfig, + DescribeAssociationRequest, + DescribeAssociationResult, +} from "../models/models_0"; +import { ServiceInputTypes, ServiceOutputTypes, -} from "../LambdaClient"; -import { - PublishLayerVersionRequest, - PublishLayerVersionResponse, -} from "../models/models_0"; + SSMClientResolvedConfig, +} from "../SSMClient"; export { __MetadataBearer, $Command }; -export interface PublishLayerVersionCommandInput - extends PublishLayerVersionRequest {} -export interface PublishLayerVersionCommandOutput - extends PublishLayerVersionResponse, +export interface DescribeAssociationCommandInput + extends DescribeAssociationRequest {} +export interface DescribeAssociationCommandOutput + extends DescribeAssociationResult, __MetadataBearer {} -export declare class PublishLayerVersionCommand extends $Command< - PublishLayerVersionCommandInput, - PublishLayerVersionCommandOutput, - LambdaClientResolvedConfig +export declare class DescribeAssociationCommand extends $Command< + DescribeAssociationCommandInput, + DescribeAssociationCommandOutput, + SSMClientResolvedConfig > { - readonly input: PublishLayerVersionCommandInput; + readonly input: DescribeAssociationCommandInput; static getEndpointParameterInstructions(): EndpointParameterInstructions; - constructor(input: PublishLayerVersionCommandInput); + constructor(input: DescribeAssociationCommandInput); resolveMiddleware( clientStack: MiddlewareStack, - configuration: LambdaClientResolvedConfig, + configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions - ): Handler; + ): Handler; private serialize; private deserialize; } diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeAssociationExecutionTargetsCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeAssociationExecutionTargetsCommand.d.ts new file mode 100644 index 00000000..a60a6d63 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeAssociationExecutionTargetsCommand.d.ts @@ -0,0 +1,42 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + DescribeAssociationExecutionTargetsRequest, + DescribeAssociationExecutionTargetsResult, +} from "../models/models_0"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface DescribeAssociationExecutionTargetsCommandInput + extends DescribeAssociationExecutionTargetsRequest {} +export interface DescribeAssociationExecutionTargetsCommandOutput + extends DescribeAssociationExecutionTargetsResult, + __MetadataBearer {} +export declare class DescribeAssociationExecutionTargetsCommand extends $Command< + DescribeAssociationExecutionTargetsCommandInput, + DescribeAssociationExecutionTargetsCommandOutput, + SSMClientResolvedConfig +> { + readonly input: DescribeAssociationExecutionTargetsCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: DescribeAssociationExecutionTargetsCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler< + DescribeAssociationExecutionTargetsCommandInput, + DescribeAssociationExecutionTargetsCommandOutput + >; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeAssociationExecutionsCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeAssociationExecutionsCommand.d.ts new file mode 100644 index 00000000..c0108827 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeAssociationExecutionsCommand.d.ts @@ -0,0 +1,42 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + DescribeAssociationExecutionsRequest, + DescribeAssociationExecutionsResult, +} from "../models/models_0"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface DescribeAssociationExecutionsCommandInput + extends DescribeAssociationExecutionsRequest {} +export interface DescribeAssociationExecutionsCommandOutput + extends DescribeAssociationExecutionsResult, + __MetadataBearer {} +export declare class DescribeAssociationExecutionsCommand extends $Command< + DescribeAssociationExecutionsCommandInput, + DescribeAssociationExecutionsCommandOutput, + SSMClientResolvedConfig +> { + readonly input: DescribeAssociationExecutionsCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: DescribeAssociationExecutionsCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler< + DescribeAssociationExecutionsCommandInput, + DescribeAssociationExecutionsCommandOutput + >; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeAutomationExecutionsCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeAutomationExecutionsCommand.d.ts new file mode 100644 index 00000000..0877a614 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeAutomationExecutionsCommand.d.ts @@ -0,0 +1,42 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + DescribeAutomationExecutionsRequest, + DescribeAutomationExecutionsResult, +} from "../models/models_0"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface DescribeAutomationExecutionsCommandInput + extends DescribeAutomationExecutionsRequest {} +export interface DescribeAutomationExecutionsCommandOutput + extends DescribeAutomationExecutionsResult, + __MetadataBearer {} +export declare class DescribeAutomationExecutionsCommand extends $Command< + DescribeAutomationExecutionsCommandInput, + DescribeAutomationExecutionsCommandOutput, + SSMClientResolvedConfig +> { + readonly input: DescribeAutomationExecutionsCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: DescribeAutomationExecutionsCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler< + DescribeAutomationExecutionsCommandInput, + DescribeAutomationExecutionsCommandOutput + >; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeAutomationStepExecutionsCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeAutomationStepExecutionsCommand.d.ts new file mode 100644 index 00000000..02394177 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeAutomationStepExecutionsCommand.d.ts @@ -0,0 +1,42 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + DescribeAutomationStepExecutionsRequest, + DescribeAutomationStepExecutionsResult, +} from "../models/models_0"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface DescribeAutomationStepExecutionsCommandInput + extends DescribeAutomationStepExecutionsRequest {} +export interface DescribeAutomationStepExecutionsCommandOutput + extends DescribeAutomationStepExecutionsResult, + __MetadataBearer {} +export declare class DescribeAutomationStepExecutionsCommand extends $Command< + DescribeAutomationStepExecutionsCommandInput, + DescribeAutomationStepExecutionsCommandOutput, + SSMClientResolvedConfig +> { + readonly input: DescribeAutomationStepExecutionsCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: DescribeAutomationStepExecutionsCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler< + DescribeAutomationStepExecutionsCommandInput, + DescribeAutomationStepExecutionsCommandOutput + >; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeAvailablePatchesCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeAvailablePatchesCommand.d.ts new file mode 100644 index 00000000..2199cc03 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeAvailablePatchesCommand.d.ts @@ -0,0 +1,42 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + DescribeAvailablePatchesRequest, + DescribeAvailablePatchesResult, +} from "../models/models_0"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface DescribeAvailablePatchesCommandInput + extends DescribeAvailablePatchesRequest {} +export interface DescribeAvailablePatchesCommandOutput + extends DescribeAvailablePatchesResult, + __MetadataBearer {} +export declare class DescribeAvailablePatchesCommand extends $Command< + DescribeAvailablePatchesCommandInput, + DescribeAvailablePatchesCommandOutput, + SSMClientResolvedConfig +> { + readonly input: DescribeAvailablePatchesCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: DescribeAvailablePatchesCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler< + DescribeAvailablePatchesCommandInput, + DescribeAvailablePatchesCommandOutput + >; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeDocumentCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeDocumentCommand.d.ts new file mode 100644 index 00000000..c5c4d4a0 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeDocumentCommand.d.ts @@ -0,0 +1,38 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + DescribeDocumentRequest, + DescribeDocumentResult, +} from "../models/models_0"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface DescribeDocumentCommandInput extends DescribeDocumentRequest {} +export interface DescribeDocumentCommandOutput + extends DescribeDocumentResult, + __MetadataBearer {} +export declare class DescribeDocumentCommand extends $Command< + DescribeDocumentCommandInput, + DescribeDocumentCommandOutput, + SSMClientResolvedConfig +> { + readonly input: DescribeDocumentCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: DescribeDocumentCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeDocumentPermissionCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeDocumentPermissionCommand.d.ts new file mode 100644 index 00000000..f6f1af0a --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeDocumentPermissionCommand.d.ts @@ -0,0 +1,42 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + DescribeDocumentPermissionRequest, + DescribeDocumentPermissionResponse, +} from "../models/models_0"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface DescribeDocumentPermissionCommandInput + extends DescribeDocumentPermissionRequest {} +export interface DescribeDocumentPermissionCommandOutput + extends DescribeDocumentPermissionResponse, + __MetadataBearer {} +export declare class DescribeDocumentPermissionCommand extends $Command< + DescribeDocumentPermissionCommandInput, + DescribeDocumentPermissionCommandOutput, + SSMClientResolvedConfig +> { + readonly input: DescribeDocumentPermissionCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: DescribeDocumentPermissionCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler< + DescribeDocumentPermissionCommandInput, + DescribeDocumentPermissionCommandOutput + >; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeEffectiveInstanceAssociationsCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeEffectiveInstanceAssociationsCommand.d.ts new file mode 100644 index 00000000..15f1f9f7 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeEffectiveInstanceAssociationsCommand.d.ts @@ -0,0 +1,42 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + DescribeEffectiveInstanceAssociationsRequest, + DescribeEffectiveInstanceAssociationsResult, +} from "../models/models_0"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface DescribeEffectiveInstanceAssociationsCommandInput + extends DescribeEffectiveInstanceAssociationsRequest {} +export interface DescribeEffectiveInstanceAssociationsCommandOutput + extends DescribeEffectiveInstanceAssociationsResult, + __MetadataBearer {} +export declare class DescribeEffectiveInstanceAssociationsCommand extends $Command< + DescribeEffectiveInstanceAssociationsCommandInput, + DescribeEffectiveInstanceAssociationsCommandOutput, + SSMClientResolvedConfig +> { + readonly input: DescribeEffectiveInstanceAssociationsCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: DescribeEffectiveInstanceAssociationsCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler< + DescribeEffectiveInstanceAssociationsCommandInput, + DescribeEffectiveInstanceAssociationsCommandOutput + >; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeEffectivePatchesForPatchBaselineCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeEffectivePatchesForPatchBaselineCommand.d.ts new file mode 100644 index 00000000..26e32312 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeEffectivePatchesForPatchBaselineCommand.d.ts @@ -0,0 +1,42 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + DescribeEffectivePatchesForPatchBaselineRequest, + DescribeEffectivePatchesForPatchBaselineResult, +} from "../models/models_0"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface DescribeEffectivePatchesForPatchBaselineCommandInput + extends DescribeEffectivePatchesForPatchBaselineRequest {} +export interface DescribeEffectivePatchesForPatchBaselineCommandOutput + extends DescribeEffectivePatchesForPatchBaselineResult, + __MetadataBearer {} +export declare class DescribeEffectivePatchesForPatchBaselineCommand extends $Command< + DescribeEffectivePatchesForPatchBaselineCommandInput, + DescribeEffectivePatchesForPatchBaselineCommandOutput, + SSMClientResolvedConfig +> { + readonly input: DescribeEffectivePatchesForPatchBaselineCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: DescribeEffectivePatchesForPatchBaselineCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler< + DescribeEffectivePatchesForPatchBaselineCommandInput, + DescribeEffectivePatchesForPatchBaselineCommandOutput + >; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeInstanceAssociationsStatusCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeInstanceAssociationsStatusCommand.d.ts new file mode 100644 index 00000000..4b35410b --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeInstanceAssociationsStatusCommand.d.ts @@ -0,0 +1,42 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + DescribeInstanceAssociationsStatusRequest, + DescribeInstanceAssociationsStatusResult, +} from "../models/models_0"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface DescribeInstanceAssociationsStatusCommandInput + extends DescribeInstanceAssociationsStatusRequest {} +export interface DescribeInstanceAssociationsStatusCommandOutput + extends DescribeInstanceAssociationsStatusResult, + __MetadataBearer {} +export declare class DescribeInstanceAssociationsStatusCommand extends $Command< + DescribeInstanceAssociationsStatusCommandInput, + DescribeInstanceAssociationsStatusCommandOutput, + SSMClientResolvedConfig +> { + readonly input: DescribeInstanceAssociationsStatusCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: DescribeInstanceAssociationsStatusCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler< + DescribeInstanceAssociationsStatusCommandInput, + DescribeInstanceAssociationsStatusCommandOutput + >; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeInstanceInformationCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeInstanceInformationCommand.d.ts new file mode 100644 index 00000000..6836bbd7 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeInstanceInformationCommand.d.ts @@ -0,0 +1,42 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + DescribeInstanceInformationRequest, + DescribeInstanceInformationResult, +} from "../models/models_0"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface DescribeInstanceInformationCommandInput + extends DescribeInstanceInformationRequest {} +export interface DescribeInstanceInformationCommandOutput + extends DescribeInstanceInformationResult, + __MetadataBearer {} +export declare class DescribeInstanceInformationCommand extends $Command< + DescribeInstanceInformationCommandInput, + DescribeInstanceInformationCommandOutput, + SSMClientResolvedConfig +> { + readonly input: DescribeInstanceInformationCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: DescribeInstanceInformationCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler< + DescribeInstanceInformationCommandInput, + DescribeInstanceInformationCommandOutput + >; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeInstancePatchStatesCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeInstancePatchStatesCommand.d.ts new file mode 100644 index 00000000..9bb8bbe2 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeInstancePatchStatesCommand.d.ts @@ -0,0 +1,42 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + DescribeInstancePatchStatesRequest, + DescribeInstancePatchStatesResult, +} from "../models/models_0"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface DescribeInstancePatchStatesCommandInput + extends DescribeInstancePatchStatesRequest {} +export interface DescribeInstancePatchStatesCommandOutput + extends DescribeInstancePatchStatesResult, + __MetadataBearer {} +export declare class DescribeInstancePatchStatesCommand extends $Command< + DescribeInstancePatchStatesCommandInput, + DescribeInstancePatchStatesCommandOutput, + SSMClientResolvedConfig +> { + readonly input: DescribeInstancePatchStatesCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: DescribeInstancePatchStatesCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler< + DescribeInstancePatchStatesCommandInput, + DescribeInstancePatchStatesCommandOutput + >; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeInstancePatchStatesForPatchGroupCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeInstancePatchStatesForPatchGroupCommand.d.ts new file mode 100644 index 00000000..aa3200da --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeInstancePatchStatesForPatchGroupCommand.d.ts @@ -0,0 +1,42 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + DescribeInstancePatchStatesForPatchGroupRequest, + DescribeInstancePatchStatesForPatchGroupResult, +} from "../models/models_0"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface DescribeInstancePatchStatesForPatchGroupCommandInput + extends DescribeInstancePatchStatesForPatchGroupRequest {} +export interface DescribeInstancePatchStatesForPatchGroupCommandOutput + extends DescribeInstancePatchStatesForPatchGroupResult, + __MetadataBearer {} +export declare class DescribeInstancePatchStatesForPatchGroupCommand extends $Command< + DescribeInstancePatchStatesForPatchGroupCommandInput, + DescribeInstancePatchStatesForPatchGroupCommandOutput, + SSMClientResolvedConfig +> { + readonly input: DescribeInstancePatchStatesForPatchGroupCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: DescribeInstancePatchStatesForPatchGroupCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler< + DescribeInstancePatchStatesForPatchGroupCommandInput, + DescribeInstancePatchStatesForPatchGroupCommandOutput + >; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeInstancePatchesCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeInstancePatchesCommand.d.ts new file mode 100644 index 00000000..682257eb --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeInstancePatchesCommand.d.ts @@ -0,0 +1,42 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + DescribeInstancePatchesRequest, + DescribeInstancePatchesResult, +} from "../models/models_0"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface DescribeInstancePatchesCommandInput + extends DescribeInstancePatchesRequest {} +export interface DescribeInstancePatchesCommandOutput + extends DescribeInstancePatchesResult, + __MetadataBearer {} +export declare class DescribeInstancePatchesCommand extends $Command< + DescribeInstancePatchesCommandInput, + DescribeInstancePatchesCommandOutput, + SSMClientResolvedConfig +> { + readonly input: DescribeInstancePatchesCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: DescribeInstancePatchesCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler< + DescribeInstancePatchesCommandInput, + DescribeInstancePatchesCommandOutput + >; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeInventoryDeletionsCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeInventoryDeletionsCommand.d.ts new file mode 100644 index 00000000..f976c745 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeInventoryDeletionsCommand.d.ts @@ -0,0 +1,42 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + DescribeInventoryDeletionsRequest, + DescribeInventoryDeletionsResult, +} from "../models/models_0"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface DescribeInventoryDeletionsCommandInput + extends DescribeInventoryDeletionsRequest {} +export interface DescribeInventoryDeletionsCommandOutput + extends DescribeInventoryDeletionsResult, + __MetadataBearer {} +export declare class DescribeInventoryDeletionsCommand extends $Command< + DescribeInventoryDeletionsCommandInput, + DescribeInventoryDeletionsCommandOutput, + SSMClientResolvedConfig +> { + readonly input: DescribeInventoryDeletionsCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: DescribeInventoryDeletionsCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler< + DescribeInventoryDeletionsCommandInput, + DescribeInventoryDeletionsCommandOutput + >; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeMaintenanceWindowExecutionTaskInvocationsCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeMaintenanceWindowExecutionTaskInvocationsCommand.d.ts new file mode 100644 index 00000000..61db926b --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeMaintenanceWindowExecutionTaskInvocationsCommand.d.ts @@ -0,0 +1,44 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + DescribeMaintenanceWindowExecutionTaskInvocationsRequest, + DescribeMaintenanceWindowExecutionTaskInvocationsResult, +} from "../models/models_0"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface DescribeMaintenanceWindowExecutionTaskInvocationsCommandInput + extends DescribeMaintenanceWindowExecutionTaskInvocationsRequest {} +export interface DescribeMaintenanceWindowExecutionTaskInvocationsCommandOutput + extends DescribeMaintenanceWindowExecutionTaskInvocationsResult, + __MetadataBearer {} +export declare class DescribeMaintenanceWindowExecutionTaskInvocationsCommand extends $Command< + DescribeMaintenanceWindowExecutionTaskInvocationsCommandInput, + DescribeMaintenanceWindowExecutionTaskInvocationsCommandOutput, + SSMClientResolvedConfig +> { + readonly input: DescribeMaintenanceWindowExecutionTaskInvocationsCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor( + input: DescribeMaintenanceWindowExecutionTaskInvocationsCommandInput + ); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler< + DescribeMaintenanceWindowExecutionTaskInvocationsCommandInput, + DescribeMaintenanceWindowExecutionTaskInvocationsCommandOutput + >; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeMaintenanceWindowExecutionTasksCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeMaintenanceWindowExecutionTasksCommand.d.ts new file mode 100644 index 00000000..0ff49dd8 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeMaintenanceWindowExecutionTasksCommand.d.ts @@ -0,0 +1,42 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + DescribeMaintenanceWindowExecutionTasksRequest, + DescribeMaintenanceWindowExecutionTasksResult, +} from "../models/models_0"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface DescribeMaintenanceWindowExecutionTasksCommandInput + extends DescribeMaintenanceWindowExecutionTasksRequest {} +export interface DescribeMaintenanceWindowExecutionTasksCommandOutput + extends DescribeMaintenanceWindowExecutionTasksResult, + __MetadataBearer {} +export declare class DescribeMaintenanceWindowExecutionTasksCommand extends $Command< + DescribeMaintenanceWindowExecutionTasksCommandInput, + DescribeMaintenanceWindowExecutionTasksCommandOutput, + SSMClientResolvedConfig +> { + readonly input: DescribeMaintenanceWindowExecutionTasksCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: DescribeMaintenanceWindowExecutionTasksCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler< + DescribeMaintenanceWindowExecutionTasksCommandInput, + DescribeMaintenanceWindowExecutionTasksCommandOutput + >; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeMaintenanceWindowExecutionsCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeMaintenanceWindowExecutionsCommand.d.ts new file mode 100644 index 00000000..a615edd0 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeMaintenanceWindowExecutionsCommand.d.ts @@ -0,0 +1,42 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + DescribeMaintenanceWindowExecutionsRequest, + DescribeMaintenanceWindowExecutionsResult, +} from "../models/models_0"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface DescribeMaintenanceWindowExecutionsCommandInput + extends DescribeMaintenanceWindowExecutionsRequest {} +export interface DescribeMaintenanceWindowExecutionsCommandOutput + extends DescribeMaintenanceWindowExecutionsResult, + __MetadataBearer {} +export declare class DescribeMaintenanceWindowExecutionsCommand extends $Command< + DescribeMaintenanceWindowExecutionsCommandInput, + DescribeMaintenanceWindowExecutionsCommandOutput, + SSMClientResolvedConfig +> { + readonly input: DescribeMaintenanceWindowExecutionsCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: DescribeMaintenanceWindowExecutionsCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler< + DescribeMaintenanceWindowExecutionsCommandInput, + DescribeMaintenanceWindowExecutionsCommandOutput + >; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeMaintenanceWindowScheduleCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeMaintenanceWindowScheduleCommand.d.ts new file mode 100644 index 00000000..e988c8aa --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeMaintenanceWindowScheduleCommand.d.ts @@ -0,0 +1,42 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + DescribeMaintenanceWindowScheduleRequest, + DescribeMaintenanceWindowScheduleResult, +} from "../models/models_0"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface DescribeMaintenanceWindowScheduleCommandInput + extends DescribeMaintenanceWindowScheduleRequest {} +export interface DescribeMaintenanceWindowScheduleCommandOutput + extends DescribeMaintenanceWindowScheduleResult, + __MetadataBearer {} +export declare class DescribeMaintenanceWindowScheduleCommand extends $Command< + DescribeMaintenanceWindowScheduleCommandInput, + DescribeMaintenanceWindowScheduleCommandOutput, + SSMClientResolvedConfig +> { + readonly input: DescribeMaintenanceWindowScheduleCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: DescribeMaintenanceWindowScheduleCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler< + DescribeMaintenanceWindowScheduleCommandInput, + DescribeMaintenanceWindowScheduleCommandOutput + >; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeMaintenanceWindowTargetsCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeMaintenanceWindowTargetsCommand.d.ts new file mode 100644 index 00000000..341560d7 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeMaintenanceWindowTargetsCommand.d.ts @@ -0,0 +1,42 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + DescribeMaintenanceWindowTargetsRequest, + DescribeMaintenanceWindowTargetsResult, +} from "../models/models_0"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface DescribeMaintenanceWindowTargetsCommandInput + extends DescribeMaintenanceWindowTargetsRequest {} +export interface DescribeMaintenanceWindowTargetsCommandOutput + extends DescribeMaintenanceWindowTargetsResult, + __MetadataBearer {} +export declare class DescribeMaintenanceWindowTargetsCommand extends $Command< + DescribeMaintenanceWindowTargetsCommandInput, + DescribeMaintenanceWindowTargetsCommandOutput, + SSMClientResolvedConfig +> { + readonly input: DescribeMaintenanceWindowTargetsCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: DescribeMaintenanceWindowTargetsCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler< + DescribeMaintenanceWindowTargetsCommandInput, + DescribeMaintenanceWindowTargetsCommandOutput + >; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeMaintenanceWindowTasksCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeMaintenanceWindowTasksCommand.d.ts new file mode 100644 index 00000000..85ea0815 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeMaintenanceWindowTasksCommand.d.ts @@ -0,0 +1,40 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { DescribeMaintenanceWindowTasksRequest } from "../models/models_0"; +import { DescribeMaintenanceWindowTasksResult } from "../models/models_1"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface DescribeMaintenanceWindowTasksCommandInput + extends DescribeMaintenanceWindowTasksRequest {} +export interface DescribeMaintenanceWindowTasksCommandOutput + extends DescribeMaintenanceWindowTasksResult, + __MetadataBearer {} +export declare class DescribeMaintenanceWindowTasksCommand extends $Command< + DescribeMaintenanceWindowTasksCommandInput, + DescribeMaintenanceWindowTasksCommandOutput, + SSMClientResolvedConfig +> { + readonly input: DescribeMaintenanceWindowTasksCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: DescribeMaintenanceWindowTasksCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler< + DescribeMaintenanceWindowTasksCommandInput, + DescribeMaintenanceWindowTasksCommandOutput + >; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeMaintenanceWindowsCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeMaintenanceWindowsCommand.d.ts new file mode 100644 index 00000000..6fa5a64e --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeMaintenanceWindowsCommand.d.ts @@ -0,0 +1,42 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + DescribeMaintenanceWindowsRequest, + DescribeMaintenanceWindowsResult, +} from "../models/models_0"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface DescribeMaintenanceWindowsCommandInput + extends DescribeMaintenanceWindowsRequest {} +export interface DescribeMaintenanceWindowsCommandOutput + extends DescribeMaintenanceWindowsResult, + __MetadataBearer {} +export declare class DescribeMaintenanceWindowsCommand extends $Command< + DescribeMaintenanceWindowsCommandInput, + DescribeMaintenanceWindowsCommandOutput, + SSMClientResolvedConfig +> { + readonly input: DescribeMaintenanceWindowsCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: DescribeMaintenanceWindowsCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler< + DescribeMaintenanceWindowsCommandInput, + DescribeMaintenanceWindowsCommandOutput + >; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeMaintenanceWindowsForTargetCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeMaintenanceWindowsForTargetCommand.d.ts new file mode 100644 index 00000000..a617dfbc --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeMaintenanceWindowsForTargetCommand.d.ts @@ -0,0 +1,42 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + DescribeMaintenanceWindowsForTargetRequest, + DescribeMaintenanceWindowsForTargetResult, +} from "../models/models_0"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface DescribeMaintenanceWindowsForTargetCommandInput + extends DescribeMaintenanceWindowsForTargetRequest {} +export interface DescribeMaintenanceWindowsForTargetCommandOutput + extends DescribeMaintenanceWindowsForTargetResult, + __MetadataBearer {} +export declare class DescribeMaintenanceWindowsForTargetCommand extends $Command< + DescribeMaintenanceWindowsForTargetCommandInput, + DescribeMaintenanceWindowsForTargetCommandOutput, + SSMClientResolvedConfig +> { + readonly input: DescribeMaintenanceWindowsForTargetCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: DescribeMaintenanceWindowsForTargetCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler< + DescribeMaintenanceWindowsForTargetCommandInput, + DescribeMaintenanceWindowsForTargetCommandOutput + >; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeOpsItemsCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeOpsItemsCommand.d.ts new file mode 100644 index 00000000..0a66ad1d --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeOpsItemsCommand.d.ts @@ -0,0 +1,38 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + DescribeOpsItemsRequest, + DescribeOpsItemsResponse, +} from "../models/models_1"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface DescribeOpsItemsCommandInput extends DescribeOpsItemsRequest {} +export interface DescribeOpsItemsCommandOutput + extends DescribeOpsItemsResponse, + __MetadataBearer {} +export declare class DescribeOpsItemsCommand extends $Command< + DescribeOpsItemsCommandInput, + DescribeOpsItemsCommandOutput, + SSMClientResolvedConfig +> { + readonly input: DescribeOpsItemsCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: DescribeOpsItemsCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeParametersCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeParametersCommand.d.ts new file mode 100644 index 00000000..7c2804af --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeParametersCommand.d.ts @@ -0,0 +1,39 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + DescribeParametersRequest, + DescribeParametersResult, +} from "../models/models_1"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface DescribeParametersCommandInput + extends DescribeParametersRequest {} +export interface DescribeParametersCommandOutput + extends DescribeParametersResult, + __MetadataBearer {} +export declare class DescribeParametersCommand extends $Command< + DescribeParametersCommandInput, + DescribeParametersCommandOutput, + SSMClientResolvedConfig +> { + readonly input: DescribeParametersCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: DescribeParametersCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribePatchBaselinesCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribePatchBaselinesCommand.d.ts new file mode 100644 index 00000000..f0851efe --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribePatchBaselinesCommand.d.ts @@ -0,0 +1,42 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + DescribePatchBaselinesRequest, + DescribePatchBaselinesResult, +} from "../models/models_1"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface DescribePatchBaselinesCommandInput + extends DescribePatchBaselinesRequest {} +export interface DescribePatchBaselinesCommandOutput + extends DescribePatchBaselinesResult, + __MetadataBearer {} +export declare class DescribePatchBaselinesCommand extends $Command< + DescribePatchBaselinesCommandInput, + DescribePatchBaselinesCommandOutput, + SSMClientResolvedConfig +> { + readonly input: DescribePatchBaselinesCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: DescribePatchBaselinesCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler< + DescribePatchBaselinesCommandInput, + DescribePatchBaselinesCommandOutput + >; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribePatchGroupStateCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribePatchGroupStateCommand.d.ts new file mode 100644 index 00000000..8812ea51 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribePatchGroupStateCommand.d.ts @@ -0,0 +1,42 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + DescribePatchGroupStateRequest, + DescribePatchGroupStateResult, +} from "../models/models_1"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface DescribePatchGroupStateCommandInput + extends DescribePatchGroupStateRequest {} +export interface DescribePatchGroupStateCommandOutput + extends DescribePatchGroupStateResult, + __MetadataBearer {} +export declare class DescribePatchGroupStateCommand extends $Command< + DescribePatchGroupStateCommandInput, + DescribePatchGroupStateCommandOutput, + SSMClientResolvedConfig +> { + readonly input: DescribePatchGroupStateCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: DescribePatchGroupStateCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler< + DescribePatchGroupStateCommandInput, + DescribePatchGroupStateCommandOutput + >; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribePatchGroupsCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribePatchGroupsCommand.d.ts new file mode 100644 index 00000000..afda9a12 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribePatchGroupsCommand.d.ts @@ -0,0 +1,39 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + DescribePatchGroupsRequest, + DescribePatchGroupsResult, +} from "../models/models_1"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface DescribePatchGroupsCommandInput + extends DescribePatchGroupsRequest {} +export interface DescribePatchGroupsCommandOutput + extends DescribePatchGroupsResult, + __MetadataBearer {} +export declare class DescribePatchGroupsCommand extends $Command< + DescribePatchGroupsCommandInput, + DescribePatchGroupsCommandOutput, + SSMClientResolvedConfig +> { + readonly input: DescribePatchGroupsCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: DescribePatchGroupsCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribePatchPropertiesCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribePatchPropertiesCommand.d.ts new file mode 100644 index 00000000..d9fb8284 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribePatchPropertiesCommand.d.ts @@ -0,0 +1,42 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + DescribePatchPropertiesRequest, + DescribePatchPropertiesResult, +} from "../models/models_1"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface DescribePatchPropertiesCommandInput + extends DescribePatchPropertiesRequest {} +export interface DescribePatchPropertiesCommandOutput + extends DescribePatchPropertiesResult, + __MetadataBearer {} +export declare class DescribePatchPropertiesCommand extends $Command< + DescribePatchPropertiesCommandInput, + DescribePatchPropertiesCommandOutput, + SSMClientResolvedConfig +> { + readonly input: DescribePatchPropertiesCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: DescribePatchPropertiesCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler< + DescribePatchPropertiesCommandInput, + DescribePatchPropertiesCommandOutput + >; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeSessionsCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeSessionsCommand.d.ts new file mode 100644 index 00000000..d7800d33 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DescribeSessionsCommand.d.ts @@ -0,0 +1,38 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + DescribeSessionsRequest, + DescribeSessionsResponse, +} from "../models/models_1"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface DescribeSessionsCommandInput extends DescribeSessionsRequest {} +export interface DescribeSessionsCommandOutput + extends DescribeSessionsResponse, + __MetadataBearer {} +export declare class DescribeSessionsCommand extends $Command< + DescribeSessionsCommandInput, + DescribeSessionsCommandOutput, + SSMClientResolvedConfig +> { + readonly input: DescribeSessionsCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: DescribeSessionsCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DisassociateOpsItemRelatedItemCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DisassociateOpsItemRelatedItemCommand.d.ts new file mode 100644 index 00000000..801e9804 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/DisassociateOpsItemRelatedItemCommand.d.ts @@ -0,0 +1,42 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + DisassociateOpsItemRelatedItemRequest, + DisassociateOpsItemRelatedItemResponse, +} from "../models/models_1"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface DisassociateOpsItemRelatedItemCommandInput + extends DisassociateOpsItemRelatedItemRequest {} +export interface DisassociateOpsItemRelatedItemCommandOutput + extends DisassociateOpsItemRelatedItemResponse, + __MetadataBearer {} +export declare class DisassociateOpsItemRelatedItemCommand extends $Command< + DisassociateOpsItemRelatedItemCommandInput, + DisassociateOpsItemRelatedItemCommandOutput, + SSMClientResolvedConfig +> { + readonly input: DisassociateOpsItemRelatedItemCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: DisassociateOpsItemRelatedItemCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler< + DisassociateOpsItemRelatedItemCommandInput, + DisassociateOpsItemRelatedItemCommandOutput + >; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/ListCodeSigningConfigsCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetAutomationExecutionCommand.d.ts similarity index 50% rename from node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/ListCodeSigningConfigsCommand.d.ts rename to node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetAutomationExecutionCommand.d.ts index 5c7e44c4..8ebb1ecc 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/ListCodeSigningConfigsCommand.d.ts +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetAutomationExecutionCommand.d.ts @@ -7,35 +7,35 @@ import { MiddlewareStack, } from "@smithy/types"; import { - LambdaClientResolvedConfig, + GetAutomationExecutionRequest, + GetAutomationExecutionResult, +} from "../models/models_1"; +import { ServiceInputTypes, ServiceOutputTypes, -} from "../LambdaClient"; -import { - ListCodeSigningConfigsRequest, - ListCodeSigningConfigsResponse, -} from "../models/models_0"; + SSMClientResolvedConfig, +} from "../SSMClient"; export { __MetadataBearer, $Command }; -export interface ListCodeSigningConfigsCommandInput - extends ListCodeSigningConfigsRequest {} -export interface ListCodeSigningConfigsCommandOutput - extends ListCodeSigningConfigsResponse, +export interface GetAutomationExecutionCommandInput + extends GetAutomationExecutionRequest {} +export interface GetAutomationExecutionCommandOutput + extends GetAutomationExecutionResult, __MetadataBearer {} -export declare class ListCodeSigningConfigsCommand extends $Command< - ListCodeSigningConfigsCommandInput, - ListCodeSigningConfigsCommandOutput, - LambdaClientResolvedConfig +export declare class GetAutomationExecutionCommand extends $Command< + GetAutomationExecutionCommandInput, + GetAutomationExecutionCommandOutput, + SSMClientResolvedConfig > { - readonly input: ListCodeSigningConfigsCommandInput; + readonly input: GetAutomationExecutionCommandInput; static getEndpointParameterInstructions(): EndpointParameterInstructions; - constructor(input: ListCodeSigningConfigsCommandInput); + constructor(input: GetAutomationExecutionCommandInput); resolveMiddleware( clientStack: MiddlewareStack, - configuration: LambdaClientResolvedConfig, + configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions ): Handler< - ListCodeSigningConfigsCommandInput, - ListCodeSigningConfigsCommandOutput + GetAutomationExecutionCommandInput, + GetAutomationExecutionCommandOutput >; private serialize; private deserialize; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetCalendarStateCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetCalendarStateCommand.d.ts new file mode 100644 index 00000000..7e86cb5a --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetCalendarStateCommand.d.ts @@ -0,0 +1,38 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + GetCalendarStateRequest, + GetCalendarStateResponse, +} from "../models/models_1"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface GetCalendarStateCommandInput extends GetCalendarStateRequest {} +export interface GetCalendarStateCommandOutput + extends GetCalendarStateResponse, + __MetadataBearer {} +export declare class GetCalendarStateCommand extends $Command< + GetCalendarStateCommandInput, + GetCalendarStateCommandOutput, + SSMClientResolvedConfig +> { + readonly input: GetCalendarStateCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: GetCalendarStateCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetCommandInvocationCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetCommandInvocationCommand.d.ts new file mode 100644 index 00000000..0b3976cd --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetCommandInvocationCommand.d.ts @@ -0,0 +1,42 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + GetCommandInvocationRequest, + GetCommandInvocationResult, +} from "../models/models_1"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface GetCommandInvocationCommandInput + extends GetCommandInvocationRequest {} +export interface GetCommandInvocationCommandOutput + extends GetCommandInvocationResult, + __MetadataBearer {} +export declare class GetCommandInvocationCommand extends $Command< + GetCommandInvocationCommandInput, + GetCommandInvocationCommandOutput, + SSMClientResolvedConfig +> { + readonly input: GetCommandInvocationCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: GetCommandInvocationCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler< + GetCommandInvocationCommandInput, + GetCommandInvocationCommandOutput + >; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetConnectionStatusCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetConnectionStatusCommand.d.ts new file mode 100644 index 00000000..40936fcc --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetConnectionStatusCommand.d.ts @@ -0,0 +1,39 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + GetConnectionStatusRequest, + GetConnectionStatusResponse, +} from "../models/models_1"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface GetConnectionStatusCommandInput + extends GetConnectionStatusRequest {} +export interface GetConnectionStatusCommandOutput + extends GetConnectionStatusResponse, + __MetadataBearer {} +export declare class GetConnectionStatusCommand extends $Command< + GetConnectionStatusCommandInput, + GetConnectionStatusCommandOutput, + SSMClientResolvedConfig +> { + readonly input: GetConnectionStatusCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: GetConnectionStatusCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetDefaultPatchBaselineCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetDefaultPatchBaselineCommand.d.ts new file mode 100644 index 00000000..21f84776 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetDefaultPatchBaselineCommand.d.ts @@ -0,0 +1,42 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + GetDefaultPatchBaselineRequest, + GetDefaultPatchBaselineResult, +} from "../models/models_1"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface GetDefaultPatchBaselineCommandInput + extends GetDefaultPatchBaselineRequest {} +export interface GetDefaultPatchBaselineCommandOutput + extends GetDefaultPatchBaselineResult, + __MetadataBearer {} +export declare class GetDefaultPatchBaselineCommand extends $Command< + GetDefaultPatchBaselineCommandInput, + GetDefaultPatchBaselineCommandOutput, + SSMClientResolvedConfig +> { + readonly input: GetDefaultPatchBaselineCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: GetDefaultPatchBaselineCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler< + GetDefaultPatchBaselineCommandInput, + GetDefaultPatchBaselineCommandOutput + >; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetDeployablePatchSnapshotForInstanceCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetDeployablePatchSnapshotForInstanceCommand.d.ts new file mode 100644 index 00000000..c38e75a0 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetDeployablePatchSnapshotForInstanceCommand.d.ts @@ -0,0 +1,42 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + GetDeployablePatchSnapshotForInstanceRequest, + GetDeployablePatchSnapshotForInstanceResult, +} from "../models/models_1"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface GetDeployablePatchSnapshotForInstanceCommandInput + extends GetDeployablePatchSnapshotForInstanceRequest {} +export interface GetDeployablePatchSnapshotForInstanceCommandOutput + extends GetDeployablePatchSnapshotForInstanceResult, + __MetadataBearer {} +export declare class GetDeployablePatchSnapshotForInstanceCommand extends $Command< + GetDeployablePatchSnapshotForInstanceCommandInput, + GetDeployablePatchSnapshotForInstanceCommandOutput, + SSMClientResolvedConfig +> { + readonly input: GetDeployablePatchSnapshotForInstanceCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: GetDeployablePatchSnapshotForInstanceCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler< + GetDeployablePatchSnapshotForInstanceCommandInput, + GetDeployablePatchSnapshotForInstanceCommandOutput + >; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/CreateAliasCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetDocumentCommand.d.ts similarity index 52% rename from node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/CreateAliasCommand.d.ts rename to node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetDocumentCommand.d.ts index 3cf06d99..2a9b0b5d 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/CreateAliasCommand.d.ts +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetDocumentCommand.d.ts @@ -6,30 +6,30 @@ import { MetadataBearer as __MetadataBearer, MiddlewareStack, } from "@smithy/types"; +import { GetDocumentRequest, GetDocumentResult } from "../models/models_1"; import { - LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes, -} from "../LambdaClient"; -import { AliasConfiguration, CreateAliasRequest } from "../models/models_0"; + SSMClientResolvedConfig, +} from "../SSMClient"; export { __MetadataBearer, $Command }; -export interface CreateAliasCommandInput extends CreateAliasRequest {} -export interface CreateAliasCommandOutput - extends AliasConfiguration, +export interface GetDocumentCommandInput extends GetDocumentRequest {} +export interface GetDocumentCommandOutput + extends GetDocumentResult, __MetadataBearer {} -export declare class CreateAliasCommand extends $Command< - CreateAliasCommandInput, - CreateAliasCommandOutput, - LambdaClientResolvedConfig +export declare class GetDocumentCommand extends $Command< + GetDocumentCommandInput, + GetDocumentCommandOutput, + SSMClientResolvedConfig > { - readonly input: CreateAliasCommandInput; + readonly input: GetDocumentCommandInput; static getEndpointParameterInstructions(): EndpointParameterInstructions; - constructor(input: CreateAliasCommandInput); + constructor(input: GetDocumentCommandInput); resolveMiddleware( clientStack: MiddlewareStack, - configuration: LambdaClientResolvedConfig, + configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions - ): Handler; + ): Handler; private serialize; private deserialize; } diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetInventoryCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetInventoryCommand.d.ts new file mode 100644 index 00000000..18e03d9f --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetInventoryCommand.d.ts @@ -0,0 +1,36 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { GetInventoryResult } from "../models/models_1"; +import { GetInventoryRequest } from "../models/models_2"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface GetInventoryCommandInput extends GetInventoryRequest {} +export interface GetInventoryCommandOutput + extends GetInventoryResult, + __MetadataBearer {} +export declare class GetInventoryCommand extends $Command< + GetInventoryCommandInput, + GetInventoryCommandOutput, + SSMClientResolvedConfig +> { + readonly input: GetInventoryCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: GetInventoryCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetInventorySchemaCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetInventorySchemaCommand.d.ts new file mode 100644 index 00000000..9c9babeb --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetInventorySchemaCommand.d.ts @@ -0,0 +1,39 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + GetInventorySchemaRequest, + GetInventorySchemaResult, +} from "../models/models_1"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface GetInventorySchemaCommandInput + extends GetInventorySchemaRequest {} +export interface GetInventorySchemaCommandOutput + extends GetInventorySchemaResult, + __MetadataBearer {} +export declare class GetInventorySchemaCommand extends $Command< + GetInventorySchemaCommandInput, + GetInventorySchemaCommandOutput, + SSMClientResolvedConfig +> { + readonly input: GetInventorySchemaCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: GetInventorySchemaCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetMaintenanceWindowCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetMaintenanceWindowCommand.d.ts new file mode 100644 index 00000000..ba595f16 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetMaintenanceWindowCommand.d.ts @@ -0,0 +1,42 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + GetMaintenanceWindowRequest, + GetMaintenanceWindowResult, +} from "../models/models_1"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface GetMaintenanceWindowCommandInput + extends GetMaintenanceWindowRequest {} +export interface GetMaintenanceWindowCommandOutput + extends GetMaintenanceWindowResult, + __MetadataBearer {} +export declare class GetMaintenanceWindowCommand extends $Command< + GetMaintenanceWindowCommandInput, + GetMaintenanceWindowCommandOutput, + SSMClientResolvedConfig +> { + readonly input: GetMaintenanceWindowCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: GetMaintenanceWindowCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler< + GetMaintenanceWindowCommandInput, + GetMaintenanceWindowCommandOutput + >; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetMaintenanceWindowExecutionCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetMaintenanceWindowExecutionCommand.d.ts new file mode 100644 index 00000000..3b717d9f --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetMaintenanceWindowExecutionCommand.d.ts @@ -0,0 +1,42 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + GetMaintenanceWindowExecutionRequest, + GetMaintenanceWindowExecutionResult, +} from "../models/models_1"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface GetMaintenanceWindowExecutionCommandInput + extends GetMaintenanceWindowExecutionRequest {} +export interface GetMaintenanceWindowExecutionCommandOutput + extends GetMaintenanceWindowExecutionResult, + __MetadataBearer {} +export declare class GetMaintenanceWindowExecutionCommand extends $Command< + GetMaintenanceWindowExecutionCommandInput, + GetMaintenanceWindowExecutionCommandOutput, + SSMClientResolvedConfig +> { + readonly input: GetMaintenanceWindowExecutionCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: GetMaintenanceWindowExecutionCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler< + GetMaintenanceWindowExecutionCommandInput, + GetMaintenanceWindowExecutionCommandOutput + >; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetMaintenanceWindowExecutionTaskCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetMaintenanceWindowExecutionTaskCommand.d.ts new file mode 100644 index 00000000..dc151d99 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetMaintenanceWindowExecutionTaskCommand.d.ts @@ -0,0 +1,42 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + GetMaintenanceWindowExecutionTaskRequest, + GetMaintenanceWindowExecutionTaskResult, +} from "../models/models_1"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface GetMaintenanceWindowExecutionTaskCommandInput + extends GetMaintenanceWindowExecutionTaskRequest {} +export interface GetMaintenanceWindowExecutionTaskCommandOutput + extends GetMaintenanceWindowExecutionTaskResult, + __MetadataBearer {} +export declare class GetMaintenanceWindowExecutionTaskCommand extends $Command< + GetMaintenanceWindowExecutionTaskCommandInput, + GetMaintenanceWindowExecutionTaskCommandOutput, + SSMClientResolvedConfig +> { + readonly input: GetMaintenanceWindowExecutionTaskCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: GetMaintenanceWindowExecutionTaskCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler< + GetMaintenanceWindowExecutionTaskCommandInput, + GetMaintenanceWindowExecutionTaskCommandOutput + >; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetMaintenanceWindowExecutionTaskInvocationCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetMaintenanceWindowExecutionTaskInvocationCommand.d.ts new file mode 100644 index 00000000..285e6daf --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetMaintenanceWindowExecutionTaskInvocationCommand.d.ts @@ -0,0 +1,42 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + GetMaintenanceWindowExecutionTaskInvocationRequest, + GetMaintenanceWindowExecutionTaskInvocationResult, +} from "../models/models_1"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface GetMaintenanceWindowExecutionTaskInvocationCommandInput + extends GetMaintenanceWindowExecutionTaskInvocationRequest {} +export interface GetMaintenanceWindowExecutionTaskInvocationCommandOutput + extends GetMaintenanceWindowExecutionTaskInvocationResult, + __MetadataBearer {} +export declare class GetMaintenanceWindowExecutionTaskInvocationCommand extends $Command< + GetMaintenanceWindowExecutionTaskInvocationCommandInput, + GetMaintenanceWindowExecutionTaskInvocationCommandOutput, + SSMClientResolvedConfig +> { + readonly input: GetMaintenanceWindowExecutionTaskInvocationCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: GetMaintenanceWindowExecutionTaskInvocationCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler< + GetMaintenanceWindowExecutionTaskInvocationCommandInput, + GetMaintenanceWindowExecutionTaskInvocationCommandOutput + >; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetMaintenanceWindowTaskCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetMaintenanceWindowTaskCommand.d.ts new file mode 100644 index 00000000..e72ee92a --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetMaintenanceWindowTaskCommand.d.ts @@ -0,0 +1,42 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + GetMaintenanceWindowTaskRequest, + GetMaintenanceWindowTaskResult, +} from "../models/models_1"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface GetMaintenanceWindowTaskCommandInput + extends GetMaintenanceWindowTaskRequest {} +export interface GetMaintenanceWindowTaskCommandOutput + extends GetMaintenanceWindowTaskResult, + __MetadataBearer {} +export declare class GetMaintenanceWindowTaskCommand extends $Command< + GetMaintenanceWindowTaskCommandInput, + GetMaintenanceWindowTaskCommandOutput, + SSMClientResolvedConfig +> { + readonly input: GetMaintenanceWindowTaskCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: GetMaintenanceWindowTaskCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler< + GetMaintenanceWindowTaskCommandInput, + GetMaintenanceWindowTaskCommandOutput + >; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetAliasCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetOpsItemCommand.d.ts similarity index 52% rename from node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetAliasCommand.d.ts rename to node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetOpsItemCommand.d.ts index 64b5d6b6..ec6672ee 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetAliasCommand.d.ts +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetOpsItemCommand.d.ts @@ -6,30 +6,30 @@ import { MetadataBearer as __MetadataBearer, MiddlewareStack, } from "@smithy/types"; +import { GetOpsItemRequest, GetOpsItemResponse } from "../models/models_1"; import { - LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes, -} from "../LambdaClient"; -import { AliasConfiguration, GetAliasRequest } from "../models/models_0"; + SSMClientResolvedConfig, +} from "../SSMClient"; export { __MetadataBearer, $Command }; -export interface GetAliasCommandInput extends GetAliasRequest {} -export interface GetAliasCommandOutput - extends AliasConfiguration, +export interface GetOpsItemCommandInput extends GetOpsItemRequest {} +export interface GetOpsItemCommandOutput + extends GetOpsItemResponse, __MetadataBearer {} -export declare class GetAliasCommand extends $Command< - GetAliasCommandInput, - GetAliasCommandOutput, - LambdaClientResolvedConfig +export declare class GetOpsItemCommand extends $Command< + GetOpsItemCommandInput, + GetOpsItemCommandOutput, + SSMClientResolvedConfig > { - readonly input: GetAliasCommandInput; + readonly input: GetOpsItemCommandInput; static getEndpointParameterInstructions(): EndpointParameterInstructions; - constructor(input: GetAliasCommandInput); + constructor(input: GetOpsItemCommandInput); resolveMiddleware( clientStack: MiddlewareStack, - configuration: LambdaClientResolvedConfig, + configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions - ): Handler; + ): Handler; private serialize; private deserialize; } diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetOpsMetadataCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetOpsMetadataCommand.d.ts new file mode 100644 index 00000000..6ecce25c --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetOpsMetadataCommand.d.ts @@ -0,0 +1,38 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + GetOpsMetadataRequest, + GetOpsMetadataResult, +} from "../models/models_1"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface GetOpsMetadataCommandInput extends GetOpsMetadataRequest {} +export interface GetOpsMetadataCommandOutput + extends GetOpsMetadataResult, + __MetadataBearer {} +export declare class GetOpsMetadataCommand extends $Command< + GetOpsMetadataCommandInput, + GetOpsMetadataCommandOutput, + SSMClientResolvedConfig +> { + readonly input: GetOpsMetadataCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: GetOpsMetadataCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetOpsSummaryCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetOpsSummaryCommand.d.ts new file mode 100644 index 00000000..3b80d091 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetOpsSummaryCommand.d.ts @@ -0,0 +1,36 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { GetOpsSummaryResult } from "../models/models_1"; +import { GetOpsSummaryRequest } from "../models/models_2"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface GetOpsSummaryCommandInput extends GetOpsSummaryRequest {} +export interface GetOpsSummaryCommandOutput + extends GetOpsSummaryResult, + __MetadataBearer {} +export declare class GetOpsSummaryCommand extends $Command< + GetOpsSummaryCommandInput, + GetOpsSummaryCommandOutput, + SSMClientResolvedConfig +> { + readonly input: GetOpsSummaryCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: GetOpsSummaryCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/ListLayersCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetParameterCommand.d.ts similarity index 51% rename from node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/ListLayersCommand.d.ts rename to node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetParameterCommand.d.ts index b46e21aa..f8b8cbe0 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/ListLayersCommand.d.ts +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetParameterCommand.d.ts @@ -6,30 +6,30 @@ import { MetadataBearer as __MetadataBearer, MiddlewareStack, } from "@smithy/types"; +import { GetParameterRequest, GetParameterResult } from "../models/models_1"; import { - LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes, -} from "../LambdaClient"; -import { ListLayersRequest, ListLayersResponse } from "../models/models_0"; + SSMClientResolvedConfig, +} from "../SSMClient"; export { __MetadataBearer, $Command }; -export interface ListLayersCommandInput extends ListLayersRequest {} -export interface ListLayersCommandOutput - extends ListLayersResponse, +export interface GetParameterCommandInput extends GetParameterRequest {} +export interface GetParameterCommandOutput + extends GetParameterResult, __MetadataBearer {} -export declare class ListLayersCommand extends $Command< - ListLayersCommandInput, - ListLayersCommandOutput, - LambdaClientResolvedConfig +export declare class GetParameterCommand extends $Command< + GetParameterCommandInput, + GetParameterCommandOutput, + SSMClientResolvedConfig > { - readonly input: ListLayersCommandInput; + readonly input: GetParameterCommandInput; static getEndpointParameterInstructions(): EndpointParameterInstructions; - constructor(input: ListLayersCommandInput); + constructor(input: GetParameterCommandInput); resolveMiddleware( clientStack: MiddlewareStack, - configuration: LambdaClientResolvedConfig, + configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions - ): Handler; + ): Handler; private serialize; private deserialize; } diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetParameterHistoryCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetParameterHistoryCommand.d.ts new file mode 100644 index 00000000..87ea3e0c --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetParameterHistoryCommand.d.ts @@ -0,0 +1,39 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + GetParameterHistoryRequest, + GetParameterHistoryResult, +} from "../models/models_1"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface GetParameterHistoryCommandInput + extends GetParameterHistoryRequest {} +export interface GetParameterHistoryCommandOutput + extends GetParameterHistoryResult, + __MetadataBearer {} +export declare class GetParameterHistoryCommand extends $Command< + GetParameterHistoryCommandInput, + GetParameterHistoryCommandOutput, + SSMClientResolvedConfig +> { + readonly input: GetParameterHistoryCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: GetParameterHistoryCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetParametersByPathCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetParametersByPathCommand.d.ts new file mode 100644 index 00000000..64e50139 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetParametersByPathCommand.d.ts @@ -0,0 +1,39 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + GetParametersByPathRequest, + GetParametersByPathResult, +} from "../models/models_1"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface GetParametersByPathCommandInput + extends GetParametersByPathRequest {} +export interface GetParametersByPathCommandOutput + extends GetParametersByPathResult, + __MetadataBearer {} +export declare class GetParametersByPathCommand extends $Command< + GetParametersByPathCommandInput, + GetParametersByPathCommandOutput, + SSMClientResolvedConfig +> { + readonly input: GetParametersByPathCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: GetParametersByPathCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetParametersCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetParametersCommand.d.ts new file mode 100644 index 00000000..2cfa0b61 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetParametersCommand.d.ts @@ -0,0 +1,35 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { GetParametersRequest, GetParametersResult } from "../models/models_1"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface GetParametersCommandInput extends GetParametersRequest {} +export interface GetParametersCommandOutput + extends GetParametersResult, + __MetadataBearer {} +export declare class GetParametersCommand extends $Command< + GetParametersCommandInput, + GetParametersCommandOutput, + SSMClientResolvedConfig +> { + readonly input: GetParametersCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: GetParametersCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetPatchBaselineCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetPatchBaselineCommand.d.ts new file mode 100644 index 00000000..6cacffc1 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetPatchBaselineCommand.d.ts @@ -0,0 +1,38 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + GetPatchBaselineRequest, + GetPatchBaselineResult, +} from "../models/models_1"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface GetPatchBaselineCommandInput extends GetPatchBaselineRequest {} +export interface GetPatchBaselineCommandOutput + extends GetPatchBaselineResult, + __MetadataBearer {} +export declare class GetPatchBaselineCommand extends $Command< + GetPatchBaselineCommandInput, + GetPatchBaselineCommandOutput, + SSMClientResolvedConfig +> { + readonly input: GetPatchBaselineCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: GetPatchBaselineCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetPatchBaselineForPatchGroupCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetPatchBaselineForPatchGroupCommand.d.ts new file mode 100644 index 00000000..1201b218 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetPatchBaselineForPatchGroupCommand.d.ts @@ -0,0 +1,42 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + GetPatchBaselineForPatchGroupRequest, + GetPatchBaselineForPatchGroupResult, +} from "../models/models_1"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface GetPatchBaselineForPatchGroupCommandInput + extends GetPatchBaselineForPatchGroupRequest {} +export interface GetPatchBaselineForPatchGroupCommandOutput + extends GetPatchBaselineForPatchGroupResult, + __MetadataBearer {} +export declare class GetPatchBaselineForPatchGroupCommand extends $Command< + GetPatchBaselineForPatchGroupCommandInput, + GetPatchBaselineForPatchGroupCommandOutput, + SSMClientResolvedConfig +> { + readonly input: GetPatchBaselineForPatchGroupCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: GetPatchBaselineForPatchGroupCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler< + GetPatchBaselineForPatchGroupCommandInput, + GetPatchBaselineForPatchGroupCommandOutput + >; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetResourcePoliciesCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetResourcePoliciesCommand.d.ts new file mode 100644 index 00000000..f4f6b307 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetResourcePoliciesCommand.d.ts @@ -0,0 +1,39 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + GetResourcePoliciesRequest, + GetResourcePoliciesResponse, +} from "../models/models_1"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface GetResourcePoliciesCommandInput + extends GetResourcePoliciesRequest {} +export interface GetResourcePoliciesCommandOutput + extends GetResourcePoliciesResponse, + __MetadataBearer {} +export declare class GetResourcePoliciesCommand extends $Command< + GetResourcePoliciesCommandInput, + GetResourcePoliciesCommandOutput, + SSMClientResolvedConfig +> { + readonly input: GetResourcePoliciesCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: GetResourcePoliciesCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetServiceSettingCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetServiceSettingCommand.d.ts new file mode 100644 index 00000000..9cfadfc7 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/GetServiceSettingCommand.d.ts @@ -0,0 +1,39 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + GetServiceSettingRequest, + GetServiceSettingResult, +} from "../models/models_1"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface GetServiceSettingCommandInput + extends GetServiceSettingRequest {} +export interface GetServiceSettingCommandOutput + extends GetServiceSettingResult, + __MetadataBearer {} +export declare class GetServiceSettingCommand extends $Command< + GetServiceSettingCommandInput, + GetServiceSettingCommandOutput, + SSMClientResolvedConfig +> { + readonly input: GetServiceSettingCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: GetServiceSettingCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/LabelParameterVersionCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/LabelParameterVersionCommand.d.ts new file mode 100644 index 00000000..ee0cadef --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/LabelParameterVersionCommand.d.ts @@ -0,0 +1,42 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + LabelParameterVersionRequest, + LabelParameterVersionResult, +} from "../models/models_1"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface LabelParameterVersionCommandInput + extends LabelParameterVersionRequest {} +export interface LabelParameterVersionCommandOutput + extends LabelParameterVersionResult, + __MetadataBearer {} +export declare class LabelParameterVersionCommand extends $Command< + LabelParameterVersionCommandInput, + LabelParameterVersionCommandOutput, + SSMClientResolvedConfig +> { + readonly input: LabelParameterVersionCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: LabelParameterVersionCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler< + LabelParameterVersionCommandInput, + LabelParameterVersionCommandOutput + >; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListAssociationVersionsCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListAssociationVersionsCommand.d.ts new file mode 100644 index 00000000..341af724 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListAssociationVersionsCommand.d.ts @@ -0,0 +1,42 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + ListAssociationVersionsRequest, + ListAssociationVersionsResult, +} from "../models/models_1"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface ListAssociationVersionsCommandInput + extends ListAssociationVersionsRequest {} +export interface ListAssociationVersionsCommandOutput + extends ListAssociationVersionsResult, + __MetadataBearer {} +export declare class ListAssociationVersionsCommand extends $Command< + ListAssociationVersionsCommandInput, + ListAssociationVersionsCommandOutput, + SSMClientResolvedConfig +> { + readonly input: ListAssociationVersionsCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: ListAssociationVersionsCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler< + ListAssociationVersionsCommandInput, + ListAssociationVersionsCommandOutput + >; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListAssociationsCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListAssociationsCommand.d.ts new file mode 100644 index 00000000..a8ad52cb --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListAssociationsCommand.d.ts @@ -0,0 +1,38 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + ListAssociationsRequest, + ListAssociationsResult, +} from "../models/models_1"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface ListAssociationsCommandInput extends ListAssociationsRequest {} +export interface ListAssociationsCommandOutput + extends ListAssociationsResult, + __MetadataBearer {} +export declare class ListAssociationsCommand extends $Command< + ListAssociationsCommandInput, + ListAssociationsCommandOutput, + SSMClientResolvedConfig +> { + readonly input: ListAssociationsCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: ListAssociationsCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListCommandInvocationsCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListCommandInvocationsCommand.d.ts new file mode 100644 index 00000000..92542180 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListCommandInvocationsCommand.d.ts @@ -0,0 +1,42 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + ListCommandInvocationsRequest, + ListCommandInvocationsResult, +} from "../models/models_1"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface ListCommandInvocationsCommandInput + extends ListCommandInvocationsRequest {} +export interface ListCommandInvocationsCommandOutput + extends ListCommandInvocationsResult, + __MetadataBearer {} +export declare class ListCommandInvocationsCommand extends $Command< + ListCommandInvocationsCommandInput, + ListCommandInvocationsCommandOutput, + SSMClientResolvedConfig +> { + readonly input: ListCommandInvocationsCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: ListCommandInvocationsCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler< + ListCommandInvocationsCommandInput, + ListCommandInvocationsCommandOutput + >; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/ListTagsCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListCommandsCommand.d.ts similarity index 53% rename from node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/ListTagsCommand.d.ts rename to node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListCommandsCommand.d.ts index ecd80f11..e3463a45 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/ListTagsCommand.d.ts +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListCommandsCommand.d.ts @@ -6,30 +6,30 @@ import { MetadataBearer as __MetadataBearer, MiddlewareStack, } from "@smithy/types"; +import { ListCommandsRequest, ListCommandsResult } from "../models/models_1"; import { - LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes, -} from "../LambdaClient"; -import { ListTagsRequest, ListTagsResponse } from "../models/models_0"; + SSMClientResolvedConfig, +} from "../SSMClient"; export { __MetadataBearer, $Command }; -export interface ListTagsCommandInput extends ListTagsRequest {} -export interface ListTagsCommandOutput - extends ListTagsResponse, +export interface ListCommandsCommandInput extends ListCommandsRequest {} +export interface ListCommandsCommandOutput + extends ListCommandsResult, __MetadataBearer {} -export declare class ListTagsCommand extends $Command< - ListTagsCommandInput, - ListTagsCommandOutput, - LambdaClientResolvedConfig +export declare class ListCommandsCommand extends $Command< + ListCommandsCommandInput, + ListCommandsCommandOutput, + SSMClientResolvedConfig > { - readonly input: ListTagsCommandInput; + readonly input: ListCommandsCommandInput; static getEndpointParameterInstructions(): EndpointParameterInstructions; - constructor(input: ListTagsCommandInput); + constructor(input: ListCommandsCommandInput); resolveMiddleware( clientStack: MiddlewareStack, - configuration: LambdaClientResolvedConfig, + configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions - ): Handler; + ): Handler; private serialize; private deserialize; } diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListComplianceItemsCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListComplianceItemsCommand.d.ts new file mode 100644 index 00000000..20b80d93 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListComplianceItemsCommand.d.ts @@ -0,0 +1,39 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + ListComplianceItemsRequest, + ListComplianceItemsResult, +} from "../models/models_1"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface ListComplianceItemsCommandInput + extends ListComplianceItemsRequest {} +export interface ListComplianceItemsCommandOutput + extends ListComplianceItemsResult, + __MetadataBearer {} +export declare class ListComplianceItemsCommand extends $Command< + ListComplianceItemsCommandInput, + ListComplianceItemsCommandOutput, + SSMClientResolvedConfig +> { + readonly input: ListComplianceItemsCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: ListComplianceItemsCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListComplianceSummariesCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListComplianceSummariesCommand.d.ts new file mode 100644 index 00000000..2b264155 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListComplianceSummariesCommand.d.ts @@ -0,0 +1,42 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + ListComplianceSummariesRequest, + ListComplianceSummariesResult, +} from "../models/models_1"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface ListComplianceSummariesCommandInput + extends ListComplianceSummariesRequest {} +export interface ListComplianceSummariesCommandOutput + extends ListComplianceSummariesResult, + __MetadataBearer {} +export declare class ListComplianceSummariesCommand extends $Command< + ListComplianceSummariesCommandInput, + ListComplianceSummariesCommandOutput, + SSMClientResolvedConfig +> { + readonly input: ListComplianceSummariesCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: ListComplianceSummariesCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler< + ListComplianceSummariesCommandInput, + ListComplianceSummariesCommandOutput + >; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListDocumentMetadataHistoryCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListDocumentMetadataHistoryCommand.d.ts new file mode 100644 index 00000000..49ec040a --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListDocumentMetadataHistoryCommand.d.ts @@ -0,0 +1,42 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + ListDocumentMetadataHistoryRequest, + ListDocumentMetadataHistoryResponse, +} from "../models/models_1"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface ListDocumentMetadataHistoryCommandInput + extends ListDocumentMetadataHistoryRequest {} +export interface ListDocumentMetadataHistoryCommandOutput + extends ListDocumentMetadataHistoryResponse, + __MetadataBearer {} +export declare class ListDocumentMetadataHistoryCommand extends $Command< + ListDocumentMetadataHistoryCommandInput, + ListDocumentMetadataHistoryCommandOutput, + SSMClientResolvedConfig +> { + readonly input: ListDocumentMetadataHistoryCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: ListDocumentMetadataHistoryCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler< + ListDocumentMetadataHistoryCommandInput, + ListDocumentMetadataHistoryCommandOutput + >; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListDocumentVersionsCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListDocumentVersionsCommand.d.ts new file mode 100644 index 00000000..e4c860d0 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListDocumentVersionsCommand.d.ts @@ -0,0 +1,42 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + ListDocumentVersionsRequest, + ListDocumentVersionsResult, +} from "../models/models_1"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface ListDocumentVersionsCommandInput + extends ListDocumentVersionsRequest {} +export interface ListDocumentVersionsCommandOutput + extends ListDocumentVersionsResult, + __MetadataBearer {} +export declare class ListDocumentVersionsCommand extends $Command< + ListDocumentVersionsCommandInput, + ListDocumentVersionsCommandOutput, + SSMClientResolvedConfig +> { + readonly input: ListDocumentVersionsCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: ListDocumentVersionsCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler< + ListDocumentVersionsCommandInput, + ListDocumentVersionsCommandOutput + >; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListDocumentsCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListDocumentsCommand.d.ts new file mode 100644 index 00000000..4091c783 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListDocumentsCommand.d.ts @@ -0,0 +1,35 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { ListDocumentsRequest, ListDocumentsResult } from "../models/models_1"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface ListDocumentsCommandInput extends ListDocumentsRequest {} +export interface ListDocumentsCommandOutput + extends ListDocumentsResult, + __MetadataBearer {} +export declare class ListDocumentsCommand extends $Command< + ListDocumentsCommandInput, + ListDocumentsCommandOutput, + SSMClientResolvedConfig +> { + readonly input: ListDocumentsCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: ListDocumentsCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListInventoryEntriesCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListInventoryEntriesCommand.d.ts new file mode 100644 index 00000000..2155e6ce --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListInventoryEntriesCommand.d.ts @@ -0,0 +1,42 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + ListInventoryEntriesRequest, + ListInventoryEntriesResult, +} from "../models/models_1"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface ListInventoryEntriesCommandInput + extends ListInventoryEntriesRequest {} +export interface ListInventoryEntriesCommandOutput + extends ListInventoryEntriesResult, + __MetadataBearer {} +export declare class ListInventoryEntriesCommand extends $Command< + ListInventoryEntriesCommandInput, + ListInventoryEntriesCommandOutput, + SSMClientResolvedConfig +> { + readonly input: ListInventoryEntriesCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: ListInventoryEntriesCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler< + ListInventoryEntriesCommandInput, + ListInventoryEntriesCommandOutput + >; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListOpsItemEventsCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListOpsItemEventsCommand.d.ts new file mode 100644 index 00000000..03580ef6 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListOpsItemEventsCommand.d.ts @@ -0,0 +1,39 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + ListOpsItemEventsRequest, + ListOpsItemEventsResponse, +} from "../models/models_1"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface ListOpsItemEventsCommandInput + extends ListOpsItemEventsRequest {} +export interface ListOpsItemEventsCommandOutput + extends ListOpsItemEventsResponse, + __MetadataBearer {} +export declare class ListOpsItemEventsCommand extends $Command< + ListOpsItemEventsCommandInput, + ListOpsItemEventsCommandOutput, + SSMClientResolvedConfig +> { + readonly input: ListOpsItemEventsCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: ListOpsItemEventsCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListOpsItemRelatedItemsCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListOpsItemRelatedItemsCommand.d.ts new file mode 100644 index 00000000..d856b5f0 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListOpsItemRelatedItemsCommand.d.ts @@ -0,0 +1,42 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + ListOpsItemRelatedItemsRequest, + ListOpsItemRelatedItemsResponse, +} from "../models/models_1"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface ListOpsItemRelatedItemsCommandInput + extends ListOpsItemRelatedItemsRequest {} +export interface ListOpsItemRelatedItemsCommandOutput + extends ListOpsItemRelatedItemsResponse, + __MetadataBearer {} +export declare class ListOpsItemRelatedItemsCommand extends $Command< + ListOpsItemRelatedItemsCommandInput, + ListOpsItemRelatedItemsCommandOutput, + SSMClientResolvedConfig +> { + readonly input: ListOpsItemRelatedItemsCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: ListOpsItemRelatedItemsCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler< + ListOpsItemRelatedItemsCommandInput, + ListOpsItemRelatedItemsCommandOutput + >; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListOpsMetadataCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListOpsMetadataCommand.d.ts new file mode 100644 index 00000000..15b78899 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListOpsMetadataCommand.d.ts @@ -0,0 +1,38 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + ListOpsMetadataRequest, + ListOpsMetadataResult, +} from "../models/models_1"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface ListOpsMetadataCommandInput extends ListOpsMetadataRequest {} +export interface ListOpsMetadataCommandOutput + extends ListOpsMetadataResult, + __MetadataBearer {} +export declare class ListOpsMetadataCommand extends $Command< + ListOpsMetadataCommandInput, + ListOpsMetadataCommandOutput, + SSMClientResolvedConfig +> { + readonly input: ListOpsMetadataCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: ListOpsMetadataCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListResourceComplianceSummariesCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListResourceComplianceSummariesCommand.d.ts new file mode 100644 index 00000000..1a15a42e --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListResourceComplianceSummariesCommand.d.ts @@ -0,0 +1,42 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + ListResourceComplianceSummariesRequest, + ListResourceComplianceSummariesResult, +} from "../models/models_1"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface ListResourceComplianceSummariesCommandInput + extends ListResourceComplianceSummariesRequest {} +export interface ListResourceComplianceSummariesCommandOutput + extends ListResourceComplianceSummariesResult, + __MetadataBearer {} +export declare class ListResourceComplianceSummariesCommand extends $Command< + ListResourceComplianceSummariesCommandInput, + ListResourceComplianceSummariesCommandOutput, + SSMClientResolvedConfig +> { + readonly input: ListResourceComplianceSummariesCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: ListResourceComplianceSummariesCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler< + ListResourceComplianceSummariesCommandInput, + ListResourceComplianceSummariesCommandOutput + >; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListResourceDataSyncCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListResourceDataSyncCommand.d.ts new file mode 100644 index 00000000..a5224f56 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListResourceDataSyncCommand.d.ts @@ -0,0 +1,42 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + ListResourceDataSyncRequest, + ListResourceDataSyncResult, +} from "../models/models_1"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface ListResourceDataSyncCommandInput + extends ListResourceDataSyncRequest {} +export interface ListResourceDataSyncCommandOutput + extends ListResourceDataSyncResult, + __MetadataBearer {} +export declare class ListResourceDataSyncCommand extends $Command< + ListResourceDataSyncCommandInput, + ListResourceDataSyncCommandOutput, + SSMClientResolvedConfig +> { + readonly input: ListResourceDataSyncCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: ListResourceDataSyncCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler< + ListResourceDataSyncCommandInput, + ListResourceDataSyncCommandOutput + >; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts new file mode 100644 index 00000000..26cf9396 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts @@ -0,0 +1,39 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + ListTagsForResourceRequest, + ListTagsForResourceResult, +} from "../models/models_1"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface ListTagsForResourceCommandInput + extends ListTagsForResourceRequest {} +export interface ListTagsForResourceCommandOutput + extends ListTagsForResourceResult, + __MetadataBearer {} +export declare class ListTagsForResourceCommand extends $Command< + ListTagsForResourceCommandInput, + ListTagsForResourceCommandOutput, + SSMClientResolvedConfig +> { + readonly input: ListTagsForResourceCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: ListTagsForResourceCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ModifyDocumentPermissionCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ModifyDocumentPermissionCommand.d.ts new file mode 100644 index 00000000..4f71e8bf --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ModifyDocumentPermissionCommand.d.ts @@ -0,0 +1,42 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + ModifyDocumentPermissionRequest, + ModifyDocumentPermissionResponse, +} from "../models/models_1"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface ModifyDocumentPermissionCommandInput + extends ModifyDocumentPermissionRequest {} +export interface ModifyDocumentPermissionCommandOutput + extends ModifyDocumentPermissionResponse, + __MetadataBearer {} +export declare class ModifyDocumentPermissionCommand extends $Command< + ModifyDocumentPermissionCommandInput, + ModifyDocumentPermissionCommandOutput, + SSMClientResolvedConfig +> { + readonly input: ModifyDocumentPermissionCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: ModifyDocumentPermissionCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler< + ModifyDocumentPermissionCommandInput, + ModifyDocumentPermissionCommandOutput + >; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/PutComplianceItemsCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/PutComplianceItemsCommand.d.ts new file mode 100644 index 00000000..5f11804c --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/PutComplianceItemsCommand.d.ts @@ -0,0 +1,39 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + PutComplianceItemsRequest, + PutComplianceItemsResult, +} from "../models/models_1"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface PutComplianceItemsCommandInput + extends PutComplianceItemsRequest {} +export interface PutComplianceItemsCommandOutput + extends PutComplianceItemsResult, + __MetadataBearer {} +export declare class PutComplianceItemsCommand extends $Command< + PutComplianceItemsCommandInput, + PutComplianceItemsCommandOutput, + SSMClientResolvedConfig +> { + readonly input: PutComplianceItemsCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: PutComplianceItemsCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetPolicyCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/PutInventoryCommand.d.ts similarity index 51% rename from node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetPolicyCommand.d.ts rename to node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/PutInventoryCommand.d.ts index f8733db6..f7bc9d87 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetPolicyCommand.d.ts +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/PutInventoryCommand.d.ts @@ -6,30 +6,30 @@ import { MetadataBearer as __MetadataBearer, MiddlewareStack, } from "@smithy/types"; +import { PutInventoryRequest, PutInventoryResult } from "../models/models_1"; import { - LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes, -} from "../LambdaClient"; -import { GetPolicyRequest, GetPolicyResponse } from "../models/models_0"; + SSMClientResolvedConfig, +} from "../SSMClient"; export { __MetadataBearer, $Command }; -export interface GetPolicyCommandInput extends GetPolicyRequest {} -export interface GetPolicyCommandOutput - extends GetPolicyResponse, +export interface PutInventoryCommandInput extends PutInventoryRequest {} +export interface PutInventoryCommandOutput + extends PutInventoryResult, __MetadataBearer {} -export declare class GetPolicyCommand extends $Command< - GetPolicyCommandInput, - GetPolicyCommandOutput, - LambdaClientResolvedConfig +export declare class PutInventoryCommand extends $Command< + PutInventoryCommandInput, + PutInventoryCommandOutput, + SSMClientResolvedConfig > { - readonly input: GetPolicyCommandInput; + readonly input: PutInventoryCommandInput; static getEndpointParameterInstructions(): EndpointParameterInstructions; - constructor(input: GetPolicyCommandInput); + constructor(input: PutInventoryCommandInput); resolveMiddleware( clientStack: MiddlewareStack, - configuration: LambdaClientResolvedConfig, + configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions - ): Handler; + ): Handler; private serialize; private deserialize; } diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/PutParameterCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/PutParameterCommand.d.ts new file mode 100644 index 00000000..4eb209aa --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/PutParameterCommand.d.ts @@ -0,0 +1,35 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { PutParameterRequest, PutParameterResult } from "../models/models_1"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface PutParameterCommandInput extends PutParameterRequest {} +export interface PutParameterCommandOutput + extends PutParameterResult, + __MetadataBearer {} +export declare class PutParameterCommand extends $Command< + PutParameterCommandInput, + PutParameterCommandOutput, + SSMClientResolvedConfig +> { + readonly input: PutParameterCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: PutParameterCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts new file mode 100644 index 00000000..060089ad --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts @@ -0,0 +1,39 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + PutResourcePolicyRequest, + PutResourcePolicyResponse, +} from "../models/models_1"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface PutResourcePolicyCommandInput + extends PutResourcePolicyRequest {} +export interface PutResourcePolicyCommandOutput + extends PutResourcePolicyResponse, + __MetadataBearer {} +export declare class PutResourcePolicyCommand extends $Command< + PutResourcePolicyCommandInput, + PutResourcePolicyCommandOutput, + SSMClientResolvedConfig +> { + readonly input: PutResourcePolicyCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: PutResourcePolicyCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/RegisterDefaultPatchBaselineCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/RegisterDefaultPatchBaselineCommand.d.ts new file mode 100644 index 00000000..21b4783c --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/RegisterDefaultPatchBaselineCommand.d.ts @@ -0,0 +1,42 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + RegisterDefaultPatchBaselineRequest, + RegisterDefaultPatchBaselineResult, +} from "../models/models_1"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface RegisterDefaultPatchBaselineCommandInput + extends RegisterDefaultPatchBaselineRequest {} +export interface RegisterDefaultPatchBaselineCommandOutput + extends RegisterDefaultPatchBaselineResult, + __MetadataBearer {} +export declare class RegisterDefaultPatchBaselineCommand extends $Command< + RegisterDefaultPatchBaselineCommandInput, + RegisterDefaultPatchBaselineCommandOutput, + SSMClientResolvedConfig +> { + readonly input: RegisterDefaultPatchBaselineCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: RegisterDefaultPatchBaselineCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler< + RegisterDefaultPatchBaselineCommandInput, + RegisterDefaultPatchBaselineCommandOutput + >; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/RegisterPatchBaselineForPatchGroupCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/RegisterPatchBaselineForPatchGroupCommand.d.ts new file mode 100644 index 00000000..e5ecc93b --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/RegisterPatchBaselineForPatchGroupCommand.d.ts @@ -0,0 +1,42 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + RegisterPatchBaselineForPatchGroupRequest, + RegisterPatchBaselineForPatchGroupResult, +} from "../models/models_1"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface RegisterPatchBaselineForPatchGroupCommandInput + extends RegisterPatchBaselineForPatchGroupRequest {} +export interface RegisterPatchBaselineForPatchGroupCommandOutput + extends RegisterPatchBaselineForPatchGroupResult, + __MetadataBearer {} +export declare class RegisterPatchBaselineForPatchGroupCommand extends $Command< + RegisterPatchBaselineForPatchGroupCommandInput, + RegisterPatchBaselineForPatchGroupCommandOutput, + SSMClientResolvedConfig +> { + readonly input: RegisterPatchBaselineForPatchGroupCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: RegisterPatchBaselineForPatchGroupCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler< + RegisterPatchBaselineForPatchGroupCommandInput, + RegisterPatchBaselineForPatchGroupCommandOutput + >; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/RegisterTargetWithMaintenanceWindowCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/RegisterTargetWithMaintenanceWindowCommand.d.ts new file mode 100644 index 00000000..210c44fd --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/RegisterTargetWithMaintenanceWindowCommand.d.ts @@ -0,0 +1,42 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + RegisterTargetWithMaintenanceWindowRequest, + RegisterTargetWithMaintenanceWindowResult, +} from "../models/models_1"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface RegisterTargetWithMaintenanceWindowCommandInput + extends RegisterTargetWithMaintenanceWindowRequest {} +export interface RegisterTargetWithMaintenanceWindowCommandOutput + extends RegisterTargetWithMaintenanceWindowResult, + __MetadataBearer {} +export declare class RegisterTargetWithMaintenanceWindowCommand extends $Command< + RegisterTargetWithMaintenanceWindowCommandInput, + RegisterTargetWithMaintenanceWindowCommandOutput, + SSMClientResolvedConfig +> { + readonly input: RegisterTargetWithMaintenanceWindowCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: RegisterTargetWithMaintenanceWindowCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler< + RegisterTargetWithMaintenanceWindowCommandInput, + RegisterTargetWithMaintenanceWindowCommandOutput + >; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/RegisterTaskWithMaintenanceWindowCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/RegisterTaskWithMaintenanceWindowCommand.d.ts new file mode 100644 index 00000000..00ca8f2c --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/RegisterTaskWithMaintenanceWindowCommand.d.ts @@ -0,0 +1,42 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + RegisterTaskWithMaintenanceWindowRequest, + RegisterTaskWithMaintenanceWindowResult, +} from "../models/models_1"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface RegisterTaskWithMaintenanceWindowCommandInput + extends RegisterTaskWithMaintenanceWindowRequest {} +export interface RegisterTaskWithMaintenanceWindowCommandOutput + extends RegisterTaskWithMaintenanceWindowResult, + __MetadataBearer {} +export declare class RegisterTaskWithMaintenanceWindowCommand extends $Command< + RegisterTaskWithMaintenanceWindowCommandInput, + RegisterTaskWithMaintenanceWindowCommandOutput, + SSMClientResolvedConfig +> { + readonly input: RegisterTaskWithMaintenanceWindowCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: RegisterTaskWithMaintenanceWindowCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler< + RegisterTaskWithMaintenanceWindowCommandInput, + RegisterTaskWithMaintenanceWindowCommandOutput + >; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/RemoveTagsFromResourceCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/RemoveTagsFromResourceCommand.d.ts new file mode 100644 index 00000000..fc74703c --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/RemoveTagsFromResourceCommand.d.ts @@ -0,0 +1,42 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + RemoveTagsFromResourceRequest, + RemoveTagsFromResourceResult, +} from "../models/models_1"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface RemoveTagsFromResourceCommandInput + extends RemoveTagsFromResourceRequest {} +export interface RemoveTagsFromResourceCommandOutput + extends RemoveTagsFromResourceResult, + __MetadataBearer {} +export declare class RemoveTagsFromResourceCommand extends $Command< + RemoveTagsFromResourceCommandInput, + RemoveTagsFromResourceCommandOutput, + SSMClientResolvedConfig +> { + readonly input: RemoveTagsFromResourceCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: RemoveTagsFromResourceCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler< + RemoveTagsFromResourceCommandInput, + RemoveTagsFromResourceCommandOutput + >; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ResetServiceSettingCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ResetServiceSettingCommand.d.ts new file mode 100644 index 00000000..24fdf7bd --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ResetServiceSettingCommand.d.ts @@ -0,0 +1,39 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + ResetServiceSettingRequest, + ResetServiceSettingResult, +} from "../models/models_1"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface ResetServiceSettingCommandInput + extends ResetServiceSettingRequest {} +export interface ResetServiceSettingCommandOutput + extends ResetServiceSettingResult, + __MetadataBearer {} +export declare class ResetServiceSettingCommand extends $Command< + ResetServiceSettingCommandInput, + ResetServiceSettingCommandOutput, + SSMClientResolvedConfig +> { + readonly input: ResetServiceSettingCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: ResetServiceSettingCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ResumeSessionCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ResumeSessionCommand.d.ts new file mode 100644 index 00000000..dbf9b9ad --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/ResumeSessionCommand.d.ts @@ -0,0 +1,38 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + ResumeSessionRequest, + ResumeSessionResponse, +} from "../models/models_1"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface ResumeSessionCommandInput extends ResumeSessionRequest {} +export interface ResumeSessionCommandOutput + extends ResumeSessionResponse, + __MetadataBearer {} +export declare class ResumeSessionCommand extends $Command< + ResumeSessionCommandInput, + ResumeSessionCommandOutput, + SSMClientResolvedConfig +> { + readonly input: ResumeSessionCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: ResumeSessionCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/SendAutomationSignalCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/SendAutomationSignalCommand.d.ts new file mode 100644 index 00000000..55f9d6f9 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/SendAutomationSignalCommand.d.ts @@ -0,0 +1,42 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + SendAutomationSignalRequest, + SendAutomationSignalResult, +} from "../models/models_1"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface SendAutomationSignalCommandInput + extends SendAutomationSignalRequest {} +export interface SendAutomationSignalCommandOutput + extends SendAutomationSignalResult, + __MetadataBearer {} +export declare class SendAutomationSignalCommand extends $Command< + SendAutomationSignalCommandInput, + SendAutomationSignalCommandOutput, + SSMClientResolvedConfig +> { + readonly input: SendAutomationSignalCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: SendAutomationSignalCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler< + SendAutomationSignalCommandInput, + SendAutomationSignalCommandOutput + >; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/UpdateAliasCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/SendCommandCommand.d.ts similarity index 52% rename from node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/UpdateAliasCommand.d.ts rename to node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/SendCommandCommand.d.ts index 4a88a219..b90e2371 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/UpdateAliasCommand.d.ts +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/SendCommandCommand.d.ts @@ -6,30 +6,30 @@ import { MetadataBearer as __MetadataBearer, MiddlewareStack, } from "@smithy/types"; +import { SendCommandRequest, SendCommandResult } from "../models/models_1"; import { - LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes, -} from "../LambdaClient"; -import { AliasConfiguration, UpdateAliasRequest } from "../models/models_0"; + SSMClientResolvedConfig, +} from "../SSMClient"; export { __MetadataBearer, $Command }; -export interface UpdateAliasCommandInput extends UpdateAliasRequest {} -export interface UpdateAliasCommandOutput - extends AliasConfiguration, +export interface SendCommandCommandInput extends SendCommandRequest {} +export interface SendCommandCommandOutput + extends SendCommandResult, __MetadataBearer {} -export declare class UpdateAliasCommand extends $Command< - UpdateAliasCommandInput, - UpdateAliasCommandOutput, - LambdaClientResolvedConfig +export declare class SendCommandCommand extends $Command< + SendCommandCommandInput, + SendCommandCommandOutput, + SSMClientResolvedConfig > { - readonly input: UpdateAliasCommandInput; + readonly input: SendCommandCommandInput; static getEndpointParameterInstructions(): EndpointParameterInstructions; - constructor(input: UpdateAliasCommandInput); + constructor(input: SendCommandCommandInput); resolveMiddleware( clientStack: MiddlewareStack, - configuration: LambdaClientResolvedConfig, + configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions - ): Handler; + ): Handler; private serialize; private deserialize; } diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/StartAssociationsOnceCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/StartAssociationsOnceCommand.d.ts new file mode 100644 index 00000000..6a1228ab --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/StartAssociationsOnceCommand.d.ts @@ -0,0 +1,42 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + StartAssociationsOnceRequest, + StartAssociationsOnceResult, +} from "../models/models_1"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface StartAssociationsOnceCommandInput + extends StartAssociationsOnceRequest {} +export interface StartAssociationsOnceCommandOutput + extends StartAssociationsOnceResult, + __MetadataBearer {} +export declare class StartAssociationsOnceCommand extends $Command< + StartAssociationsOnceCommandInput, + StartAssociationsOnceCommandOutput, + SSMClientResolvedConfig +> { + readonly input: StartAssociationsOnceCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: StartAssociationsOnceCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler< + StartAssociationsOnceCommandInput, + StartAssociationsOnceCommandOutput + >; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/StartAutomationExecutionCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/StartAutomationExecutionCommand.d.ts new file mode 100644 index 00000000..bcece1d6 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/StartAutomationExecutionCommand.d.ts @@ -0,0 +1,42 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + StartAutomationExecutionRequest, + StartAutomationExecutionResult, +} from "../models/models_1"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface StartAutomationExecutionCommandInput + extends StartAutomationExecutionRequest {} +export interface StartAutomationExecutionCommandOutput + extends StartAutomationExecutionResult, + __MetadataBearer {} +export declare class StartAutomationExecutionCommand extends $Command< + StartAutomationExecutionCommandInput, + StartAutomationExecutionCommandOutput, + SSMClientResolvedConfig +> { + readonly input: StartAutomationExecutionCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: StartAutomationExecutionCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler< + StartAutomationExecutionCommandInput, + StartAutomationExecutionCommandOutput + >; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/StartChangeRequestExecutionCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/StartChangeRequestExecutionCommand.d.ts new file mode 100644 index 00000000..39596d0a --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/StartChangeRequestExecutionCommand.d.ts @@ -0,0 +1,42 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + StartChangeRequestExecutionRequest, + StartChangeRequestExecutionResult, +} from "../models/models_1"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface StartChangeRequestExecutionCommandInput + extends StartChangeRequestExecutionRequest {} +export interface StartChangeRequestExecutionCommandOutput + extends StartChangeRequestExecutionResult, + __MetadataBearer {} +export declare class StartChangeRequestExecutionCommand extends $Command< + StartChangeRequestExecutionCommandInput, + StartChangeRequestExecutionCommandOutput, + SSMClientResolvedConfig +> { + readonly input: StartChangeRequestExecutionCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: StartChangeRequestExecutionCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler< + StartChangeRequestExecutionCommandInput, + StartChangeRequestExecutionCommandOutput + >; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetFunctionCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/StartSessionCommand.d.ts similarity index 51% rename from node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetFunctionCommand.d.ts rename to node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/StartSessionCommand.d.ts index b4778cb5..06d225ef 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/commands/GetFunctionCommand.d.ts +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/StartSessionCommand.d.ts @@ -6,30 +6,30 @@ import { MetadataBearer as __MetadataBearer, MiddlewareStack, } from "@smithy/types"; +import { StartSessionRequest, StartSessionResponse } from "../models/models_1"; import { - LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes, -} from "../LambdaClient"; -import { GetFunctionRequest, GetFunctionResponse } from "../models/models_0"; + SSMClientResolvedConfig, +} from "../SSMClient"; export { __MetadataBearer, $Command }; -export interface GetFunctionCommandInput extends GetFunctionRequest {} -export interface GetFunctionCommandOutput - extends GetFunctionResponse, +export interface StartSessionCommandInput extends StartSessionRequest {} +export interface StartSessionCommandOutput + extends StartSessionResponse, __MetadataBearer {} -export declare class GetFunctionCommand extends $Command< - GetFunctionCommandInput, - GetFunctionCommandOutput, - LambdaClientResolvedConfig +export declare class StartSessionCommand extends $Command< + StartSessionCommandInput, + StartSessionCommandOutput, + SSMClientResolvedConfig > { - readonly input: GetFunctionCommandInput; + readonly input: StartSessionCommandInput; static getEndpointParameterInstructions(): EndpointParameterInstructions; - constructor(input: GetFunctionCommandInput); + constructor(input: StartSessionCommandInput); resolveMiddleware( clientStack: MiddlewareStack, - configuration: LambdaClientResolvedConfig, + configuration: SSMClientResolvedConfig, options?: __HttpHandlerOptions - ): Handler; + ): Handler; private serialize; private deserialize; } diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/StopAutomationExecutionCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/StopAutomationExecutionCommand.d.ts new file mode 100644 index 00000000..77c4bdc6 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/StopAutomationExecutionCommand.d.ts @@ -0,0 +1,42 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + StopAutomationExecutionRequest, + StopAutomationExecutionResult, +} from "../models/models_1"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface StopAutomationExecutionCommandInput + extends StopAutomationExecutionRequest {} +export interface StopAutomationExecutionCommandOutput + extends StopAutomationExecutionResult, + __MetadataBearer {} +export declare class StopAutomationExecutionCommand extends $Command< + StopAutomationExecutionCommandInput, + StopAutomationExecutionCommandOutput, + SSMClientResolvedConfig +> { + readonly input: StopAutomationExecutionCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: StopAutomationExecutionCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler< + StopAutomationExecutionCommandInput, + StopAutomationExecutionCommandOutput + >; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/TerminateSessionCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/TerminateSessionCommand.d.ts new file mode 100644 index 00000000..c89190f6 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/TerminateSessionCommand.d.ts @@ -0,0 +1,36 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { TerminateSessionRequest } from "../models/models_1"; +import { TerminateSessionResponse } from "../models/models_2"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface TerminateSessionCommandInput extends TerminateSessionRequest {} +export interface TerminateSessionCommandOutput + extends TerminateSessionResponse, + __MetadataBearer {} +export declare class TerminateSessionCommand extends $Command< + TerminateSessionCommandInput, + TerminateSessionCommandOutput, + SSMClientResolvedConfig +> { + readonly input: TerminateSessionCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: TerminateSessionCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UnlabelParameterVersionCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UnlabelParameterVersionCommand.d.ts new file mode 100644 index 00000000..e3cca68c --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UnlabelParameterVersionCommand.d.ts @@ -0,0 +1,42 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + UnlabelParameterVersionRequest, + UnlabelParameterVersionResult, +} from "../models/models_2"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface UnlabelParameterVersionCommandInput + extends UnlabelParameterVersionRequest {} +export interface UnlabelParameterVersionCommandOutput + extends UnlabelParameterVersionResult, + __MetadataBearer {} +export declare class UnlabelParameterVersionCommand extends $Command< + UnlabelParameterVersionCommandInput, + UnlabelParameterVersionCommandOutput, + SSMClientResolvedConfig +> { + readonly input: UnlabelParameterVersionCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: UnlabelParameterVersionCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler< + UnlabelParameterVersionCommandInput, + UnlabelParameterVersionCommandOutput + >; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateAssociationCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateAssociationCommand.d.ts new file mode 100644 index 00000000..717d518b --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateAssociationCommand.d.ts @@ -0,0 +1,39 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + UpdateAssociationRequest, + UpdateAssociationResult, +} from "../models/models_2"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface UpdateAssociationCommandInput + extends UpdateAssociationRequest {} +export interface UpdateAssociationCommandOutput + extends UpdateAssociationResult, + __MetadataBearer {} +export declare class UpdateAssociationCommand extends $Command< + UpdateAssociationCommandInput, + UpdateAssociationCommandOutput, + SSMClientResolvedConfig +> { + readonly input: UpdateAssociationCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: UpdateAssociationCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateAssociationStatusCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateAssociationStatusCommand.d.ts new file mode 100644 index 00000000..dfe8097b --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateAssociationStatusCommand.d.ts @@ -0,0 +1,42 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + UpdateAssociationStatusRequest, + UpdateAssociationStatusResult, +} from "../models/models_2"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface UpdateAssociationStatusCommandInput + extends UpdateAssociationStatusRequest {} +export interface UpdateAssociationStatusCommandOutput + extends UpdateAssociationStatusResult, + __MetadataBearer {} +export declare class UpdateAssociationStatusCommand extends $Command< + UpdateAssociationStatusCommandInput, + UpdateAssociationStatusCommandOutput, + SSMClientResolvedConfig +> { + readonly input: UpdateAssociationStatusCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: UpdateAssociationStatusCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler< + UpdateAssociationStatusCommandInput, + UpdateAssociationStatusCommandOutput + >; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateDocumentCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateDocumentCommand.d.ts new file mode 100644 index 00000000..29f84e22 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateDocumentCommand.d.ts @@ -0,0 +1,38 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + UpdateDocumentRequest, + UpdateDocumentResult, +} from "../models/models_2"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface UpdateDocumentCommandInput extends UpdateDocumentRequest {} +export interface UpdateDocumentCommandOutput + extends UpdateDocumentResult, + __MetadataBearer {} +export declare class UpdateDocumentCommand extends $Command< + UpdateDocumentCommandInput, + UpdateDocumentCommandOutput, + SSMClientResolvedConfig +> { + readonly input: UpdateDocumentCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: UpdateDocumentCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateDocumentDefaultVersionCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateDocumentDefaultVersionCommand.d.ts new file mode 100644 index 00000000..2ba08470 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateDocumentDefaultVersionCommand.d.ts @@ -0,0 +1,42 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + UpdateDocumentDefaultVersionRequest, + UpdateDocumentDefaultVersionResult, +} from "../models/models_2"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface UpdateDocumentDefaultVersionCommandInput + extends UpdateDocumentDefaultVersionRequest {} +export interface UpdateDocumentDefaultVersionCommandOutput + extends UpdateDocumentDefaultVersionResult, + __MetadataBearer {} +export declare class UpdateDocumentDefaultVersionCommand extends $Command< + UpdateDocumentDefaultVersionCommandInput, + UpdateDocumentDefaultVersionCommandOutput, + SSMClientResolvedConfig +> { + readonly input: UpdateDocumentDefaultVersionCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: UpdateDocumentDefaultVersionCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler< + UpdateDocumentDefaultVersionCommandInput, + UpdateDocumentDefaultVersionCommandOutput + >; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateDocumentMetadataCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateDocumentMetadataCommand.d.ts new file mode 100644 index 00000000..35f18e6e --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateDocumentMetadataCommand.d.ts @@ -0,0 +1,42 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + UpdateDocumentMetadataRequest, + UpdateDocumentMetadataResponse, +} from "../models/models_2"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface UpdateDocumentMetadataCommandInput + extends UpdateDocumentMetadataRequest {} +export interface UpdateDocumentMetadataCommandOutput + extends UpdateDocumentMetadataResponse, + __MetadataBearer {} +export declare class UpdateDocumentMetadataCommand extends $Command< + UpdateDocumentMetadataCommandInput, + UpdateDocumentMetadataCommandOutput, + SSMClientResolvedConfig +> { + readonly input: UpdateDocumentMetadataCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: UpdateDocumentMetadataCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler< + UpdateDocumentMetadataCommandInput, + UpdateDocumentMetadataCommandOutput + >; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateMaintenanceWindowCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateMaintenanceWindowCommand.d.ts new file mode 100644 index 00000000..670998cc --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateMaintenanceWindowCommand.d.ts @@ -0,0 +1,42 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + UpdateMaintenanceWindowRequest, + UpdateMaintenanceWindowResult, +} from "../models/models_2"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface UpdateMaintenanceWindowCommandInput + extends UpdateMaintenanceWindowRequest {} +export interface UpdateMaintenanceWindowCommandOutput + extends UpdateMaintenanceWindowResult, + __MetadataBearer {} +export declare class UpdateMaintenanceWindowCommand extends $Command< + UpdateMaintenanceWindowCommandInput, + UpdateMaintenanceWindowCommandOutput, + SSMClientResolvedConfig +> { + readonly input: UpdateMaintenanceWindowCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: UpdateMaintenanceWindowCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler< + UpdateMaintenanceWindowCommandInput, + UpdateMaintenanceWindowCommandOutput + >; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateMaintenanceWindowTargetCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateMaintenanceWindowTargetCommand.d.ts new file mode 100644 index 00000000..1e697a32 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateMaintenanceWindowTargetCommand.d.ts @@ -0,0 +1,42 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + UpdateMaintenanceWindowTargetRequest, + UpdateMaintenanceWindowTargetResult, +} from "../models/models_2"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface UpdateMaintenanceWindowTargetCommandInput + extends UpdateMaintenanceWindowTargetRequest {} +export interface UpdateMaintenanceWindowTargetCommandOutput + extends UpdateMaintenanceWindowTargetResult, + __MetadataBearer {} +export declare class UpdateMaintenanceWindowTargetCommand extends $Command< + UpdateMaintenanceWindowTargetCommandInput, + UpdateMaintenanceWindowTargetCommandOutput, + SSMClientResolvedConfig +> { + readonly input: UpdateMaintenanceWindowTargetCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: UpdateMaintenanceWindowTargetCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler< + UpdateMaintenanceWindowTargetCommandInput, + UpdateMaintenanceWindowTargetCommandOutput + >; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateMaintenanceWindowTaskCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateMaintenanceWindowTaskCommand.d.ts new file mode 100644 index 00000000..eff9674f --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateMaintenanceWindowTaskCommand.d.ts @@ -0,0 +1,42 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + UpdateMaintenanceWindowTaskRequest, + UpdateMaintenanceWindowTaskResult, +} from "../models/models_2"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface UpdateMaintenanceWindowTaskCommandInput + extends UpdateMaintenanceWindowTaskRequest {} +export interface UpdateMaintenanceWindowTaskCommandOutput + extends UpdateMaintenanceWindowTaskResult, + __MetadataBearer {} +export declare class UpdateMaintenanceWindowTaskCommand extends $Command< + UpdateMaintenanceWindowTaskCommandInput, + UpdateMaintenanceWindowTaskCommandOutput, + SSMClientResolvedConfig +> { + readonly input: UpdateMaintenanceWindowTaskCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: UpdateMaintenanceWindowTaskCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler< + UpdateMaintenanceWindowTaskCommandInput, + UpdateMaintenanceWindowTaskCommandOutput + >; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateManagedInstanceRoleCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateManagedInstanceRoleCommand.d.ts new file mode 100644 index 00000000..0569a9d7 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateManagedInstanceRoleCommand.d.ts @@ -0,0 +1,42 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + UpdateManagedInstanceRoleRequest, + UpdateManagedInstanceRoleResult, +} from "../models/models_2"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface UpdateManagedInstanceRoleCommandInput + extends UpdateManagedInstanceRoleRequest {} +export interface UpdateManagedInstanceRoleCommandOutput + extends UpdateManagedInstanceRoleResult, + __MetadataBearer {} +export declare class UpdateManagedInstanceRoleCommand extends $Command< + UpdateManagedInstanceRoleCommandInput, + UpdateManagedInstanceRoleCommandOutput, + SSMClientResolvedConfig +> { + readonly input: UpdateManagedInstanceRoleCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: UpdateManagedInstanceRoleCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler< + UpdateManagedInstanceRoleCommandInput, + UpdateManagedInstanceRoleCommandOutput + >; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateOpsItemCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateOpsItemCommand.d.ts new file mode 100644 index 00000000..fe6f5d59 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateOpsItemCommand.d.ts @@ -0,0 +1,38 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + UpdateOpsItemRequest, + UpdateOpsItemResponse, +} from "../models/models_2"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface UpdateOpsItemCommandInput extends UpdateOpsItemRequest {} +export interface UpdateOpsItemCommandOutput + extends UpdateOpsItemResponse, + __MetadataBearer {} +export declare class UpdateOpsItemCommand extends $Command< + UpdateOpsItemCommandInput, + UpdateOpsItemCommandOutput, + SSMClientResolvedConfig +> { + readonly input: UpdateOpsItemCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: UpdateOpsItemCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateOpsMetadataCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateOpsMetadataCommand.d.ts new file mode 100644 index 00000000..e93ec220 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateOpsMetadataCommand.d.ts @@ -0,0 +1,39 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + UpdateOpsMetadataRequest, + UpdateOpsMetadataResult, +} from "../models/models_2"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface UpdateOpsMetadataCommandInput + extends UpdateOpsMetadataRequest {} +export interface UpdateOpsMetadataCommandOutput + extends UpdateOpsMetadataResult, + __MetadataBearer {} +export declare class UpdateOpsMetadataCommand extends $Command< + UpdateOpsMetadataCommandInput, + UpdateOpsMetadataCommandOutput, + SSMClientResolvedConfig +> { + readonly input: UpdateOpsMetadataCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: UpdateOpsMetadataCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdatePatchBaselineCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdatePatchBaselineCommand.d.ts new file mode 100644 index 00000000..a97858db --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdatePatchBaselineCommand.d.ts @@ -0,0 +1,39 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + UpdatePatchBaselineRequest, + UpdatePatchBaselineResult, +} from "../models/models_2"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface UpdatePatchBaselineCommandInput + extends UpdatePatchBaselineRequest {} +export interface UpdatePatchBaselineCommandOutput + extends UpdatePatchBaselineResult, + __MetadataBearer {} +export declare class UpdatePatchBaselineCommand extends $Command< + UpdatePatchBaselineCommandInput, + UpdatePatchBaselineCommandOutput, + SSMClientResolvedConfig +> { + readonly input: UpdatePatchBaselineCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: UpdatePatchBaselineCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateResourceDataSyncCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateResourceDataSyncCommand.d.ts new file mode 100644 index 00000000..c694f643 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateResourceDataSyncCommand.d.ts @@ -0,0 +1,42 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + UpdateResourceDataSyncRequest, + UpdateResourceDataSyncResult, +} from "../models/models_2"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface UpdateResourceDataSyncCommandInput + extends UpdateResourceDataSyncRequest {} +export interface UpdateResourceDataSyncCommandOutput + extends UpdateResourceDataSyncResult, + __MetadataBearer {} +export declare class UpdateResourceDataSyncCommand extends $Command< + UpdateResourceDataSyncCommandInput, + UpdateResourceDataSyncCommandOutput, + SSMClientResolvedConfig +> { + readonly input: UpdateResourceDataSyncCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: UpdateResourceDataSyncCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler< + UpdateResourceDataSyncCommandInput, + UpdateResourceDataSyncCommandOutput + >; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateServiceSettingCommand.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateServiceSettingCommand.d.ts new file mode 100644 index 00000000..49391659 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/UpdateServiceSettingCommand.d.ts @@ -0,0 +1,42 @@ +import { EndpointParameterInstructions } from "@smithy/middleware-endpoint"; +import { Command as $Command } from "@smithy/smithy-client"; +import { + Handler, + HttpHandlerOptions as __HttpHandlerOptions, + MetadataBearer as __MetadataBearer, + MiddlewareStack, +} from "@smithy/types"; +import { + UpdateServiceSettingRequest, + UpdateServiceSettingResult, +} from "../models/models_2"; +import { + ServiceInputTypes, + ServiceOutputTypes, + SSMClientResolvedConfig, +} from "../SSMClient"; +export { __MetadataBearer, $Command }; +export interface UpdateServiceSettingCommandInput + extends UpdateServiceSettingRequest {} +export interface UpdateServiceSettingCommandOutput + extends UpdateServiceSettingResult, + __MetadataBearer {} +export declare class UpdateServiceSettingCommand extends $Command< + UpdateServiceSettingCommandInput, + UpdateServiceSettingCommandOutput, + SSMClientResolvedConfig +> { + readonly input: UpdateServiceSettingCommandInput; + static getEndpointParameterInstructions(): EndpointParameterInstructions; + constructor(input: UpdateServiceSettingCommandInput); + resolveMiddleware( + clientStack: MiddlewareStack, + configuration: SSMClientResolvedConfig, + options?: __HttpHandlerOptions + ): Handler< + UpdateServiceSettingCommandInput, + UpdateServiceSettingCommandOutput + >; + private serialize; + private deserialize; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/index.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/index.d.ts new file mode 100644 index 00000000..ae442763 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/commands/index.d.ts @@ -0,0 +1,139 @@ +export * from "./AddTagsToResourceCommand"; +export * from "./AssociateOpsItemRelatedItemCommand"; +export * from "./CancelCommandCommand"; +export * from "./CancelMaintenanceWindowExecutionCommand"; +export * from "./CreateActivationCommand"; +export * from "./CreateAssociationBatchCommand"; +export * from "./CreateAssociationCommand"; +export * from "./CreateDocumentCommand"; +export * from "./CreateMaintenanceWindowCommand"; +export * from "./CreateOpsItemCommand"; +export * from "./CreateOpsMetadataCommand"; +export * from "./CreatePatchBaselineCommand"; +export * from "./CreateResourceDataSyncCommand"; +export * from "./DeleteActivationCommand"; +export * from "./DeleteAssociationCommand"; +export * from "./DeleteDocumentCommand"; +export * from "./DeleteInventoryCommand"; +export * from "./DeleteMaintenanceWindowCommand"; +export * from "./DeleteOpsItemCommand"; +export * from "./DeleteOpsMetadataCommand"; +export * from "./DeleteParameterCommand"; +export * from "./DeleteParametersCommand"; +export * from "./DeletePatchBaselineCommand"; +export * from "./DeleteResourceDataSyncCommand"; +export * from "./DeleteResourcePolicyCommand"; +export * from "./DeregisterManagedInstanceCommand"; +export * from "./DeregisterPatchBaselineForPatchGroupCommand"; +export * from "./DeregisterTargetFromMaintenanceWindowCommand"; +export * from "./DeregisterTaskFromMaintenanceWindowCommand"; +export * from "./DescribeActivationsCommand"; +export * from "./DescribeAssociationCommand"; +export * from "./DescribeAssociationExecutionTargetsCommand"; +export * from "./DescribeAssociationExecutionsCommand"; +export * from "./DescribeAutomationExecutionsCommand"; +export * from "./DescribeAutomationStepExecutionsCommand"; +export * from "./DescribeAvailablePatchesCommand"; +export * from "./DescribeDocumentCommand"; +export * from "./DescribeDocumentPermissionCommand"; +export * from "./DescribeEffectiveInstanceAssociationsCommand"; +export * from "./DescribeEffectivePatchesForPatchBaselineCommand"; +export * from "./DescribeInstanceAssociationsStatusCommand"; +export * from "./DescribeInstanceInformationCommand"; +export * from "./DescribeInstancePatchStatesCommand"; +export * from "./DescribeInstancePatchStatesForPatchGroupCommand"; +export * from "./DescribeInstancePatchesCommand"; +export * from "./DescribeInventoryDeletionsCommand"; +export * from "./DescribeMaintenanceWindowExecutionTaskInvocationsCommand"; +export * from "./DescribeMaintenanceWindowExecutionTasksCommand"; +export * from "./DescribeMaintenanceWindowExecutionsCommand"; +export * from "./DescribeMaintenanceWindowScheduleCommand"; +export * from "./DescribeMaintenanceWindowTargetsCommand"; +export * from "./DescribeMaintenanceWindowTasksCommand"; +export * from "./DescribeMaintenanceWindowsCommand"; +export * from "./DescribeMaintenanceWindowsForTargetCommand"; +export * from "./DescribeOpsItemsCommand"; +export * from "./DescribeParametersCommand"; +export * from "./DescribePatchBaselinesCommand"; +export * from "./DescribePatchGroupStateCommand"; +export * from "./DescribePatchGroupsCommand"; +export * from "./DescribePatchPropertiesCommand"; +export * from "./DescribeSessionsCommand"; +export * from "./DisassociateOpsItemRelatedItemCommand"; +export * from "./GetAutomationExecutionCommand"; +export * from "./GetCalendarStateCommand"; +export * from "./GetCommandInvocationCommand"; +export * from "./GetConnectionStatusCommand"; +export * from "./GetDefaultPatchBaselineCommand"; +export * from "./GetDeployablePatchSnapshotForInstanceCommand"; +export * from "./GetDocumentCommand"; +export * from "./GetInventoryCommand"; +export * from "./GetInventorySchemaCommand"; +export * from "./GetMaintenanceWindowCommand"; +export * from "./GetMaintenanceWindowExecutionCommand"; +export * from "./GetMaintenanceWindowExecutionTaskCommand"; +export * from "./GetMaintenanceWindowExecutionTaskInvocationCommand"; +export * from "./GetMaintenanceWindowTaskCommand"; +export * from "./GetOpsItemCommand"; +export * from "./GetOpsMetadataCommand"; +export * from "./GetOpsSummaryCommand"; +export * from "./GetParameterCommand"; +export * from "./GetParameterHistoryCommand"; +export * from "./GetParametersByPathCommand"; +export * from "./GetParametersCommand"; +export * from "./GetPatchBaselineCommand"; +export * from "./GetPatchBaselineForPatchGroupCommand"; +export * from "./GetResourcePoliciesCommand"; +export * from "./GetServiceSettingCommand"; +export * from "./LabelParameterVersionCommand"; +export * from "./ListAssociationVersionsCommand"; +export * from "./ListAssociationsCommand"; +export * from "./ListCommandInvocationsCommand"; +export * from "./ListCommandsCommand"; +export * from "./ListComplianceItemsCommand"; +export * from "./ListComplianceSummariesCommand"; +export * from "./ListDocumentMetadataHistoryCommand"; +export * from "./ListDocumentVersionsCommand"; +export * from "./ListDocumentsCommand"; +export * from "./ListInventoryEntriesCommand"; +export * from "./ListOpsItemEventsCommand"; +export * from "./ListOpsItemRelatedItemsCommand"; +export * from "./ListOpsMetadataCommand"; +export * from "./ListResourceComplianceSummariesCommand"; +export * from "./ListResourceDataSyncCommand"; +export * from "./ListTagsForResourceCommand"; +export * from "./ModifyDocumentPermissionCommand"; +export * from "./PutComplianceItemsCommand"; +export * from "./PutInventoryCommand"; +export * from "./PutParameterCommand"; +export * from "./PutResourcePolicyCommand"; +export * from "./RegisterDefaultPatchBaselineCommand"; +export * from "./RegisterPatchBaselineForPatchGroupCommand"; +export * from "./RegisterTargetWithMaintenanceWindowCommand"; +export * from "./RegisterTaskWithMaintenanceWindowCommand"; +export * from "./RemoveTagsFromResourceCommand"; +export * from "./ResetServiceSettingCommand"; +export * from "./ResumeSessionCommand"; +export * from "./SendAutomationSignalCommand"; +export * from "./SendCommandCommand"; +export * from "./StartAssociationsOnceCommand"; +export * from "./StartAutomationExecutionCommand"; +export * from "./StartChangeRequestExecutionCommand"; +export * from "./StartSessionCommand"; +export * from "./StopAutomationExecutionCommand"; +export * from "./TerminateSessionCommand"; +export * from "./UnlabelParameterVersionCommand"; +export * from "./UpdateAssociationCommand"; +export * from "./UpdateAssociationStatusCommand"; +export * from "./UpdateDocumentCommand"; +export * from "./UpdateDocumentDefaultVersionCommand"; +export * from "./UpdateDocumentMetadataCommand"; +export * from "./UpdateMaintenanceWindowCommand"; +export * from "./UpdateMaintenanceWindowTargetCommand"; +export * from "./UpdateMaintenanceWindowTaskCommand"; +export * from "./UpdateManagedInstanceRoleCommand"; +export * from "./UpdateOpsItemCommand"; +export * from "./UpdateOpsMetadataCommand"; +export * from "./UpdatePatchBaselineCommand"; +export * from "./UpdateResourceDataSyncCommand"; +export * from "./UpdateServiceSettingCommand"; diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/endpoint/EndpointParameters.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/endpoint/EndpointParameters.d.ts similarity index 100% rename from node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/endpoint/EndpointParameters.d.ts rename to node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/endpoint/EndpointParameters.d.ts diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/endpoint/endpointResolver.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/endpoint/endpointResolver.d.ts similarity index 100% rename from node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/endpoint/endpointResolver.d.ts rename to node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/endpoint/endpointResolver.d.ts diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/endpoint/ruleset.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/endpoint/ruleset.d.ts similarity index 100% rename from node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/endpoint/ruleset.d.ts rename to node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/endpoint/ruleset.d.ts diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/extensionConfiguration.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/extensionConfiguration.d.ts similarity index 87% rename from node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/extensionConfiguration.d.ts rename to node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/extensionConfiguration.d.ts index 101f7a34..cceb968d 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/extensionConfiguration.d.ts +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/extensionConfiguration.d.ts @@ -1,7 +1,7 @@ import { AwsRegionExtensionConfiguration } from "@aws-sdk/types"; import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http"; import { DefaultExtensionConfiguration } from "@smithy/types"; -export interface LambdaExtensionConfiguration +export interface SSMExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration {} diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/index.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/index.d.ts similarity index 57% rename from node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/index.d.ts rename to node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/index.d.ts index 8112e7b7..24af1b80 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/index.d.ts +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/index.d.ts @@ -1,11 +1,11 @@ -export * from "./LambdaClient"; -export * from "./Lambda"; +export * from "./SSMClient"; +export * from "./SSM"; export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters"; export { RuntimeExtension } from "./runtimeExtensions"; -export { LambdaExtensionConfiguration } from "./extensionConfiguration"; +export { SSMExtensionConfiguration } from "./extensionConfiguration"; export * from "./commands"; export * from "./pagination"; export * from "./waiters"; export * from "./models"; import "@aws-sdk/util-endpoints"; -export { LambdaServiceException } from "./models/LambdaServiceException"; +export { SSMServiceException } from "./models/SSMServiceException"; diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/models/LambdaServiceException.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/models/SSMServiceException.d.ts similarity index 77% rename from node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/models/LambdaServiceException.d.ts rename to node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/models/SSMServiceException.d.ts index 4b3292b1..c20b57e5 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/models/LambdaServiceException.d.ts +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/models/SSMServiceException.d.ts @@ -3,6 +3,6 @@ import { ServiceExceptionOptions as __ServiceExceptionOptions, } from "@smithy/smithy-client"; export { __ServiceException, __ServiceExceptionOptions }; -export declare class LambdaServiceException extends __ServiceException { +export declare class SSMServiceException extends __ServiceException { constructor(options: __ServiceExceptionOptions); } diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/models/index.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/models/index.d.ts new file mode 100644 index 00000000..fd6a6aae --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/models/index.d.ts @@ -0,0 +1,3 @@ +export * from "./models_0"; +export * from "./models_1"; +export * from "./models_2"; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/models/models_0.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/models/models_0.d.ts new file mode 100644 index 00000000..b443cc8f --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/models/models_0.d.ts @@ -0,0 +1,2121 @@ +import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client"; +import { SSMServiceException as __BaseException } from "./SSMServiceException"; +export interface AccountSharingInfo { + AccountId?: string; + SharedDocumentVersion?: string; +} +export interface Tag { + Key: string | undefined; + Value: string | undefined; +} +export interface Activation { + ActivationId?: string; + Description?: string; + DefaultInstanceName?: string; + IamRole?: string; + RegistrationLimit?: number; + RegistrationsCount?: number; + ExpirationDate?: Date; + Expired?: boolean; + CreatedDate?: Date; + Tags?: Tag[]; +} +export declare const ResourceTypeForTagging: { + readonly ASSOCIATION: "Association"; + readonly AUTOMATION: "Automation"; + readonly DOCUMENT: "Document"; + readonly MAINTENANCE_WINDOW: "MaintenanceWindow"; + readonly MANAGED_INSTANCE: "ManagedInstance"; + readonly OPSMETADATA: "OpsMetadata"; + readonly OPS_ITEM: "OpsItem"; + readonly PARAMETER: "Parameter"; + readonly PATCH_BASELINE: "PatchBaseline"; +}; +export type ResourceTypeForTagging = + (typeof ResourceTypeForTagging)[keyof typeof ResourceTypeForTagging]; +export interface AddTagsToResourceRequest { + ResourceType: ResourceTypeForTagging | undefined; + ResourceId: string | undefined; + Tags: Tag[] | undefined; +} +export interface AddTagsToResourceResult {} +export declare class InternalServerError extends __BaseException { + readonly name: "InternalServerError"; + readonly $fault: "server"; + Message?: string; + constructor( + opts: __ExceptionOptionType + ); +} +export declare class InvalidResourceId extends __BaseException { + readonly name: "InvalidResourceId"; + readonly $fault: "client"; + constructor(opts: __ExceptionOptionType); +} +export declare class InvalidResourceType extends __BaseException { + readonly name: "InvalidResourceType"; + readonly $fault: "client"; + constructor( + opts: __ExceptionOptionType + ); +} +export declare class TooManyTagsError extends __BaseException { + readonly name: "TooManyTagsError"; + readonly $fault: "client"; + constructor(opts: __ExceptionOptionType); +} +export declare class TooManyUpdates extends __BaseException { + readonly name: "TooManyUpdates"; + readonly $fault: "client"; + Message?: string; + constructor(opts: __ExceptionOptionType); +} +export interface Alarm { + Name: string | undefined; +} +export interface AlarmConfiguration { + IgnorePollAlarmFailure?: boolean; + Alarms: Alarm[] | undefined; +} +export declare const ExternalAlarmState: { + readonly ALARM: "ALARM"; + readonly UNKNOWN: "UNKNOWN"; +}; +export type ExternalAlarmState = + (typeof ExternalAlarmState)[keyof typeof ExternalAlarmState]; +export interface AlarmStateInformation { + Name: string | undefined; + State: ExternalAlarmState | undefined; +} +export declare class AlreadyExistsException extends __BaseException { + readonly name: "AlreadyExistsException"; + readonly $fault: "client"; + Message?: string; + constructor( + opts: __ExceptionOptionType + ); +} +export interface AssociateOpsItemRelatedItemRequest { + OpsItemId: string | undefined; + AssociationType: string | undefined; + ResourceType: string | undefined; + ResourceUri: string | undefined; +} +export interface AssociateOpsItemRelatedItemResponse { + AssociationId?: string; +} +export declare class OpsItemConflictException extends __BaseException { + readonly name: "OpsItemConflictException"; + readonly $fault: "client"; + Message?: string; + constructor( + opts: __ExceptionOptionType + ); +} +export declare class OpsItemInvalidParameterException extends __BaseException { + readonly name: "OpsItemInvalidParameterException"; + readonly $fault: "client"; + ParameterNames?: string[]; + Message?: string; + constructor( + opts: __ExceptionOptionType< + OpsItemInvalidParameterException, + __BaseException + > + ); +} +export declare class OpsItemLimitExceededException extends __BaseException { + readonly name: "OpsItemLimitExceededException"; + readonly $fault: "client"; + ResourceTypes?: string[]; + Limit?: number; + LimitType?: string; + Message?: string; + constructor( + opts: __ExceptionOptionType + ); +} +export declare class OpsItemNotFoundException extends __BaseException { + readonly name: "OpsItemNotFoundException"; + readonly $fault: "client"; + Message?: string; + constructor( + opts: __ExceptionOptionType + ); +} +export declare class OpsItemRelatedItemAlreadyExistsException extends __BaseException { + readonly name: "OpsItemRelatedItemAlreadyExistsException"; + readonly $fault: "client"; + Message?: string; + ResourceUri?: string; + OpsItemId?: string; + constructor( + opts: __ExceptionOptionType< + OpsItemRelatedItemAlreadyExistsException, + __BaseException + > + ); +} +export interface CancelCommandRequest { + CommandId: string | undefined; + InstanceIds?: string[]; +} +export interface CancelCommandResult {} +export declare class DuplicateInstanceId extends __BaseException { + readonly name: "DuplicateInstanceId"; + readonly $fault: "client"; + constructor( + opts: __ExceptionOptionType + ); +} +export declare class InvalidCommandId extends __BaseException { + readonly name: "InvalidCommandId"; + readonly $fault: "client"; + constructor(opts: __ExceptionOptionType); +} +export declare class InvalidInstanceId extends __BaseException { + readonly name: "InvalidInstanceId"; + readonly $fault: "client"; + Message?: string; + constructor(opts: __ExceptionOptionType); +} +export interface CancelMaintenanceWindowExecutionRequest { + WindowExecutionId: string | undefined; +} +export interface CancelMaintenanceWindowExecutionResult { + WindowExecutionId?: string; +} +export declare class DoesNotExistException extends __BaseException { + readonly name: "DoesNotExistException"; + readonly $fault: "client"; + Message?: string; + constructor( + opts: __ExceptionOptionType + ); +} +export interface RegistrationMetadataItem { + Key: string | undefined; + Value: string | undefined; +} +export interface CreateActivationRequest { + Description?: string; + DefaultInstanceName?: string; + IamRole: string | undefined; + RegistrationLimit?: number; + ExpirationDate?: Date; + Tags?: Tag[]; + RegistrationMetadata?: RegistrationMetadataItem[]; +} +export interface CreateActivationResult { + ActivationId?: string; + ActivationCode?: string; +} +export declare class InvalidParameters extends __BaseException { + readonly name: "InvalidParameters"; + readonly $fault: "client"; + Message?: string; + constructor(opts: __ExceptionOptionType); +} +export declare class AssociationAlreadyExists extends __BaseException { + readonly name: "AssociationAlreadyExists"; + readonly $fault: "client"; + constructor( + opts: __ExceptionOptionType + ); +} +export declare class AssociationLimitExceeded extends __BaseException { + readonly name: "AssociationLimitExceeded"; + readonly $fault: "client"; + constructor( + opts: __ExceptionOptionType + ); +} +export declare const AssociationComplianceSeverity: { + readonly Critical: "CRITICAL"; + readonly High: "HIGH"; + readonly Low: "LOW"; + readonly Medium: "MEDIUM"; + readonly Unspecified: "UNSPECIFIED"; +}; +export type AssociationComplianceSeverity = + (typeof AssociationComplianceSeverity)[keyof typeof AssociationComplianceSeverity]; +export interface S3OutputLocation { + OutputS3Region?: string; + OutputS3BucketName?: string; + OutputS3KeyPrefix?: string; +} +export interface InstanceAssociationOutputLocation { + S3Location?: S3OutputLocation; +} +export declare const AssociationSyncCompliance: { + readonly Auto: "AUTO"; + readonly Manual: "MANUAL"; +}; +export type AssociationSyncCompliance = + (typeof AssociationSyncCompliance)[keyof typeof AssociationSyncCompliance]; +export interface TargetLocation { + Accounts?: string[]; + Regions?: string[]; + TargetLocationMaxConcurrency?: string; + TargetLocationMaxErrors?: string; + ExecutionRoleName?: string; + TargetLocationAlarmConfiguration?: AlarmConfiguration; +} +export interface Target { + Key?: string; + Values?: string[]; +} +export interface CreateAssociationRequest { + Name: string | undefined; + DocumentVersion?: string; + InstanceId?: string; + Parameters?: Record; + Targets?: Target[]; + ScheduleExpression?: string; + OutputLocation?: InstanceAssociationOutputLocation; + AssociationName?: string; + AutomationTargetParameterName?: string; + MaxErrors?: string; + MaxConcurrency?: string; + ComplianceSeverity?: AssociationComplianceSeverity; + SyncCompliance?: AssociationSyncCompliance; + ApplyOnlyAtCronInterval?: boolean; + CalendarNames?: string[]; + TargetLocations?: TargetLocation[]; + ScheduleOffset?: number; + TargetMaps?: Record[]; + Tags?: Tag[]; + AlarmConfiguration?: AlarmConfiguration; +} +export interface AssociationOverview { + Status?: string; + DetailedStatus?: string; + AssociationStatusAggregatedCount?: Record; +} +export declare const AssociationStatusName: { + readonly Failed: "Failed"; + readonly Pending: "Pending"; + readonly Success: "Success"; +}; +export type AssociationStatusName = + (typeof AssociationStatusName)[keyof typeof AssociationStatusName]; +export interface AssociationStatus { + Date: Date | undefined; + Name: AssociationStatusName | undefined; + Message: string | undefined; + AdditionalInfo?: string; +} +export interface AssociationDescription { + Name?: string; + InstanceId?: string; + AssociationVersion?: string; + Date?: Date; + LastUpdateAssociationDate?: Date; + Status?: AssociationStatus; + Overview?: AssociationOverview; + DocumentVersion?: string; + AutomationTargetParameterName?: string; + Parameters?: Record; + AssociationId?: string; + Targets?: Target[]; + ScheduleExpression?: string; + OutputLocation?: InstanceAssociationOutputLocation; + LastExecutionDate?: Date; + LastSuccessfulExecutionDate?: Date; + AssociationName?: string; + MaxErrors?: string; + MaxConcurrency?: string; + ComplianceSeverity?: AssociationComplianceSeverity; + SyncCompliance?: AssociationSyncCompliance; + ApplyOnlyAtCronInterval?: boolean; + CalendarNames?: string[]; + TargetLocations?: TargetLocation[]; + ScheduleOffset?: number; + TargetMaps?: Record[]; + AlarmConfiguration?: AlarmConfiguration; + TriggeredAlarms?: AlarmStateInformation[]; +} +export interface CreateAssociationResult { + AssociationDescription?: AssociationDescription; +} +export declare class InvalidDocument extends __BaseException { + readonly name: "InvalidDocument"; + readonly $fault: "client"; + Message?: string; + constructor(opts: __ExceptionOptionType); +} +export declare class InvalidDocumentVersion extends __BaseException { + readonly name: "InvalidDocumentVersion"; + readonly $fault: "client"; + Message?: string; + constructor( + opts: __ExceptionOptionType + ); +} +export declare class InvalidOutputLocation extends __BaseException { + readonly name: "InvalidOutputLocation"; + readonly $fault: "client"; + constructor( + opts: __ExceptionOptionType + ); +} +export declare class InvalidSchedule extends __BaseException { + readonly name: "InvalidSchedule"; + readonly $fault: "client"; + Message?: string; + constructor(opts: __ExceptionOptionType); +} +export declare class InvalidTag extends __BaseException { + readonly name: "InvalidTag"; + readonly $fault: "client"; + Message?: string; + constructor(opts: __ExceptionOptionType); +} +export declare class InvalidTarget extends __BaseException { + readonly name: "InvalidTarget"; + readonly $fault: "client"; + Message?: string; + constructor(opts: __ExceptionOptionType); +} +export declare class InvalidTargetMaps extends __BaseException { + readonly name: "InvalidTargetMaps"; + readonly $fault: "client"; + Message?: string; + constructor(opts: __ExceptionOptionType); +} +export declare class UnsupportedPlatformType extends __BaseException { + readonly name: "UnsupportedPlatformType"; + readonly $fault: "client"; + Message?: string; + constructor( + opts: __ExceptionOptionType + ); +} +export interface CreateAssociationBatchRequestEntry { + Name: string | undefined; + InstanceId?: string; + Parameters?: Record; + AutomationTargetParameterName?: string; + DocumentVersion?: string; + Targets?: Target[]; + ScheduleExpression?: string; + OutputLocation?: InstanceAssociationOutputLocation; + AssociationName?: string; + MaxErrors?: string; + MaxConcurrency?: string; + ComplianceSeverity?: AssociationComplianceSeverity; + SyncCompliance?: AssociationSyncCompliance; + ApplyOnlyAtCronInterval?: boolean; + CalendarNames?: string[]; + TargetLocations?: TargetLocation[]; + ScheduleOffset?: number; + TargetMaps?: Record[]; + AlarmConfiguration?: AlarmConfiguration; +} +export interface CreateAssociationBatchRequest { + Entries: CreateAssociationBatchRequestEntry[] | undefined; +} +export declare const Fault: { + readonly Client: "Client"; + readonly Server: "Server"; + readonly Unknown: "Unknown"; +}; +export type Fault = (typeof Fault)[keyof typeof Fault]; +export interface FailedCreateAssociation { + Entry?: CreateAssociationBatchRequestEntry; + Message?: string; + Fault?: Fault; +} +export interface CreateAssociationBatchResult { + Successful?: AssociationDescription[]; + Failed?: FailedCreateAssociation[]; +} +export declare const AttachmentsSourceKey: { + readonly AttachmentReference: "AttachmentReference"; + readonly S3FileUrl: "S3FileUrl"; + readonly SourceUrl: "SourceUrl"; +}; +export type AttachmentsSourceKey = + (typeof AttachmentsSourceKey)[keyof typeof AttachmentsSourceKey]; +export interface AttachmentsSource { + Key?: AttachmentsSourceKey; + Values?: string[]; + Name?: string; +} +export declare const DocumentFormat: { + readonly JSON: "JSON"; + readonly TEXT: "TEXT"; + readonly YAML: "YAML"; +}; +export type DocumentFormat = + (typeof DocumentFormat)[keyof typeof DocumentFormat]; +export declare const DocumentType: { + readonly ApplicationConfiguration: "ApplicationConfiguration"; + readonly ApplicationConfigurationSchema: "ApplicationConfigurationSchema"; + readonly Automation: "Automation"; + readonly ChangeCalendar: "ChangeCalendar"; + readonly ChangeTemplate: "Automation.ChangeTemplate"; + readonly CloudFormation: "CloudFormation"; + readonly Command: "Command"; + readonly ConformancePackTemplate: "ConformancePackTemplate"; + readonly DeploymentStrategy: "DeploymentStrategy"; + readonly Package: "Package"; + readonly Policy: "Policy"; + readonly ProblemAnalysis: "ProblemAnalysis"; + readonly ProblemAnalysisTemplate: "ProblemAnalysisTemplate"; + readonly QuickSetup: "QuickSetup"; + readonly Session: "Session"; +}; +export type DocumentType = (typeof DocumentType)[keyof typeof DocumentType]; +export interface DocumentRequires { + Name: string | undefined; + Version?: string; + RequireType?: string; + VersionName?: string; +} +export interface CreateDocumentRequest { + Content: string | undefined; + Requires?: DocumentRequires[]; + Attachments?: AttachmentsSource[]; + Name: string | undefined; + DisplayName?: string; + VersionName?: string; + DocumentType?: DocumentType; + DocumentFormat?: DocumentFormat; + TargetType?: string; + Tags?: Tag[]; +} +export interface AttachmentInformation { + Name?: string; +} +export declare const DocumentHashType: { + readonly SHA1: "Sha1"; + readonly SHA256: "Sha256"; +}; +export type DocumentHashType = + (typeof DocumentHashType)[keyof typeof DocumentHashType]; +export declare const DocumentParameterType: { + readonly String: "String"; + readonly StringList: "StringList"; +}; +export type DocumentParameterType = + (typeof DocumentParameterType)[keyof typeof DocumentParameterType]; +export interface DocumentParameter { + Name?: string; + Type?: DocumentParameterType; + Description?: string; + DefaultValue?: string; +} +export declare const PlatformType: { + readonly LINUX: "Linux"; + readonly MACOS: "MacOS"; + readonly WINDOWS: "Windows"; +}; +export type PlatformType = (typeof PlatformType)[keyof typeof PlatformType]; +export declare const ReviewStatus: { + readonly APPROVED: "APPROVED"; + readonly NOT_REVIEWED: "NOT_REVIEWED"; + readonly PENDING: "PENDING"; + readonly REJECTED: "REJECTED"; +}; +export type ReviewStatus = (typeof ReviewStatus)[keyof typeof ReviewStatus]; +export interface ReviewInformation { + ReviewedTime?: Date; + Status?: ReviewStatus; + Reviewer?: string; +} +export declare const DocumentStatus: { + readonly Active: "Active"; + readonly Creating: "Creating"; + readonly Deleting: "Deleting"; + readonly Failed: "Failed"; + readonly Updating: "Updating"; +}; +export type DocumentStatus = + (typeof DocumentStatus)[keyof typeof DocumentStatus]; +export interface DocumentDescription { + Sha1?: string; + Hash?: string; + HashType?: DocumentHashType; + Name?: string; + DisplayName?: string; + VersionName?: string; + Owner?: string; + CreatedDate?: Date; + Status?: DocumentStatus; + StatusInformation?: string; + DocumentVersion?: string; + Description?: string; + Parameters?: DocumentParameter[]; + PlatformTypes?: PlatformType[]; + DocumentType?: DocumentType; + SchemaVersion?: string; + LatestVersion?: string; + DefaultVersion?: string; + DocumentFormat?: DocumentFormat; + TargetType?: string; + Tags?: Tag[]; + AttachmentsInformation?: AttachmentInformation[]; + Requires?: DocumentRequires[]; + Author?: string; + ReviewInformation?: ReviewInformation[]; + ApprovedVersion?: string; + PendingReviewVersion?: string; + ReviewStatus?: ReviewStatus; + Category?: string[]; + CategoryEnum?: string[]; +} +export interface CreateDocumentResult { + DocumentDescription?: DocumentDescription; +} +export declare class DocumentAlreadyExists extends __BaseException { + readonly name: "DocumentAlreadyExists"; + readonly $fault: "client"; + Message?: string; + constructor( + opts: __ExceptionOptionType + ); +} +export declare class DocumentLimitExceeded extends __BaseException { + readonly name: "DocumentLimitExceeded"; + readonly $fault: "client"; + Message?: string; + constructor( + opts: __ExceptionOptionType + ); +} +export declare class InvalidDocumentContent extends __BaseException { + readonly name: "InvalidDocumentContent"; + readonly $fault: "client"; + Message?: string; + constructor( + opts: __ExceptionOptionType + ); +} +export declare class InvalidDocumentSchemaVersion extends __BaseException { + readonly name: "InvalidDocumentSchemaVersion"; + readonly $fault: "client"; + Message?: string; + constructor( + opts: __ExceptionOptionType + ); +} +export declare class MaxDocumentSizeExceeded extends __BaseException { + readonly name: "MaxDocumentSizeExceeded"; + readonly $fault: "client"; + Message?: string; + constructor( + opts: __ExceptionOptionType + ); +} +export interface CreateMaintenanceWindowRequest { + Name: string | undefined; + Description?: string; + StartDate?: string; + EndDate?: string; + Schedule: string | undefined; + ScheduleTimezone?: string; + ScheduleOffset?: number; + Duration: number | undefined; + Cutoff: number | undefined; + AllowUnassociatedTargets: boolean | undefined; + ClientToken?: string; + Tags?: Tag[]; +} +export interface CreateMaintenanceWindowResult { + WindowId?: string; +} +export declare class IdempotentParameterMismatch extends __BaseException { + readonly name: "IdempotentParameterMismatch"; + readonly $fault: "client"; + Message?: string; + constructor( + opts: __ExceptionOptionType + ); +} +export declare class ResourceLimitExceededException extends __BaseException { + readonly name: "ResourceLimitExceededException"; + readonly $fault: "client"; + Message?: string; + constructor( + opts: __ExceptionOptionType + ); +} +export interface OpsItemNotification { + Arn?: string; +} +export declare const OpsItemDataType: { + readonly SEARCHABLE_STRING: "SearchableString"; + readonly STRING: "String"; +}; +export type OpsItemDataType = + (typeof OpsItemDataType)[keyof typeof OpsItemDataType]; +export interface OpsItemDataValue { + Value?: string; + Type?: OpsItemDataType; +} +export interface RelatedOpsItem { + OpsItemId: string | undefined; +} +export interface CreateOpsItemRequest { + Description: string | undefined; + OpsItemType?: string; + OperationalData?: Record; + Notifications?: OpsItemNotification[]; + Priority?: number; + RelatedOpsItems?: RelatedOpsItem[]; + Source: string | undefined; + Title: string | undefined; + Tags?: Tag[]; + Category?: string; + Severity?: string; + ActualStartTime?: Date; + ActualEndTime?: Date; + PlannedStartTime?: Date; + PlannedEndTime?: Date; + AccountId?: string; +} +export interface CreateOpsItemResponse { + OpsItemId?: string; + OpsItemArn?: string; +} +export declare class OpsItemAccessDeniedException extends __BaseException { + readonly name: "OpsItemAccessDeniedException"; + readonly $fault: "client"; + Message?: string; + constructor( + opts: __ExceptionOptionType + ); +} +export declare class OpsItemAlreadyExistsException extends __BaseException { + readonly name: "OpsItemAlreadyExistsException"; + readonly $fault: "client"; + Message?: string; + OpsItemId?: string; + constructor( + opts: __ExceptionOptionType + ); +} +export interface MetadataValue { + Value?: string; +} +export interface CreateOpsMetadataRequest { + ResourceId: string | undefined; + Metadata?: Record; + Tags?: Tag[]; +} +export interface CreateOpsMetadataResult { + OpsMetadataArn?: string; +} +export declare class OpsMetadataAlreadyExistsException extends __BaseException { + readonly name: "OpsMetadataAlreadyExistsException"; + readonly $fault: "client"; + constructor( + opts: __ExceptionOptionType< + OpsMetadataAlreadyExistsException, + __BaseException + > + ); +} +export declare class OpsMetadataInvalidArgumentException extends __BaseException { + readonly name: "OpsMetadataInvalidArgumentException"; + readonly $fault: "client"; + constructor( + opts: __ExceptionOptionType< + OpsMetadataInvalidArgumentException, + __BaseException + > + ); +} +export declare class OpsMetadataLimitExceededException extends __BaseException { + readonly name: "OpsMetadataLimitExceededException"; + readonly $fault: "client"; + constructor( + opts: __ExceptionOptionType< + OpsMetadataLimitExceededException, + __BaseException + > + ); +} +export declare class OpsMetadataTooManyUpdatesException extends __BaseException { + readonly name: "OpsMetadataTooManyUpdatesException"; + readonly $fault: "client"; + constructor( + opts: __ExceptionOptionType< + OpsMetadataTooManyUpdatesException, + __BaseException + > + ); +} +export declare const PatchComplianceLevel: { + readonly Critical: "CRITICAL"; + readonly High: "HIGH"; + readonly Informational: "INFORMATIONAL"; + readonly Low: "LOW"; + readonly Medium: "MEDIUM"; + readonly Unspecified: "UNSPECIFIED"; +}; +export type PatchComplianceLevel = + (typeof PatchComplianceLevel)[keyof typeof PatchComplianceLevel]; +export declare const PatchFilterKey: { + readonly AdvisoryId: "ADVISORY_ID"; + readonly Arch: "ARCH"; + readonly BugzillaId: "BUGZILLA_ID"; + readonly CVEId: "CVE_ID"; + readonly Classification: "CLASSIFICATION"; + readonly Epoch: "EPOCH"; + readonly MsrcSeverity: "MSRC_SEVERITY"; + readonly Name: "NAME"; + readonly PatchId: "PATCH_ID"; + readonly PatchSet: "PATCH_SET"; + readonly Priority: "PRIORITY"; + readonly Product: "PRODUCT"; + readonly ProductFamily: "PRODUCT_FAMILY"; + readonly Release: "RELEASE"; + readonly Repository: "REPOSITORY"; + readonly Section: "SECTION"; + readonly Security: "SECURITY"; + readonly Severity: "SEVERITY"; + readonly Version: "VERSION"; +}; +export type PatchFilterKey = + (typeof PatchFilterKey)[keyof typeof PatchFilterKey]; +export interface PatchFilter { + Key: PatchFilterKey | undefined; + Values: string[] | undefined; +} +export interface PatchFilterGroup { + PatchFilters: PatchFilter[] | undefined; +} +export interface PatchRule { + PatchFilterGroup: PatchFilterGroup | undefined; + ComplianceLevel?: PatchComplianceLevel; + ApproveAfterDays?: number; + ApproveUntilDate?: string; + EnableNonSecurity?: boolean; +} +export interface PatchRuleGroup { + PatchRules: PatchRule[] | undefined; +} +export declare const OperatingSystem: { + readonly AlmaLinux: "ALMA_LINUX"; + readonly AmazonLinux: "AMAZON_LINUX"; + readonly AmazonLinux2: "AMAZON_LINUX_2"; + readonly AmazonLinux2022: "AMAZON_LINUX_2022"; + readonly AmazonLinux2023: "AMAZON_LINUX_2023"; + readonly CentOS: "CENTOS"; + readonly Debian: "DEBIAN"; + readonly MacOS: "MACOS"; + readonly OracleLinux: "ORACLE_LINUX"; + readonly Raspbian: "RASPBIAN"; + readonly RedhatEnterpriseLinux: "REDHAT_ENTERPRISE_LINUX"; + readonly Rocky_Linux: "ROCKY_LINUX"; + readonly Suse: "SUSE"; + readonly Ubuntu: "UBUNTU"; + readonly Windows: "WINDOWS"; +}; +export type OperatingSystem = + (typeof OperatingSystem)[keyof typeof OperatingSystem]; +export declare const PatchAction: { + readonly AllowAsDependency: "ALLOW_AS_DEPENDENCY"; + readonly Block: "BLOCK"; +}; +export type PatchAction = (typeof PatchAction)[keyof typeof PatchAction]; +export interface PatchSource { + Name: string | undefined; + Products: string[] | undefined; + Configuration: string | undefined; +} +export interface CreatePatchBaselineRequest { + OperatingSystem?: OperatingSystem; + Name: string | undefined; + GlobalFilters?: PatchFilterGroup; + ApprovalRules?: PatchRuleGroup; + ApprovedPatches?: string[]; + ApprovedPatchesComplianceLevel?: PatchComplianceLevel; + ApprovedPatchesEnableNonSecurity?: boolean; + RejectedPatches?: string[]; + RejectedPatchesAction?: PatchAction; + Description?: string; + Sources?: PatchSource[]; + ClientToken?: string; + Tags?: Tag[]; +} +export interface CreatePatchBaselineResult { + BaselineId?: string; +} +export interface ResourceDataSyncDestinationDataSharing { + DestinationDataSharingType?: string; +} +export declare const ResourceDataSyncS3Format: { + readonly JSON_SERDE: "JsonSerDe"; +}; +export type ResourceDataSyncS3Format = + (typeof ResourceDataSyncS3Format)[keyof typeof ResourceDataSyncS3Format]; +export interface ResourceDataSyncS3Destination { + BucketName: string | undefined; + Prefix?: string; + SyncFormat: ResourceDataSyncS3Format | undefined; + Region: string | undefined; + AWSKMSKeyARN?: string; + DestinationDataSharing?: ResourceDataSyncDestinationDataSharing; +} +export interface ResourceDataSyncOrganizationalUnit { + OrganizationalUnitId?: string; +} +export interface ResourceDataSyncAwsOrganizationsSource { + OrganizationSourceType: string | undefined; + OrganizationalUnits?: ResourceDataSyncOrganizationalUnit[]; +} +export interface ResourceDataSyncSource { + SourceType: string | undefined; + AwsOrganizationsSource?: ResourceDataSyncAwsOrganizationsSource; + SourceRegions: string[] | undefined; + IncludeFutureRegions?: boolean; + EnableAllOpsDataSources?: boolean; +} +export interface CreateResourceDataSyncRequest { + SyncName: string | undefined; + S3Destination?: ResourceDataSyncS3Destination; + SyncType?: string; + SyncSource?: ResourceDataSyncSource; +} +export interface CreateResourceDataSyncResult {} +export declare class ResourceDataSyncAlreadyExistsException extends __BaseException { + readonly name: "ResourceDataSyncAlreadyExistsException"; + readonly $fault: "client"; + SyncName?: string; + constructor( + opts: __ExceptionOptionType< + ResourceDataSyncAlreadyExistsException, + __BaseException + > + ); +} +export declare class ResourceDataSyncCountExceededException extends __BaseException { + readonly name: "ResourceDataSyncCountExceededException"; + readonly $fault: "client"; + Message?: string; + constructor( + opts: __ExceptionOptionType< + ResourceDataSyncCountExceededException, + __BaseException + > + ); +} +export declare class ResourceDataSyncInvalidConfigurationException extends __BaseException { + readonly name: "ResourceDataSyncInvalidConfigurationException"; + readonly $fault: "client"; + Message?: string; + constructor( + opts: __ExceptionOptionType< + ResourceDataSyncInvalidConfigurationException, + __BaseException + > + ); +} +export interface DeleteActivationRequest { + ActivationId: string | undefined; +} +export interface DeleteActivationResult {} +export declare class InvalidActivation extends __BaseException { + readonly name: "InvalidActivation"; + readonly $fault: "client"; + Message?: string; + constructor(opts: __ExceptionOptionType); +} +export declare class InvalidActivationId extends __BaseException { + readonly name: "InvalidActivationId"; + readonly $fault: "client"; + Message?: string; + constructor( + opts: __ExceptionOptionType + ); +} +export declare class AssociationDoesNotExist extends __BaseException { + readonly name: "AssociationDoesNotExist"; + readonly $fault: "client"; + Message?: string; + constructor( + opts: __ExceptionOptionType + ); +} +export interface DeleteAssociationRequest { + Name?: string; + InstanceId?: string; + AssociationId?: string; +} +export interface DeleteAssociationResult {} +export declare class AssociatedInstances extends __BaseException { + readonly name: "AssociatedInstances"; + readonly $fault: "client"; + constructor( + opts: __ExceptionOptionType + ); +} +export interface DeleteDocumentRequest { + Name: string | undefined; + DocumentVersion?: string; + VersionName?: string; + Force?: boolean; +} +export interface DeleteDocumentResult {} +export declare class InvalidDocumentOperation extends __BaseException { + readonly name: "InvalidDocumentOperation"; + readonly $fault: "client"; + Message?: string; + constructor( + opts: __ExceptionOptionType + ); +} +export declare const InventorySchemaDeleteOption: { + readonly DELETE_SCHEMA: "DeleteSchema"; + readonly DISABLE_SCHEMA: "DisableSchema"; +}; +export type InventorySchemaDeleteOption = + (typeof InventorySchemaDeleteOption)[keyof typeof InventorySchemaDeleteOption]; +export interface DeleteInventoryRequest { + TypeName: string | undefined; + SchemaDeleteOption?: InventorySchemaDeleteOption; + DryRun?: boolean; + ClientToken?: string; +} +export interface InventoryDeletionSummaryItem { + Version?: string; + Count?: number; + RemainingCount?: number; +} +export interface InventoryDeletionSummary { + TotalCount?: number; + RemainingCount?: number; + SummaryItems?: InventoryDeletionSummaryItem[]; +} +export interface DeleteInventoryResult { + DeletionId?: string; + TypeName?: string; + DeletionSummary?: InventoryDeletionSummary; +} +export declare class InvalidDeleteInventoryParametersException extends __BaseException { + readonly name: "InvalidDeleteInventoryParametersException"; + readonly $fault: "client"; + Message?: string; + constructor( + opts: __ExceptionOptionType< + InvalidDeleteInventoryParametersException, + __BaseException + > + ); +} +export declare class InvalidInventoryRequestException extends __BaseException { + readonly name: "InvalidInventoryRequestException"; + readonly $fault: "client"; + Message?: string; + constructor( + opts: __ExceptionOptionType< + InvalidInventoryRequestException, + __BaseException + > + ); +} +export declare class InvalidOptionException extends __BaseException { + readonly name: "InvalidOptionException"; + readonly $fault: "client"; + Message?: string; + constructor( + opts: __ExceptionOptionType + ); +} +export declare class InvalidTypeNameException extends __BaseException { + readonly name: "InvalidTypeNameException"; + readonly $fault: "client"; + Message?: string; + constructor( + opts: __ExceptionOptionType + ); +} +export interface DeleteMaintenanceWindowRequest { + WindowId: string | undefined; +} +export interface DeleteMaintenanceWindowResult { + WindowId?: string; +} +export interface DeleteOpsItemRequest { + OpsItemId: string | undefined; +} +export interface DeleteOpsItemResponse {} +export interface DeleteOpsMetadataRequest { + OpsMetadataArn: string | undefined; +} +export interface DeleteOpsMetadataResult {} +export declare class OpsMetadataNotFoundException extends __BaseException { + readonly name: "OpsMetadataNotFoundException"; + readonly $fault: "client"; + constructor( + opts: __ExceptionOptionType + ); +} +export interface DeleteParameterRequest { + Name: string | undefined; +} +export interface DeleteParameterResult {} +export declare class ParameterNotFound extends __BaseException { + readonly name: "ParameterNotFound"; + readonly $fault: "client"; + constructor(opts: __ExceptionOptionType); +} +export interface DeleteParametersRequest { + Names: string[] | undefined; +} +export interface DeleteParametersResult { + DeletedParameters?: string[]; + InvalidParameters?: string[]; +} +export interface DeletePatchBaselineRequest { + BaselineId: string | undefined; +} +export interface DeletePatchBaselineResult { + BaselineId?: string; +} +export declare class ResourceInUseException extends __BaseException { + readonly name: "ResourceInUseException"; + readonly $fault: "client"; + Message?: string; + constructor( + opts: __ExceptionOptionType + ); +} +export interface DeleteResourceDataSyncRequest { + SyncName: string | undefined; + SyncType?: string; +} +export interface DeleteResourceDataSyncResult {} +export declare class ResourceDataSyncNotFoundException extends __BaseException { + readonly name: "ResourceDataSyncNotFoundException"; + readonly $fault: "client"; + SyncName?: string; + SyncType?: string; + Message?: string; + constructor( + opts: __ExceptionOptionType< + ResourceDataSyncNotFoundException, + __BaseException + > + ); +} +export interface DeleteResourcePolicyRequest { + ResourceArn: string | undefined; + PolicyId: string | undefined; + PolicyHash: string | undefined; +} +export interface DeleteResourcePolicyResponse {} +export declare class ResourcePolicyConflictException extends __BaseException { + readonly name: "ResourcePolicyConflictException"; + readonly $fault: "client"; + Message?: string; + constructor( + opts: __ExceptionOptionType< + ResourcePolicyConflictException, + __BaseException + > + ); +} +export declare class ResourcePolicyInvalidParameterException extends __BaseException { + readonly name: "ResourcePolicyInvalidParameterException"; + readonly $fault: "client"; + ParameterNames?: string[]; + Message?: string; + constructor( + opts: __ExceptionOptionType< + ResourcePolicyInvalidParameterException, + __BaseException + > + ); +} +export interface DeregisterManagedInstanceRequest { + InstanceId: string | undefined; +} +export interface DeregisterManagedInstanceResult {} +export interface DeregisterPatchBaselineForPatchGroupRequest { + BaselineId: string | undefined; + PatchGroup: string | undefined; +} +export interface DeregisterPatchBaselineForPatchGroupResult { + BaselineId?: string; + PatchGroup?: string; +} +export interface DeregisterTargetFromMaintenanceWindowRequest { + WindowId: string | undefined; + WindowTargetId: string | undefined; + Safe?: boolean; +} +export interface DeregisterTargetFromMaintenanceWindowResult { + WindowId?: string; + WindowTargetId?: string; +} +export declare class TargetInUseException extends __BaseException { + readonly name: "TargetInUseException"; + readonly $fault: "client"; + Message?: string; + constructor( + opts: __ExceptionOptionType + ); +} +export interface DeregisterTaskFromMaintenanceWindowRequest { + WindowId: string | undefined; + WindowTaskId: string | undefined; +} +export interface DeregisterTaskFromMaintenanceWindowResult { + WindowId?: string; + WindowTaskId?: string; +} +export declare const DescribeActivationsFilterKeys: { + readonly ACTIVATION_IDS: "ActivationIds"; + readonly DEFAULT_INSTANCE_NAME: "DefaultInstanceName"; + readonly IAM_ROLE: "IamRole"; +}; +export type DescribeActivationsFilterKeys = + (typeof DescribeActivationsFilterKeys)[keyof typeof DescribeActivationsFilterKeys]; +export interface DescribeActivationsFilter { + FilterKey?: DescribeActivationsFilterKeys; + FilterValues?: string[]; +} +export interface DescribeActivationsRequest { + Filters?: DescribeActivationsFilter[]; + MaxResults?: number; + NextToken?: string; +} +export interface DescribeActivationsResult { + ActivationList?: Activation[]; + NextToken?: string; +} +export declare class InvalidFilter extends __BaseException { + readonly name: "InvalidFilter"; + readonly $fault: "client"; + Message?: string; + constructor(opts: __ExceptionOptionType); +} +export declare class InvalidNextToken extends __BaseException { + readonly name: "InvalidNextToken"; + readonly $fault: "client"; + Message?: string; + constructor(opts: __ExceptionOptionType); +} +export interface DescribeAssociationRequest { + Name?: string; + InstanceId?: string; + AssociationId?: string; + AssociationVersion?: string; +} +export interface DescribeAssociationResult { + AssociationDescription?: AssociationDescription; +} +export declare class InvalidAssociationVersion extends __BaseException { + readonly name: "InvalidAssociationVersion"; + readonly $fault: "client"; + Message?: string; + constructor( + opts: __ExceptionOptionType + ); +} +export declare const AssociationExecutionFilterKey: { + readonly CreatedTime: "CreatedTime"; + readonly ExecutionId: "ExecutionId"; + readonly Status: "Status"; +}; +export type AssociationExecutionFilterKey = + (typeof AssociationExecutionFilterKey)[keyof typeof AssociationExecutionFilterKey]; +export declare const AssociationFilterOperatorType: { + readonly Equal: "EQUAL"; + readonly GreaterThan: "GREATER_THAN"; + readonly LessThan: "LESS_THAN"; +}; +export type AssociationFilterOperatorType = + (typeof AssociationFilterOperatorType)[keyof typeof AssociationFilterOperatorType]; +export interface AssociationExecutionFilter { + Key: AssociationExecutionFilterKey | undefined; + Value: string | undefined; + Type: AssociationFilterOperatorType | undefined; +} +export interface DescribeAssociationExecutionsRequest { + AssociationId: string | undefined; + Filters?: AssociationExecutionFilter[]; + MaxResults?: number; + NextToken?: string; +} +export interface AssociationExecution { + AssociationId?: string; + AssociationVersion?: string; + ExecutionId?: string; + Status?: string; + DetailedStatus?: string; + CreatedTime?: Date; + LastExecutionDate?: Date; + ResourceCountByStatus?: string; + AlarmConfiguration?: AlarmConfiguration; + TriggeredAlarms?: AlarmStateInformation[]; +} +export interface DescribeAssociationExecutionsResult { + AssociationExecutions?: AssociationExecution[]; + NextToken?: string; +} +export declare class AssociationExecutionDoesNotExist extends __BaseException { + readonly name: "AssociationExecutionDoesNotExist"; + readonly $fault: "client"; + Message?: string; + constructor( + opts: __ExceptionOptionType< + AssociationExecutionDoesNotExist, + __BaseException + > + ); +} +export declare const AssociationExecutionTargetsFilterKey: { + readonly ResourceId: "ResourceId"; + readonly ResourceType: "ResourceType"; + readonly Status: "Status"; +}; +export type AssociationExecutionTargetsFilterKey = + (typeof AssociationExecutionTargetsFilterKey)[keyof typeof AssociationExecutionTargetsFilterKey]; +export interface AssociationExecutionTargetsFilter { + Key: AssociationExecutionTargetsFilterKey | undefined; + Value: string | undefined; +} +export interface DescribeAssociationExecutionTargetsRequest { + AssociationId: string | undefined; + ExecutionId: string | undefined; + Filters?: AssociationExecutionTargetsFilter[]; + MaxResults?: number; + NextToken?: string; +} +export interface OutputSource { + OutputSourceId?: string; + OutputSourceType?: string; +} +export interface AssociationExecutionTarget { + AssociationId?: string; + AssociationVersion?: string; + ExecutionId?: string; + ResourceId?: string; + ResourceType?: string; + Status?: string; + DetailedStatus?: string; + LastExecutionDate?: Date; + OutputSource?: OutputSource; +} +export interface DescribeAssociationExecutionTargetsResult { + AssociationExecutionTargets?: AssociationExecutionTarget[]; + NextToken?: string; +} +export declare const AutomationExecutionFilterKey: { + readonly AUTOMATION_SUBTYPE: "AutomationSubtype"; + readonly AUTOMATION_TYPE: "AutomationType"; + readonly CURRENT_ACTION: "CurrentAction"; + readonly DOCUMENT_NAME_PREFIX: "DocumentNamePrefix"; + readonly EXECUTION_ID: "ExecutionId"; + readonly EXECUTION_STATUS: "ExecutionStatus"; + readonly OPS_ITEM_ID: "OpsItemId"; + readonly PARENT_EXECUTION_ID: "ParentExecutionId"; + readonly START_TIME_AFTER: "StartTimeAfter"; + readonly START_TIME_BEFORE: "StartTimeBefore"; + readonly TAG_KEY: "TagKey"; + readonly TARGET_RESOURCE_GROUP: "TargetResourceGroup"; +}; +export type AutomationExecutionFilterKey = + (typeof AutomationExecutionFilterKey)[keyof typeof AutomationExecutionFilterKey]; +export interface AutomationExecutionFilter { + Key: AutomationExecutionFilterKey | undefined; + Values: string[] | undefined; +} +export interface DescribeAutomationExecutionsRequest { + Filters?: AutomationExecutionFilter[]; + MaxResults?: number; + NextToken?: string; +} +export declare const AutomationExecutionStatus: { + readonly APPROVED: "Approved"; + readonly CANCELLED: "Cancelled"; + readonly CANCELLING: "Cancelling"; + readonly CHANGE_CALENDAR_OVERRIDE_APPROVED: "ChangeCalendarOverrideApproved"; + readonly CHANGE_CALENDAR_OVERRIDE_REJECTED: "ChangeCalendarOverrideRejected"; + readonly COMPLETED_WITH_FAILURE: "CompletedWithFailure"; + readonly COMPLETED_WITH_SUCCESS: "CompletedWithSuccess"; + readonly EXITED: "Exited"; + readonly FAILED: "Failed"; + readonly INPROGRESS: "InProgress"; + readonly PENDING: "Pending"; + readonly PENDING_APPROVAL: "PendingApproval"; + readonly PENDING_CHANGE_CALENDAR_OVERRIDE: "PendingChangeCalendarOverride"; + readonly REJECTED: "Rejected"; + readonly RUNBOOK_INPROGRESS: "RunbookInProgress"; + readonly SCHEDULED: "Scheduled"; + readonly SUCCESS: "Success"; + readonly TIMEDOUT: "TimedOut"; + readonly WAITING: "Waiting"; +}; +export type AutomationExecutionStatus = + (typeof AutomationExecutionStatus)[keyof typeof AutomationExecutionStatus]; +export declare const AutomationSubtype: { + readonly ChangeRequest: "ChangeRequest"; +}; +export type AutomationSubtype = + (typeof AutomationSubtype)[keyof typeof AutomationSubtype]; +export declare const AutomationType: { + readonly CrossAccount: "CrossAccount"; + readonly Local: "Local"; +}; +export type AutomationType = + (typeof AutomationType)[keyof typeof AutomationType]; +export declare const ExecutionMode: { + readonly Auto: "Auto"; + readonly Interactive: "Interactive"; +}; +export type ExecutionMode = (typeof ExecutionMode)[keyof typeof ExecutionMode]; +export interface ResolvedTargets { + ParameterValues?: string[]; + Truncated?: boolean; +} +export interface Runbook { + DocumentName: string | undefined; + DocumentVersion?: string; + Parameters?: Record; + TargetParameterName?: string; + Targets?: Target[]; + TargetMaps?: Record[]; + MaxConcurrency?: string; + MaxErrors?: string; + TargetLocations?: TargetLocation[]; +} +export interface AutomationExecutionMetadata { + AutomationExecutionId?: string; + DocumentName?: string; + DocumentVersion?: string; + AutomationExecutionStatus?: AutomationExecutionStatus; + ExecutionStartTime?: Date; + ExecutionEndTime?: Date; + ExecutedBy?: string; + LogFile?: string; + Outputs?: Record; + Mode?: ExecutionMode; + ParentAutomationExecutionId?: string; + CurrentStepName?: string; + CurrentAction?: string; + FailureMessage?: string; + TargetParameterName?: string; + Targets?: Target[]; + TargetMaps?: Record[]; + ResolvedTargets?: ResolvedTargets; + MaxConcurrency?: string; + MaxErrors?: string; + Target?: string; + AutomationType?: AutomationType; + AlarmConfiguration?: AlarmConfiguration; + TriggeredAlarms?: AlarmStateInformation[]; + AutomationSubtype?: AutomationSubtype; + ScheduledTime?: Date; + Runbooks?: Runbook[]; + OpsItemId?: string; + AssociationId?: string; + ChangeRequestName?: string; +} +export interface DescribeAutomationExecutionsResult { + AutomationExecutionMetadataList?: AutomationExecutionMetadata[]; + NextToken?: string; +} +export declare class InvalidFilterKey extends __BaseException { + readonly name: "InvalidFilterKey"; + readonly $fault: "client"; + constructor(opts: __ExceptionOptionType); +} +export declare class InvalidFilterValue extends __BaseException { + readonly name: "InvalidFilterValue"; + readonly $fault: "client"; + Message?: string; + constructor(opts: __ExceptionOptionType); +} +export declare class AutomationExecutionNotFoundException extends __BaseException { + readonly name: "AutomationExecutionNotFoundException"; + readonly $fault: "client"; + Message?: string; + constructor( + opts: __ExceptionOptionType< + AutomationExecutionNotFoundException, + __BaseException + > + ); +} +export declare const StepExecutionFilterKey: { + readonly ACTION: "Action"; + readonly PARENT_STEP_EXECUTION_ID: "ParentStepExecutionId"; + readonly PARENT_STEP_ITERATION: "ParentStepIteration"; + readonly PARENT_STEP_ITERATOR_VALUE: "ParentStepIteratorValue"; + readonly START_TIME_AFTER: "StartTimeAfter"; + readonly START_TIME_BEFORE: "StartTimeBefore"; + readonly STEP_EXECUTION_ID: "StepExecutionId"; + readonly STEP_EXECUTION_STATUS: "StepExecutionStatus"; + readonly STEP_NAME: "StepName"; +}; +export type StepExecutionFilterKey = + (typeof StepExecutionFilterKey)[keyof typeof StepExecutionFilterKey]; +export interface StepExecutionFilter { + Key: StepExecutionFilterKey | undefined; + Values: string[] | undefined; +} +export interface DescribeAutomationStepExecutionsRequest { + AutomationExecutionId: string | undefined; + Filters?: StepExecutionFilter[]; + NextToken?: string; + MaxResults?: number; + ReverseOrder?: boolean; +} +export interface FailureDetails { + FailureStage?: string; + FailureType?: string; + Details?: Record; +} +export interface ParentStepDetails { + StepExecutionId?: string; + StepName?: string; + Action?: string; + Iteration?: number; + IteratorValue?: string; +} +export interface StepExecution { + StepName?: string; + Action?: string; + TimeoutSeconds?: number; + OnFailure?: string; + MaxAttempts?: number; + ExecutionStartTime?: Date; + ExecutionEndTime?: Date; + StepStatus?: AutomationExecutionStatus; + ResponseCode?: string; + Inputs?: Record; + Outputs?: Record; + Response?: string; + FailureMessage?: string; + FailureDetails?: FailureDetails; + StepExecutionId?: string; + OverriddenParameters?: Record; + IsEnd?: boolean; + NextStep?: string; + IsCritical?: boolean; + ValidNextSteps?: string[]; + Targets?: Target[]; + TargetLocation?: TargetLocation; + TriggeredAlarms?: AlarmStateInformation[]; + ParentStepDetails?: ParentStepDetails; +} +export interface DescribeAutomationStepExecutionsResult { + StepExecutions?: StepExecution[]; + NextToken?: string; +} +export interface PatchOrchestratorFilter { + Key?: string; + Values?: string[]; +} +export interface DescribeAvailablePatchesRequest { + Filters?: PatchOrchestratorFilter[]; + MaxResults?: number; + NextToken?: string; +} +export interface Patch { + Id?: string; + ReleaseDate?: Date; + Title?: string; + Description?: string; + ContentUrl?: string; + Vendor?: string; + ProductFamily?: string; + Product?: string; + Classification?: string; + MsrcSeverity?: string; + KbNumber?: string; + MsrcNumber?: string; + Language?: string; + AdvisoryIds?: string[]; + BugzillaIds?: string[]; + CVEIds?: string[]; + Name?: string; + Epoch?: number; + Version?: string; + Release?: string; + Arch?: string; + Severity?: string; + Repository?: string; +} +export interface DescribeAvailablePatchesResult { + Patches?: Patch[]; + NextToken?: string; +} +export interface DescribeDocumentRequest { + Name: string | undefined; + DocumentVersion?: string; + VersionName?: string; +} +export interface DescribeDocumentResult { + Document?: DocumentDescription; +} +export declare const DocumentPermissionType: { + readonly SHARE: "Share"; +}; +export type DocumentPermissionType = + (typeof DocumentPermissionType)[keyof typeof DocumentPermissionType]; +export interface DescribeDocumentPermissionRequest { + Name: string | undefined; + PermissionType: DocumentPermissionType | undefined; + MaxResults?: number; + NextToken?: string; +} +export interface DescribeDocumentPermissionResponse { + AccountIds?: string[]; + AccountSharingInfoList?: AccountSharingInfo[]; + NextToken?: string; +} +export declare class InvalidPermissionType extends __BaseException { + readonly name: "InvalidPermissionType"; + readonly $fault: "client"; + Message?: string; + constructor( + opts: __ExceptionOptionType + ); +} +export interface DescribeEffectiveInstanceAssociationsRequest { + InstanceId: string | undefined; + MaxResults?: number; + NextToken?: string; +} +export interface InstanceAssociation { + AssociationId?: string; + InstanceId?: string; + Content?: string; + AssociationVersion?: string; +} +export interface DescribeEffectiveInstanceAssociationsResult { + Associations?: InstanceAssociation[]; + NextToken?: string; +} +export interface DescribeEffectivePatchesForPatchBaselineRequest { + BaselineId: string | undefined; + MaxResults?: number; + NextToken?: string; +} +export declare const PatchDeploymentStatus: { + readonly Approved: "APPROVED"; + readonly ExplicitApproved: "EXPLICIT_APPROVED"; + readonly ExplicitRejected: "EXPLICIT_REJECTED"; + readonly PendingApproval: "PENDING_APPROVAL"; +}; +export type PatchDeploymentStatus = + (typeof PatchDeploymentStatus)[keyof typeof PatchDeploymentStatus]; +export interface PatchStatus { + DeploymentStatus?: PatchDeploymentStatus; + ComplianceLevel?: PatchComplianceLevel; + ApprovalDate?: Date; +} +export interface EffectivePatch { + Patch?: Patch; + PatchStatus?: PatchStatus; +} +export interface DescribeEffectivePatchesForPatchBaselineResult { + EffectivePatches?: EffectivePatch[]; + NextToken?: string; +} +export declare class UnsupportedOperatingSystem extends __BaseException { + readonly name: "UnsupportedOperatingSystem"; + readonly $fault: "client"; + Message?: string; + constructor( + opts: __ExceptionOptionType + ); +} +export interface DescribeInstanceAssociationsStatusRequest { + InstanceId: string | undefined; + MaxResults?: number; + NextToken?: string; +} +export interface S3OutputUrl { + OutputUrl?: string; +} +export interface InstanceAssociationOutputUrl { + S3OutputUrl?: S3OutputUrl; +} +export interface InstanceAssociationStatusInfo { + AssociationId?: string; + Name?: string; + DocumentVersion?: string; + AssociationVersion?: string; + InstanceId?: string; + ExecutionDate?: Date; + Status?: string; + DetailedStatus?: string; + ExecutionSummary?: string; + ErrorCode?: string; + OutputUrl?: InstanceAssociationOutputUrl; + AssociationName?: string; +} +export interface DescribeInstanceAssociationsStatusResult { + InstanceAssociationStatusInfos?: InstanceAssociationStatusInfo[]; + NextToken?: string; +} +export interface InstanceInformationStringFilter { + Key: string | undefined; + Values: string[] | undefined; +} +export declare const InstanceInformationFilterKey: { + readonly ACTIVATION_IDS: "ActivationIds"; + readonly AGENT_VERSION: "AgentVersion"; + readonly ASSOCIATION_STATUS: "AssociationStatus"; + readonly IAM_ROLE: "IamRole"; + readonly INSTANCE_IDS: "InstanceIds"; + readonly PING_STATUS: "PingStatus"; + readonly PLATFORM_TYPES: "PlatformTypes"; + readonly RESOURCE_TYPE: "ResourceType"; +}; +export type InstanceInformationFilterKey = + (typeof InstanceInformationFilterKey)[keyof typeof InstanceInformationFilterKey]; +export interface InstanceInformationFilter { + key: InstanceInformationFilterKey | undefined; + valueSet: string[] | undefined; +} +export interface DescribeInstanceInformationRequest { + InstanceInformationFilterList?: InstanceInformationFilter[]; + Filters?: InstanceInformationStringFilter[]; + MaxResults?: number; + NextToken?: string; +} +export interface InstanceAggregatedAssociationOverview { + DetailedStatus?: string; + InstanceAssociationStatusAggregatedCount?: Record; +} +export declare const PingStatus: { + readonly CONNECTION_LOST: "ConnectionLost"; + readonly INACTIVE: "Inactive"; + readonly ONLINE: "Online"; +}; +export type PingStatus = (typeof PingStatus)[keyof typeof PingStatus]; +export declare const ResourceType: { + readonly EC2_INSTANCE: "EC2Instance"; + readonly MANAGED_INSTANCE: "ManagedInstance"; +}; +export type ResourceType = (typeof ResourceType)[keyof typeof ResourceType]; +export declare const SourceType: { + readonly AWS_EC2_INSTANCE: "AWS::EC2::Instance"; + readonly AWS_IOT_THING: "AWS::IoT::Thing"; + readonly AWS_SSM_MANAGEDINSTANCE: "AWS::SSM::ManagedInstance"; +}; +export type SourceType = (typeof SourceType)[keyof typeof SourceType]; +export interface InstanceInformation { + InstanceId?: string; + PingStatus?: PingStatus; + LastPingDateTime?: Date; + AgentVersion?: string; + IsLatestVersion?: boolean; + PlatformType?: PlatformType; + PlatformName?: string; + PlatformVersion?: string; + ActivationId?: string; + IamRole?: string; + RegistrationDate?: Date; + ResourceType?: ResourceType; + Name?: string; + IPAddress?: string; + ComputerName?: string; + AssociationStatus?: string; + LastAssociationExecutionDate?: Date; + LastSuccessfulAssociationExecutionDate?: Date; + AssociationOverview?: InstanceAggregatedAssociationOverview; + SourceId?: string; + SourceType?: SourceType; +} +export interface DescribeInstanceInformationResult { + InstanceInformationList?: InstanceInformation[]; + NextToken?: string; +} +export declare class InvalidInstanceInformationFilterValue extends __BaseException { + readonly name: "InvalidInstanceInformationFilterValue"; + readonly $fault: "client"; + constructor( + opts: __ExceptionOptionType< + InvalidInstanceInformationFilterValue, + __BaseException + > + ); +} +export interface DescribeInstancePatchesRequest { + InstanceId: string | undefined; + Filters?: PatchOrchestratorFilter[]; + NextToken?: string; + MaxResults?: number; +} +export declare const PatchComplianceDataState: { + readonly Failed: "FAILED"; + readonly Installed: "INSTALLED"; + readonly InstalledOther: "INSTALLED_OTHER"; + readonly InstalledPendingReboot: "INSTALLED_PENDING_REBOOT"; + readonly InstalledRejected: "INSTALLED_REJECTED"; + readonly Missing: "MISSING"; + readonly NotApplicable: "NOT_APPLICABLE"; +}; +export type PatchComplianceDataState = + (typeof PatchComplianceDataState)[keyof typeof PatchComplianceDataState]; +export interface PatchComplianceData { + Title: string | undefined; + KBId: string | undefined; + Classification: string | undefined; + Severity: string | undefined; + State: PatchComplianceDataState | undefined; + InstalledTime: Date | undefined; + CVEIds?: string; +} +export interface DescribeInstancePatchesResult { + Patches?: PatchComplianceData[]; + NextToken?: string; +} +export interface DescribeInstancePatchStatesRequest { + InstanceIds: string[] | undefined; + NextToken?: string; + MaxResults?: number; +} +export declare const PatchOperationType: { + readonly INSTALL: "Install"; + readonly SCAN: "Scan"; +}; +export type PatchOperationType = + (typeof PatchOperationType)[keyof typeof PatchOperationType]; +export declare const RebootOption: { + readonly NO_REBOOT: "NoReboot"; + readonly REBOOT_IF_NEEDED: "RebootIfNeeded"; +}; +export type RebootOption = (typeof RebootOption)[keyof typeof RebootOption]; +export interface InstancePatchState { + InstanceId: string | undefined; + PatchGroup: string | undefined; + BaselineId: string | undefined; + SnapshotId?: string; + InstallOverrideList?: string; + OwnerInformation?: string; + InstalledCount?: number; + InstalledOtherCount?: number; + InstalledPendingRebootCount?: number; + InstalledRejectedCount?: number; + MissingCount?: number; + FailedCount?: number; + UnreportedNotApplicableCount?: number; + NotApplicableCount?: number; + OperationStartTime: Date | undefined; + OperationEndTime: Date | undefined; + Operation: PatchOperationType | undefined; + LastNoRebootInstallOperationTime?: Date; + RebootOption?: RebootOption; + CriticalNonCompliantCount?: number; + SecurityNonCompliantCount?: number; + OtherNonCompliantCount?: number; +} +export interface DescribeInstancePatchStatesResult { + InstancePatchStates?: InstancePatchState[]; + NextToken?: string; +} +export declare const InstancePatchStateOperatorType: { + readonly EQUAL: "Equal"; + readonly GREATER_THAN: "GreaterThan"; + readonly LESS_THAN: "LessThan"; + readonly NOT_EQUAL: "NotEqual"; +}; +export type InstancePatchStateOperatorType = + (typeof InstancePatchStateOperatorType)[keyof typeof InstancePatchStateOperatorType]; +export interface InstancePatchStateFilter { + Key: string | undefined; + Values: string[] | undefined; + Type: InstancePatchStateOperatorType | undefined; +} +export interface DescribeInstancePatchStatesForPatchGroupRequest { + PatchGroup: string | undefined; + Filters?: InstancePatchStateFilter[]; + NextToken?: string; + MaxResults?: number; +} +export interface DescribeInstancePatchStatesForPatchGroupResult { + InstancePatchStates?: InstancePatchState[]; + NextToken?: string; +} +export interface DescribeInventoryDeletionsRequest { + DeletionId?: string; + NextToken?: string; + MaxResults?: number; +} +export declare const InventoryDeletionStatus: { + readonly COMPLETE: "Complete"; + readonly IN_PROGRESS: "InProgress"; +}; +export type InventoryDeletionStatus = + (typeof InventoryDeletionStatus)[keyof typeof InventoryDeletionStatus]; +export interface InventoryDeletionStatusItem { + DeletionId?: string; + TypeName?: string; + DeletionStartTime?: Date; + LastStatus?: InventoryDeletionStatus; + LastStatusMessage?: string; + DeletionSummary?: InventoryDeletionSummary; + LastStatusUpdateTime?: Date; +} +export interface DescribeInventoryDeletionsResult { + InventoryDeletions?: InventoryDeletionStatusItem[]; + NextToken?: string; +} +export declare class InvalidDeletionIdException extends __BaseException { + readonly name: "InvalidDeletionIdException"; + readonly $fault: "client"; + Message?: string; + constructor( + opts: __ExceptionOptionType + ); +} +export interface MaintenanceWindowFilter { + Key?: string; + Values?: string[]; +} +export interface DescribeMaintenanceWindowExecutionsRequest { + WindowId: string | undefined; + Filters?: MaintenanceWindowFilter[]; + MaxResults?: number; + NextToken?: string; +} +export declare const MaintenanceWindowExecutionStatus: { + readonly Cancelled: "CANCELLED"; + readonly Cancelling: "CANCELLING"; + readonly Failed: "FAILED"; + readonly InProgress: "IN_PROGRESS"; + readonly Pending: "PENDING"; + readonly SkippedOverlapping: "SKIPPED_OVERLAPPING"; + readonly Success: "SUCCESS"; + readonly TimedOut: "TIMED_OUT"; +}; +export type MaintenanceWindowExecutionStatus = + (typeof MaintenanceWindowExecutionStatus)[keyof typeof MaintenanceWindowExecutionStatus]; +export interface MaintenanceWindowExecution { + WindowId?: string; + WindowExecutionId?: string; + Status?: MaintenanceWindowExecutionStatus; + StatusDetails?: string; + StartTime?: Date; + EndTime?: Date; +} +export interface DescribeMaintenanceWindowExecutionsResult { + WindowExecutions?: MaintenanceWindowExecution[]; + NextToken?: string; +} +export interface DescribeMaintenanceWindowExecutionTaskInvocationsRequest { + WindowExecutionId: string | undefined; + TaskId: string | undefined; + Filters?: MaintenanceWindowFilter[]; + MaxResults?: number; + NextToken?: string; +} +export declare const MaintenanceWindowTaskType: { + readonly Automation: "AUTOMATION"; + readonly Lambda: "LAMBDA"; + readonly RunCommand: "RUN_COMMAND"; + readonly StepFunctions: "STEP_FUNCTIONS"; +}; +export type MaintenanceWindowTaskType = + (typeof MaintenanceWindowTaskType)[keyof typeof MaintenanceWindowTaskType]; +export interface MaintenanceWindowExecutionTaskInvocationIdentity { + WindowExecutionId?: string; + TaskExecutionId?: string; + InvocationId?: string; + ExecutionId?: string; + TaskType?: MaintenanceWindowTaskType; + Parameters?: string; + Status?: MaintenanceWindowExecutionStatus; + StatusDetails?: string; + StartTime?: Date; + EndTime?: Date; + OwnerInformation?: string; + WindowTargetId?: string; +} +export interface DescribeMaintenanceWindowExecutionTaskInvocationsResult { + WindowExecutionTaskInvocationIdentities?: MaintenanceWindowExecutionTaskInvocationIdentity[]; + NextToken?: string; +} +export interface DescribeMaintenanceWindowExecutionTasksRequest { + WindowExecutionId: string | undefined; + Filters?: MaintenanceWindowFilter[]; + MaxResults?: number; + NextToken?: string; +} +export interface MaintenanceWindowExecutionTaskIdentity { + WindowExecutionId?: string; + TaskExecutionId?: string; + Status?: MaintenanceWindowExecutionStatus; + StatusDetails?: string; + StartTime?: Date; + EndTime?: Date; + TaskArn?: string; + TaskType?: MaintenanceWindowTaskType; + AlarmConfiguration?: AlarmConfiguration; + TriggeredAlarms?: AlarmStateInformation[]; +} +export interface DescribeMaintenanceWindowExecutionTasksResult { + WindowExecutionTaskIdentities?: MaintenanceWindowExecutionTaskIdentity[]; + NextToken?: string; +} +export interface DescribeMaintenanceWindowsRequest { + Filters?: MaintenanceWindowFilter[]; + MaxResults?: number; + NextToken?: string; +} +export interface MaintenanceWindowIdentity { + WindowId?: string; + Name?: string; + Description?: string; + Enabled?: boolean; + Duration?: number; + Cutoff?: number; + Schedule?: string; + ScheduleTimezone?: string; + ScheduleOffset?: number; + EndDate?: string; + StartDate?: string; + NextExecutionTime?: string; +} +export interface DescribeMaintenanceWindowsResult { + WindowIdentities?: MaintenanceWindowIdentity[]; + NextToken?: string; +} +export declare const MaintenanceWindowResourceType: { + readonly Instance: "INSTANCE"; + readonly ResourceGroup: "RESOURCE_GROUP"; +}; +export type MaintenanceWindowResourceType = + (typeof MaintenanceWindowResourceType)[keyof typeof MaintenanceWindowResourceType]; +export interface DescribeMaintenanceWindowScheduleRequest { + WindowId?: string; + Targets?: Target[]; + ResourceType?: MaintenanceWindowResourceType; + Filters?: PatchOrchestratorFilter[]; + MaxResults?: number; + NextToken?: string; +} +export interface ScheduledWindowExecution { + WindowId?: string; + Name?: string; + ExecutionTime?: string; +} +export interface DescribeMaintenanceWindowScheduleResult { + ScheduledWindowExecutions?: ScheduledWindowExecution[]; + NextToken?: string; +} +export interface DescribeMaintenanceWindowsForTargetRequest { + Targets: Target[] | undefined; + ResourceType: MaintenanceWindowResourceType | undefined; + MaxResults?: number; + NextToken?: string; +} +export interface MaintenanceWindowIdentityForTarget { + WindowId?: string; + Name?: string; +} +export interface DescribeMaintenanceWindowsForTargetResult { + WindowIdentities?: MaintenanceWindowIdentityForTarget[]; + NextToken?: string; +} +export interface DescribeMaintenanceWindowTargetsRequest { + WindowId: string | undefined; + Filters?: MaintenanceWindowFilter[]; + MaxResults?: number; + NextToken?: string; +} +export interface MaintenanceWindowTarget { + WindowId?: string; + WindowTargetId?: string; + ResourceType?: MaintenanceWindowResourceType; + Targets?: Target[]; + OwnerInformation?: string; + Name?: string; + Description?: string; +} +export interface DescribeMaintenanceWindowTargetsResult { + Targets?: MaintenanceWindowTarget[]; + NextToken?: string; +} +export interface DescribeMaintenanceWindowTasksRequest { + WindowId: string | undefined; + Filters?: MaintenanceWindowFilter[]; + MaxResults?: number; + NextToken?: string; +} +export declare const MaintenanceWindowTaskCutoffBehavior: { + readonly CancelTask: "CANCEL_TASK"; + readonly ContinueTask: "CONTINUE_TASK"; +}; +export type MaintenanceWindowTaskCutoffBehavior = + (typeof MaintenanceWindowTaskCutoffBehavior)[keyof typeof MaintenanceWindowTaskCutoffBehavior]; +export interface LoggingInfo { + S3BucketName: string | undefined; + S3KeyPrefix?: string; + S3Region: string | undefined; +} +export interface MaintenanceWindowTaskParameterValueExpression { + Values?: string[]; +} +export declare const CreateAssociationRequestFilterSensitiveLog: ( + obj: CreateAssociationRequest +) => any; +export declare const AssociationDescriptionFilterSensitiveLog: ( + obj: AssociationDescription +) => any; +export declare const CreateAssociationResultFilterSensitiveLog: ( + obj: CreateAssociationResult +) => any; +export declare const CreateAssociationBatchRequestEntryFilterSensitiveLog: ( + obj: CreateAssociationBatchRequestEntry +) => any; +export declare const CreateAssociationBatchRequestFilterSensitiveLog: ( + obj: CreateAssociationBatchRequest +) => any; +export declare const FailedCreateAssociationFilterSensitiveLog: ( + obj: FailedCreateAssociation +) => any; +export declare const CreateAssociationBatchResultFilterSensitiveLog: ( + obj: CreateAssociationBatchResult +) => any; +export declare const CreateMaintenanceWindowRequestFilterSensitiveLog: ( + obj: CreateMaintenanceWindowRequest +) => any; +export declare const PatchSourceFilterSensitiveLog: (obj: PatchSource) => any; +export declare const CreatePatchBaselineRequestFilterSensitiveLog: ( + obj: CreatePatchBaselineRequest +) => any; +export declare const DescribeAssociationResultFilterSensitiveLog: ( + obj: DescribeAssociationResult +) => any; +export declare const InstancePatchStateFilterSensitiveLog: ( + obj: InstancePatchState +) => any; +export declare const DescribeInstancePatchStatesResultFilterSensitiveLog: ( + obj: DescribeInstancePatchStatesResult +) => any; +export declare const DescribeInstancePatchStatesForPatchGroupResultFilterSensitiveLog: ( + obj: DescribeInstancePatchStatesForPatchGroupResult +) => any; +export declare const MaintenanceWindowExecutionTaskInvocationIdentityFilterSensitiveLog: ( + obj: MaintenanceWindowExecutionTaskInvocationIdentity +) => any; +export declare const DescribeMaintenanceWindowExecutionTaskInvocationsResultFilterSensitiveLog: ( + obj: DescribeMaintenanceWindowExecutionTaskInvocationsResult +) => any; +export declare const MaintenanceWindowIdentityFilterSensitiveLog: ( + obj: MaintenanceWindowIdentity +) => any; +export declare const DescribeMaintenanceWindowsResultFilterSensitiveLog: ( + obj: DescribeMaintenanceWindowsResult +) => any; +export declare const MaintenanceWindowTargetFilterSensitiveLog: ( + obj: MaintenanceWindowTarget +) => any; +export declare const DescribeMaintenanceWindowTargetsResultFilterSensitiveLog: ( + obj: DescribeMaintenanceWindowTargetsResult +) => any; +export declare const MaintenanceWindowTaskParameterValueExpressionFilterSensitiveLog: ( + obj: MaintenanceWindowTaskParameterValueExpression +) => any; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/models/models_1.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/models/models_1.d.ts new file mode 100644 index 00000000..2f20849f --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/models/models_1.d.ts @@ -0,0 +1,2279 @@ +import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client"; +import { + AlarmConfiguration, + AlarmStateInformation, + AssociationComplianceSeverity, + AssociationOverview, + AssociationSyncCompliance, + AutomationExecutionStatus, + AutomationSubtype, + DocumentFormat, + DocumentHashType, + DocumentPermissionType, + DocumentRequires, + DocumentStatus, + DocumentType, + ExecutionMode, + InstanceAssociationOutputLocation, + LoggingInfo, + MaintenanceWindowExecutionStatus, + MaintenanceWindowResourceType, + MaintenanceWindowTaskCutoffBehavior, + MaintenanceWindowTaskParameterValueExpression, + MaintenanceWindowTaskType, + MetadataValue, + OperatingSystem, + OpsItemDataValue, + OpsItemNotification, + PatchAction, + PatchComplianceLevel, + PatchFilterGroup, + PatchOrchestratorFilter, + PatchRuleGroup, + PatchSource, + PlatformType, + RelatedOpsItem, + ResolvedTargets, + ResourceDataSyncAwsOrganizationsSource, + ResourceDataSyncS3Destination, + ResourceTypeForTagging, + ReviewStatus, + Runbook, + StepExecution, + Tag, + Target, + TargetLocation, +} from "./models_0"; +import { SSMServiceException as __BaseException } from "./SSMServiceException"; +export interface MaintenanceWindowTask { + WindowId?: string; + WindowTaskId?: string; + TaskArn?: string; + Type?: MaintenanceWindowTaskType; + Targets?: Target[]; + TaskParameters?: Record< + string, + MaintenanceWindowTaskParameterValueExpression + >; + Priority?: number; + LoggingInfo?: LoggingInfo; + ServiceRoleArn?: string; + MaxConcurrency?: string; + MaxErrors?: string; + Name?: string; + Description?: string; + CutoffBehavior?: MaintenanceWindowTaskCutoffBehavior; + AlarmConfiguration?: AlarmConfiguration; +} +export interface DescribeMaintenanceWindowTasksResult { + Tasks?: MaintenanceWindowTask[]; + NextToken?: string; +} +export declare const OpsItemFilterKey: { + readonly ACCOUNT_ID: "AccountId"; + readonly ACTUAL_END_TIME: "ActualEndTime"; + readonly ACTUAL_START_TIME: "ActualStartTime"; + readonly AUTOMATION_ID: "AutomationId"; + readonly CATEGORY: "Category"; + readonly CHANGE_REQUEST_APPROVER_ARN: "ChangeRequestByApproverArn"; + readonly CHANGE_REQUEST_APPROVER_NAME: "ChangeRequestByApproverName"; + readonly CHANGE_REQUEST_REQUESTER_ARN: "ChangeRequestByRequesterArn"; + readonly CHANGE_REQUEST_REQUESTER_NAME: "ChangeRequestByRequesterName"; + readonly CHANGE_REQUEST_TARGETS_RESOURCE_GROUP: "ChangeRequestByTargetsResourceGroup"; + readonly CHANGE_REQUEST_TEMPLATE: "ChangeRequestByTemplate"; + readonly CREATED_BY: "CreatedBy"; + readonly CREATED_TIME: "CreatedTime"; + readonly INSIGHT_TYPE: "InsightByType"; + readonly LAST_MODIFIED_TIME: "LastModifiedTime"; + readonly OPERATIONAL_DATA: "OperationalData"; + readonly OPERATIONAL_DATA_KEY: "OperationalDataKey"; + readonly OPERATIONAL_DATA_VALUE: "OperationalDataValue"; + readonly OPSITEM_ID: "OpsItemId"; + readonly OPSITEM_TYPE: "OpsItemType"; + readonly PLANNED_END_TIME: "PlannedEndTime"; + readonly PLANNED_START_TIME: "PlannedStartTime"; + readonly PRIORITY: "Priority"; + readonly RESOURCE_ID: "ResourceId"; + readonly SEVERITY: "Severity"; + readonly SOURCE: "Source"; + readonly STATUS: "Status"; + readonly TITLE: "Title"; +}; +export type OpsItemFilterKey = + (typeof OpsItemFilterKey)[keyof typeof OpsItemFilterKey]; +export declare const OpsItemFilterOperator: { + readonly CONTAINS: "Contains"; + readonly EQUAL: "Equal"; + readonly GREATER_THAN: "GreaterThan"; + readonly LESS_THAN: "LessThan"; +}; +export type OpsItemFilterOperator = + (typeof OpsItemFilterOperator)[keyof typeof OpsItemFilterOperator]; +export interface OpsItemFilter { + Key: OpsItemFilterKey | undefined; + Values: string[] | undefined; + Operator: OpsItemFilterOperator | undefined; +} +export interface DescribeOpsItemsRequest { + OpsItemFilters?: OpsItemFilter[]; + MaxResults?: number; + NextToken?: string; +} +export declare const OpsItemStatus: { + readonly APPROVED: "Approved"; + readonly CANCELLED: "Cancelled"; + readonly CANCELLING: "Cancelling"; + readonly CHANGE_CALENDAR_OVERRIDE_APPROVED: "ChangeCalendarOverrideApproved"; + readonly CHANGE_CALENDAR_OVERRIDE_REJECTED: "ChangeCalendarOverrideRejected"; + readonly CLOSED: "Closed"; + readonly COMPLETED_WITH_FAILURE: "CompletedWithFailure"; + readonly COMPLETED_WITH_SUCCESS: "CompletedWithSuccess"; + readonly FAILED: "Failed"; + readonly IN_PROGRESS: "InProgress"; + readonly OPEN: "Open"; + readonly PENDING: "Pending"; + readonly PENDING_APPROVAL: "PendingApproval"; + readonly PENDING_CHANGE_CALENDAR_OVERRIDE: "PendingChangeCalendarOverride"; + readonly REJECTED: "Rejected"; + readonly RESOLVED: "Resolved"; + readonly RUNBOOK_IN_PROGRESS: "RunbookInProgress"; + readonly SCHEDULED: "Scheduled"; + readonly TIMED_OUT: "TimedOut"; +}; +export type OpsItemStatus = (typeof OpsItemStatus)[keyof typeof OpsItemStatus]; +export interface OpsItemSummary { + CreatedBy?: string; + CreatedTime?: Date; + LastModifiedBy?: string; + LastModifiedTime?: Date; + Priority?: number; + Source?: string; + Status?: OpsItemStatus; + OpsItemId?: string; + Title?: string; + OperationalData?: Record; + Category?: string; + Severity?: string; + OpsItemType?: string; + ActualStartTime?: Date; + ActualEndTime?: Date; + PlannedStartTime?: Date; + PlannedEndTime?: Date; +} +export interface DescribeOpsItemsResponse { + NextToken?: string; + OpsItemSummaries?: OpsItemSummary[]; +} +export declare const ParametersFilterKey: { + readonly KEY_ID: "KeyId"; + readonly NAME: "Name"; + readonly TYPE: "Type"; +}; +export type ParametersFilterKey = + (typeof ParametersFilterKey)[keyof typeof ParametersFilterKey]; +export interface ParametersFilter { + Key: ParametersFilterKey | undefined; + Values: string[] | undefined; +} +export interface ParameterStringFilter { + Key: string | undefined; + Option?: string; + Values?: string[]; +} +export interface DescribeParametersRequest { + Filters?: ParametersFilter[]; + ParameterFilters?: ParameterStringFilter[]; + MaxResults?: number; + NextToken?: string; +} +export interface ParameterInlinePolicy { + PolicyText?: string; + PolicyType?: string; + PolicyStatus?: string; +} +export declare const ParameterTier: { + readonly ADVANCED: "Advanced"; + readonly INTELLIGENT_TIERING: "Intelligent-Tiering"; + readonly STANDARD: "Standard"; +}; +export type ParameterTier = (typeof ParameterTier)[keyof typeof ParameterTier]; +export declare const ParameterType: { + readonly SECURE_STRING: "SecureString"; + readonly STRING: "String"; + readonly STRING_LIST: "StringList"; +}; +export type ParameterType = (typeof ParameterType)[keyof typeof ParameterType]; +export interface ParameterMetadata { + Name?: string; + Type?: ParameterType; + KeyId?: string; + LastModifiedDate?: Date; + LastModifiedUser?: string; + Description?: string; + AllowedPattern?: string; + Version?: number; + Tier?: ParameterTier; + Policies?: ParameterInlinePolicy[]; + DataType?: string; +} +export interface DescribeParametersResult { + Parameters?: ParameterMetadata[]; + NextToken?: string; +} +export declare class InvalidFilterOption extends __BaseException { + readonly name: "InvalidFilterOption"; + readonly $fault: "client"; + constructor( + opts: __ExceptionOptionType + ); +} +export interface DescribePatchBaselinesRequest { + Filters?: PatchOrchestratorFilter[]; + MaxResults?: number; + NextToken?: string; +} +export interface PatchBaselineIdentity { + BaselineId?: string; + BaselineName?: string; + OperatingSystem?: OperatingSystem; + BaselineDescription?: string; + DefaultBaseline?: boolean; +} +export interface DescribePatchBaselinesResult { + BaselineIdentities?: PatchBaselineIdentity[]; + NextToken?: string; +} +export interface DescribePatchGroupsRequest { + MaxResults?: number; + Filters?: PatchOrchestratorFilter[]; + NextToken?: string; +} +export interface PatchGroupPatchBaselineMapping { + PatchGroup?: string; + BaselineIdentity?: PatchBaselineIdentity; +} +export interface DescribePatchGroupsResult { + Mappings?: PatchGroupPatchBaselineMapping[]; + NextToken?: string; +} +export interface DescribePatchGroupStateRequest { + PatchGroup: string | undefined; +} +export interface DescribePatchGroupStateResult { + Instances?: number; + InstancesWithInstalledPatches?: number; + InstancesWithInstalledOtherPatches?: number; + InstancesWithInstalledPendingRebootPatches?: number; + InstancesWithInstalledRejectedPatches?: number; + InstancesWithMissingPatches?: number; + InstancesWithFailedPatches?: number; + InstancesWithNotApplicablePatches?: number; + InstancesWithUnreportedNotApplicablePatches?: number; + InstancesWithCriticalNonCompliantPatches?: number; + InstancesWithSecurityNonCompliantPatches?: number; + InstancesWithOtherNonCompliantPatches?: number; +} +export declare const PatchSet: { + readonly Application: "APPLICATION"; + readonly Os: "OS"; +}; +export type PatchSet = (typeof PatchSet)[keyof typeof PatchSet]; +export declare const PatchProperty: { + readonly PatchClassification: "CLASSIFICATION"; + readonly PatchMsrcSeverity: "MSRC_SEVERITY"; + readonly PatchPriority: "PRIORITY"; + readonly PatchProductFamily: "PRODUCT_FAMILY"; + readonly PatchSeverity: "SEVERITY"; + readonly Product: "PRODUCT"; +}; +export type PatchProperty = (typeof PatchProperty)[keyof typeof PatchProperty]; +export interface DescribePatchPropertiesRequest { + OperatingSystem: OperatingSystem | undefined; + Property: PatchProperty | undefined; + PatchSet?: PatchSet; + MaxResults?: number; + NextToken?: string; +} +export interface DescribePatchPropertiesResult { + Properties?: Record[]; + NextToken?: string; +} +export declare const SessionFilterKey: { + readonly INVOKED_AFTER: "InvokedAfter"; + readonly INVOKED_BEFORE: "InvokedBefore"; + readonly OWNER: "Owner"; + readonly SESSION_ID: "SessionId"; + readonly STATUS: "Status"; + readonly TARGET_ID: "Target"; +}; +export type SessionFilterKey = + (typeof SessionFilterKey)[keyof typeof SessionFilterKey]; +export interface SessionFilter { + key: SessionFilterKey | undefined; + value: string | undefined; +} +export declare const SessionState: { + readonly ACTIVE: "Active"; + readonly HISTORY: "History"; +}; +export type SessionState = (typeof SessionState)[keyof typeof SessionState]; +export interface DescribeSessionsRequest { + State: SessionState | undefined; + MaxResults?: number; + NextToken?: string; + Filters?: SessionFilter[]; +} +export interface SessionManagerOutputUrl { + S3OutputUrl?: string; + CloudWatchOutputUrl?: string; +} +export declare const SessionStatus: { + readonly CONNECTED: "Connected"; + readonly CONNECTING: "Connecting"; + readonly DISCONNECTED: "Disconnected"; + readonly FAILED: "Failed"; + readonly TERMINATED: "Terminated"; + readonly TERMINATING: "Terminating"; +}; +export type SessionStatus = (typeof SessionStatus)[keyof typeof SessionStatus]; +export interface Session { + SessionId?: string; + Target?: string; + Status?: SessionStatus; + StartDate?: Date; + EndDate?: Date; + DocumentName?: string; + Owner?: string; + Reason?: string; + Details?: string; + OutputUrl?: SessionManagerOutputUrl; + MaxSessionDuration?: string; +} +export interface DescribeSessionsResponse { + Sessions?: Session[]; + NextToken?: string; +} +export interface DisassociateOpsItemRelatedItemRequest { + OpsItemId: string | undefined; + AssociationId: string | undefined; +} +export interface DisassociateOpsItemRelatedItemResponse {} +export declare class OpsItemRelatedItemAssociationNotFoundException extends __BaseException { + readonly name: "OpsItemRelatedItemAssociationNotFoundException"; + readonly $fault: "client"; + Message?: string; + constructor( + opts: __ExceptionOptionType< + OpsItemRelatedItemAssociationNotFoundException, + __BaseException + > + ); +} +export interface GetAutomationExecutionRequest { + AutomationExecutionId: string | undefined; +} +export interface ProgressCounters { + TotalSteps?: number; + SuccessSteps?: number; + FailedSteps?: number; + CancelledSteps?: number; + TimedOutSteps?: number; +} +export interface AutomationExecution { + AutomationExecutionId?: string; + DocumentName?: string; + DocumentVersion?: string; + ExecutionStartTime?: Date; + ExecutionEndTime?: Date; + AutomationExecutionStatus?: AutomationExecutionStatus; + StepExecutions?: StepExecution[]; + StepExecutionsTruncated?: boolean; + Parameters?: Record; + Outputs?: Record; + FailureMessage?: string; + Mode?: ExecutionMode; + ParentAutomationExecutionId?: string; + ExecutedBy?: string; + CurrentStepName?: string; + CurrentAction?: string; + TargetParameterName?: string; + Targets?: Target[]; + TargetMaps?: Record[]; + ResolvedTargets?: ResolvedTargets; + MaxConcurrency?: string; + MaxErrors?: string; + Target?: string; + TargetLocations?: TargetLocation[]; + ProgressCounters?: ProgressCounters; + AlarmConfiguration?: AlarmConfiguration; + TriggeredAlarms?: AlarmStateInformation[]; + AutomationSubtype?: AutomationSubtype; + ScheduledTime?: Date; + Runbooks?: Runbook[]; + OpsItemId?: string; + AssociationId?: string; + ChangeRequestName?: string; + Variables?: Record; +} +export interface GetAutomationExecutionResult { + AutomationExecution?: AutomationExecution; +} +export interface GetCalendarStateRequest { + CalendarNames: string[] | undefined; + AtTime?: string; +} +export declare const CalendarState: { + readonly CLOSED: "CLOSED"; + readonly OPEN: "OPEN"; +}; +export type CalendarState = (typeof CalendarState)[keyof typeof CalendarState]; +export interface GetCalendarStateResponse { + State?: CalendarState; + AtTime?: string; + NextTransitionTime?: string; +} +export declare class InvalidDocumentType extends __BaseException { + readonly name: "InvalidDocumentType"; + readonly $fault: "client"; + Message?: string; + constructor( + opts: __ExceptionOptionType + ); +} +export declare class UnsupportedCalendarException extends __BaseException { + readonly name: "UnsupportedCalendarException"; + readonly $fault: "client"; + Message?: string; + constructor( + opts: __ExceptionOptionType + ); +} +export interface GetCommandInvocationRequest { + CommandId: string | undefined; + InstanceId: string | undefined; + PluginName?: string; +} +export interface CloudWatchOutputConfig { + CloudWatchLogGroupName?: string; + CloudWatchOutputEnabled?: boolean; +} +export declare const CommandInvocationStatus: { + readonly CANCELLED: "Cancelled"; + readonly CANCELLING: "Cancelling"; + readonly DELAYED: "Delayed"; + readonly FAILED: "Failed"; + readonly IN_PROGRESS: "InProgress"; + readonly PENDING: "Pending"; + readonly SUCCESS: "Success"; + readonly TIMED_OUT: "TimedOut"; +}; +export type CommandInvocationStatus = + (typeof CommandInvocationStatus)[keyof typeof CommandInvocationStatus]; +export interface GetCommandInvocationResult { + CommandId?: string; + InstanceId?: string; + Comment?: string; + DocumentName?: string; + DocumentVersion?: string; + PluginName?: string; + ResponseCode?: number; + ExecutionStartDateTime?: string; + ExecutionElapsedTime?: string; + ExecutionEndDateTime?: string; + Status?: CommandInvocationStatus; + StatusDetails?: string; + StandardOutputContent?: string; + StandardOutputUrl?: string; + StandardErrorContent?: string; + StandardErrorUrl?: string; + CloudWatchOutputConfig?: CloudWatchOutputConfig; +} +export declare class InvalidPluginName extends __BaseException { + readonly name: "InvalidPluginName"; + readonly $fault: "client"; + constructor(opts: __ExceptionOptionType); +} +export declare class InvocationDoesNotExist extends __BaseException { + readonly name: "InvocationDoesNotExist"; + readonly $fault: "client"; + constructor( + opts: __ExceptionOptionType + ); +} +export interface GetConnectionStatusRequest { + Target: string | undefined; +} +export declare const ConnectionStatus: { + readonly CONNECTED: "connected"; + readonly NOT_CONNECTED: "notconnected"; +}; +export type ConnectionStatus = + (typeof ConnectionStatus)[keyof typeof ConnectionStatus]; +export interface GetConnectionStatusResponse { + Target?: string; + Status?: ConnectionStatus; +} +export interface GetDefaultPatchBaselineRequest { + OperatingSystem?: OperatingSystem; +} +export interface GetDefaultPatchBaselineResult { + BaselineId?: string; + OperatingSystem?: OperatingSystem; +} +export interface BaselineOverride { + OperatingSystem?: OperatingSystem; + GlobalFilters?: PatchFilterGroup; + ApprovalRules?: PatchRuleGroup; + ApprovedPatches?: string[]; + ApprovedPatchesComplianceLevel?: PatchComplianceLevel; + RejectedPatches?: string[]; + RejectedPatchesAction?: PatchAction; + ApprovedPatchesEnableNonSecurity?: boolean; + Sources?: PatchSource[]; +} +export interface GetDeployablePatchSnapshotForInstanceRequest { + InstanceId: string | undefined; + SnapshotId: string | undefined; + BaselineOverride?: BaselineOverride; +} +export interface GetDeployablePatchSnapshotForInstanceResult { + InstanceId?: string; + SnapshotId?: string; + SnapshotDownloadUrl?: string; + Product?: string; +} +export declare class UnsupportedFeatureRequiredException extends __BaseException { + readonly name: "UnsupportedFeatureRequiredException"; + readonly $fault: "client"; + Message?: string; + constructor( + opts: __ExceptionOptionType< + UnsupportedFeatureRequiredException, + __BaseException + > + ); +} +export interface GetDocumentRequest { + Name: string | undefined; + VersionName?: string; + DocumentVersion?: string; + DocumentFormat?: DocumentFormat; +} +export declare const AttachmentHashType: { + readonly SHA256: "Sha256"; +}; +export type AttachmentHashType = + (typeof AttachmentHashType)[keyof typeof AttachmentHashType]; +export interface AttachmentContent { + Name?: string; + Size?: number; + Hash?: string; + HashType?: AttachmentHashType; + Url?: string; +} +export interface GetDocumentResult { + Name?: string; + CreatedDate?: Date; + DisplayName?: string; + VersionName?: string; + DocumentVersion?: string; + Status?: DocumentStatus; + StatusInformation?: string; + Content?: string; + DocumentType?: DocumentType; + DocumentFormat?: DocumentFormat; + Requires?: DocumentRequires[]; + AttachmentsContent?: AttachmentContent[]; + ReviewStatus?: ReviewStatus; +} +export declare const InventoryQueryOperatorType: { + readonly BEGIN_WITH: "BeginWith"; + readonly EQUAL: "Equal"; + readonly EXISTS: "Exists"; + readonly GREATER_THAN: "GreaterThan"; + readonly LESS_THAN: "LessThan"; + readonly NOT_EQUAL: "NotEqual"; +}; +export type InventoryQueryOperatorType = + (typeof InventoryQueryOperatorType)[keyof typeof InventoryQueryOperatorType]; +export interface InventoryFilter { + Key: string | undefined; + Values: string[] | undefined; + Type?: InventoryQueryOperatorType; +} +export interface InventoryGroup { + Name: string | undefined; + Filters: InventoryFilter[] | undefined; +} +export interface ResultAttribute { + TypeName: string | undefined; +} +export interface InventoryResultItem { + TypeName: string | undefined; + SchemaVersion: string | undefined; + CaptureTime?: string; + ContentHash?: string; + Content: Record[] | undefined; +} +export interface InventoryResultEntity { + Id?: string; + Data?: Record; +} +export interface GetInventoryResult { + Entities?: InventoryResultEntity[]; + NextToken?: string; +} +export declare class InvalidAggregatorException extends __BaseException { + readonly name: "InvalidAggregatorException"; + readonly $fault: "client"; + Message?: string; + constructor( + opts: __ExceptionOptionType + ); +} +export declare class InvalidInventoryGroupException extends __BaseException { + readonly name: "InvalidInventoryGroupException"; + readonly $fault: "client"; + Message?: string; + constructor( + opts: __ExceptionOptionType + ); +} +export declare class InvalidResultAttributeException extends __BaseException { + readonly name: "InvalidResultAttributeException"; + readonly $fault: "client"; + Message?: string; + constructor( + opts: __ExceptionOptionType< + InvalidResultAttributeException, + __BaseException + > + ); +} +export interface GetInventorySchemaRequest { + TypeName?: string; + NextToken?: string; + MaxResults?: number; + Aggregator?: boolean; + SubType?: boolean; +} +export declare const InventoryAttributeDataType: { + readonly NUMBER: "number"; + readonly STRING: "string"; +}; +export type InventoryAttributeDataType = + (typeof InventoryAttributeDataType)[keyof typeof InventoryAttributeDataType]; +export interface InventoryItemAttribute { + Name: string | undefined; + DataType: InventoryAttributeDataType | undefined; +} +export interface InventoryItemSchema { + TypeName: string | undefined; + Version?: string; + Attributes: InventoryItemAttribute[] | undefined; + DisplayName?: string; +} +export interface GetInventorySchemaResult { + Schemas?: InventoryItemSchema[]; + NextToken?: string; +} +export interface GetMaintenanceWindowRequest { + WindowId: string | undefined; +} +export interface GetMaintenanceWindowResult { + WindowId?: string; + Name?: string; + Description?: string; + StartDate?: string; + EndDate?: string; + Schedule?: string; + ScheduleTimezone?: string; + ScheduleOffset?: number; + NextExecutionTime?: string; + Duration?: number; + Cutoff?: number; + AllowUnassociatedTargets?: boolean; + Enabled?: boolean; + CreatedDate?: Date; + ModifiedDate?: Date; +} +export interface GetMaintenanceWindowExecutionRequest { + WindowExecutionId: string | undefined; +} +export interface GetMaintenanceWindowExecutionResult { + WindowExecutionId?: string; + TaskIds?: string[]; + Status?: MaintenanceWindowExecutionStatus; + StatusDetails?: string; + StartTime?: Date; + EndTime?: Date; +} +export interface GetMaintenanceWindowExecutionTaskRequest { + WindowExecutionId: string | undefined; + TaskId: string | undefined; +} +export interface GetMaintenanceWindowExecutionTaskResult { + WindowExecutionId?: string; + TaskExecutionId?: string; + TaskArn?: string; + ServiceRole?: string; + Type?: MaintenanceWindowTaskType; + TaskParameters?: Record< + string, + MaintenanceWindowTaskParameterValueExpression + >[]; + Priority?: number; + MaxConcurrency?: string; + MaxErrors?: string; + Status?: MaintenanceWindowExecutionStatus; + StatusDetails?: string; + StartTime?: Date; + EndTime?: Date; + AlarmConfiguration?: AlarmConfiguration; + TriggeredAlarms?: AlarmStateInformation[]; +} +export interface GetMaintenanceWindowExecutionTaskInvocationRequest { + WindowExecutionId: string | undefined; + TaskId: string | undefined; + InvocationId: string | undefined; +} +export interface GetMaintenanceWindowExecutionTaskInvocationResult { + WindowExecutionId?: string; + TaskExecutionId?: string; + InvocationId?: string; + ExecutionId?: string; + TaskType?: MaintenanceWindowTaskType; + Parameters?: string; + Status?: MaintenanceWindowExecutionStatus; + StatusDetails?: string; + StartTime?: Date; + EndTime?: Date; + OwnerInformation?: string; + WindowTargetId?: string; +} +export interface GetMaintenanceWindowTaskRequest { + WindowId: string | undefined; + WindowTaskId: string | undefined; +} +export interface MaintenanceWindowAutomationParameters { + DocumentVersion?: string; + Parameters?: Record; +} +export interface MaintenanceWindowLambdaParameters { + ClientContext?: string; + Qualifier?: string; + Payload?: Uint8Array; +} +export declare const NotificationEvent: { + readonly ALL: "All"; + readonly CANCELLED: "Cancelled"; + readonly FAILED: "Failed"; + readonly IN_PROGRESS: "InProgress"; + readonly SUCCESS: "Success"; + readonly TIMED_OUT: "TimedOut"; +}; +export type NotificationEvent = + (typeof NotificationEvent)[keyof typeof NotificationEvent]; +export declare const NotificationType: { + readonly Command: "Command"; + readonly Invocation: "Invocation"; +}; +export type NotificationType = + (typeof NotificationType)[keyof typeof NotificationType]; +export interface NotificationConfig { + NotificationArn?: string; + NotificationEvents?: NotificationEvent[]; + NotificationType?: NotificationType; +} +export interface MaintenanceWindowRunCommandParameters { + Comment?: string; + CloudWatchOutputConfig?: CloudWatchOutputConfig; + DocumentHash?: string; + DocumentHashType?: DocumentHashType; + DocumentVersion?: string; + NotificationConfig?: NotificationConfig; + OutputS3BucketName?: string; + OutputS3KeyPrefix?: string; + Parameters?: Record; + ServiceRoleArn?: string; + TimeoutSeconds?: number; +} +export interface MaintenanceWindowStepFunctionsParameters { + Input?: string; + Name?: string; +} +export interface MaintenanceWindowTaskInvocationParameters { + RunCommand?: MaintenanceWindowRunCommandParameters; + Automation?: MaintenanceWindowAutomationParameters; + StepFunctions?: MaintenanceWindowStepFunctionsParameters; + Lambda?: MaintenanceWindowLambdaParameters; +} +export interface GetMaintenanceWindowTaskResult { + WindowId?: string; + WindowTaskId?: string; + Targets?: Target[]; + TaskArn?: string; + ServiceRoleArn?: string; + TaskType?: MaintenanceWindowTaskType; + TaskParameters?: Record< + string, + MaintenanceWindowTaskParameterValueExpression + >; + TaskInvocationParameters?: MaintenanceWindowTaskInvocationParameters; + Priority?: number; + MaxConcurrency?: string; + MaxErrors?: string; + LoggingInfo?: LoggingInfo; + Name?: string; + Description?: string; + CutoffBehavior?: MaintenanceWindowTaskCutoffBehavior; + AlarmConfiguration?: AlarmConfiguration; +} +export interface GetOpsItemRequest { + OpsItemId: string | undefined; + OpsItemArn?: string; +} +export interface OpsItem { + CreatedBy?: string; + OpsItemType?: string; + CreatedTime?: Date; + Description?: string; + LastModifiedBy?: string; + LastModifiedTime?: Date; + Notifications?: OpsItemNotification[]; + Priority?: number; + RelatedOpsItems?: RelatedOpsItem[]; + Status?: OpsItemStatus; + OpsItemId?: string; + Version?: string; + Title?: string; + Source?: string; + OperationalData?: Record; + Category?: string; + Severity?: string; + ActualStartTime?: Date; + ActualEndTime?: Date; + PlannedStartTime?: Date; + PlannedEndTime?: Date; + OpsItemArn?: string; +} +export interface GetOpsItemResponse { + OpsItem?: OpsItem; +} +export interface GetOpsMetadataRequest { + OpsMetadataArn: string | undefined; + MaxResults?: number; + NextToken?: string; +} +export interface GetOpsMetadataResult { + ResourceId?: string; + Metadata?: Record; + NextToken?: string; +} +export declare const OpsFilterOperatorType: { + readonly BEGIN_WITH: "BeginWith"; + readonly EQUAL: "Equal"; + readonly EXISTS: "Exists"; + readonly GREATER_THAN: "GreaterThan"; + readonly LESS_THAN: "LessThan"; + readonly NOT_EQUAL: "NotEqual"; +}; +export type OpsFilterOperatorType = + (typeof OpsFilterOperatorType)[keyof typeof OpsFilterOperatorType]; +export interface OpsFilter { + Key: string | undefined; + Values: string[] | undefined; + Type?: OpsFilterOperatorType; +} +export interface OpsResultAttribute { + TypeName: string | undefined; +} +export interface OpsEntityItem { + CaptureTime?: string; + Content?: Record[]; +} +export interface OpsEntity { + Id?: string; + Data?: Record; +} +export interface GetOpsSummaryResult { + Entities?: OpsEntity[]; + NextToken?: string; +} +export interface GetParameterRequest { + Name: string | undefined; + WithDecryption?: boolean; +} +export interface Parameter { + Name?: string; + Type?: ParameterType; + Value?: string; + Version?: number; + Selector?: string; + SourceResult?: string; + LastModifiedDate?: Date; + ARN?: string; + DataType?: string; +} +export interface GetParameterResult { + Parameter?: Parameter; +} +export declare class InvalidKeyId extends __BaseException { + readonly name: "InvalidKeyId"; + readonly $fault: "client"; + constructor(opts: __ExceptionOptionType); +} +export declare class ParameterVersionNotFound extends __BaseException { + readonly name: "ParameterVersionNotFound"; + readonly $fault: "client"; + constructor( + opts: __ExceptionOptionType + ); +} +export interface GetParameterHistoryRequest { + Name: string | undefined; + WithDecryption?: boolean; + MaxResults?: number; + NextToken?: string; +} +export interface ParameterHistory { + Name?: string; + Type?: ParameterType; + KeyId?: string; + LastModifiedDate?: Date; + LastModifiedUser?: string; + Description?: string; + Value?: string; + AllowedPattern?: string; + Version?: number; + Labels?: string[]; + Tier?: ParameterTier; + Policies?: ParameterInlinePolicy[]; + DataType?: string; +} +export interface GetParameterHistoryResult { + Parameters?: ParameterHistory[]; + NextToken?: string; +} +export interface GetParametersRequest { + Names: string[] | undefined; + WithDecryption?: boolean; +} +export interface GetParametersResult { + Parameters?: Parameter[]; + InvalidParameters?: string[]; +} +export interface GetParametersByPathRequest { + Path: string | undefined; + Recursive?: boolean; + ParameterFilters?: ParameterStringFilter[]; + WithDecryption?: boolean; + MaxResults?: number; + NextToken?: string; +} +export interface GetParametersByPathResult { + Parameters?: Parameter[]; + NextToken?: string; +} +export interface GetPatchBaselineRequest { + BaselineId: string | undefined; +} +export interface GetPatchBaselineResult { + BaselineId?: string; + Name?: string; + OperatingSystem?: OperatingSystem; + GlobalFilters?: PatchFilterGroup; + ApprovalRules?: PatchRuleGroup; + ApprovedPatches?: string[]; + ApprovedPatchesComplianceLevel?: PatchComplianceLevel; + ApprovedPatchesEnableNonSecurity?: boolean; + RejectedPatches?: string[]; + RejectedPatchesAction?: PatchAction; + PatchGroups?: string[]; + CreatedDate?: Date; + ModifiedDate?: Date; + Description?: string; + Sources?: PatchSource[]; +} +export interface GetPatchBaselineForPatchGroupRequest { + PatchGroup: string | undefined; + OperatingSystem?: OperatingSystem; +} +export interface GetPatchBaselineForPatchGroupResult { + BaselineId?: string; + PatchGroup?: string; + OperatingSystem?: OperatingSystem; +} +export interface GetResourcePoliciesRequest { + ResourceArn: string | undefined; + NextToken?: string; + MaxResults?: number; +} +export interface GetResourcePoliciesResponseEntry { + PolicyId?: string; + PolicyHash?: string; + Policy?: string; +} +export interface GetResourcePoliciesResponse { + NextToken?: string; + Policies?: GetResourcePoliciesResponseEntry[]; +} +export interface GetServiceSettingRequest { + SettingId: string | undefined; +} +export interface ServiceSetting { + SettingId?: string; + SettingValue?: string; + LastModifiedDate?: Date; + LastModifiedUser?: string; + ARN?: string; + Status?: string; +} +export interface GetServiceSettingResult { + ServiceSetting?: ServiceSetting; +} +export declare class ServiceSettingNotFound extends __BaseException { + readonly name: "ServiceSettingNotFound"; + readonly $fault: "client"; + Message?: string; + constructor( + opts: __ExceptionOptionType + ); +} +export interface LabelParameterVersionRequest { + Name: string | undefined; + ParameterVersion?: number; + Labels: string[] | undefined; +} +export interface LabelParameterVersionResult { + InvalidLabels?: string[]; + ParameterVersion?: number; +} +export declare class ParameterVersionLabelLimitExceeded extends __BaseException { + readonly name: "ParameterVersionLabelLimitExceeded"; + readonly $fault: "client"; + constructor( + opts: __ExceptionOptionType< + ParameterVersionLabelLimitExceeded, + __BaseException + > + ); +} +export declare const AssociationFilterKey: { + readonly AssociationId: "AssociationId"; + readonly AssociationName: "AssociationName"; + readonly InstanceId: "InstanceId"; + readonly LastExecutedAfter: "LastExecutedAfter"; + readonly LastExecutedBefore: "LastExecutedBefore"; + readonly Name: "Name"; + readonly ResourceGroupName: "ResourceGroupName"; + readonly Status: "AssociationStatusName"; +}; +export type AssociationFilterKey = + (typeof AssociationFilterKey)[keyof typeof AssociationFilterKey]; +export interface AssociationFilter { + key: AssociationFilterKey | undefined; + value: string | undefined; +} +export interface ListAssociationsRequest { + AssociationFilterList?: AssociationFilter[]; + MaxResults?: number; + NextToken?: string; +} +export interface Association { + Name?: string; + InstanceId?: string; + AssociationId?: string; + AssociationVersion?: string; + DocumentVersion?: string; + Targets?: Target[]; + LastExecutionDate?: Date; + Overview?: AssociationOverview; + ScheduleExpression?: string; + AssociationName?: string; + ScheduleOffset?: number; + TargetMaps?: Record[]; +} +export interface ListAssociationsResult { + Associations?: Association[]; + NextToken?: string; +} +export interface ListAssociationVersionsRequest { + AssociationId: string | undefined; + MaxResults?: number; + NextToken?: string; +} +export interface AssociationVersionInfo { + AssociationId?: string; + AssociationVersion?: string; + CreatedDate?: Date; + Name?: string; + DocumentVersion?: string; + Parameters?: Record; + Targets?: Target[]; + ScheduleExpression?: string; + OutputLocation?: InstanceAssociationOutputLocation; + AssociationName?: string; + MaxErrors?: string; + MaxConcurrency?: string; + ComplianceSeverity?: AssociationComplianceSeverity; + SyncCompliance?: AssociationSyncCompliance; + ApplyOnlyAtCronInterval?: boolean; + CalendarNames?: string[]; + TargetLocations?: TargetLocation[]; + ScheduleOffset?: number; + TargetMaps?: Record[]; +} +export interface ListAssociationVersionsResult { + AssociationVersions?: AssociationVersionInfo[]; + NextToken?: string; +} +export declare const CommandFilterKey: { + readonly DOCUMENT_NAME: "DocumentName"; + readonly EXECUTION_STAGE: "ExecutionStage"; + readonly INVOKED_AFTER: "InvokedAfter"; + readonly INVOKED_BEFORE: "InvokedBefore"; + readonly STATUS: "Status"; +}; +export type CommandFilterKey = + (typeof CommandFilterKey)[keyof typeof CommandFilterKey]; +export interface CommandFilter { + key: CommandFilterKey | undefined; + value: string | undefined; +} +export interface ListCommandInvocationsRequest { + CommandId?: string; + InstanceId?: string; + MaxResults?: number; + NextToken?: string; + Filters?: CommandFilter[]; + Details?: boolean; +} +export declare const CommandPluginStatus: { + readonly CANCELLED: "Cancelled"; + readonly FAILED: "Failed"; + readonly IN_PROGRESS: "InProgress"; + readonly PENDING: "Pending"; + readonly SUCCESS: "Success"; + readonly TIMED_OUT: "TimedOut"; +}; +export type CommandPluginStatus = + (typeof CommandPluginStatus)[keyof typeof CommandPluginStatus]; +export interface CommandPlugin { + Name?: string; + Status?: CommandPluginStatus; + StatusDetails?: string; + ResponseCode?: number; + ResponseStartDateTime?: Date; + ResponseFinishDateTime?: Date; + Output?: string; + StandardOutputUrl?: string; + StandardErrorUrl?: string; + OutputS3Region?: string; + OutputS3BucketName?: string; + OutputS3KeyPrefix?: string; +} +export interface CommandInvocation { + CommandId?: string; + InstanceId?: string; + InstanceName?: string; + Comment?: string; + DocumentName?: string; + DocumentVersion?: string; + RequestedDateTime?: Date; + Status?: CommandInvocationStatus; + StatusDetails?: string; + TraceOutput?: string; + StandardOutputUrl?: string; + StandardErrorUrl?: string; + CommandPlugins?: CommandPlugin[]; + ServiceRole?: string; + NotificationConfig?: NotificationConfig; + CloudWatchOutputConfig?: CloudWatchOutputConfig; +} +export interface ListCommandInvocationsResult { + CommandInvocations?: CommandInvocation[]; + NextToken?: string; +} +export interface ListCommandsRequest { + CommandId?: string; + InstanceId?: string; + MaxResults?: number; + NextToken?: string; + Filters?: CommandFilter[]; +} +export declare const CommandStatus: { + readonly CANCELLED: "Cancelled"; + readonly CANCELLING: "Cancelling"; + readonly FAILED: "Failed"; + readonly IN_PROGRESS: "InProgress"; + readonly PENDING: "Pending"; + readonly SUCCESS: "Success"; + readonly TIMED_OUT: "TimedOut"; +}; +export type CommandStatus = (typeof CommandStatus)[keyof typeof CommandStatus]; +export interface Command { + CommandId?: string; + DocumentName?: string; + DocumentVersion?: string; + Comment?: string; + ExpiresAfter?: Date; + Parameters?: Record; + InstanceIds?: string[]; + Targets?: Target[]; + RequestedDateTime?: Date; + Status?: CommandStatus; + StatusDetails?: string; + OutputS3Region?: string; + OutputS3BucketName?: string; + OutputS3KeyPrefix?: string; + MaxConcurrency?: string; + MaxErrors?: string; + TargetCount?: number; + CompletedCount?: number; + ErrorCount?: number; + DeliveryTimedOutCount?: number; + ServiceRole?: string; + NotificationConfig?: NotificationConfig; + CloudWatchOutputConfig?: CloudWatchOutputConfig; + TimeoutSeconds?: number; + AlarmConfiguration?: AlarmConfiguration; + TriggeredAlarms?: AlarmStateInformation[]; +} +export interface ListCommandsResult { + Commands?: Command[]; + NextToken?: string; +} +export declare const ComplianceQueryOperatorType: { + readonly BeginWith: "BEGIN_WITH"; + readonly Equal: "EQUAL"; + readonly GreaterThan: "GREATER_THAN"; + readonly LessThan: "LESS_THAN"; + readonly NotEqual: "NOT_EQUAL"; +}; +export type ComplianceQueryOperatorType = + (typeof ComplianceQueryOperatorType)[keyof typeof ComplianceQueryOperatorType]; +export interface ComplianceStringFilter { + Key?: string; + Values?: string[]; + Type?: ComplianceQueryOperatorType; +} +export interface ListComplianceItemsRequest { + Filters?: ComplianceStringFilter[]; + ResourceIds?: string[]; + ResourceTypes?: string[]; + NextToken?: string; + MaxResults?: number; +} +export interface ComplianceExecutionSummary { + ExecutionTime: Date | undefined; + ExecutionId?: string; + ExecutionType?: string; +} +export declare const ComplianceSeverity: { + readonly Critical: "CRITICAL"; + readonly High: "HIGH"; + readonly Informational: "INFORMATIONAL"; + readonly Low: "LOW"; + readonly Medium: "MEDIUM"; + readonly Unspecified: "UNSPECIFIED"; +}; +export type ComplianceSeverity = + (typeof ComplianceSeverity)[keyof typeof ComplianceSeverity]; +export declare const ComplianceStatus: { + readonly Compliant: "COMPLIANT"; + readonly NonCompliant: "NON_COMPLIANT"; +}; +export type ComplianceStatus = + (typeof ComplianceStatus)[keyof typeof ComplianceStatus]; +export interface ComplianceItem { + ComplianceType?: string; + ResourceType?: string; + ResourceId?: string; + Id?: string; + Title?: string; + Status?: ComplianceStatus; + Severity?: ComplianceSeverity; + ExecutionSummary?: ComplianceExecutionSummary; + Details?: Record; +} +export interface ListComplianceItemsResult { + ComplianceItems?: ComplianceItem[]; + NextToken?: string; +} +export interface ListComplianceSummariesRequest { + Filters?: ComplianceStringFilter[]; + NextToken?: string; + MaxResults?: number; +} +export interface SeveritySummary { + CriticalCount?: number; + HighCount?: number; + MediumCount?: number; + LowCount?: number; + InformationalCount?: number; + UnspecifiedCount?: number; +} +export interface CompliantSummary { + CompliantCount?: number; + SeveritySummary?: SeveritySummary; +} +export interface NonCompliantSummary { + NonCompliantCount?: number; + SeveritySummary?: SeveritySummary; +} +export interface ComplianceSummaryItem { + ComplianceType?: string; + CompliantSummary?: CompliantSummary; + NonCompliantSummary?: NonCompliantSummary; +} +export interface ListComplianceSummariesResult { + ComplianceSummaryItems?: ComplianceSummaryItem[]; + NextToken?: string; +} +export declare const DocumentMetadataEnum: { + readonly DocumentReviews: "DocumentReviews"; +}; +export type DocumentMetadataEnum = + (typeof DocumentMetadataEnum)[keyof typeof DocumentMetadataEnum]; +export interface ListDocumentMetadataHistoryRequest { + Name: string | undefined; + DocumentVersion?: string; + Metadata: DocumentMetadataEnum | undefined; + NextToken?: string; + MaxResults?: number; +} +export declare const DocumentReviewCommentType: { + readonly Comment: "Comment"; +}; +export type DocumentReviewCommentType = + (typeof DocumentReviewCommentType)[keyof typeof DocumentReviewCommentType]; +export interface DocumentReviewCommentSource { + Type?: DocumentReviewCommentType; + Content?: string; +} +export interface DocumentReviewerResponseSource { + CreateTime?: Date; + UpdatedTime?: Date; + ReviewStatus?: ReviewStatus; + Comment?: DocumentReviewCommentSource[]; + Reviewer?: string; +} +export interface DocumentMetadataResponseInfo { + ReviewerResponse?: DocumentReviewerResponseSource[]; +} +export interface ListDocumentMetadataHistoryResponse { + Name?: string; + DocumentVersion?: string; + Author?: string; + Metadata?: DocumentMetadataResponseInfo; + NextToken?: string; +} +export declare const DocumentFilterKey: { + readonly DocumentType: "DocumentType"; + readonly Name: "Name"; + readonly Owner: "Owner"; + readonly PlatformTypes: "PlatformTypes"; +}; +export type DocumentFilterKey = + (typeof DocumentFilterKey)[keyof typeof DocumentFilterKey]; +export interface DocumentFilter { + key: DocumentFilterKey | undefined; + value: string | undefined; +} +export interface DocumentKeyValuesFilter { + Key?: string; + Values?: string[]; +} +export interface ListDocumentsRequest { + DocumentFilterList?: DocumentFilter[]; + Filters?: DocumentKeyValuesFilter[]; + MaxResults?: number; + NextToken?: string; +} +export interface DocumentIdentifier { + Name?: string; + CreatedDate?: Date; + DisplayName?: string; + Owner?: string; + VersionName?: string; + PlatformTypes?: PlatformType[]; + DocumentVersion?: string; + DocumentType?: DocumentType; + SchemaVersion?: string; + DocumentFormat?: DocumentFormat; + TargetType?: string; + Tags?: Tag[]; + Requires?: DocumentRequires[]; + ReviewStatus?: ReviewStatus; + Author?: string; +} +export interface ListDocumentsResult { + DocumentIdentifiers?: DocumentIdentifier[]; + NextToken?: string; +} +export interface ListDocumentVersionsRequest { + Name: string | undefined; + MaxResults?: number; + NextToken?: string; +} +export interface DocumentVersionInfo { + Name?: string; + DisplayName?: string; + DocumentVersion?: string; + VersionName?: string; + CreatedDate?: Date; + IsDefaultVersion?: boolean; + DocumentFormat?: DocumentFormat; + Status?: DocumentStatus; + StatusInformation?: string; + ReviewStatus?: ReviewStatus; +} +export interface ListDocumentVersionsResult { + DocumentVersions?: DocumentVersionInfo[]; + NextToken?: string; +} +export interface ListInventoryEntriesRequest { + InstanceId: string | undefined; + TypeName: string | undefined; + Filters?: InventoryFilter[]; + NextToken?: string; + MaxResults?: number; +} +export interface ListInventoryEntriesResult { + TypeName?: string; + InstanceId?: string; + SchemaVersion?: string; + CaptureTime?: string; + Entries?: Record[]; + NextToken?: string; +} +export declare const OpsItemEventFilterKey: { + readonly OPSITEM_ID: "OpsItemId"; +}; +export type OpsItemEventFilterKey = + (typeof OpsItemEventFilterKey)[keyof typeof OpsItemEventFilterKey]; +export declare const OpsItemEventFilterOperator: { + readonly EQUAL: "Equal"; +}; +export type OpsItemEventFilterOperator = + (typeof OpsItemEventFilterOperator)[keyof typeof OpsItemEventFilterOperator]; +export interface OpsItemEventFilter { + Key: OpsItemEventFilterKey | undefined; + Values: string[] | undefined; + Operator: OpsItemEventFilterOperator | undefined; +} +export interface ListOpsItemEventsRequest { + Filters?: OpsItemEventFilter[]; + MaxResults?: number; + NextToken?: string; +} +export interface OpsItemIdentity { + Arn?: string; +} +export interface OpsItemEventSummary { + OpsItemId?: string; + EventId?: string; + Source?: string; + DetailType?: string; + Detail?: string; + CreatedBy?: OpsItemIdentity; + CreatedTime?: Date; +} +export interface ListOpsItemEventsResponse { + NextToken?: string; + Summaries?: OpsItemEventSummary[]; +} +export declare const OpsItemRelatedItemsFilterKey: { + readonly ASSOCIATION_ID: "AssociationId"; + readonly RESOURCE_TYPE: "ResourceType"; + readonly RESOURCE_URI: "ResourceUri"; +}; +export type OpsItemRelatedItemsFilterKey = + (typeof OpsItemRelatedItemsFilterKey)[keyof typeof OpsItemRelatedItemsFilterKey]; +export declare const OpsItemRelatedItemsFilterOperator: { + readonly EQUAL: "Equal"; +}; +export type OpsItemRelatedItemsFilterOperator = + (typeof OpsItemRelatedItemsFilterOperator)[keyof typeof OpsItemRelatedItemsFilterOperator]; +export interface OpsItemRelatedItemsFilter { + Key: OpsItemRelatedItemsFilterKey | undefined; + Values: string[] | undefined; + Operator: OpsItemRelatedItemsFilterOperator | undefined; +} +export interface ListOpsItemRelatedItemsRequest { + OpsItemId?: string; + Filters?: OpsItemRelatedItemsFilter[]; + MaxResults?: number; + NextToken?: string; +} +export interface OpsItemRelatedItemSummary { + OpsItemId?: string; + AssociationId?: string; + ResourceType?: string; + AssociationType?: string; + ResourceUri?: string; + CreatedBy?: OpsItemIdentity; + CreatedTime?: Date; + LastModifiedBy?: OpsItemIdentity; + LastModifiedTime?: Date; +} +export interface ListOpsItemRelatedItemsResponse { + NextToken?: string; + Summaries?: OpsItemRelatedItemSummary[]; +} +export interface OpsMetadataFilter { + Key: string | undefined; + Values: string[] | undefined; +} +export interface ListOpsMetadataRequest { + Filters?: OpsMetadataFilter[]; + MaxResults?: number; + NextToken?: string; +} +export interface OpsMetadata { + ResourceId?: string; + OpsMetadataArn?: string; + LastModifiedDate?: Date; + LastModifiedUser?: string; + CreationDate?: Date; +} +export interface ListOpsMetadataResult { + OpsMetadataList?: OpsMetadata[]; + NextToken?: string; +} +export interface ListResourceComplianceSummariesRequest { + Filters?: ComplianceStringFilter[]; + NextToken?: string; + MaxResults?: number; +} +export interface ResourceComplianceSummaryItem { + ComplianceType?: string; + ResourceType?: string; + ResourceId?: string; + Status?: ComplianceStatus; + OverallSeverity?: ComplianceSeverity; + ExecutionSummary?: ComplianceExecutionSummary; + CompliantSummary?: CompliantSummary; + NonCompliantSummary?: NonCompliantSummary; +} +export interface ListResourceComplianceSummariesResult { + ResourceComplianceSummaryItems?: ResourceComplianceSummaryItem[]; + NextToken?: string; +} +export interface ListResourceDataSyncRequest { + SyncType?: string; + NextToken?: string; + MaxResults?: number; +} +export declare const LastResourceDataSyncStatus: { + readonly FAILED: "Failed"; + readonly INPROGRESS: "InProgress"; + readonly SUCCESSFUL: "Successful"; +}; +export type LastResourceDataSyncStatus = + (typeof LastResourceDataSyncStatus)[keyof typeof LastResourceDataSyncStatus]; +export interface ResourceDataSyncSourceWithState { + SourceType?: string; + AwsOrganizationsSource?: ResourceDataSyncAwsOrganizationsSource; + SourceRegions?: string[]; + IncludeFutureRegions?: boolean; + State?: string; + EnableAllOpsDataSources?: boolean; +} +export interface ResourceDataSyncItem { + SyncName?: string; + SyncType?: string; + SyncSource?: ResourceDataSyncSourceWithState; + S3Destination?: ResourceDataSyncS3Destination; + LastSyncTime?: Date; + LastSuccessfulSyncTime?: Date; + SyncLastModifiedTime?: Date; + LastStatus?: LastResourceDataSyncStatus; + SyncCreatedTime?: Date; + LastSyncStatusMessage?: string; +} +export interface ListResourceDataSyncResult { + ResourceDataSyncItems?: ResourceDataSyncItem[]; + NextToken?: string; +} +export interface ListTagsForResourceRequest { + ResourceType: ResourceTypeForTagging | undefined; + ResourceId: string | undefined; +} +export interface ListTagsForResourceResult { + TagList?: Tag[]; +} +export declare class DocumentPermissionLimit extends __BaseException { + readonly name: "DocumentPermissionLimit"; + readonly $fault: "client"; + Message?: string; + constructor( + opts: __ExceptionOptionType + ); +} +export interface ModifyDocumentPermissionRequest { + Name: string | undefined; + PermissionType: DocumentPermissionType | undefined; + AccountIdsToAdd?: string[]; + AccountIdsToRemove?: string[]; + SharedDocumentVersion?: string; +} +export interface ModifyDocumentPermissionResponse {} +export declare class ComplianceTypeCountLimitExceededException extends __BaseException { + readonly name: "ComplianceTypeCountLimitExceededException"; + readonly $fault: "client"; + Message?: string; + constructor( + opts: __ExceptionOptionType< + ComplianceTypeCountLimitExceededException, + __BaseException + > + ); +} +export declare class InvalidItemContentException extends __BaseException { + readonly name: "InvalidItemContentException"; + readonly $fault: "client"; + TypeName?: string; + Message?: string; + constructor( + opts: __ExceptionOptionType + ); +} +export declare class ItemSizeLimitExceededException extends __BaseException { + readonly name: "ItemSizeLimitExceededException"; + readonly $fault: "client"; + TypeName?: string; + Message?: string; + constructor( + opts: __ExceptionOptionType + ); +} +export interface ComplianceItemEntry { + Id?: string; + Title?: string; + Severity: ComplianceSeverity | undefined; + Status: ComplianceStatus | undefined; + Details?: Record; +} +export declare const ComplianceUploadType: { + readonly Complete: "COMPLETE"; + readonly Partial: "PARTIAL"; +}; +export type ComplianceUploadType = + (typeof ComplianceUploadType)[keyof typeof ComplianceUploadType]; +export interface PutComplianceItemsRequest { + ResourceId: string | undefined; + ResourceType: string | undefined; + ComplianceType: string | undefined; + ExecutionSummary: ComplianceExecutionSummary | undefined; + Items: ComplianceItemEntry[] | undefined; + ItemContentHash?: string; + UploadType?: ComplianceUploadType; +} +export interface PutComplianceItemsResult {} +export declare class TotalSizeLimitExceededException extends __BaseException { + readonly name: "TotalSizeLimitExceededException"; + readonly $fault: "client"; + Message?: string; + constructor( + opts: __ExceptionOptionType< + TotalSizeLimitExceededException, + __BaseException + > + ); +} +export declare class CustomSchemaCountLimitExceededException extends __BaseException { + readonly name: "CustomSchemaCountLimitExceededException"; + readonly $fault: "client"; + Message?: string; + constructor( + opts: __ExceptionOptionType< + CustomSchemaCountLimitExceededException, + __BaseException + > + ); +} +export declare class InvalidInventoryItemContextException extends __BaseException { + readonly name: "InvalidInventoryItemContextException"; + readonly $fault: "client"; + Message?: string; + constructor( + opts: __ExceptionOptionType< + InvalidInventoryItemContextException, + __BaseException + > + ); +} +export declare class ItemContentMismatchException extends __BaseException { + readonly name: "ItemContentMismatchException"; + readonly $fault: "client"; + TypeName?: string; + Message?: string; + constructor( + opts: __ExceptionOptionType + ); +} +export interface InventoryItem { + TypeName: string | undefined; + SchemaVersion: string | undefined; + CaptureTime: string | undefined; + ContentHash?: string; + Content?: Record[]; + Context?: Record; +} +export interface PutInventoryRequest { + InstanceId: string | undefined; + Items: InventoryItem[] | undefined; +} +export interface PutInventoryResult { + Message?: string; +} +export declare class SubTypeCountLimitExceededException extends __BaseException { + readonly name: "SubTypeCountLimitExceededException"; + readonly $fault: "client"; + Message?: string; + constructor( + opts: __ExceptionOptionType< + SubTypeCountLimitExceededException, + __BaseException + > + ); +} +export declare class UnsupportedInventoryItemContextException extends __BaseException { + readonly name: "UnsupportedInventoryItemContextException"; + readonly $fault: "client"; + TypeName?: string; + Message?: string; + constructor( + opts: __ExceptionOptionType< + UnsupportedInventoryItemContextException, + __BaseException + > + ); +} +export declare class UnsupportedInventorySchemaVersionException extends __BaseException { + readonly name: "UnsupportedInventorySchemaVersionException"; + readonly $fault: "client"; + Message?: string; + constructor( + opts: __ExceptionOptionType< + UnsupportedInventorySchemaVersionException, + __BaseException + > + ); +} +export declare class HierarchyLevelLimitExceededException extends __BaseException { + readonly name: "HierarchyLevelLimitExceededException"; + readonly $fault: "client"; + constructor( + opts: __ExceptionOptionType< + HierarchyLevelLimitExceededException, + __BaseException + > + ); +} +export declare class HierarchyTypeMismatchException extends __BaseException { + readonly name: "HierarchyTypeMismatchException"; + readonly $fault: "client"; + constructor( + opts: __ExceptionOptionType + ); +} +export declare class IncompatiblePolicyException extends __BaseException { + readonly name: "IncompatiblePolicyException"; + readonly $fault: "client"; + constructor( + opts: __ExceptionOptionType + ); +} +export declare class InvalidAllowedPatternException extends __BaseException { + readonly name: "InvalidAllowedPatternException"; + readonly $fault: "client"; + constructor( + opts: __ExceptionOptionType + ); +} +export declare class InvalidPolicyAttributeException extends __BaseException { + readonly name: "InvalidPolicyAttributeException"; + readonly $fault: "client"; + constructor( + opts: __ExceptionOptionType< + InvalidPolicyAttributeException, + __BaseException + > + ); +} +export declare class InvalidPolicyTypeException extends __BaseException { + readonly name: "InvalidPolicyTypeException"; + readonly $fault: "client"; + constructor( + opts: __ExceptionOptionType + ); +} +export declare class ParameterAlreadyExists extends __BaseException { + readonly name: "ParameterAlreadyExists"; + readonly $fault: "client"; + constructor( + opts: __ExceptionOptionType + ); +} +export declare class ParameterLimitExceeded extends __BaseException { + readonly name: "ParameterLimitExceeded"; + readonly $fault: "client"; + constructor( + opts: __ExceptionOptionType + ); +} +export declare class ParameterMaxVersionLimitExceeded extends __BaseException { + readonly name: "ParameterMaxVersionLimitExceeded"; + readonly $fault: "client"; + constructor( + opts: __ExceptionOptionType< + ParameterMaxVersionLimitExceeded, + __BaseException + > + ); +} +export declare class ParameterPatternMismatchException extends __BaseException { + readonly name: "ParameterPatternMismatchException"; + readonly $fault: "client"; + constructor( + opts: __ExceptionOptionType< + ParameterPatternMismatchException, + __BaseException + > + ); +} +export declare class PoliciesLimitExceededException extends __BaseException { + readonly name: "PoliciesLimitExceededException"; + readonly $fault: "client"; + constructor( + opts: __ExceptionOptionType + ); +} +export interface PutParameterRequest { + Name: string | undefined; + Description?: string; + Value: string | undefined; + Type?: ParameterType; + KeyId?: string; + Overwrite?: boolean; + AllowedPattern?: string; + Tags?: Tag[]; + Tier?: ParameterTier; + Policies?: string; + DataType?: string; +} +export interface PutParameterResult { + Version?: number; + Tier?: ParameterTier; +} +export declare class UnsupportedParameterType extends __BaseException { + readonly name: "UnsupportedParameterType"; + readonly $fault: "client"; + constructor( + opts: __ExceptionOptionType + ); +} +export interface PutResourcePolicyRequest { + ResourceArn: string | undefined; + Policy: string | undefined; + PolicyId?: string; + PolicyHash?: string; +} +export interface PutResourcePolicyResponse { + PolicyId?: string; + PolicyHash?: string; +} +export declare class ResourcePolicyLimitExceededException extends __BaseException { + readonly name: "ResourcePolicyLimitExceededException"; + readonly $fault: "client"; + Limit?: number; + LimitType?: string; + Message?: string; + constructor( + opts: __ExceptionOptionType< + ResourcePolicyLimitExceededException, + __BaseException + > + ); +} +export interface RegisterDefaultPatchBaselineRequest { + BaselineId: string | undefined; +} +export interface RegisterDefaultPatchBaselineResult { + BaselineId?: string; +} +export interface RegisterPatchBaselineForPatchGroupRequest { + BaselineId: string | undefined; + PatchGroup: string | undefined; +} +export interface RegisterPatchBaselineForPatchGroupResult { + BaselineId?: string; + PatchGroup?: string; +} +export interface RegisterTargetWithMaintenanceWindowRequest { + WindowId: string | undefined; + ResourceType: MaintenanceWindowResourceType | undefined; + Targets: Target[] | undefined; + OwnerInformation?: string; + Name?: string; + Description?: string; + ClientToken?: string; +} +export interface RegisterTargetWithMaintenanceWindowResult { + WindowTargetId?: string; +} +export declare class FeatureNotAvailableException extends __BaseException { + readonly name: "FeatureNotAvailableException"; + readonly $fault: "client"; + Message?: string; + constructor( + opts: __ExceptionOptionType + ); +} +export interface RegisterTaskWithMaintenanceWindowRequest { + WindowId: string | undefined; + Targets?: Target[]; + TaskArn: string | undefined; + ServiceRoleArn?: string; + TaskType: MaintenanceWindowTaskType | undefined; + TaskParameters?: Record< + string, + MaintenanceWindowTaskParameterValueExpression + >; + TaskInvocationParameters?: MaintenanceWindowTaskInvocationParameters; + Priority?: number; + MaxConcurrency?: string; + MaxErrors?: string; + LoggingInfo?: LoggingInfo; + Name?: string; + Description?: string; + ClientToken?: string; + CutoffBehavior?: MaintenanceWindowTaskCutoffBehavior; + AlarmConfiguration?: AlarmConfiguration; +} +export interface RegisterTaskWithMaintenanceWindowResult { + WindowTaskId?: string; +} +export interface RemoveTagsFromResourceRequest { + ResourceType: ResourceTypeForTagging | undefined; + ResourceId: string | undefined; + TagKeys: string[] | undefined; +} +export interface RemoveTagsFromResourceResult {} +export interface ResetServiceSettingRequest { + SettingId: string | undefined; +} +export interface ResetServiceSettingResult { + ServiceSetting?: ServiceSetting; +} +export interface ResumeSessionRequest { + SessionId: string | undefined; +} +export interface ResumeSessionResponse { + SessionId?: string; + TokenValue?: string; + StreamUrl?: string; +} +export declare class AutomationStepNotFoundException extends __BaseException { + readonly name: "AutomationStepNotFoundException"; + readonly $fault: "client"; + Message?: string; + constructor( + opts: __ExceptionOptionType< + AutomationStepNotFoundException, + __BaseException + > + ); +} +export declare class InvalidAutomationSignalException extends __BaseException { + readonly name: "InvalidAutomationSignalException"; + readonly $fault: "client"; + Message?: string; + constructor( + opts: __ExceptionOptionType< + InvalidAutomationSignalException, + __BaseException + > + ); +} +export declare const SignalType: { + readonly APPROVE: "Approve"; + readonly REJECT: "Reject"; + readonly RESUME: "Resume"; + readonly START_STEP: "StartStep"; + readonly STOP_STEP: "StopStep"; +}; +export type SignalType = (typeof SignalType)[keyof typeof SignalType]; +export interface SendAutomationSignalRequest { + AutomationExecutionId: string | undefined; + SignalType: SignalType | undefined; + Payload?: Record; +} +export interface SendAutomationSignalResult {} +export declare class InvalidNotificationConfig extends __BaseException { + readonly name: "InvalidNotificationConfig"; + readonly $fault: "client"; + Message?: string; + constructor( + opts: __ExceptionOptionType + ); +} +export declare class InvalidOutputFolder extends __BaseException { + readonly name: "InvalidOutputFolder"; + readonly $fault: "client"; + constructor( + opts: __ExceptionOptionType + ); +} +export declare class InvalidRole extends __BaseException { + readonly name: "InvalidRole"; + readonly $fault: "client"; + Message?: string; + constructor(opts: __ExceptionOptionType); +} +export interface SendCommandRequest { + InstanceIds?: string[]; + Targets?: Target[]; + DocumentName: string | undefined; + DocumentVersion?: string; + DocumentHash?: string; + DocumentHashType?: DocumentHashType; + TimeoutSeconds?: number; + Comment?: string; + Parameters?: Record; + OutputS3Region?: string; + OutputS3BucketName?: string; + OutputS3KeyPrefix?: string; + MaxConcurrency?: string; + MaxErrors?: string; + ServiceRoleArn?: string; + NotificationConfig?: NotificationConfig; + CloudWatchOutputConfig?: CloudWatchOutputConfig; + AlarmConfiguration?: AlarmConfiguration; +} +export interface SendCommandResult { + Command?: Command; +} +export declare class InvalidAssociation extends __BaseException { + readonly name: "InvalidAssociation"; + readonly $fault: "client"; + Message?: string; + constructor(opts: __ExceptionOptionType); +} +export interface StartAssociationsOnceRequest { + AssociationIds: string[] | undefined; +} +export interface StartAssociationsOnceResult {} +export declare class AutomationDefinitionNotFoundException extends __BaseException { + readonly name: "AutomationDefinitionNotFoundException"; + readonly $fault: "client"; + Message?: string; + constructor( + opts: __ExceptionOptionType< + AutomationDefinitionNotFoundException, + __BaseException + > + ); +} +export declare class AutomationDefinitionVersionNotFoundException extends __BaseException { + readonly name: "AutomationDefinitionVersionNotFoundException"; + readonly $fault: "client"; + Message?: string; + constructor( + opts: __ExceptionOptionType< + AutomationDefinitionVersionNotFoundException, + __BaseException + > + ); +} +export declare class AutomationExecutionLimitExceededException extends __BaseException { + readonly name: "AutomationExecutionLimitExceededException"; + readonly $fault: "client"; + Message?: string; + constructor( + opts: __ExceptionOptionType< + AutomationExecutionLimitExceededException, + __BaseException + > + ); +} +export declare class InvalidAutomationExecutionParametersException extends __BaseException { + readonly name: "InvalidAutomationExecutionParametersException"; + readonly $fault: "client"; + Message?: string; + constructor( + opts: __ExceptionOptionType< + InvalidAutomationExecutionParametersException, + __BaseException + > + ); +} +export interface StartAutomationExecutionRequest { + DocumentName: string | undefined; + DocumentVersion?: string; + Parameters?: Record; + ClientToken?: string; + Mode?: ExecutionMode; + TargetParameterName?: string; + Targets?: Target[]; + TargetMaps?: Record[]; + MaxConcurrency?: string; + MaxErrors?: string; + TargetLocations?: TargetLocation[]; + Tags?: Tag[]; + AlarmConfiguration?: AlarmConfiguration; +} +export interface StartAutomationExecutionResult { + AutomationExecutionId?: string; +} +export declare class AutomationDefinitionNotApprovedException extends __BaseException { + readonly name: "AutomationDefinitionNotApprovedException"; + readonly $fault: "client"; + Message?: string; + constructor( + opts: __ExceptionOptionType< + AutomationDefinitionNotApprovedException, + __BaseException + > + ); +} +export interface StartChangeRequestExecutionRequest { + ScheduledTime?: Date; + DocumentName: string | undefined; + DocumentVersion?: string; + Parameters?: Record; + ChangeRequestName?: string; + ClientToken?: string; + AutoApprove?: boolean; + Runbooks: Runbook[] | undefined; + Tags?: Tag[]; + ScheduledEndTime?: Date; + ChangeDetails?: string; +} +export interface StartChangeRequestExecutionResult { + AutomationExecutionId?: string; +} +export interface StartSessionRequest { + Target: string | undefined; + DocumentName?: string; + Reason?: string; + Parameters?: Record; +} +export interface StartSessionResponse { + SessionId?: string; + TokenValue?: string; + StreamUrl?: string; +} +export declare class TargetNotConnected extends __BaseException { + readonly name: "TargetNotConnected"; + readonly $fault: "client"; + Message?: string; + constructor(opts: __ExceptionOptionType); +} +export declare class InvalidAutomationStatusUpdateException extends __BaseException { + readonly name: "InvalidAutomationStatusUpdateException"; + readonly $fault: "client"; + Message?: string; + constructor( + opts: __ExceptionOptionType< + InvalidAutomationStatusUpdateException, + __BaseException + > + ); +} +export declare const StopType: { + readonly CANCEL: "Cancel"; + readonly COMPLETE: "Complete"; +}; +export type StopType = (typeof StopType)[keyof typeof StopType]; +export interface StopAutomationExecutionRequest { + AutomationExecutionId: string | undefined; + Type?: StopType; +} +export interface StopAutomationExecutionResult {} +export interface TerminateSessionRequest { + SessionId: string | undefined; +} +export declare const MaintenanceWindowTaskFilterSensitiveLog: ( + obj: MaintenanceWindowTask +) => any; +export declare const DescribeMaintenanceWindowTasksResultFilterSensitiveLog: ( + obj: DescribeMaintenanceWindowTasksResult +) => any; +export declare const BaselineOverrideFilterSensitiveLog: ( + obj: BaselineOverride +) => any; +export declare const GetDeployablePatchSnapshotForInstanceRequestFilterSensitiveLog: ( + obj: GetDeployablePatchSnapshotForInstanceRequest +) => any; +export declare const GetMaintenanceWindowResultFilterSensitiveLog: ( + obj: GetMaintenanceWindowResult +) => any; +export declare const GetMaintenanceWindowExecutionTaskResultFilterSensitiveLog: ( + obj: GetMaintenanceWindowExecutionTaskResult +) => any; +export declare const GetMaintenanceWindowExecutionTaskInvocationResultFilterSensitiveLog: ( + obj: GetMaintenanceWindowExecutionTaskInvocationResult +) => any; +export declare const MaintenanceWindowLambdaParametersFilterSensitiveLog: ( + obj: MaintenanceWindowLambdaParameters +) => any; +export declare const MaintenanceWindowRunCommandParametersFilterSensitiveLog: ( + obj: MaintenanceWindowRunCommandParameters +) => any; +export declare const MaintenanceWindowStepFunctionsParametersFilterSensitiveLog: ( + obj: MaintenanceWindowStepFunctionsParameters +) => any; +export declare const MaintenanceWindowTaskInvocationParametersFilterSensitiveLog: ( + obj: MaintenanceWindowTaskInvocationParameters +) => any; +export declare const GetMaintenanceWindowTaskResultFilterSensitiveLog: ( + obj: GetMaintenanceWindowTaskResult +) => any; +export declare const ParameterFilterSensitiveLog: (obj: Parameter) => any; +export declare const GetParameterResultFilterSensitiveLog: ( + obj: GetParameterResult +) => any; +export declare const ParameterHistoryFilterSensitiveLog: ( + obj: ParameterHistory +) => any; +export declare const GetParameterHistoryResultFilterSensitiveLog: ( + obj: GetParameterHistoryResult +) => any; +export declare const GetParametersResultFilterSensitiveLog: ( + obj: GetParametersResult +) => any; +export declare const GetParametersByPathResultFilterSensitiveLog: ( + obj: GetParametersByPathResult +) => any; +export declare const GetPatchBaselineResultFilterSensitiveLog: ( + obj: GetPatchBaselineResult +) => any; +export declare const AssociationVersionInfoFilterSensitiveLog: ( + obj: AssociationVersionInfo +) => any; +export declare const ListAssociationVersionsResultFilterSensitiveLog: ( + obj: ListAssociationVersionsResult +) => any; +export declare const CommandFilterSensitiveLog: (obj: Command) => any; +export declare const ListCommandsResultFilterSensitiveLog: ( + obj: ListCommandsResult +) => any; +export declare const PutParameterRequestFilterSensitiveLog: ( + obj: PutParameterRequest +) => any; +export declare const RegisterTargetWithMaintenanceWindowRequestFilterSensitiveLog: ( + obj: RegisterTargetWithMaintenanceWindowRequest +) => any; +export declare const RegisterTaskWithMaintenanceWindowRequestFilterSensitiveLog: ( + obj: RegisterTaskWithMaintenanceWindowRequest +) => any; +export declare const SendCommandRequestFilterSensitiveLog: ( + obj: SendCommandRequest +) => any; +export declare const SendCommandResultFilterSensitiveLog: ( + obj: SendCommandResult +) => any; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/models/models_2.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/models/models_2.d.ts new file mode 100644 index 00000000..df524698 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/models/models_2.d.ts @@ -0,0 +1,415 @@ +import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client"; +import { + AlarmConfiguration, + AssociationComplianceSeverity, + AssociationDescription, + AssociationStatus, + AssociationSyncCompliance, + AttachmentsSource, + DocumentDescription, + DocumentFormat, + InstanceAssociationOutputLocation, + LoggingInfo, + MaintenanceWindowTaskCutoffBehavior, + MaintenanceWindowTaskParameterValueExpression, + MetadataValue, + OperatingSystem, + OpsItemDataValue, + OpsItemNotification, + PatchAction, + PatchComplianceLevel, + PatchFilterGroup, + PatchRuleGroup, + PatchSource, + RelatedOpsItem, + ResourceDataSyncSource, + Target, + TargetLocation, +} from "./models_0"; +import { + DocumentReviewCommentSource, + InventoryFilter, + InventoryGroup, + MaintenanceWindowTaskInvocationParameters, + OpsFilter, + OpsItemStatus, + OpsResultAttribute, + ResultAttribute, +} from "./models_1"; +import { SSMServiceException as __BaseException } from "./SSMServiceException"; +export interface TerminateSessionResponse { + SessionId?: string; +} +export interface UnlabelParameterVersionRequest { + Name: string | undefined; + ParameterVersion: number | undefined; + Labels: string[] | undefined; +} +export interface UnlabelParameterVersionResult { + RemovedLabels?: string[]; + InvalidLabels?: string[]; +} +export declare class AssociationVersionLimitExceeded extends __BaseException { + readonly name: "AssociationVersionLimitExceeded"; + readonly $fault: "client"; + Message?: string; + constructor( + opts: __ExceptionOptionType< + AssociationVersionLimitExceeded, + __BaseException + > + ); +} +export declare class InvalidUpdate extends __BaseException { + readonly name: "InvalidUpdate"; + readonly $fault: "client"; + Message?: string; + constructor(opts: __ExceptionOptionType); +} +export interface UpdateAssociationRequest { + AssociationId: string | undefined; + Parameters?: Record; + DocumentVersion?: string; + ScheduleExpression?: string; + OutputLocation?: InstanceAssociationOutputLocation; + Name?: string; + Targets?: Target[]; + AssociationName?: string; + AssociationVersion?: string; + AutomationTargetParameterName?: string; + MaxErrors?: string; + MaxConcurrency?: string; + ComplianceSeverity?: AssociationComplianceSeverity; + SyncCompliance?: AssociationSyncCompliance; + ApplyOnlyAtCronInterval?: boolean; + CalendarNames?: string[]; + TargetLocations?: TargetLocation[]; + ScheduleOffset?: number; + TargetMaps?: Record[]; + AlarmConfiguration?: AlarmConfiguration; +} +export interface UpdateAssociationResult { + AssociationDescription?: AssociationDescription; +} +export declare class StatusUnchanged extends __BaseException { + readonly name: "StatusUnchanged"; + readonly $fault: "client"; + constructor(opts: __ExceptionOptionType); +} +export interface UpdateAssociationStatusRequest { + Name: string | undefined; + InstanceId: string | undefined; + AssociationStatus: AssociationStatus | undefined; +} +export interface UpdateAssociationStatusResult { + AssociationDescription?: AssociationDescription; +} +export declare class DocumentVersionLimitExceeded extends __BaseException { + readonly name: "DocumentVersionLimitExceeded"; + readonly $fault: "client"; + Message?: string; + constructor( + opts: __ExceptionOptionType + ); +} +export declare class DuplicateDocumentContent extends __BaseException { + readonly name: "DuplicateDocumentContent"; + readonly $fault: "client"; + Message?: string; + constructor( + opts: __ExceptionOptionType + ); +} +export declare class DuplicateDocumentVersionName extends __BaseException { + readonly name: "DuplicateDocumentVersionName"; + readonly $fault: "client"; + Message?: string; + constructor( + opts: __ExceptionOptionType + ); +} +export interface UpdateDocumentRequest { + Content: string | undefined; + Attachments?: AttachmentsSource[]; + Name: string | undefined; + DisplayName?: string; + VersionName?: string; + DocumentVersion?: string; + DocumentFormat?: DocumentFormat; + TargetType?: string; +} +export interface UpdateDocumentResult { + DocumentDescription?: DocumentDescription; +} +export interface UpdateDocumentDefaultVersionRequest { + Name: string | undefined; + DocumentVersion: string | undefined; +} +export interface DocumentDefaultVersionDescription { + Name?: string; + DefaultVersion?: string; + DefaultVersionName?: string; +} +export interface UpdateDocumentDefaultVersionResult { + Description?: DocumentDefaultVersionDescription; +} +export declare const DocumentReviewAction: { + readonly Approve: "Approve"; + readonly Reject: "Reject"; + readonly SendForReview: "SendForReview"; + readonly UpdateReview: "UpdateReview"; +}; +export type DocumentReviewAction = + (typeof DocumentReviewAction)[keyof typeof DocumentReviewAction]; +export interface DocumentReviews { + Action: DocumentReviewAction | undefined; + Comment?: DocumentReviewCommentSource[]; +} +export interface UpdateDocumentMetadataRequest { + Name: string | undefined; + DocumentVersion?: string; + DocumentReviews: DocumentReviews | undefined; +} +export interface UpdateDocumentMetadataResponse {} +export interface UpdateMaintenanceWindowRequest { + WindowId: string | undefined; + Name?: string; + Description?: string; + StartDate?: string; + EndDate?: string; + Schedule?: string; + ScheduleTimezone?: string; + ScheduleOffset?: number; + Duration?: number; + Cutoff?: number; + AllowUnassociatedTargets?: boolean; + Enabled?: boolean; + Replace?: boolean; +} +export interface UpdateMaintenanceWindowResult { + WindowId?: string; + Name?: string; + Description?: string; + StartDate?: string; + EndDate?: string; + Schedule?: string; + ScheduleTimezone?: string; + ScheduleOffset?: number; + Duration?: number; + Cutoff?: number; + AllowUnassociatedTargets?: boolean; + Enabled?: boolean; +} +export interface UpdateMaintenanceWindowTargetRequest { + WindowId: string | undefined; + WindowTargetId: string | undefined; + Targets?: Target[]; + OwnerInformation?: string; + Name?: string; + Description?: string; + Replace?: boolean; +} +export interface UpdateMaintenanceWindowTargetResult { + WindowId?: string; + WindowTargetId?: string; + Targets?: Target[]; + OwnerInformation?: string; + Name?: string; + Description?: string; +} +export interface UpdateMaintenanceWindowTaskRequest { + WindowId: string | undefined; + WindowTaskId: string | undefined; + Targets?: Target[]; + TaskArn?: string; + ServiceRoleArn?: string; + TaskParameters?: Record< + string, + MaintenanceWindowTaskParameterValueExpression + >; + TaskInvocationParameters?: MaintenanceWindowTaskInvocationParameters; + Priority?: number; + MaxConcurrency?: string; + MaxErrors?: string; + LoggingInfo?: LoggingInfo; + Name?: string; + Description?: string; + Replace?: boolean; + CutoffBehavior?: MaintenanceWindowTaskCutoffBehavior; + AlarmConfiguration?: AlarmConfiguration; +} +export interface UpdateMaintenanceWindowTaskResult { + WindowId?: string; + WindowTaskId?: string; + Targets?: Target[]; + TaskArn?: string; + ServiceRoleArn?: string; + TaskParameters?: Record< + string, + MaintenanceWindowTaskParameterValueExpression + >; + TaskInvocationParameters?: MaintenanceWindowTaskInvocationParameters; + Priority?: number; + MaxConcurrency?: string; + MaxErrors?: string; + LoggingInfo?: LoggingInfo; + Name?: string; + Description?: string; + CutoffBehavior?: MaintenanceWindowTaskCutoffBehavior; + AlarmConfiguration?: AlarmConfiguration; +} +export interface UpdateManagedInstanceRoleRequest { + InstanceId: string | undefined; + IamRole: string | undefined; +} +export interface UpdateManagedInstanceRoleResult {} +export interface UpdateOpsItemRequest { + Description?: string; + OperationalData?: Record; + OperationalDataToDelete?: string[]; + Notifications?: OpsItemNotification[]; + Priority?: number; + RelatedOpsItems?: RelatedOpsItem[]; + Status?: OpsItemStatus; + OpsItemId: string | undefined; + Title?: string; + Category?: string; + Severity?: string; + ActualStartTime?: Date; + ActualEndTime?: Date; + PlannedStartTime?: Date; + PlannedEndTime?: Date; + OpsItemArn?: string; +} +export interface UpdateOpsItemResponse {} +export declare class OpsMetadataKeyLimitExceededException extends __BaseException { + readonly name: "OpsMetadataKeyLimitExceededException"; + readonly $fault: "client"; + constructor( + opts: __ExceptionOptionType< + OpsMetadataKeyLimitExceededException, + __BaseException + > + ); +} +export interface UpdateOpsMetadataRequest { + OpsMetadataArn: string | undefined; + MetadataToUpdate?: Record; + KeysToDelete?: string[]; +} +export interface UpdateOpsMetadataResult { + OpsMetadataArn?: string; +} +export interface UpdatePatchBaselineRequest { + BaselineId: string | undefined; + Name?: string; + GlobalFilters?: PatchFilterGroup; + ApprovalRules?: PatchRuleGroup; + ApprovedPatches?: string[]; + ApprovedPatchesComplianceLevel?: PatchComplianceLevel; + ApprovedPatchesEnableNonSecurity?: boolean; + RejectedPatches?: string[]; + RejectedPatchesAction?: PatchAction; + Description?: string; + Sources?: PatchSource[]; + Replace?: boolean; +} +export interface UpdatePatchBaselineResult { + BaselineId?: string; + Name?: string; + OperatingSystem?: OperatingSystem; + GlobalFilters?: PatchFilterGroup; + ApprovalRules?: PatchRuleGroup; + ApprovedPatches?: string[]; + ApprovedPatchesComplianceLevel?: PatchComplianceLevel; + ApprovedPatchesEnableNonSecurity?: boolean; + RejectedPatches?: string[]; + RejectedPatchesAction?: PatchAction; + CreatedDate?: Date; + ModifiedDate?: Date; + Description?: string; + Sources?: PatchSource[]; +} +export declare class ResourceDataSyncConflictException extends __BaseException { + readonly name: "ResourceDataSyncConflictException"; + readonly $fault: "client"; + Message?: string; + constructor( + opts: __ExceptionOptionType< + ResourceDataSyncConflictException, + __BaseException + > + ); +} +export interface UpdateResourceDataSyncRequest { + SyncName: string | undefined; + SyncType: string | undefined; + SyncSource: ResourceDataSyncSource | undefined; +} +export interface UpdateResourceDataSyncResult {} +export interface UpdateServiceSettingRequest { + SettingId: string | undefined; + SettingValue: string | undefined; +} +export interface UpdateServiceSettingResult {} +export interface InventoryAggregator { + Expression?: string; + Aggregators?: InventoryAggregator[]; + Groups?: InventoryGroup[]; +} +export interface OpsAggregator { + AggregatorType?: string; + TypeName?: string; + AttributeName?: string; + Values?: Record; + Filters?: OpsFilter[]; + Aggregators?: OpsAggregator[]; +} +export interface GetInventoryRequest { + Filters?: InventoryFilter[]; + Aggregators?: InventoryAggregator[]; + ResultAttributes?: ResultAttribute[]; + NextToken?: string; + MaxResults?: number; +} +export interface GetOpsSummaryRequest { + SyncName?: string; + Filters?: OpsFilter[]; + Aggregators?: OpsAggregator[]; + ResultAttributes?: OpsResultAttribute[]; + NextToken?: string; + MaxResults?: number; +} +export declare const UpdateAssociationRequestFilterSensitiveLog: ( + obj: UpdateAssociationRequest +) => any; +export declare const UpdateAssociationResultFilterSensitiveLog: ( + obj: UpdateAssociationResult +) => any; +export declare const UpdateAssociationStatusResultFilterSensitiveLog: ( + obj: UpdateAssociationStatusResult +) => any; +export declare const UpdateMaintenanceWindowRequestFilterSensitiveLog: ( + obj: UpdateMaintenanceWindowRequest +) => any; +export declare const UpdateMaintenanceWindowResultFilterSensitiveLog: ( + obj: UpdateMaintenanceWindowResult +) => any; +export declare const UpdateMaintenanceWindowTargetRequestFilterSensitiveLog: ( + obj: UpdateMaintenanceWindowTargetRequest +) => any; +export declare const UpdateMaintenanceWindowTargetResultFilterSensitiveLog: ( + obj: UpdateMaintenanceWindowTargetResult +) => any; +export declare const UpdateMaintenanceWindowTaskRequestFilterSensitiveLog: ( + obj: UpdateMaintenanceWindowTaskRequest +) => any; +export declare const UpdateMaintenanceWindowTaskResultFilterSensitiveLog: ( + obj: UpdateMaintenanceWindowTaskResult +) => any; +export declare const UpdatePatchBaselineRequestFilterSensitiveLog: ( + obj: UpdatePatchBaselineRequest +) => any; +export declare const UpdatePatchBaselineResultFilterSensitiveLog: ( + obj: UpdatePatchBaselineResult +) => any; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeActivationsPaginator.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeActivationsPaginator.d.ts new file mode 100644 index 00000000..4853e8ba --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeActivationsPaginator.d.ts @@ -0,0 +1,11 @@ +import { Paginator } from "@smithy/types"; +import { + DescribeActivationsCommandInput, + DescribeActivationsCommandOutput, +} from "../commands/DescribeActivationsCommand"; +import { SSMPaginationConfiguration } from "./Interfaces"; +export declare function paginateDescribeActivations( + config: SSMPaginationConfiguration, + input: DescribeActivationsCommandInput, + ...additionalArguments: any +): Paginator; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeAssociationExecutionTargetsPaginator.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeAssociationExecutionTargetsPaginator.d.ts new file mode 100644 index 00000000..ea8ff83a --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeAssociationExecutionTargetsPaginator.d.ts @@ -0,0 +1,11 @@ +import { Paginator } from "@smithy/types"; +import { + DescribeAssociationExecutionTargetsCommandInput, + DescribeAssociationExecutionTargetsCommandOutput, +} from "../commands/DescribeAssociationExecutionTargetsCommand"; +import { SSMPaginationConfiguration } from "./Interfaces"; +export declare function paginateDescribeAssociationExecutionTargets( + config: SSMPaginationConfiguration, + input: DescribeAssociationExecutionTargetsCommandInput, + ...additionalArguments: any +): Paginator; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeAssociationExecutionsPaginator.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeAssociationExecutionsPaginator.d.ts new file mode 100644 index 00000000..342dfffa --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeAssociationExecutionsPaginator.d.ts @@ -0,0 +1,11 @@ +import { Paginator } from "@smithy/types"; +import { + DescribeAssociationExecutionsCommandInput, + DescribeAssociationExecutionsCommandOutput, +} from "../commands/DescribeAssociationExecutionsCommand"; +import { SSMPaginationConfiguration } from "./Interfaces"; +export declare function paginateDescribeAssociationExecutions( + config: SSMPaginationConfiguration, + input: DescribeAssociationExecutionsCommandInput, + ...additionalArguments: any +): Paginator; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeAutomationExecutionsPaginator.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeAutomationExecutionsPaginator.d.ts new file mode 100644 index 00000000..f46109dc --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeAutomationExecutionsPaginator.d.ts @@ -0,0 +1,11 @@ +import { Paginator } from "@smithy/types"; +import { + DescribeAutomationExecutionsCommandInput, + DescribeAutomationExecutionsCommandOutput, +} from "../commands/DescribeAutomationExecutionsCommand"; +import { SSMPaginationConfiguration } from "./Interfaces"; +export declare function paginateDescribeAutomationExecutions( + config: SSMPaginationConfiguration, + input: DescribeAutomationExecutionsCommandInput, + ...additionalArguments: any +): Paginator; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeAutomationStepExecutionsPaginator.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeAutomationStepExecutionsPaginator.d.ts new file mode 100644 index 00000000..a3895856 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeAutomationStepExecutionsPaginator.d.ts @@ -0,0 +1,11 @@ +import { Paginator } from "@smithy/types"; +import { + DescribeAutomationStepExecutionsCommandInput, + DescribeAutomationStepExecutionsCommandOutput, +} from "../commands/DescribeAutomationStepExecutionsCommand"; +import { SSMPaginationConfiguration } from "./Interfaces"; +export declare function paginateDescribeAutomationStepExecutions( + config: SSMPaginationConfiguration, + input: DescribeAutomationStepExecutionsCommandInput, + ...additionalArguments: any +): Paginator; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeAvailablePatchesPaginator.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeAvailablePatchesPaginator.d.ts new file mode 100644 index 00000000..71e378e8 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeAvailablePatchesPaginator.d.ts @@ -0,0 +1,11 @@ +import { Paginator } from "@smithy/types"; +import { + DescribeAvailablePatchesCommandInput, + DescribeAvailablePatchesCommandOutput, +} from "../commands/DescribeAvailablePatchesCommand"; +import { SSMPaginationConfiguration } from "./Interfaces"; +export declare function paginateDescribeAvailablePatches( + config: SSMPaginationConfiguration, + input: DescribeAvailablePatchesCommandInput, + ...additionalArguments: any +): Paginator; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeEffectiveInstanceAssociationsPaginator.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeEffectiveInstanceAssociationsPaginator.d.ts new file mode 100644 index 00000000..4312a1f8 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeEffectiveInstanceAssociationsPaginator.d.ts @@ -0,0 +1,11 @@ +import { Paginator } from "@smithy/types"; +import { + DescribeEffectiveInstanceAssociationsCommandInput, + DescribeEffectiveInstanceAssociationsCommandOutput, +} from "../commands/DescribeEffectiveInstanceAssociationsCommand"; +import { SSMPaginationConfiguration } from "./Interfaces"; +export declare function paginateDescribeEffectiveInstanceAssociations( + config: SSMPaginationConfiguration, + input: DescribeEffectiveInstanceAssociationsCommandInput, + ...additionalArguments: any +): Paginator; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeEffectivePatchesForPatchBaselinePaginator.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeEffectivePatchesForPatchBaselinePaginator.d.ts new file mode 100644 index 00000000..50ebc100 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeEffectivePatchesForPatchBaselinePaginator.d.ts @@ -0,0 +1,11 @@ +import { Paginator } from "@smithy/types"; +import { + DescribeEffectivePatchesForPatchBaselineCommandInput, + DescribeEffectivePatchesForPatchBaselineCommandOutput, +} from "../commands/DescribeEffectivePatchesForPatchBaselineCommand"; +import { SSMPaginationConfiguration } from "./Interfaces"; +export declare function paginateDescribeEffectivePatchesForPatchBaseline( + config: SSMPaginationConfiguration, + input: DescribeEffectivePatchesForPatchBaselineCommandInput, + ...additionalArguments: any +): Paginator; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeInstanceAssociationsStatusPaginator.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeInstanceAssociationsStatusPaginator.d.ts new file mode 100644 index 00000000..bc955cd2 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeInstanceAssociationsStatusPaginator.d.ts @@ -0,0 +1,11 @@ +import { Paginator } from "@smithy/types"; +import { + DescribeInstanceAssociationsStatusCommandInput, + DescribeInstanceAssociationsStatusCommandOutput, +} from "../commands/DescribeInstanceAssociationsStatusCommand"; +import { SSMPaginationConfiguration } from "./Interfaces"; +export declare function paginateDescribeInstanceAssociationsStatus( + config: SSMPaginationConfiguration, + input: DescribeInstanceAssociationsStatusCommandInput, + ...additionalArguments: any +): Paginator; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeInstanceInformationPaginator.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeInstanceInformationPaginator.d.ts new file mode 100644 index 00000000..737a71fd --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeInstanceInformationPaginator.d.ts @@ -0,0 +1,11 @@ +import { Paginator } from "@smithy/types"; +import { + DescribeInstanceInformationCommandInput, + DescribeInstanceInformationCommandOutput, +} from "../commands/DescribeInstanceInformationCommand"; +import { SSMPaginationConfiguration } from "./Interfaces"; +export declare function paginateDescribeInstanceInformation( + config: SSMPaginationConfiguration, + input: DescribeInstanceInformationCommandInput, + ...additionalArguments: any +): Paginator; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeInstancePatchStatesForPatchGroupPaginator.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeInstancePatchStatesForPatchGroupPaginator.d.ts new file mode 100644 index 00000000..3f077b80 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeInstancePatchStatesForPatchGroupPaginator.d.ts @@ -0,0 +1,11 @@ +import { Paginator } from "@smithy/types"; +import { + DescribeInstancePatchStatesForPatchGroupCommandInput, + DescribeInstancePatchStatesForPatchGroupCommandOutput, +} from "../commands/DescribeInstancePatchStatesForPatchGroupCommand"; +import { SSMPaginationConfiguration } from "./Interfaces"; +export declare function paginateDescribeInstancePatchStatesForPatchGroup( + config: SSMPaginationConfiguration, + input: DescribeInstancePatchStatesForPatchGroupCommandInput, + ...additionalArguments: any +): Paginator; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeInstancePatchStatesPaginator.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeInstancePatchStatesPaginator.d.ts new file mode 100644 index 00000000..f972d899 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeInstancePatchStatesPaginator.d.ts @@ -0,0 +1,11 @@ +import { Paginator } from "@smithy/types"; +import { + DescribeInstancePatchStatesCommandInput, + DescribeInstancePatchStatesCommandOutput, +} from "../commands/DescribeInstancePatchStatesCommand"; +import { SSMPaginationConfiguration } from "./Interfaces"; +export declare function paginateDescribeInstancePatchStates( + config: SSMPaginationConfiguration, + input: DescribeInstancePatchStatesCommandInput, + ...additionalArguments: any +): Paginator; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeInstancePatchesPaginator.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeInstancePatchesPaginator.d.ts new file mode 100644 index 00000000..e26d7f2d --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeInstancePatchesPaginator.d.ts @@ -0,0 +1,11 @@ +import { Paginator } from "@smithy/types"; +import { + DescribeInstancePatchesCommandInput, + DescribeInstancePatchesCommandOutput, +} from "../commands/DescribeInstancePatchesCommand"; +import { SSMPaginationConfiguration } from "./Interfaces"; +export declare function paginateDescribeInstancePatches( + config: SSMPaginationConfiguration, + input: DescribeInstancePatchesCommandInput, + ...additionalArguments: any +): Paginator; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeInventoryDeletionsPaginator.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeInventoryDeletionsPaginator.d.ts new file mode 100644 index 00000000..bddc1725 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeInventoryDeletionsPaginator.d.ts @@ -0,0 +1,11 @@ +import { Paginator } from "@smithy/types"; +import { + DescribeInventoryDeletionsCommandInput, + DescribeInventoryDeletionsCommandOutput, +} from "../commands/DescribeInventoryDeletionsCommand"; +import { SSMPaginationConfiguration } from "./Interfaces"; +export declare function paginateDescribeInventoryDeletions( + config: SSMPaginationConfiguration, + input: DescribeInventoryDeletionsCommandInput, + ...additionalArguments: any +): Paginator; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeMaintenanceWindowExecutionTaskInvocationsPaginator.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeMaintenanceWindowExecutionTaskInvocationsPaginator.d.ts new file mode 100644 index 00000000..349c92a7 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeMaintenanceWindowExecutionTaskInvocationsPaginator.d.ts @@ -0,0 +1,11 @@ +import { Paginator } from "@smithy/types"; +import { + DescribeMaintenanceWindowExecutionTaskInvocationsCommandInput, + DescribeMaintenanceWindowExecutionTaskInvocationsCommandOutput, +} from "../commands/DescribeMaintenanceWindowExecutionTaskInvocationsCommand"; +import { SSMPaginationConfiguration } from "./Interfaces"; +export declare function paginateDescribeMaintenanceWindowExecutionTaskInvocations( + config: SSMPaginationConfiguration, + input: DescribeMaintenanceWindowExecutionTaskInvocationsCommandInput, + ...additionalArguments: any +): Paginator; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeMaintenanceWindowExecutionTasksPaginator.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeMaintenanceWindowExecutionTasksPaginator.d.ts new file mode 100644 index 00000000..4efc4e92 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeMaintenanceWindowExecutionTasksPaginator.d.ts @@ -0,0 +1,11 @@ +import { Paginator } from "@smithy/types"; +import { + DescribeMaintenanceWindowExecutionTasksCommandInput, + DescribeMaintenanceWindowExecutionTasksCommandOutput, +} from "../commands/DescribeMaintenanceWindowExecutionTasksCommand"; +import { SSMPaginationConfiguration } from "./Interfaces"; +export declare function paginateDescribeMaintenanceWindowExecutionTasks( + config: SSMPaginationConfiguration, + input: DescribeMaintenanceWindowExecutionTasksCommandInput, + ...additionalArguments: any +): Paginator; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeMaintenanceWindowExecutionsPaginator.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeMaintenanceWindowExecutionsPaginator.d.ts new file mode 100644 index 00000000..e978b608 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeMaintenanceWindowExecutionsPaginator.d.ts @@ -0,0 +1,11 @@ +import { Paginator } from "@smithy/types"; +import { + DescribeMaintenanceWindowExecutionsCommandInput, + DescribeMaintenanceWindowExecutionsCommandOutput, +} from "../commands/DescribeMaintenanceWindowExecutionsCommand"; +import { SSMPaginationConfiguration } from "./Interfaces"; +export declare function paginateDescribeMaintenanceWindowExecutions( + config: SSMPaginationConfiguration, + input: DescribeMaintenanceWindowExecutionsCommandInput, + ...additionalArguments: any +): Paginator; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeMaintenanceWindowSchedulePaginator.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeMaintenanceWindowSchedulePaginator.d.ts new file mode 100644 index 00000000..a454d719 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeMaintenanceWindowSchedulePaginator.d.ts @@ -0,0 +1,11 @@ +import { Paginator } from "@smithy/types"; +import { + DescribeMaintenanceWindowScheduleCommandInput, + DescribeMaintenanceWindowScheduleCommandOutput, +} from "../commands/DescribeMaintenanceWindowScheduleCommand"; +import { SSMPaginationConfiguration } from "./Interfaces"; +export declare function paginateDescribeMaintenanceWindowSchedule( + config: SSMPaginationConfiguration, + input: DescribeMaintenanceWindowScheduleCommandInput, + ...additionalArguments: any +): Paginator; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeMaintenanceWindowTargetsPaginator.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeMaintenanceWindowTargetsPaginator.d.ts new file mode 100644 index 00000000..a5f42760 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeMaintenanceWindowTargetsPaginator.d.ts @@ -0,0 +1,11 @@ +import { Paginator } from "@smithy/types"; +import { + DescribeMaintenanceWindowTargetsCommandInput, + DescribeMaintenanceWindowTargetsCommandOutput, +} from "../commands/DescribeMaintenanceWindowTargetsCommand"; +import { SSMPaginationConfiguration } from "./Interfaces"; +export declare function paginateDescribeMaintenanceWindowTargets( + config: SSMPaginationConfiguration, + input: DescribeMaintenanceWindowTargetsCommandInput, + ...additionalArguments: any +): Paginator; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeMaintenanceWindowTasksPaginator.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeMaintenanceWindowTasksPaginator.d.ts new file mode 100644 index 00000000..dc97e87d --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeMaintenanceWindowTasksPaginator.d.ts @@ -0,0 +1,11 @@ +import { Paginator } from "@smithy/types"; +import { + DescribeMaintenanceWindowTasksCommandInput, + DescribeMaintenanceWindowTasksCommandOutput, +} from "../commands/DescribeMaintenanceWindowTasksCommand"; +import { SSMPaginationConfiguration } from "./Interfaces"; +export declare function paginateDescribeMaintenanceWindowTasks( + config: SSMPaginationConfiguration, + input: DescribeMaintenanceWindowTasksCommandInput, + ...additionalArguments: any +): Paginator; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeMaintenanceWindowsForTargetPaginator.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeMaintenanceWindowsForTargetPaginator.d.ts new file mode 100644 index 00000000..944504f2 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeMaintenanceWindowsForTargetPaginator.d.ts @@ -0,0 +1,11 @@ +import { Paginator } from "@smithy/types"; +import { + DescribeMaintenanceWindowsForTargetCommandInput, + DescribeMaintenanceWindowsForTargetCommandOutput, +} from "../commands/DescribeMaintenanceWindowsForTargetCommand"; +import { SSMPaginationConfiguration } from "./Interfaces"; +export declare function paginateDescribeMaintenanceWindowsForTarget( + config: SSMPaginationConfiguration, + input: DescribeMaintenanceWindowsForTargetCommandInput, + ...additionalArguments: any +): Paginator; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeMaintenanceWindowsPaginator.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeMaintenanceWindowsPaginator.d.ts new file mode 100644 index 00000000..93e162fc --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeMaintenanceWindowsPaginator.d.ts @@ -0,0 +1,11 @@ +import { Paginator } from "@smithy/types"; +import { + DescribeMaintenanceWindowsCommandInput, + DescribeMaintenanceWindowsCommandOutput, +} from "../commands/DescribeMaintenanceWindowsCommand"; +import { SSMPaginationConfiguration } from "./Interfaces"; +export declare function paginateDescribeMaintenanceWindows( + config: SSMPaginationConfiguration, + input: DescribeMaintenanceWindowsCommandInput, + ...additionalArguments: any +): Paginator; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeOpsItemsPaginator.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeOpsItemsPaginator.d.ts new file mode 100644 index 00000000..910844da --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeOpsItemsPaginator.d.ts @@ -0,0 +1,11 @@ +import { Paginator } from "@smithy/types"; +import { + DescribeOpsItemsCommandInput, + DescribeOpsItemsCommandOutput, +} from "../commands/DescribeOpsItemsCommand"; +import { SSMPaginationConfiguration } from "./Interfaces"; +export declare function paginateDescribeOpsItems( + config: SSMPaginationConfiguration, + input: DescribeOpsItemsCommandInput, + ...additionalArguments: any +): Paginator; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeParametersPaginator.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeParametersPaginator.d.ts new file mode 100644 index 00000000..fccb5c85 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeParametersPaginator.d.ts @@ -0,0 +1,11 @@ +import { Paginator } from "@smithy/types"; +import { + DescribeParametersCommandInput, + DescribeParametersCommandOutput, +} from "../commands/DescribeParametersCommand"; +import { SSMPaginationConfiguration } from "./Interfaces"; +export declare function paginateDescribeParameters( + config: SSMPaginationConfiguration, + input: DescribeParametersCommandInput, + ...additionalArguments: any +): Paginator; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribePatchBaselinesPaginator.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribePatchBaselinesPaginator.d.ts new file mode 100644 index 00000000..614cfafe --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribePatchBaselinesPaginator.d.ts @@ -0,0 +1,11 @@ +import { Paginator } from "@smithy/types"; +import { + DescribePatchBaselinesCommandInput, + DescribePatchBaselinesCommandOutput, +} from "../commands/DescribePatchBaselinesCommand"; +import { SSMPaginationConfiguration } from "./Interfaces"; +export declare function paginateDescribePatchBaselines( + config: SSMPaginationConfiguration, + input: DescribePatchBaselinesCommandInput, + ...additionalArguments: any +): Paginator; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribePatchGroupsPaginator.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribePatchGroupsPaginator.d.ts new file mode 100644 index 00000000..b202de69 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribePatchGroupsPaginator.d.ts @@ -0,0 +1,11 @@ +import { Paginator } from "@smithy/types"; +import { + DescribePatchGroupsCommandInput, + DescribePatchGroupsCommandOutput, +} from "../commands/DescribePatchGroupsCommand"; +import { SSMPaginationConfiguration } from "./Interfaces"; +export declare function paginateDescribePatchGroups( + config: SSMPaginationConfiguration, + input: DescribePatchGroupsCommandInput, + ...additionalArguments: any +): Paginator; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribePatchPropertiesPaginator.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribePatchPropertiesPaginator.d.ts new file mode 100644 index 00000000..77465ae9 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribePatchPropertiesPaginator.d.ts @@ -0,0 +1,11 @@ +import { Paginator } from "@smithy/types"; +import { + DescribePatchPropertiesCommandInput, + DescribePatchPropertiesCommandOutput, +} from "../commands/DescribePatchPropertiesCommand"; +import { SSMPaginationConfiguration } from "./Interfaces"; +export declare function paginateDescribePatchProperties( + config: SSMPaginationConfiguration, + input: DescribePatchPropertiesCommandInput, + ...additionalArguments: any +): Paginator; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeSessionsPaginator.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeSessionsPaginator.d.ts new file mode 100644 index 00000000..33b891a0 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/DescribeSessionsPaginator.d.ts @@ -0,0 +1,11 @@ +import { Paginator } from "@smithy/types"; +import { + DescribeSessionsCommandInput, + DescribeSessionsCommandOutput, +} from "../commands/DescribeSessionsCommand"; +import { SSMPaginationConfiguration } from "./Interfaces"; +export declare function paginateDescribeSessions( + config: SSMPaginationConfiguration, + input: DescribeSessionsCommandInput, + ...additionalArguments: any +): Paginator; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/GetInventoryPaginator.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/GetInventoryPaginator.d.ts new file mode 100644 index 00000000..23c710ad --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/GetInventoryPaginator.d.ts @@ -0,0 +1,11 @@ +import { Paginator } from "@smithy/types"; +import { + GetInventoryCommandInput, + GetInventoryCommandOutput, +} from "../commands/GetInventoryCommand"; +import { SSMPaginationConfiguration } from "./Interfaces"; +export declare function paginateGetInventory( + config: SSMPaginationConfiguration, + input: GetInventoryCommandInput, + ...additionalArguments: any +): Paginator; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/GetInventorySchemaPaginator.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/GetInventorySchemaPaginator.d.ts new file mode 100644 index 00000000..24d3baab --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/GetInventorySchemaPaginator.d.ts @@ -0,0 +1,11 @@ +import { Paginator } from "@smithy/types"; +import { + GetInventorySchemaCommandInput, + GetInventorySchemaCommandOutput, +} from "../commands/GetInventorySchemaCommand"; +import { SSMPaginationConfiguration } from "./Interfaces"; +export declare function paginateGetInventorySchema( + config: SSMPaginationConfiguration, + input: GetInventorySchemaCommandInput, + ...additionalArguments: any +): Paginator; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/GetOpsSummaryPaginator.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/GetOpsSummaryPaginator.d.ts new file mode 100644 index 00000000..daaf43da --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/GetOpsSummaryPaginator.d.ts @@ -0,0 +1,11 @@ +import { Paginator } from "@smithy/types"; +import { + GetOpsSummaryCommandInput, + GetOpsSummaryCommandOutput, +} from "../commands/GetOpsSummaryCommand"; +import { SSMPaginationConfiguration } from "./Interfaces"; +export declare function paginateGetOpsSummary( + config: SSMPaginationConfiguration, + input: GetOpsSummaryCommandInput, + ...additionalArguments: any +): Paginator; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/GetParameterHistoryPaginator.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/GetParameterHistoryPaginator.d.ts new file mode 100644 index 00000000..b1f740d6 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/GetParameterHistoryPaginator.d.ts @@ -0,0 +1,11 @@ +import { Paginator } from "@smithy/types"; +import { + GetParameterHistoryCommandInput, + GetParameterHistoryCommandOutput, +} from "../commands/GetParameterHistoryCommand"; +import { SSMPaginationConfiguration } from "./Interfaces"; +export declare function paginateGetParameterHistory( + config: SSMPaginationConfiguration, + input: GetParameterHistoryCommandInput, + ...additionalArguments: any +): Paginator; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/GetParametersByPathPaginator.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/GetParametersByPathPaginator.d.ts new file mode 100644 index 00000000..1da9c21c --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/GetParametersByPathPaginator.d.ts @@ -0,0 +1,11 @@ +import { Paginator } from "@smithy/types"; +import { + GetParametersByPathCommandInput, + GetParametersByPathCommandOutput, +} from "../commands/GetParametersByPathCommand"; +import { SSMPaginationConfiguration } from "./Interfaces"; +export declare function paginateGetParametersByPath( + config: SSMPaginationConfiguration, + input: GetParametersByPathCommandInput, + ...additionalArguments: any +): Paginator; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/GetResourcePoliciesPaginator.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/GetResourcePoliciesPaginator.d.ts new file mode 100644 index 00000000..69e5ed47 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/GetResourcePoliciesPaginator.d.ts @@ -0,0 +1,11 @@ +import { Paginator } from "@smithy/types"; +import { + GetResourcePoliciesCommandInput, + GetResourcePoliciesCommandOutput, +} from "../commands/GetResourcePoliciesCommand"; +import { SSMPaginationConfiguration } from "./Interfaces"; +export declare function paginateGetResourcePolicies( + config: SSMPaginationConfiguration, + input: GetResourcePoliciesCommandInput, + ...additionalArguments: any +): Paginator; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/Interfaces.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/Interfaces.d.ts new file mode 100644 index 00000000..2fb7df62 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/Interfaces.d.ts @@ -0,0 +1,5 @@ +import { PaginationConfiguration } from "@smithy/types"; +import { SSMClient } from "../SSMClient"; +export interface SSMPaginationConfiguration extends PaginationConfiguration { + client: SSMClient; +} diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/ListAssociationVersionsPaginator.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/ListAssociationVersionsPaginator.d.ts new file mode 100644 index 00000000..fd445bc6 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/ListAssociationVersionsPaginator.d.ts @@ -0,0 +1,11 @@ +import { Paginator } from "@smithy/types"; +import { + ListAssociationVersionsCommandInput, + ListAssociationVersionsCommandOutput, +} from "../commands/ListAssociationVersionsCommand"; +import { SSMPaginationConfiguration } from "./Interfaces"; +export declare function paginateListAssociationVersions( + config: SSMPaginationConfiguration, + input: ListAssociationVersionsCommandInput, + ...additionalArguments: any +): Paginator; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/ListAssociationsPaginator.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/ListAssociationsPaginator.d.ts new file mode 100644 index 00000000..8a765137 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/ListAssociationsPaginator.d.ts @@ -0,0 +1,11 @@ +import { Paginator } from "@smithy/types"; +import { + ListAssociationsCommandInput, + ListAssociationsCommandOutput, +} from "../commands/ListAssociationsCommand"; +import { SSMPaginationConfiguration } from "./Interfaces"; +export declare function paginateListAssociations( + config: SSMPaginationConfiguration, + input: ListAssociationsCommandInput, + ...additionalArguments: any +): Paginator; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/ListCommandInvocationsPaginator.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/ListCommandInvocationsPaginator.d.ts new file mode 100644 index 00000000..46c58224 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/ListCommandInvocationsPaginator.d.ts @@ -0,0 +1,11 @@ +import { Paginator } from "@smithy/types"; +import { + ListCommandInvocationsCommandInput, + ListCommandInvocationsCommandOutput, +} from "../commands/ListCommandInvocationsCommand"; +import { SSMPaginationConfiguration } from "./Interfaces"; +export declare function paginateListCommandInvocations( + config: SSMPaginationConfiguration, + input: ListCommandInvocationsCommandInput, + ...additionalArguments: any +): Paginator; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/ListCommandsPaginator.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/ListCommandsPaginator.d.ts new file mode 100644 index 00000000..3dab3894 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/ListCommandsPaginator.d.ts @@ -0,0 +1,11 @@ +import { Paginator } from "@smithy/types"; +import { + ListCommandsCommandInput, + ListCommandsCommandOutput, +} from "../commands/ListCommandsCommand"; +import { SSMPaginationConfiguration } from "./Interfaces"; +export declare function paginateListCommands( + config: SSMPaginationConfiguration, + input: ListCommandsCommandInput, + ...additionalArguments: any +): Paginator; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/ListComplianceItemsPaginator.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/ListComplianceItemsPaginator.d.ts new file mode 100644 index 00000000..730b41fb --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/ListComplianceItemsPaginator.d.ts @@ -0,0 +1,11 @@ +import { Paginator } from "@smithy/types"; +import { + ListComplianceItemsCommandInput, + ListComplianceItemsCommandOutput, +} from "../commands/ListComplianceItemsCommand"; +import { SSMPaginationConfiguration } from "./Interfaces"; +export declare function paginateListComplianceItems( + config: SSMPaginationConfiguration, + input: ListComplianceItemsCommandInput, + ...additionalArguments: any +): Paginator; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/ListComplianceSummariesPaginator.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/ListComplianceSummariesPaginator.d.ts new file mode 100644 index 00000000..3125e556 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/ListComplianceSummariesPaginator.d.ts @@ -0,0 +1,11 @@ +import { Paginator } from "@smithy/types"; +import { + ListComplianceSummariesCommandInput, + ListComplianceSummariesCommandOutput, +} from "../commands/ListComplianceSummariesCommand"; +import { SSMPaginationConfiguration } from "./Interfaces"; +export declare function paginateListComplianceSummaries( + config: SSMPaginationConfiguration, + input: ListComplianceSummariesCommandInput, + ...additionalArguments: any +): Paginator; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/ListDocumentVersionsPaginator.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/ListDocumentVersionsPaginator.d.ts new file mode 100644 index 00000000..89ea4c7c --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/ListDocumentVersionsPaginator.d.ts @@ -0,0 +1,11 @@ +import { Paginator } from "@smithy/types"; +import { + ListDocumentVersionsCommandInput, + ListDocumentVersionsCommandOutput, +} from "../commands/ListDocumentVersionsCommand"; +import { SSMPaginationConfiguration } from "./Interfaces"; +export declare function paginateListDocumentVersions( + config: SSMPaginationConfiguration, + input: ListDocumentVersionsCommandInput, + ...additionalArguments: any +): Paginator; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/ListDocumentsPaginator.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/ListDocumentsPaginator.d.ts new file mode 100644 index 00000000..d60914e3 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/ListDocumentsPaginator.d.ts @@ -0,0 +1,11 @@ +import { Paginator } from "@smithy/types"; +import { + ListDocumentsCommandInput, + ListDocumentsCommandOutput, +} from "../commands/ListDocumentsCommand"; +import { SSMPaginationConfiguration } from "./Interfaces"; +export declare function paginateListDocuments( + config: SSMPaginationConfiguration, + input: ListDocumentsCommandInput, + ...additionalArguments: any +): Paginator; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/ListOpsItemEventsPaginator.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/ListOpsItemEventsPaginator.d.ts new file mode 100644 index 00000000..b16da8c0 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/ListOpsItemEventsPaginator.d.ts @@ -0,0 +1,11 @@ +import { Paginator } from "@smithy/types"; +import { + ListOpsItemEventsCommandInput, + ListOpsItemEventsCommandOutput, +} from "../commands/ListOpsItemEventsCommand"; +import { SSMPaginationConfiguration } from "./Interfaces"; +export declare function paginateListOpsItemEvents( + config: SSMPaginationConfiguration, + input: ListOpsItemEventsCommandInput, + ...additionalArguments: any +): Paginator; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/ListOpsItemRelatedItemsPaginator.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/ListOpsItemRelatedItemsPaginator.d.ts new file mode 100644 index 00000000..fc7cc52c --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/ListOpsItemRelatedItemsPaginator.d.ts @@ -0,0 +1,11 @@ +import { Paginator } from "@smithy/types"; +import { + ListOpsItemRelatedItemsCommandInput, + ListOpsItemRelatedItemsCommandOutput, +} from "../commands/ListOpsItemRelatedItemsCommand"; +import { SSMPaginationConfiguration } from "./Interfaces"; +export declare function paginateListOpsItemRelatedItems( + config: SSMPaginationConfiguration, + input: ListOpsItemRelatedItemsCommandInput, + ...additionalArguments: any +): Paginator; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/ListOpsMetadataPaginator.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/ListOpsMetadataPaginator.d.ts new file mode 100644 index 00000000..e3dd4fec --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/ListOpsMetadataPaginator.d.ts @@ -0,0 +1,11 @@ +import { Paginator } from "@smithy/types"; +import { + ListOpsMetadataCommandInput, + ListOpsMetadataCommandOutput, +} from "../commands/ListOpsMetadataCommand"; +import { SSMPaginationConfiguration } from "./Interfaces"; +export declare function paginateListOpsMetadata( + config: SSMPaginationConfiguration, + input: ListOpsMetadataCommandInput, + ...additionalArguments: any +): Paginator; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/ListResourceComplianceSummariesPaginator.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/ListResourceComplianceSummariesPaginator.d.ts new file mode 100644 index 00000000..44b656a6 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/ListResourceComplianceSummariesPaginator.d.ts @@ -0,0 +1,11 @@ +import { Paginator } from "@smithy/types"; +import { + ListResourceComplianceSummariesCommandInput, + ListResourceComplianceSummariesCommandOutput, +} from "../commands/ListResourceComplianceSummariesCommand"; +import { SSMPaginationConfiguration } from "./Interfaces"; +export declare function paginateListResourceComplianceSummaries( + config: SSMPaginationConfiguration, + input: ListResourceComplianceSummariesCommandInput, + ...additionalArguments: any +): Paginator; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/ListResourceDataSyncPaginator.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/ListResourceDataSyncPaginator.d.ts new file mode 100644 index 00000000..c79d38a1 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/ListResourceDataSyncPaginator.d.ts @@ -0,0 +1,11 @@ +import { Paginator } from "@smithy/types"; +import { + ListResourceDataSyncCommandInput, + ListResourceDataSyncCommandOutput, +} from "../commands/ListResourceDataSyncCommand"; +import { SSMPaginationConfiguration } from "./Interfaces"; +export declare function paginateListResourceDataSync( + config: SSMPaginationConfiguration, + input: ListResourceDataSyncCommandInput, + ...additionalArguments: any +): Paginator; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/index.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/index.d.ts new file mode 100644 index 00000000..7cb9faa7 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/pagination/index.d.ts @@ -0,0 +1,48 @@ +export * from "./DescribeActivationsPaginator"; +export * from "./DescribeAssociationExecutionTargetsPaginator"; +export * from "./DescribeAssociationExecutionsPaginator"; +export * from "./DescribeAutomationExecutionsPaginator"; +export * from "./DescribeAutomationStepExecutionsPaginator"; +export * from "./DescribeAvailablePatchesPaginator"; +export * from "./DescribeEffectiveInstanceAssociationsPaginator"; +export * from "./DescribeEffectivePatchesForPatchBaselinePaginator"; +export * from "./DescribeInstanceAssociationsStatusPaginator"; +export * from "./DescribeInstanceInformationPaginator"; +export * from "./Interfaces"; +export * from "./DescribeInstancePatchStatesForPatchGroupPaginator"; +export * from "./DescribeInstancePatchStatesPaginator"; +export * from "./DescribeInstancePatchesPaginator"; +export * from "./DescribeInventoryDeletionsPaginator"; +export * from "./DescribeMaintenanceWindowExecutionTaskInvocationsPaginator"; +export * from "./DescribeMaintenanceWindowExecutionTasksPaginator"; +export * from "./DescribeMaintenanceWindowExecutionsPaginator"; +export * from "./DescribeMaintenanceWindowSchedulePaginator"; +export * from "./DescribeMaintenanceWindowTargetsPaginator"; +export * from "./DescribeMaintenanceWindowTasksPaginator"; +export * from "./DescribeMaintenanceWindowsForTargetPaginator"; +export * from "./DescribeMaintenanceWindowsPaginator"; +export * from "./DescribeOpsItemsPaginator"; +export * from "./DescribeParametersPaginator"; +export * from "./DescribePatchBaselinesPaginator"; +export * from "./DescribePatchGroupsPaginator"; +export * from "./DescribePatchPropertiesPaginator"; +export * from "./DescribeSessionsPaginator"; +export * from "./GetInventoryPaginator"; +export * from "./GetInventorySchemaPaginator"; +export * from "./GetOpsSummaryPaginator"; +export * from "./GetParameterHistoryPaginator"; +export * from "./GetParametersByPathPaginator"; +export * from "./GetResourcePoliciesPaginator"; +export * from "./ListAssociationVersionsPaginator"; +export * from "./ListAssociationsPaginator"; +export * from "./ListCommandInvocationsPaginator"; +export * from "./ListCommandsPaginator"; +export * from "./ListComplianceItemsPaginator"; +export * from "./ListComplianceSummariesPaginator"; +export * from "./ListDocumentVersionsPaginator"; +export * from "./ListDocumentsPaginator"; +export * from "./ListOpsItemEventsPaginator"; +export * from "./ListOpsItemRelatedItemsPaginator"; +export * from "./ListOpsMetadataPaginator"; +export * from "./ListResourceComplianceSummariesPaginator"; +export * from "./ListResourceDataSyncPaginator"; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/protocols/Aws_json1_1.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/protocols/Aws_json1_1.d.ts new file mode 100644 index 00000000..9f7de03e --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/protocols/Aws_json1_1.d.ts @@ -0,0 +1,1673 @@ +import { + HttpRequest as __HttpRequest, + HttpResponse as __HttpResponse, +} from "@smithy/protocol-http"; +import { SerdeContext as __SerdeContext } from "@smithy/types"; +import { + AddTagsToResourceCommandInput, + AddTagsToResourceCommandOutput, +} from "../commands/AddTagsToResourceCommand"; +import { + AssociateOpsItemRelatedItemCommandInput, + AssociateOpsItemRelatedItemCommandOutput, +} from "../commands/AssociateOpsItemRelatedItemCommand"; +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 { + CreateOpsMetadataCommandInput, + CreateOpsMetadataCommandOutput, +} from "../commands/CreateOpsMetadataCommand"; +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 { + DeleteOpsItemCommandInput, + DeleteOpsItemCommandOutput, +} from "../commands/DeleteOpsItemCommand"; +import { + DeleteOpsMetadataCommandInput, + DeleteOpsMetadataCommandOutput, +} from "../commands/DeleteOpsMetadataCommand"; +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 { + DeleteResourcePolicyCommandInput, + DeleteResourcePolicyCommandOutput, +} from "../commands/DeleteResourcePolicyCommand"; +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 { + DescribeAssociationExecutionsCommandInput, + DescribeAssociationExecutionsCommandOutput, +} from "../commands/DescribeAssociationExecutionsCommand"; +import { + DescribeAssociationExecutionTargetsCommandInput, + DescribeAssociationExecutionTargetsCommandOutput, +} from "../commands/DescribeAssociationExecutionTargetsCommand"; +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 { + DescribeInstancePatchesCommandInput, + DescribeInstancePatchesCommandOutput, +} from "../commands/DescribeInstancePatchesCommand"; +import { + DescribeInstancePatchStatesCommandInput, + DescribeInstancePatchStatesCommandOutput, +} from "../commands/DescribeInstancePatchStatesCommand"; +import { + DescribeInstancePatchStatesForPatchGroupCommandInput, + DescribeInstancePatchStatesForPatchGroupCommandOutput, +} from "../commands/DescribeInstancePatchStatesForPatchGroupCommand"; +import { + DescribeInventoryDeletionsCommandInput, + DescribeInventoryDeletionsCommandOutput, +} from "../commands/DescribeInventoryDeletionsCommand"; +import { + DescribeMaintenanceWindowExecutionsCommandInput, + DescribeMaintenanceWindowExecutionsCommandOutput, +} from "../commands/DescribeMaintenanceWindowExecutionsCommand"; +import { + DescribeMaintenanceWindowExecutionTaskInvocationsCommandInput, + DescribeMaintenanceWindowExecutionTaskInvocationsCommandOutput, +} from "../commands/DescribeMaintenanceWindowExecutionTaskInvocationsCommand"; +import { + DescribeMaintenanceWindowExecutionTasksCommandInput, + DescribeMaintenanceWindowExecutionTasksCommandOutput, +} from "../commands/DescribeMaintenanceWindowExecutionTasksCommand"; +import { + DescribeMaintenanceWindowScheduleCommandInput, + DescribeMaintenanceWindowScheduleCommandOutput, +} from "../commands/DescribeMaintenanceWindowScheduleCommand"; +import { + DescribeMaintenanceWindowsCommandInput, + DescribeMaintenanceWindowsCommandOutput, +} from "../commands/DescribeMaintenanceWindowsCommand"; +import { + DescribeMaintenanceWindowsForTargetCommandInput, + DescribeMaintenanceWindowsForTargetCommandOutput, +} from "../commands/DescribeMaintenanceWindowsForTargetCommand"; +import { + DescribeMaintenanceWindowTargetsCommandInput, + DescribeMaintenanceWindowTargetsCommandOutput, +} from "../commands/DescribeMaintenanceWindowTargetsCommand"; +import { + DescribeMaintenanceWindowTasksCommandInput, + DescribeMaintenanceWindowTasksCommandOutput, +} from "../commands/DescribeMaintenanceWindowTasksCommand"; +import { + DescribeOpsItemsCommandInput, + DescribeOpsItemsCommandOutput, +} from "../commands/DescribeOpsItemsCommand"; +import { + DescribeParametersCommandInput, + DescribeParametersCommandOutput, +} from "../commands/DescribeParametersCommand"; +import { + DescribePatchBaselinesCommandInput, + DescribePatchBaselinesCommandOutput, +} from "../commands/DescribePatchBaselinesCommand"; +import { + DescribePatchGroupsCommandInput, + DescribePatchGroupsCommandOutput, +} from "../commands/DescribePatchGroupsCommand"; +import { + DescribePatchGroupStateCommandInput, + DescribePatchGroupStateCommandOutput, +} from "../commands/DescribePatchGroupStateCommand"; +import { + DescribePatchPropertiesCommandInput, + DescribePatchPropertiesCommandOutput, +} from "../commands/DescribePatchPropertiesCommand"; +import { + DescribeSessionsCommandInput, + DescribeSessionsCommandOutput, +} from "../commands/DescribeSessionsCommand"; +import { + DisassociateOpsItemRelatedItemCommandInput, + DisassociateOpsItemRelatedItemCommandOutput, +} from "../commands/DisassociateOpsItemRelatedItemCommand"; +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 { + GetOpsMetadataCommandInput, + GetOpsMetadataCommandOutput, +} from "../commands/GetOpsMetadataCommand"; +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 { + GetResourcePoliciesCommandInput, + GetResourcePoliciesCommandOutput, +} from "../commands/GetResourcePoliciesCommand"; +import { + GetServiceSettingCommandInput, + GetServiceSettingCommandOutput, +} from "../commands/GetServiceSettingCommand"; +import { + LabelParameterVersionCommandInput, + LabelParameterVersionCommandOutput, +} from "../commands/LabelParameterVersionCommand"; +import { + ListAssociationsCommandInput, + ListAssociationsCommandOutput, +} from "../commands/ListAssociationsCommand"; +import { + ListAssociationVersionsCommandInput, + ListAssociationVersionsCommandOutput, +} from "../commands/ListAssociationVersionsCommand"; +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 { + ListDocumentMetadataHistoryCommandInput, + ListDocumentMetadataHistoryCommandOutput, +} from "../commands/ListDocumentMetadataHistoryCommand"; +import { + ListDocumentsCommandInput, + ListDocumentsCommandOutput, +} from "../commands/ListDocumentsCommand"; +import { + ListDocumentVersionsCommandInput, + ListDocumentVersionsCommandOutput, +} from "../commands/ListDocumentVersionsCommand"; +import { + ListInventoryEntriesCommandInput, + ListInventoryEntriesCommandOutput, +} from "../commands/ListInventoryEntriesCommand"; +import { + ListOpsItemEventsCommandInput, + ListOpsItemEventsCommandOutput, +} from "../commands/ListOpsItemEventsCommand"; +import { + ListOpsItemRelatedItemsCommandInput, + ListOpsItemRelatedItemsCommandOutput, +} from "../commands/ListOpsItemRelatedItemsCommand"; +import { + ListOpsMetadataCommandInput, + ListOpsMetadataCommandOutput, +} from "../commands/ListOpsMetadataCommand"; +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 { + PutResourcePolicyCommandInput, + PutResourcePolicyCommandOutput, +} from "../commands/PutResourcePolicyCommand"; +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 { + StartChangeRequestExecutionCommandInput, + StartChangeRequestExecutionCommandOutput, +} from "../commands/StartChangeRequestExecutionCommand"; +import { + StartSessionCommandInput, + StartSessionCommandOutput, +} from "../commands/StartSessionCommand"; +import { + StopAutomationExecutionCommandInput, + StopAutomationExecutionCommandOutput, +} from "../commands/StopAutomationExecutionCommand"; +import { + TerminateSessionCommandInput, + TerminateSessionCommandOutput, +} from "../commands/TerminateSessionCommand"; +import { + UnlabelParameterVersionCommandInput, + UnlabelParameterVersionCommandOutput, +} from "../commands/UnlabelParameterVersionCommand"; +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 { + UpdateDocumentMetadataCommandInput, + UpdateDocumentMetadataCommandOutput, +} from "../commands/UpdateDocumentMetadataCommand"; +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 { + UpdateOpsMetadataCommandInput, + UpdateOpsMetadataCommandOutput, +} from "../commands/UpdateOpsMetadataCommand"; +import { + UpdatePatchBaselineCommandInput, + UpdatePatchBaselineCommandOutput, +} from "../commands/UpdatePatchBaselineCommand"; +import { + UpdateResourceDataSyncCommandInput, + UpdateResourceDataSyncCommandOutput, +} from "../commands/UpdateResourceDataSyncCommand"; +import { + UpdateServiceSettingCommandInput, + UpdateServiceSettingCommandOutput, +} from "../commands/UpdateServiceSettingCommand"; +export declare const se_AddTagsToResourceCommand: ( + input: AddTagsToResourceCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_AssociateOpsItemRelatedItemCommand: ( + input: AssociateOpsItemRelatedItemCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_CancelCommandCommand: ( + input: CancelCommandCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_CancelMaintenanceWindowExecutionCommand: ( + input: CancelMaintenanceWindowExecutionCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_CreateActivationCommand: ( + input: CreateActivationCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_CreateAssociationCommand: ( + input: CreateAssociationCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_CreateAssociationBatchCommand: ( + input: CreateAssociationBatchCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_CreateDocumentCommand: ( + input: CreateDocumentCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_CreateMaintenanceWindowCommand: ( + input: CreateMaintenanceWindowCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_CreateOpsItemCommand: ( + input: CreateOpsItemCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_CreateOpsMetadataCommand: ( + input: CreateOpsMetadataCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_CreatePatchBaselineCommand: ( + input: CreatePatchBaselineCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_CreateResourceDataSyncCommand: ( + input: CreateResourceDataSyncCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_DeleteActivationCommand: ( + input: DeleteActivationCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_DeleteAssociationCommand: ( + input: DeleteAssociationCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_DeleteDocumentCommand: ( + input: DeleteDocumentCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_DeleteInventoryCommand: ( + input: DeleteInventoryCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_DeleteMaintenanceWindowCommand: ( + input: DeleteMaintenanceWindowCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_DeleteOpsItemCommand: ( + input: DeleteOpsItemCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_DeleteOpsMetadataCommand: ( + input: DeleteOpsMetadataCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_DeleteParameterCommand: ( + input: DeleteParameterCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_DeleteParametersCommand: ( + input: DeleteParametersCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_DeletePatchBaselineCommand: ( + input: DeletePatchBaselineCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_DeleteResourceDataSyncCommand: ( + input: DeleteResourceDataSyncCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_DeleteResourcePolicyCommand: ( + input: DeleteResourcePolicyCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_DeregisterManagedInstanceCommand: ( + input: DeregisterManagedInstanceCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_DeregisterPatchBaselineForPatchGroupCommand: ( + input: DeregisterPatchBaselineForPatchGroupCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_DeregisterTargetFromMaintenanceWindowCommand: ( + input: DeregisterTargetFromMaintenanceWindowCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_DeregisterTaskFromMaintenanceWindowCommand: ( + input: DeregisterTaskFromMaintenanceWindowCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_DescribeActivationsCommand: ( + input: DescribeActivationsCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_DescribeAssociationCommand: ( + input: DescribeAssociationCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_DescribeAssociationExecutionsCommand: ( + input: DescribeAssociationExecutionsCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_DescribeAssociationExecutionTargetsCommand: ( + input: DescribeAssociationExecutionTargetsCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_DescribeAutomationExecutionsCommand: ( + input: DescribeAutomationExecutionsCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_DescribeAutomationStepExecutionsCommand: ( + input: DescribeAutomationStepExecutionsCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_DescribeAvailablePatchesCommand: ( + input: DescribeAvailablePatchesCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_DescribeDocumentCommand: ( + input: DescribeDocumentCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_DescribeDocumentPermissionCommand: ( + input: DescribeDocumentPermissionCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_DescribeEffectiveInstanceAssociationsCommand: ( + input: DescribeEffectiveInstanceAssociationsCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_DescribeEffectivePatchesForPatchBaselineCommand: ( + input: DescribeEffectivePatchesForPatchBaselineCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_DescribeInstanceAssociationsStatusCommand: ( + input: DescribeInstanceAssociationsStatusCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_DescribeInstanceInformationCommand: ( + input: DescribeInstanceInformationCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_DescribeInstancePatchesCommand: ( + input: DescribeInstancePatchesCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_DescribeInstancePatchStatesCommand: ( + input: DescribeInstancePatchStatesCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_DescribeInstancePatchStatesForPatchGroupCommand: ( + input: DescribeInstancePatchStatesForPatchGroupCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_DescribeInventoryDeletionsCommand: ( + input: DescribeInventoryDeletionsCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_DescribeMaintenanceWindowExecutionsCommand: ( + input: DescribeMaintenanceWindowExecutionsCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_DescribeMaintenanceWindowExecutionTaskInvocationsCommand: ( + input: DescribeMaintenanceWindowExecutionTaskInvocationsCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_DescribeMaintenanceWindowExecutionTasksCommand: ( + input: DescribeMaintenanceWindowExecutionTasksCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_DescribeMaintenanceWindowsCommand: ( + input: DescribeMaintenanceWindowsCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_DescribeMaintenanceWindowScheduleCommand: ( + input: DescribeMaintenanceWindowScheduleCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_DescribeMaintenanceWindowsForTargetCommand: ( + input: DescribeMaintenanceWindowsForTargetCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_DescribeMaintenanceWindowTargetsCommand: ( + input: DescribeMaintenanceWindowTargetsCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_DescribeMaintenanceWindowTasksCommand: ( + input: DescribeMaintenanceWindowTasksCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_DescribeOpsItemsCommand: ( + input: DescribeOpsItemsCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_DescribeParametersCommand: ( + input: DescribeParametersCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_DescribePatchBaselinesCommand: ( + input: DescribePatchBaselinesCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_DescribePatchGroupsCommand: ( + input: DescribePatchGroupsCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_DescribePatchGroupStateCommand: ( + input: DescribePatchGroupStateCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_DescribePatchPropertiesCommand: ( + input: DescribePatchPropertiesCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_DescribeSessionsCommand: ( + input: DescribeSessionsCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_DisassociateOpsItemRelatedItemCommand: ( + input: DisassociateOpsItemRelatedItemCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_GetAutomationExecutionCommand: ( + input: GetAutomationExecutionCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_GetCalendarStateCommand: ( + input: GetCalendarStateCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_GetCommandInvocationCommand: ( + input: GetCommandInvocationCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_GetConnectionStatusCommand: ( + input: GetConnectionStatusCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_GetDefaultPatchBaselineCommand: ( + input: GetDefaultPatchBaselineCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_GetDeployablePatchSnapshotForInstanceCommand: ( + input: GetDeployablePatchSnapshotForInstanceCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_GetDocumentCommand: ( + input: GetDocumentCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_GetInventoryCommand: ( + input: GetInventoryCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_GetInventorySchemaCommand: ( + input: GetInventorySchemaCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_GetMaintenanceWindowCommand: ( + input: GetMaintenanceWindowCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_GetMaintenanceWindowExecutionCommand: ( + input: GetMaintenanceWindowExecutionCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_GetMaintenanceWindowExecutionTaskCommand: ( + input: GetMaintenanceWindowExecutionTaskCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_GetMaintenanceWindowExecutionTaskInvocationCommand: ( + input: GetMaintenanceWindowExecutionTaskInvocationCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_GetMaintenanceWindowTaskCommand: ( + input: GetMaintenanceWindowTaskCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_GetOpsItemCommand: ( + input: GetOpsItemCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_GetOpsMetadataCommand: ( + input: GetOpsMetadataCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_GetOpsSummaryCommand: ( + input: GetOpsSummaryCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_GetParameterCommand: ( + input: GetParameterCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_GetParameterHistoryCommand: ( + input: GetParameterHistoryCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_GetParametersCommand: ( + input: GetParametersCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_GetParametersByPathCommand: ( + input: GetParametersByPathCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_GetPatchBaselineCommand: ( + input: GetPatchBaselineCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_GetPatchBaselineForPatchGroupCommand: ( + input: GetPatchBaselineForPatchGroupCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_GetResourcePoliciesCommand: ( + input: GetResourcePoliciesCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_GetServiceSettingCommand: ( + input: GetServiceSettingCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_LabelParameterVersionCommand: ( + input: LabelParameterVersionCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_ListAssociationsCommand: ( + input: ListAssociationsCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_ListAssociationVersionsCommand: ( + input: ListAssociationVersionsCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_ListCommandInvocationsCommand: ( + input: ListCommandInvocationsCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_ListCommandsCommand: ( + input: ListCommandsCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_ListComplianceItemsCommand: ( + input: ListComplianceItemsCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_ListComplianceSummariesCommand: ( + input: ListComplianceSummariesCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_ListDocumentMetadataHistoryCommand: ( + input: ListDocumentMetadataHistoryCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_ListDocumentsCommand: ( + input: ListDocumentsCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_ListDocumentVersionsCommand: ( + input: ListDocumentVersionsCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_ListInventoryEntriesCommand: ( + input: ListInventoryEntriesCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_ListOpsItemEventsCommand: ( + input: ListOpsItemEventsCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_ListOpsItemRelatedItemsCommand: ( + input: ListOpsItemRelatedItemsCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_ListOpsMetadataCommand: ( + input: ListOpsMetadataCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_ListResourceComplianceSummariesCommand: ( + input: ListResourceComplianceSummariesCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_ListResourceDataSyncCommand: ( + input: ListResourceDataSyncCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_ListTagsForResourceCommand: ( + input: ListTagsForResourceCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_ModifyDocumentPermissionCommand: ( + input: ModifyDocumentPermissionCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_PutComplianceItemsCommand: ( + input: PutComplianceItemsCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_PutInventoryCommand: ( + input: PutInventoryCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_PutParameterCommand: ( + input: PutParameterCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_PutResourcePolicyCommand: ( + input: PutResourcePolicyCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_RegisterDefaultPatchBaselineCommand: ( + input: RegisterDefaultPatchBaselineCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_RegisterPatchBaselineForPatchGroupCommand: ( + input: RegisterPatchBaselineForPatchGroupCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_RegisterTargetWithMaintenanceWindowCommand: ( + input: RegisterTargetWithMaintenanceWindowCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_RegisterTaskWithMaintenanceWindowCommand: ( + input: RegisterTaskWithMaintenanceWindowCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_RemoveTagsFromResourceCommand: ( + input: RemoveTagsFromResourceCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_ResetServiceSettingCommand: ( + input: ResetServiceSettingCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_ResumeSessionCommand: ( + input: ResumeSessionCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_SendAutomationSignalCommand: ( + input: SendAutomationSignalCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_SendCommandCommand: ( + input: SendCommandCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_StartAssociationsOnceCommand: ( + input: StartAssociationsOnceCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_StartAutomationExecutionCommand: ( + input: StartAutomationExecutionCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_StartChangeRequestExecutionCommand: ( + input: StartChangeRequestExecutionCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_StartSessionCommand: ( + input: StartSessionCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_StopAutomationExecutionCommand: ( + input: StopAutomationExecutionCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_TerminateSessionCommand: ( + input: TerminateSessionCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_UnlabelParameterVersionCommand: ( + input: UnlabelParameterVersionCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_UpdateAssociationCommand: ( + input: UpdateAssociationCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_UpdateAssociationStatusCommand: ( + input: UpdateAssociationStatusCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_UpdateDocumentCommand: ( + input: UpdateDocumentCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_UpdateDocumentDefaultVersionCommand: ( + input: UpdateDocumentDefaultVersionCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_UpdateDocumentMetadataCommand: ( + input: UpdateDocumentMetadataCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_UpdateMaintenanceWindowCommand: ( + input: UpdateMaintenanceWindowCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_UpdateMaintenanceWindowTargetCommand: ( + input: UpdateMaintenanceWindowTargetCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_UpdateMaintenanceWindowTaskCommand: ( + input: UpdateMaintenanceWindowTaskCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_UpdateManagedInstanceRoleCommand: ( + input: UpdateManagedInstanceRoleCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_UpdateOpsItemCommand: ( + input: UpdateOpsItemCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_UpdateOpsMetadataCommand: ( + input: UpdateOpsMetadataCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_UpdatePatchBaselineCommand: ( + input: UpdatePatchBaselineCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_UpdateResourceDataSyncCommand: ( + input: UpdateResourceDataSyncCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const se_UpdateServiceSettingCommand: ( + input: UpdateServiceSettingCommandInput, + context: __SerdeContext +) => Promise<__HttpRequest>; +export declare const de_AddTagsToResourceCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_AssociateOpsItemRelatedItemCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_CancelCommandCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_CancelMaintenanceWindowExecutionCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_CreateActivationCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_CreateAssociationCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_CreateAssociationBatchCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_CreateDocumentCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_CreateMaintenanceWindowCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_CreateOpsItemCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_CreateOpsMetadataCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_CreatePatchBaselineCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_CreateResourceDataSyncCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_DeleteActivationCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_DeleteAssociationCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_DeleteDocumentCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_DeleteInventoryCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_DeleteMaintenanceWindowCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_DeleteOpsItemCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_DeleteOpsMetadataCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_DeleteParameterCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_DeleteParametersCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_DeletePatchBaselineCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_DeleteResourceDataSyncCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_DeleteResourcePolicyCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_DeregisterManagedInstanceCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_DeregisterPatchBaselineForPatchGroupCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_DeregisterTargetFromMaintenanceWindowCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_DeregisterTaskFromMaintenanceWindowCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_DescribeActivationsCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_DescribeAssociationCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_DescribeAssociationExecutionsCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_DescribeAssociationExecutionTargetsCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_DescribeAutomationExecutionsCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_DescribeAutomationStepExecutionsCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_DescribeAvailablePatchesCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_DescribeDocumentCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_DescribeDocumentPermissionCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_DescribeEffectiveInstanceAssociationsCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_DescribeEffectivePatchesForPatchBaselineCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_DescribeInstanceAssociationsStatusCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_DescribeInstanceInformationCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_DescribeInstancePatchesCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_DescribeInstancePatchStatesCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_DescribeInstancePatchStatesForPatchGroupCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_DescribeInventoryDeletionsCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_DescribeMaintenanceWindowExecutionsCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_DescribeMaintenanceWindowExecutionTaskInvocationsCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_DescribeMaintenanceWindowExecutionTasksCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_DescribeMaintenanceWindowsCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_DescribeMaintenanceWindowScheduleCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_DescribeMaintenanceWindowsForTargetCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_DescribeMaintenanceWindowTargetsCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_DescribeMaintenanceWindowTasksCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_DescribeOpsItemsCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_DescribeParametersCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_DescribePatchBaselinesCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_DescribePatchGroupsCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_DescribePatchGroupStateCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_DescribePatchPropertiesCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_DescribeSessionsCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_DisassociateOpsItemRelatedItemCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_GetAutomationExecutionCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_GetCalendarStateCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_GetCommandInvocationCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_GetConnectionStatusCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_GetDefaultPatchBaselineCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_GetDeployablePatchSnapshotForInstanceCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_GetDocumentCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_GetInventoryCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_GetInventorySchemaCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_GetMaintenanceWindowCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_GetMaintenanceWindowExecutionCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_GetMaintenanceWindowExecutionTaskCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_GetMaintenanceWindowExecutionTaskInvocationCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_GetMaintenanceWindowTaskCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_GetOpsItemCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_GetOpsMetadataCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_GetOpsSummaryCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_GetParameterCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_GetParameterHistoryCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_GetParametersCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_GetParametersByPathCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_GetPatchBaselineCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_GetPatchBaselineForPatchGroupCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_GetResourcePoliciesCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_GetServiceSettingCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_LabelParameterVersionCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_ListAssociationsCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_ListAssociationVersionsCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_ListCommandInvocationsCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_ListCommandsCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_ListComplianceItemsCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_ListComplianceSummariesCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_ListDocumentMetadataHistoryCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_ListDocumentsCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_ListDocumentVersionsCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_ListInventoryEntriesCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_ListOpsItemEventsCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_ListOpsItemRelatedItemsCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_ListOpsMetadataCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_ListResourceComplianceSummariesCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_ListResourceDataSyncCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_ListTagsForResourceCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_ModifyDocumentPermissionCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_PutComplianceItemsCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_PutInventoryCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_PutParameterCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_PutResourcePolicyCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_RegisterDefaultPatchBaselineCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_RegisterPatchBaselineForPatchGroupCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_RegisterTargetWithMaintenanceWindowCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_RegisterTaskWithMaintenanceWindowCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_RemoveTagsFromResourceCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_ResetServiceSettingCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_ResumeSessionCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_SendAutomationSignalCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_SendCommandCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_StartAssociationsOnceCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_StartAutomationExecutionCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_StartChangeRequestExecutionCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_StartSessionCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_StopAutomationExecutionCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_TerminateSessionCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_UnlabelParameterVersionCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_UpdateAssociationCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_UpdateAssociationStatusCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_UpdateDocumentCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_UpdateDocumentDefaultVersionCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_UpdateDocumentMetadataCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_UpdateMaintenanceWindowCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_UpdateMaintenanceWindowTargetCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_UpdateMaintenanceWindowTaskCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_UpdateManagedInstanceRoleCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_UpdateOpsItemCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_UpdateOpsMetadataCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_UpdatePatchBaselineCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_UpdateResourceDataSyncCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; +export declare const de_UpdateServiceSettingCommand: ( + output: __HttpResponse, + context: __SerdeContext +) => Promise; diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/runtimeConfig.browser.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.browser.d.ts similarity index 94% rename from node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/runtimeConfig.browser.d.ts rename to node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.browser.d.ts index 41454933..bfa8bece 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/runtimeConfig.browser.d.ts +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.browser.d.ts @@ -1,6 +1,6 @@ import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler"; -import { LambdaClientConfig } from "./LambdaClient"; -export declare const getRuntimeConfig: (config: LambdaClientConfig) => { +import { SSMClientConfig } from "./SSMClient"; +export declare const getRuntimeConfig: (config: SSMClientConfig) => { runtime: string; defaultsMode: import("@smithy/types").Provider< import("@smithy/smithy-client").ResolvedDefaultsMode @@ -12,7 +12,6 @@ export declare const getRuntimeConfig: (config: LambdaClientConfig) => { defaultUserAgentProvider: import("@smithy/types").Provider< import("@smithy/types").UserAgent >; - eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider; maxAttempts: number | import("@smithy/types").Provider; region: string | import("@smithy/types").Provider; requestHandler: diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/runtimeConfig.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.d.ts similarity index 94% rename from node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/runtimeConfig.d.ts rename to node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.d.ts index b35c8999..edc9b5a5 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/runtimeConfig.d.ts +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.d.ts @@ -1,6 +1,6 @@ import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler"; -import { LambdaClientConfig } from "./LambdaClient"; -export declare const getRuntimeConfig: (config: LambdaClientConfig) => { +import { SSMClientConfig } from "./SSMClient"; +export declare const getRuntimeConfig: (config: SSMClientConfig) => { runtime: string; defaultsMode: import("@smithy/types").Provider< import("@smithy/smithy-client").ResolvedDefaultsMode @@ -12,7 +12,6 @@ export declare const getRuntimeConfig: (config: LambdaClientConfig) => { defaultUserAgentProvider: import("@smithy/types").Provider< import("@smithy/types").UserAgent >; - eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider; maxAttempts: number | import("@smithy/types").Provider; region: string | import("@smithy/types").Provider; requestHandler: diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/runtimeConfig.native.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.native.d.ts similarity index 94% rename from node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/runtimeConfig.native.d.ts rename to node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.native.d.ts index 3c0d6752..a3c8cd54 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/runtimeConfig.native.d.ts +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.native.d.ts @@ -1,5 +1,5 @@ -import { LambdaClientConfig } from "./LambdaClient"; -export declare const getRuntimeConfig: (config: LambdaClientConfig) => { +import { SSMClientConfig } from "./SSMClient"; +export declare const getRuntimeConfig: (config: SSMClientConfig) => { runtime: string; sha256: import("@smithy/types").HashConstructor; requestHandler: @@ -40,7 +40,6 @@ export declare const getRuntimeConfig: (config: LambdaClientConfig) => { retryMode: string | import("@smithy/types").Provider; logger: import("@smithy/types").Logger; extensions: import("./runtimeExtensions").RuntimeExtension[]; - eventStreamSerdeProvider: import("@smithy/types").EventStreamSerdeProvider; defaultsMode: | import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider< diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/runtimeConfig.shared.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.shared.d.ts similarity index 83% rename from node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/runtimeConfig.shared.d.ts rename to node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.shared.d.ts index 8398b5af..4407c637 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/runtimeConfig.shared.d.ts +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeConfig.shared.d.ts @@ -1,5 +1,5 @@ -import { LambdaClientConfig } from "./LambdaClient"; -export declare const getRuntimeConfig: (config: LambdaClientConfig) => { +import { SSMClientConfig } from "./SSMClient"; +export declare const getRuntimeConfig: (config: SSMClientConfig) => { apiVersion: string; base64Decoder: import("@smithy/types").Decoder; base64Encoder: import("@smithy/types").Encoder; diff --git a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/runtimeExtensions.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeExtensions.d.ts similarity index 61% rename from node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/runtimeExtensions.d.ts rename to node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeExtensions.d.ts index f0583add..574770da 100644 --- a/node_modules/@aws-sdk/client-lambda/dist-types/ts3.4/runtimeExtensions.d.ts +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/runtimeExtensions.d.ts @@ -1,6 +1,6 @@ -import { LambdaExtensionConfiguration } from "./extensionConfiguration"; +import { SSMExtensionConfiguration } from "./extensionConfiguration"; export interface RuntimeExtension { - configure(extensionConfiguration: LambdaExtensionConfiguration): void; + configure(extensionConfiguration: SSMExtensionConfiguration): void; } export interface RuntimeExtensionsConfig { extensions: RuntimeExtension[]; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/waiters/index.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/waiters/index.d.ts new file mode 100644 index 00000000..88427106 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/waiters/index.d.ts @@ -0,0 +1 @@ +export * from "./waitForCommandExecuted"; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/waiters/waitForCommandExecuted.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/waiters/waitForCommandExecuted.d.ts new file mode 100644 index 00000000..ef9a81f8 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/ts3.4/waiters/waitForCommandExecuted.d.ts @@ -0,0 +1,11 @@ +import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter"; +import { GetCommandInvocationCommandInput } from "../commands/GetCommandInvocationCommand"; +import { SSMClient } from "../SSMClient"; +export declare const waitForCommandExecuted: ( + params: WaiterConfiguration, + input: GetCommandInvocationCommandInput +) => Promise; +export declare const waitUntilCommandExecuted: ( + params: WaiterConfiguration, + input: GetCommandInvocationCommandInput +) => Promise; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/waiters/index.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/waiters/index.d.ts new file mode 100644 index 00000000..88427106 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/waiters/index.d.ts @@ -0,0 +1 @@ +export * from "./waitForCommandExecuted"; diff --git a/node_modules/@aws-sdk/client-ssm/dist-types/waiters/waitForCommandExecuted.d.ts b/node_modules/@aws-sdk/client-ssm/dist-types/waiters/waitForCommandExecuted.d.ts new file mode 100644 index 00000000..47475384 --- /dev/null +++ b/node_modules/@aws-sdk/client-ssm/dist-types/waiters/waitForCommandExecuted.d.ts @@ -0,0 +1,14 @@ +import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter"; +import { GetCommandInvocationCommandInput } from "../commands/GetCommandInvocationCommand"; +import { SSMClient } from "../SSMClient"; +/** + * + * @deprecated Use waitUntilCommandExecuted instead. waitForCommandExecuted does not throw error in non-success cases. + */ +export declare const waitForCommandExecuted: (params: WaiterConfiguration, input: GetCommandInvocationCommandInput) => Promise; +/** + * + * @param params - Waiter configuration options. + * @param input - The input to GetCommandInvocationCommand for polling. + */ +export declare const waitUntilCommandExecuted: (params: WaiterConfiguration, input: GetCommandInvocationCommandInput) => Promise; diff --git a/node_modules/@aws-sdk/client-lambda/package.json b/node_modules/@aws-sdk/client-ssm/package.json similarity index 88% rename from node_modules/@aws-sdk/client-lambda/package.json rename to node_modules/@aws-sdk/client-ssm/package.json index 3e028fab..440bcbd4 100644 --- a/node_modules/@aws-sdk/client-lambda/package.json +++ b/node_modules/@aws-sdk/client-ssm/package.json @@ -1,6 +1,6 @@ { - "name": "@aws-sdk/client-lambda", - "description": "AWS SDK for JavaScript Lambda Client for Node.js, Browser and React Native", + "name": "@aws-sdk/client-ssm", + "description": "AWS SDK for JavaScript Ssm Client for Node.js, Browser and React Native", "version": "3.454.0", "scripts": { "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'", @@ -12,7 +12,7 @@ "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo", "extract:docs": "api-extractor run --local", - "generate:client": "node ../../scripts/generate-clients/single-service --solo lambda" + "generate:client": "node ../../scripts/generate-clients/single-service --solo ssm" }, "main": "./dist-cjs/index.js", "types": "./dist-types/index.d.ts", @@ -35,9 +35,6 @@ "@aws-sdk/util-user-agent-browser": "3.451.0", "@aws-sdk/util-user-agent-node": "3.451.0", "@smithy/config-resolver": "^2.0.18", - "@smithy/eventstream-serde-browser": "^2.0.13", - "@smithy/eventstream-serde-config-resolver": "^2.0.13", - "@smithy/eventstream-serde-node": "^2.0.13", "@smithy/fetch-http-handler": "^2.2.6", "@smithy/hash-node": "^2.0.15", "@smithy/invalid-dependency": "^2.0.13", @@ -59,15 +56,16 @@ "@smithy/util-defaults-mode-node": "^2.0.25", "@smithy/util-endpoints": "^1.0.4", "@smithy/util-retry": "^2.0.6", - "@smithy/util-stream": "^2.0.20", "@smithy/util-utf8": "^2.0.2", "@smithy/util-waiter": "^2.0.13", - "tslib": "^2.5.0" + "tslib": "^2.5.0", + "uuid": "^8.3.2" }, "devDependencies": { "@smithy/service-client-documentation-generator": "^2.0.0", "@tsconfig/node14": "1.0.3", "@types/node": "^14.14.31", + "@types/uuid": "^8.3.0", "concurrently": "7.0.0", "downlevel-dts": "0.10.1", "rimraf": "3.0.2", @@ -98,10 +96,10 @@ "react-native": { "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native" }, - "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-lambda", + "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-ssm", "repository": { "type": "git", "url": "https://github.com/aws/aws-sdk-js-v3.git", - "directory": "clients/client-lambda" + "directory": "clients/client-ssm" } } diff --git a/node_modules/@smithy/eventstream-serde-browser/LICENSE b/node_modules/@smithy/eventstream-serde-browser/LICENSE deleted file mode 100644 index e907b586..00000000 --- a/node_modules/@smithy/eventstream-serde-browser/LICENSE +++ /dev/null @@ -1,201 +0,0 @@ - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. diff --git a/node_modules/@smithy/eventstream-serde-browser/README.md b/node_modules/@smithy/eventstream-serde-browser/README.md deleted file mode 100644 index 86830b1a..00000000 --- a/node_modules/@smithy/eventstream-serde-browser/README.md +++ /dev/null @@ -1,10 +0,0 @@ -# @smithy/eventstream-serde-browser - -[![NPM version](https://img.shields.io/npm/v/@smithy/eventstream-serde-browser/latest.svg)](https://www.npmjs.com/package/@smithy/eventstream-serde-browser) -[![NPM downloads](https://img.shields.io/npm/dm/@smithy/eventstream-serde-browser.svg)](https://www.npmjs.com/package/@smithy/eventstream-serde-browser) - -> An internal package - -## Usage - -You probably shouldn't, at least directly. diff --git a/node_modules/@smithy/eventstream-serde-browser/dist-cjs/EventStreamMarshaller.js b/node_modules/@smithy/eventstream-serde-browser/dist-cjs/EventStreamMarshaller.js deleted file mode 100644 index 21d8f244..00000000 --- a/node_modules/@smithy/eventstream-serde-browser/dist-cjs/EventStreamMarshaller.js +++ /dev/null @@ -1,23 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.EventStreamMarshaller = void 0; -const eventstream_serde_universal_1 = require("@smithy/eventstream-serde-universal"); -const utils_1 = require("./utils"); -class EventStreamMarshaller { - constructor({ utf8Encoder, utf8Decoder }) { - this.universalMarshaller = new eventstream_serde_universal_1.EventStreamMarshaller({ - utf8Decoder, - utf8Encoder, - }); - } - deserialize(body, deserializer) { - const bodyIterable = isReadableStream(body) ? (0, utils_1.readableStreamtoIterable)(body) : body; - return this.universalMarshaller.deserialize(bodyIterable, deserializer); - } - serialize(input, serializer) { - const serialziedIterable = this.universalMarshaller.serialize(input, serializer); - return typeof ReadableStream === "function" ? (0, utils_1.iterableToReadableStream)(serialziedIterable) : serialziedIterable; - } -} -exports.EventStreamMarshaller = EventStreamMarshaller; -const isReadableStream = (body) => typeof ReadableStream === "function" && body instanceof ReadableStream; diff --git a/node_modules/@smithy/eventstream-serde-browser/dist-cjs/index.js b/node_modules/@smithy/eventstream-serde-browser/dist-cjs/index.js deleted file mode 100644 index aeb68e1b..00000000 --- a/node_modules/@smithy/eventstream-serde-browser/dist-cjs/index.js +++ /dev/null @@ -1,6 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const tslib_1 = require("tslib"); -tslib_1.__exportStar(require("./EventStreamMarshaller"), exports); -tslib_1.__exportStar(require("./provider"), exports); -tslib_1.__exportStar(require("./utils"), exports); diff --git a/node_modules/@smithy/eventstream-serde-browser/dist-cjs/provider.js b/node_modules/@smithy/eventstream-serde-browser/dist-cjs/provider.js deleted file mode 100644 index 86765412..00000000 --- a/node_modules/@smithy/eventstream-serde-browser/dist-cjs/provider.js +++ /dev/null @@ -1,6 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.eventStreamSerdeProvider = void 0; -const EventStreamMarshaller_1 = require("./EventStreamMarshaller"); -const eventStreamSerdeProvider = (options) => new EventStreamMarshaller_1.EventStreamMarshaller(options); -exports.eventStreamSerdeProvider = eventStreamSerdeProvider; diff --git a/node_modules/@smithy/eventstream-serde-browser/dist-cjs/utils.js b/node_modules/@smithy/eventstream-serde-browser/dist-cjs/utils.js deleted file mode 100644 index f427816d..00000000 --- a/node_modules/@smithy/eventstream-serde-browser/dist-cjs/utils.js +++ /dev/null @@ -1,33 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.iterableToReadableStream = exports.readableStreamtoIterable = void 0; -const readableStreamtoIterable = (readableStream) => ({ - [Symbol.asyncIterator]: async function* () { - const reader = readableStream.getReader(); - try { - while (true) { - const { done, value } = await reader.read(); - if (done) - return; - yield value; - } - } - finally { - reader.releaseLock(); - } - }, -}); -exports.readableStreamtoIterable = readableStreamtoIterable; -const iterableToReadableStream = (asyncIterable) => { - const iterator = asyncIterable[Symbol.asyncIterator](); - return new ReadableStream({ - async pull(controller) { - const { done, value } = await iterator.next(); - if (done) { - return controller.close(); - } - controller.enqueue(value); - }, - }); -}; -exports.iterableToReadableStream = iterableToReadableStream; diff --git a/node_modules/@smithy/eventstream-serde-browser/dist-es/EventStreamMarshaller.js b/node_modules/@smithy/eventstream-serde-browser/dist-es/EventStreamMarshaller.js deleted file mode 100644 index 2bf65d88..00000000 --- a/node_modules/@smithy/eventstream-serde-browser/dist-es/EventStreamMarshaller.js +++ /dev/null @@ -1,19 +0,0 @@ -import { EventStreamMarshaller as UniversalEventStreamMarshaller } from "@smithy/eventstream-serde-universal"; -import { iterableToReadableStream, readableStreamtoIterable } from "./utils"; -export class EventStreamMarshaller { - constructor({ utf8Encoder, utf8Decoder }) { - this.universalMarshaller = new UniversalEventStreamMarshaller({ - utf8Decoder, - utf8Encoder, - }); - } - deserialize(body, deserializer) { - const bodyIterable = isReadableStream(body) ? readableStreamtoIterable(body) : body; - return this.universalMarshaller.deserialize(bodyIterable, deserializer); - } - serialize(input, serializer) { - const serialziedIterable = this.universalMarshaller.serialize(input, serializer); - return typeof ReadableStream === "function" ? iterableToReadableStream(serialziedIterable) : serialziedIterable; - } -} -const isReadableStream = (body) => typeof ReadableStream === "function" && body instanceof ReadableStream; diff --git a/node_modules/@smithy/eventstream-serde-browser/dist-es/index.js b/node_modules/@smithy/eventstream-serde-browser/dist-es/index.js deleted file mode 100644 index f05a6fb0..00000000 --- a/node_modules/@smithy/eventstream-serde-browser/dist-es/index.js +++ /dev/null @@ -1,3 +0,0 @@ -export * from "./EventStreamMarshaller"; -export * from "./provider"; -export * from "./utils"; diff --git a/node_modules/@smithy/eventstream-serde-browser/dist-es/provider.js b/node_modules/@smithy/eventstream-serde-browser/dist-es/provider.js deleted file mode 100644 index b71c3f0e..00000000 --- a/node_modules/@smithy/eventstream-serde-browser/dist-es/provider.js +++ /dev/null @@ -1,2 +0,0 @@ -import { EventStreamMarshaller } from "./EventStreamMarshaller"; -export const eventStreamSerdeProvider = (options) => new EventStreamMarshaller(options); diff --git a/node_modules/@smithy/eventstream-serde-browser/dist-es/utils.js b/node_modules/@smithy/eventstream-serde-browser/dist-es/utils.js deleted file mode 100644 index 8f0376f7..00000000 --- a/node_modules/@smithy/eventstream-serde-browser/dist-es/utils.js +++ /dev/null @@ -1,28 +0,0 @@ -export const readableStreamtoIterable = (readableStream) => ({ - [Symbol.asyncIterator]: async function* () { - const reader = readableStream.getReader(); - try { - while (true) { - const { done, value } = await reader.read(); - if (done) - return; - yield value; - } - } - finally { - reader.releaseLock(); - } - }, -}); -export const iterableToReadableStream = (asyncIterable) => { - const iterator = asyncIterable[Symbol.asyncIterator](); - return new ReadableStream({ - async pull(controller) { - const { done, value } = await iterator.next(); - if (done) { - return controller.close(); - } - controller.enqueue(value); - }, - }); -}; diff --git a/node_modules/@smithy/eventstream-serde-browser/dist-types/EventStreamMarshaller.d.ts b/node_modules/@smithy/eventstream-serde-browser/dist-types/EventStreamMarshaller.d.ts deleted file mode 100644 index c5448876..00000000 --- a/node_modules/@smithy/eventstream-serde-browser/dist-types/EventStreamMarshaller.d.ts +++ /dev/null @@ -1,47 +0,0 @@ -import { Decoder, Encoder, EventStreamMarshaller as IEventStreamMarshaller, Message } from "@smithy/types"; -/** - * @internal - */ -export interface EventStreamMarshaller extends IEventStreamMarshaller { -} -/** - * @internal - */ -export interface EventStreamMarshallerOptions { - utf8Encoder: Encoder; - utf8Decoder: Decoder; -} -/** - * @internal - * - * Utility class used to serialize and deserialize event streams in - * browsers and ReactNative. - * - * In browsers where ReadableStream API is available: - * * deserialize from ReadableStream to an async iterable of output structure - * * serialize from async iterable of input structure to ReadableStream - * In ReactNative where only async iterable API is available: - * * deserialize from async iterable of binaries to async iterable of output structure - * * serialize from async iterable of input structure to async iterable of binaries - * - * We use ReadableStream API in browsers because of the consistency with other - * streaming operations, where ReadableStream API is used to denote streaming data. - * Whereas in ReactNative, ReadableStream API is not available, we use async iterable - * for streaming data although it has lower throughput. - */ -export declare class EventStreamMarshaller { - private readonly universalMarshaller; - constructor({ utf8Encoder, utf8Decoder }: EventStreamMarshallerOptions); - deserialize(body: ReadableStream | AsyncIterable, deserializer: (input: Record) => Promise): AsyncIterable; - /** - * Generate a stream that serialize events into stream of binary chunks; - * - * Caveat is that streaming request payload doesn't work on browser with native - * xhr or fetch handler currently because they don't support upload streaming. - * reference: - * * https://bugs.chromium.org/p/chromium/issues/detail?id=688906 - * * https://bugzilla.mozilla.org/show_bug.cgi?id=1387483 - * - */ - serialize(input: AsyncIterable, serializer: (event: T) => Message): ReadableStream | AsyncIterable; -} diff --git a/node_modules/@smithy/eventstream-serde-browser/dist-types/index.d.ts b/node_modules/@smithy/eventstream-serde-browser/dist-types/index.d.ts deleted file mode 100644 index 2fb476ea..00000000 --- a/node_modules/@smithy/eventstream-serde-browser/dist-types/index.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -/** - * @internal - */ -export * from "./EventStreamMarshaller"; -/** - * @internal - */ -export * from "./provider"; -/** - * @internal - */ -export * from "./utils"; diff --git a/node_modules/@smithy/eventstream-serde-browser/dist-types/provider.d.ts b/node_modules/@smithy/eventstream-serde-browser/dist-types/provider.d.ts deleted file mode 100644 index d5dca09e..00000000 --- a/node_modules/@smithy/eventstream-serde-browser/dist-types/provider.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { EventStreamSerdeProvider } from "@smithy/types"; -/** browser event stream serde utils provider */ -export declare const eventStreamSerdeProvider: EventStreamSerdeProvider; diff --git a/node_modules/@smithy/eventstream-serde-browser/dist-types/ts3.4/EventStreamMarshaller.d.ts b/node_modules/@smithy/eventstream-serde-browser/dist-types/ts3.4/EventStreamMarshaller.d.ts deleted file mode 100644 index ec0481d3..00000000 --- a/node_modules/@smithy/eventstream-serde-browser/dist-types/ts3.4/EventStreamMarshaller.d.ts +++ /dev/null @@ -1,47 +0,0 @@ -import { Decoder, Encoder, EventStreamMarshaller as IEventStreamMarshaller, Message } from "@smithy/types"; -/** - * @internal - */ -export interface EventStreamMarshaller extends IEventStreamMarshaller { -} -/** - * @internal - */ -export interface EventStreamMarshallerOptions { - utf8Encoder: Encoder; - utf8Decoder: Decoder; -} -/** - * @internal - * - * Utility class used to serialize and deserialize event streams in - * browsers and ReactNative. - * - * In browsers where ReadableStream API is available: - * * deserialize from ReadableStream to an async iterable of output structure - * * serialize from async iterable of input structure to ReadableStream - * In ReactNative where only async iterable API is available: - * * deserialize from async iterable of binaries to async iterable of output structure - * * serialize from async iterable of input structure to async iterable of binaries - * - * We use ReadableStream API in browsers because of the consistency with other - * streaming operations, where ReadableStream API is used to denote streaming data. - * Whereas in ReactNative, ReadableStream API is not available, we use async iterable - * for streaming data although it has lower throughput. - */ -export declare class EventStreamMarshaller { - private readonly universalMarshaller; - constructor({ utf8Encoder, utf8Decoder }: EventStreamMarshallerOptions); - deserialize(body: ReadableStream | AsyncIterable, deserializer: (input: Record) => Promise): AsyncIterable; - /** - * Generate a stream that serialize events into stream of binary chunks; - * - * Caveat is that streaming request payload doesn't work on browser with native - * xhr or fetch handler currently because they don't support upload streaming. - * reference: - * * https://bugs.chromium.org/p/chromium/issues/detail?id=688906 - * * https://bugzilla.mozilla.org/show_bug.cgi?id=1387483 - * - */ - serialize(input: AsyncIterable, serializer: (event: T) => Message): ReadableStream | AsyncIterable; -} diff --git a/node_modules/@smithy/eventstream-serde-browser/dist-types/ts3.4/index.d.ts b/node_modules/@smithy/eventstream-serde-browser/dist-types/ts3.4/index.d.ts deleted file mode 100644 index 8931756e..00000000 --- a/node_modules/@smithy/eventstream-serde-browser/dist-types/ts3.4/index.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -/** - * @internal - */ -export * from "./EventStreamMarshaller"; -/** - * @internal - */ -export * from "./provider"; -/** - * @internal - */ -export * from "./utils"; diff --git a/node_modules/@smithy/eventstream-serde-browser/dist-types/ts3.4/provider.d.ts b/node_modules/@smithy/eventstream-serde-browser/dist-types/ts3.4/provider.d.ts deleted file mode 100644 index c051e0de..00000000 --- a/node_modules/@smithy/eventstream-serde-browser/dist-types/ts3.4/provider.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { EventStreamSerdeProvider } from "@smithy/types"; -/** browser event stream serde utils provider */ -export declare const eventStreamSerdeProvider: EventStreamSerdeProvider; diff --git a/node_modules/@smithy/eventstream-serde-browser/dist-types/ts3.4/utils.d.ts b/node_modules/@smithy/eventstream-serde-browser/dist-types/ts3.4/utils.d.ts deleted file mode 100644 index 3007e1b5..00000000 --- a/node_modules/@smithy/eventstream-serde-browser/dist-types/ts3.4/utils.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -/** - * @internal - * - * A util function converting ReadableStream into an async iterable. - * Reference: https://jakearchibald.com/2017/async-iterators-and-generators/#making-streams-iterate - */ -export declare const readableStreamtoIterable: (readableStream: ReadableStream) => AsyncIterable; -/** - * @internal - * - * A util function converting async iterable to a ReadableStream. - */ -export declare const iterableToReadableStream: (asyncIterable: AsyncIterable) => ReadableStream; diff --git a/node_modules/@smithy/eventstream-serde-browser/dist-types/utils.d.ts b/node_modules/@smithy/eventstream-serde-browser/dist-types/utils.d.ts deleted file mode 100644 index 2718fca3..00000000 --- a/node_modules/@smithy/eventstream-serde-browser/dist-types/utils.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -/** - * @internal - * - * A util function converting ReadableStream into an async iterable. - * Reference: https://jakearchibald.com/2017/async-iterators-and-generators/#making-streams-iterate - */ -export declare const readableStreamtoIterable: (readableStream: ReadableStream) => AsyncIterable; -/** - * @internal - * - * A util function converting async iterable to a ReadableStream. - */ -export declare const iterableToReadableStream: (asyncIterable: AsyncIterable) => ReadableStream; diff --git a/node_modules/@smithy/eventstream-serde-browser/package.json b/node_modules/@smithy/eventstream-serde-browser/package.json deleted file mode 100644 index d42475d1..00000000 --- a/node_modules/@smithy/eventstream-serde-browser/package.json +++ /dev/null @@ -1,61 +0,0 @@ -{ - "name": "@smithy/eventstream-serde-browser", - "version": "2.0.14", - "scripts": { - "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'", - "build:cjs": "yarn g:tsc -p tsconfig.cjs.json", - "build:es": "yarn g:tsc -p tsconfig.es.json", - "build:types": "yarn g:tsc -p tsconfig.types.json", - "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", - "stage-release": "rimraf ./.release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz", - "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo", - "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"", - "format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"", - "test": "exit 0" - }, - "main": "./dist-cjs/index.js", - "module": "./dist-es/index.js", - "types": "./dist-types/index.d.ts", - "author": { - "name": "AWS SDK for JavaScript Team", - "url": "https://aws.amazon.com/javascript/" - }, - "license": "Apache-2.0", - "dependencies": { - "@smithy/eventstream-serde-universal": "^2.0.14", - "@smithy/types": "^2.6.0", - "tslib": "^2.5.0" - }, - "engines": { - "node": ">=14.0.0" - }, - "typesVersions": { - "<4.0": { - "dist-types/*": [ - "dist-types/ts3.4/*" - ] - } - }, - "files": [ - "dist-*/**" - ], - "homepage": "https://github.com/awslabs/smithy-typescript/tree/main/packages/eventstream-serde-browser", - "repository": { - "type": "git", - "url": "https://github.com/awslabs/smithy-typescript.git", - "directory": "packages/eventstream-serde-browser" - }, - "devDependencies": { - "@tsconfig/recommended": "1.0.1", - "concurrently": "7.0.0", - "downlevel-dts": "0.10.1", - "rimraf": "3.0.2", - "typedoc": "0.23.23" - }, - "typedoc": { - "entryPoint": "src/index.ts" - }, - "publishConfig": { - "directory": ".release/package" - } -} \ No newline at end of file diff --git a/node_modules/@smithy/eventstream-serde-config-resolver/LICENSE b/node_modules/@smithy/eventstream-serde-config-resolver/LICENSE deleted file mode 100644 index e907b586..00000000 --- a/node_modules/@smithy/eventstream-serde-config-resolver/LICENSE +++ /dev/null @@ -1,201 +0,0 @@ - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. diff --git a/node_modules/@smithy/eventstream-serde-config-resolver/README.md b/node_modules/@smithy/eventstream-serde-config-resolver/README.md deleted file mode 100644 index 6539fe1b..00000000 --- a/node_modules/@smithy/eventstream-serde-config-resolver/README.md +++ /dev/null @@ -1,10 +0,0 @@ -# @smithy/eventstream-serde-config-resolver - -[![NPM version](https://img.shields.io/npm/v/@smithy/eventstream-serde-config-resolver/latest.svg)](https://www.npmjs.com/package/@smithy/eventstream-serde-config-resolver) -[![NPM downloads](https://img.shields.io/npm/dm/@smithy/eventstream-serde-config-resolver.svg)](https://www.npmjs.com/package/@smithy/eventstream-serde-config-resolver) - -> An internal package - -## Usage - -You probably shouldn't, at least directly. diff --git a/node_modules/@smithy/eventstream-serde-config-resolver/dist-cjs/EventStreamSerdeConfig.js b/node_modules/@smithy/eventstream-serde-config-resolver/dist-cjs/EventStreamSerdeConfig.js deleted file mode 100644 index e04f389b..00000000 --- a/node_modules/@smithy/eventstream-serde-config-resolver/dist-cjs/EventStreamSerdeConfig.js +++ /dev/null @@ -1,8 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.resolveEventStreamSerdeConfig = void 0; -const resolveEventStreamSerdeConfig = (input) => ({ - ...input, - eventStreamMarshaller: input.eventStreamSerdeProvider(input), -}); -exports.resolveEventStreamSerdeConfig = resolveEventStreamSerdeConfig; diff --git a/node_modules/@smithy/eventstream-serde-config-resolver/dist-es/EventStreamSerdeConfig.js b/node_modules/@smithy/eventstream-serde-config-resolver/dist-es/EventStreamSerdeConfig.js deleted file mode 100644 index 8907394e..00000000 --- a/node_modules/@smithy/eventstream-serde-config-resolver/dist-es/EventStreamSerdeConfig.js +++ /dev/null @@ -1,4 +0,0 @@ -export const resolveEventStreamSerdeConfig = (input) => ({ - ...input, - eventStreamMarshaller: input.eventStreamSerdeProvider(input), -}); diff --git a/node_modules/@smithy/eventstream-serde-config-resolver/dist-es/index.js b/node_modules/@smithy/eventstream-serde-config-resolver/dist-es/index.js deleted file mode 100644 index 515a9c61..00000000 --- a/node_modules/@smithy/eventstream-serde-config-resolver/dist-es/index.js +++ /dev/null @@ -1 +0,0 @@ -export * from "./EventStreamSerdeConfig"; diff --git a/node_modules/@smithy/eventstream-serde-config-resolver/dist-types/EventStreamSerdeConfig.d.ts b/node_modules/@smithy/eventstream-serde-config-resolver/dist-types/EventStreamSerdeConfig.d.ts deleted file mode 100644 index b348a66d..00000000 --- a/node_modules/@smithy/eventstream-serde-config-resolver/dist-types/EventStreamSerdeConfig.d.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { EventStreamMarshaller, EventStreamSerdeProvider } from "@smithy/types"; -/** - * @public - */ -export interface EventStreamSerdeInputConfig { -} -/** - * @internal - */ -export interface EventStreamSerdeResolvedConfig { - eventStreamMarshaller: EventStreamMarshaller; -} -interface PreviouslyResolved { - /** - * Provide the event stream marshaller for the given runtime - * @internal - */ - eventStreamSerdeProvider: EventStreamSerdeProvider; -} -/** - * @internal - */ -export declare const resolveEventStreamSerdeConfig: (input: T & PreviouslyResolved & EventStreamSerdeInputConfig) => T & EventStreamSerdeResolvedConfig; -export {}; diff --git a/node_modules/@smithy/eventstream-serde-config-resolver/dist-types/index.d.ts b/node_modules/@smithy/eventstream-serde-config-resolver/dist-types/index.d.ts deleted file mode 100644 index 49ec397c..00000000 --- a/node_modules/@smithy/eventstream-serde-config-resolver/dist-types/index.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -/** - * @internal - */ -export * from "./EventStreamSerdeConfig"; diff --git a/node_modules/@smithy/eventstream-serde-config-resolver/dist-types/ts3.4/EventStreamSerdeConfig.d.ts b/node_modules/@smithy/eventstream-serde-config-resolver/dist-types/ts3.4/EventStreamSerdeConfig.d.ts deleted file mode 100644 index b14dd225..00000000 --- a/node_modules/@smithy/eventstream-serde-config-resolver/dist-types/ts3.4/EventStreamSerdeConfig.d.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { EventStreamMarshaller, EventStreamSerdeProvider } from "@smithy/types"; -/** - * @public - */ -export interface EventStreamSerdeInputConfig { -} -/** - * @internal - */ -export interface EventStreamSerdeResolvedConfig { - eventStreamMarshaller: EventStreamMarshaller; -} -interface PreviouslyResolved { - /** - * Provide the event stream marshaller for the given runtime - * @internal - */ - eventStreamSerdeProvider: EventStreamSerdeProvider; -} -/** - * @internal - */ -export declare const resolveEventStreamSerdeConfig: (input: T & PreviouslyResolved & EventStreamSerdeInputConfig) => T & EventStreamSerdeResolvedConfig; -export {}; diff --git a/node_modules/@smithy/eventstream-serde-config-resolver/dist-types/ts3.4/index.d.ts b/node_modules/@smithy/eventstream-serde-config-resolver/dist-types/ts3.4/index.d.ts deleted file mode 100644 index 6ec9b4e2..00000000 --- a/node_modules/@smithy/eventstream-serde-config-resolver/dist-types/ts3.4/index.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -/** - * @internal - */ -export * from "./EventStreamSerdeConfig"; diff --git a/node_modules/@smithy/eventstream-serde-config-resolver/package.json b/node_modules/@smithy/eventstream-serde-config-resolver/package.json deleted file mode 100644 index 3b99562c..00000000 --- a/node_modules/@smithy/eventstream-serde-config-resolver/package.json +++ /dev/null @@ -1,61 +0,0 @@ -{ - "name": "@smithy/eventstream-serde-config-resolver", - "version": "2.0.14", - "scripts": { - "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'", - "build:cjs": "yarn g:tsc -p tsconfig.cjs.json", - "build:es": "yarn g:tsc -p tsconfig.es.json", - "build:types": "yarn g:tsc -p tsconfig.types.json", - "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", - "stage-release": "rimraf ./.release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz", - "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo", - "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"", - "format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"", - "test": "yarn g:jest", - "extract:docs": "api-extractor run --local" - }, - "main": "./dist-cjs/index.js", - "module": "./dist-es/index.js", - "types": "./dist-types/index.d.ts", - "author": { - "name": "AWS SDK for JavaScript Team", - "url": "https://aws.amazon.com/javascript/" - }, - "license": "Apache-2.0", - "dependencies": { - "@smithy/types": "^2.6.0", - "tslib": "^2.5.0" - }, - "engines": { - "node": ">=14.0.0" - }, - "typesVersions": { - "<4.0": { - "dist-types/*": [ - "dist-types/ts3.4/*" - ] - } - }, - "files": [ - "dist-*/**" - ], - "homepage": "https://github.com/awslabs/smithy-typescript/tree/main/packages/eventstream-serde-config-resolver", - "repository": { - "type": "git", - "url": "https://github.com/awslabs/smithy-typescript.git", - "directory": "packages/eventstream-serde-config-resolver" - }, - "devDependencies": { - "@tsconfig/recommended": "1.0.1", - "concurrently": "7.0.0", - "downlevel-dts": "0.10.1", - "rimraf": "3.0.2", - "typedoc": "0.23.23" - }, - "typedoc": { - "entryPoint": "src/index.ts" - }, - "publishConfig": { - "directory": ".release/package" - } -} \ No newline at end of file diff --git a/node_modules/@smithy/eventstream-serde-node/LICENSE b/node_modules/@smithy/eventstream-serde-node/LICENSE deleted file mode 100644 index e907b586..00000000 --- a/node_modules/@smithy/eventstream-serde-node/LICENSE +++ /dev/null @@ -1,201 +0,0 @@ - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. diff --git a/node_modules/@smithy/eventstream-serde-node/README.md b/node_modules/@smithy/eventstream-serde-node/README.md deleted file mode 100644 index f1f8db95..00000000 --- a/node_modules/@smithy/eventstream-serde-node/README.md +++ /dev/null @@ -1,10 +0,0 @@ -# @smithy/eventstream-serde-node - -[![NPM version](https://img.shields.io/npm/v/@smithy/eventstream-serde-node/latest.svg)](https://www.npmjs.com/package/@smithy/eventstream-serde-node) -[![NPM downloads](https://img.shields.io/npm/dm/@smithy/eventstream-serde-node.svg)](https://www.npmjs.com/package/@smithy/eventstream-serde-node) - -> An internal package - -## Usage - -You probably shouldn't, at least directly. diff --git a/node_modules/@smithy/eventstream-serde-node/dist-cjs/EventStreamMarshaller.js b/node_modules/@smithy/eventstream-serde-node/dist-cjs/EventStreamMarshaller.js deleted file mode 100644 index 40dcefd2..00000000 --- a/node_modules/@smithy/eventstream-serde-node/dist-cjs/EventStreamMarshaller.js +++ /dev/null @@ -1,22 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.EventStreamMarshaller = void 0; -const eventstream_serde_universal_1 = require("@smithy/eventstream-serde-universal"); -const stream_1 = require("stream"); -const utils_1 = require("./utils"); -class EventStreamMarshaller { - constructor({ utf8Encoder, utf8Decoder }) { - this.universalMarshaller = new eventstream_serde_universal_1.EventStreamMarshaller({ - utf8Decoder, - utf8Encoder, - }); - } - deserialize(body, deserializer) { - const bodyIterable = typeof body[Symbol.asyncIterator] === "function" ? body : (0, utils_1.readabletoIterable)(body); - return this.universalMarshaller.deserialize(bodyIterable, deserializer); - } - serialize(input, serializer) { - return stream_1.Readable.from(this.universalMarshaller.serialize(input, serializer)); - } -} -exports.EventStreamMarshaller = EventStreamMarshaller; diff --git a/node_modules/@smithy/eventstream-serde-node/dist-cjs/index.js b/node_modules/@smithy/eventstream-serde-node/dist-cjs/index.js deleted file mode 100644 index 19d693f9..00000000 --- a/node_modules/@smithy/eventstream-serde-node/dist-cjs/index.js +++ /dev/null @@ -1,5 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const tslib_1 = require("tslib"); -tslib_1.__exportStar(require("./EventStreamMarshaller"), exports); -tslib_1.__exportStar(require("./provider"), exports); diff --git a/node_modules/@smithy/eventstream-serde-node/dist-cjs/provider.js b/node_modules/@smithy/eventstream-serde-node/dist-cjs/provider.js deleted file mode 100644 index 86765412..00000000 --- a/node_modules/@smithy/eventstream-serde-node/dist-cjs/provider.js +++ /dev/null @@ -1,6 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.eventStreamSerdeProvider = void 0; -const EventStreamMarshaller_1 = require("./EventStreamMarshaller"); -const eventStreamSerdeProvider = (options) => new EventStreamMarshaller_1.EventStreamMarshaller(options); -exports.eventStreamSerdeProvider = eventStreamSerdeProvider; diff --git a/node_modules/@smithy/eventstream-serde-node/dist-cjs/utils.js b/node_modules/@smithy/eventstream-serde-node/dist-cjs/utils.js deleted file mode 100644 index 9deb6b71..00000000 --- a/node_modules/@smithy/eventstream-serde-node/dist-cjs/utils.js +++ /dev/null @@ -1,30 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.readabletoIterable = void 0; -async function* readabletoIterable(readStream) { - let streamEnded = false; - let generationEnded = false; - const records = new Array(); - readStream.on("error", (err) => { - if (!streamEnded) { - streamEnded = true; - } - if (err) { - throw err; - } - }); - readStream.on("data", (data) => { - records.push(data); - }); - readStream.on("end", () => { - streamEnded = true; - }); - while (!generationEnded) { - const value = await new Promise((resolve) => setTimeout(() => resolve(records.shift()), 0)); - if (value) { - yield value; - } - generationEnded = streamEnded && records.length === 0; - } -} -exports.readabletoIterable = readabletoIterable; diff --git a/node_modules/@smithy/eventstream-serde-node/dist-es/EventStreamMarshaller.js b/node_modules/@smithy/eventstream-serde-node/dist-es/EventStreamMarshaller.js deleted file mode 100644 index ad12ff23..00000000 --- a/node_modules/@smithy/eventstream-serde-node/dist-es/EventStreamMarshaller.js +++ /dev/null @@ -1,18 +0,0 @@ -import { EventStreamMarshaller as UniversalEventStreamMarshaller } from "@smithy/eventstream-serde-universal"; -import { Readable } from "stream"; -import { readabletoIterable } from "./utils"; -export class EventStreamMarshaller { - constructor({ utf8Encoder, utf8Decoder }) { - this.universalMarshaller = new UniversalEventStreamMarshaller({ - utf8Decoder, - utf8Encoder, - }); - } - deserialize(body, deserializer) { - const bodyIterable = typeof body[Symbol.asyncIterator] === "function" ? body : readabletoIterable(body); - return this.universalMarshaller.deserialize(bodyIterable, deserializer); - } - serialize(input, serializer) { - return Readable.from(this.universalMarshaller.serialize(input, serializer)); - } -} diff --git a/node_modules/@smithy/eventstream-serde-node/dist-es/index.js b/node_modules/@smithy/eventstream-serde-node/dist-es/index.js deleted file mode 100644 index 294fec53..00000000 --- a/node_modules/@smithy/eventstream-serde-node/dist-es/index.js +++ /dev/null @@ -1,2 +0,0 @@ -export * from "./EventStreamMarshaller"; -export * from "./provider"; diff --git a/node_modules/@smithy/eventstream-serde-node/dist-es/provider.js b/node_modules/@smithy/eventstream-serde-node/dist-es/provider.js deleted file mode 100644 index b71c3f0e..00000000 --- a/node_modules/@smithy/eventstream-serde-node/dist-es/provider.js +++ /dev/null @@ -1,2 +0,0 @@ -import { EventStreamMarshaller } from "./EventStreamMarshaller"; -export const eventStreamSerdeProvider = (options) => new EventStreamMarshaller(options); diff --git a/node_modules/@smithy/eventstream-serde-node/dist-es/utils.js b/node_modules/@smithy/eventstream-serde-node/dist-es/utils.js deleted file mode 100644 index a7baf9f6..00000000 --- a/node_modules/@smithy/eventstream-serde-node/dist-es/utils.js +++ /dev/null @@ -1,26 +0,0 @@ -export async function* readabletoIterable(readStream) { - let streamEnded = false; - let generationEnded = false; - const records = new Array(); - readStream.on("error", (err) => { - if (!streamEnded) { - streamEnded = true; - } - if (err) { - throw err; - } - }); - readStream.on("data", (data) => { - records.push(data); - }); - readStream.on("end", () => { - streamEnded = true; - }); - while (!generationEnded) { - const value = await new Promise((resolve) => setTimeout(() => resolve(records.shift()), 0)); - if (value) { - yield value; - } - generationEnded = streamEnded && records.length === 0; - } -} diff --git a/node_modules/@smithy/eventstream-serde-node/dist-types/EventStreamMarshaller.d.ts b/node_modules/@smithy/eventstream-serde-node/dist-types/EventStreamMarshaller.d.ts deleted file mode 100644 index e3b9929e..00000000 --- a/node_modules/@smithy/eventstream-serde-node/dist-types/EventStreamMarshaller.d.ts +++ /dev/null @@ -1,24 +0,0 @@ -/// -import { Decoder, Encoder, EventStreamMarshaller as IEventStreamMarshaller, Message } from "@smithy/types"; -import { Readable } from "stream"; -/** - * @internal - */ -export interface EventStreamMarshaller extends IEventStreamMarshaller { -} -/** - * @internal - */ -export interface EventStreamMarshallerOptions { - utf8Encoder: Encoder; - utf8Decoder: Decoder; -} -/** - * @internal - */ -export declare class EventStreamMarshaller { - private readonly universalMarshaller; - constructor({ utf8Encoder, utf8Decoder }: EventStreamMarshallerOptions); - deserialize(body: Readable, deserializer: (input: Record) => Promise): AsyncIterable; - serialize(input: AsyncIterable, serializer: (event: T) => Message): Readable; -} diff --git a/node_modules/@smithy/eventstream-serde-node/dist-types/index.d.ts b/node_modules/@smithy/eventstream-serde-node/dist-types/index.d.ts deleted file mode 100644 index 9f8e9f7e..00000000 --- a/node_modules/@smithy/eventstream-serde-node/dist-types/index.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -/** - * @internal - */ -export * from "./EventStreamMarshaller"; -/** - * @internal - */ -export * from "./provider"; diff --git a/node_modules/@smithy/eventstream-serde-node/dist-types/provider.d.ts b/node_modules/@smithy/eventstream-serde-node/dist-types/provider.d.ts deleted file mode 100644 index 538197d1..00000000 --- a/node_modules/@smithy/eventstream-serde-node/dist-types/provider.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { EventStreamSerdeProvider } from "@smithy/types"; -/** NodeJS event stream utils provider */ -export declare const eventStreamSerdeProvider: EventStreamSerdeProvider; diff --git a/node_modules/@smithy/eventstream-serde-node/dist-types/ts3.4/EventStreamMarshaller.d.ts b/node_modules/@smithy/eventstream-serde-node/dist-types/ts3.4/EventStreamMarshaller.d.ts deleted file mode 100644 index a0781aa1..00000000 --- a/node_modules/@smithy/eventstream-serde-node/dist-types/ts3.4/EventStreamMarshaller.d.ts +++ /dev/null @@ -1,24 +0,0 @@ -/// -import { Decoder, Encoder, EventStreamMarshaller as IEventStreamMarshaller, Message } from "@smithy/types"; -import { Readable } from "stream"; -/** - * @internal - */ -export interface EventStreamMarshaller extends IEventStreamMarshaller { -} -/** - * @internal - */ -export interface EventStreamMarshallerOptions { - utf8Encoder: Encoder; - utf8Decoder: Decoder; -} -/** - * @internal - */ -export declare class EventStreamMarshaller { - private readonly universalMarshaller; - constructor({ utf8Encoder, utf8Decoder }: EventStreamMarshallerOptions); - deserialize(body: Readable, deserializer: (input: Record) => Promise): AsyncIterable; - serialize(input: AsyncIterable, serializer: (event: T) => Message): Readable; -} diff --git a/node_modules/@smithy/eventstream-serde-node/dist-types/ts3.4/index.d.ts b/node_modules/@smithy/eventstream-serde-node/dist-types/ts3.4/index.d.ts deleted file mode 100644 index a82a7873..00000000 --- a/node_modules/@smithy/eventstream-serde-node/dist-types/ts3.4/index.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -/** - * @internal - */ -export * from "./EventStreamMarshaller"; -/** - * @internal - */ -export * from "./provider"; diff --git a/node_modules/@smithy/eventstream-serde-node/dist-types/ts3.4/provider.d.ts b/node_modules/@smithy/eventstream-serde-node/dist-types/ts3.4/provider.d.ts deleted file mode 100644 index ef02e9a5..00000000 --- a/node_modules/@smithy/eventstream-serde-node/dist-types/ts3.4/provider.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { EventStreamSerdeProvider } from "@smithy/types"; -/** NodeJS event stream utils provider */ -export declare const eventStreamSerdeProvider: EventStreamSerdeProvider; diff --git a/node_modules/@smithy/eventstream-serde-node/dist-types/ts3.4/utils.d.ts b/node_modules/@smithy/eventstream-serde-node/dist-types/ts3.4/utils.d.ts deleted file mode 100644 index 36481c13..00000000 --- a/node_modules/@smithy/eventstream-serde-node/dist-types/ts3.4/utils.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -/// -import { Readable } from "stream"; -/** - * Convert object stream piped in into an async iterable. This - * daptor should be deprecated when Node stream iterator is stable. - * Caveat: this adaptor won't have backpressure to inwards stream - * - * Reference: https://nodejs.org/docs/latest-v11.x/api/stream.html#stream_readable_symbol_asynciterator - */ -/** - * @internal - */ -export declare function readabletoIterable(readStream: Readable): AsyncIterable; diff --git a/node_modules/@smithy/eventstream-serde-node/dist-types/utils.d.ts b/node_modules/@smithy/eventstream-serde-node/dist-types/utils.d.ts deleted file mode 100644 index 271592d3..00000000 --- a/node_modules/@smithy/eventstream-serde-node/dist-types/utils.d.ts +++ /dev/null @@ -1,13 +0,0 @@ -/// -import { Readable } from "stream"; -/** - * Convert object stream piped in into an async iterable. This - * daptor should be deprecated when Node stream iterator is stable. - * Caveat: this adaptor won't have backpressure to inwards stream - * - * Reference: https://nodejs.org/docs/latest-v11.x/api/stream.html#stream_readable_symbol_asynciterator - */ -/** - * @internal - */ -export declare function readabletoIterable(readStream: Readable): AsyncIterable; diff --git a/node_modules/@smithy/eventstream-serde-node/package.json b/node_modules/@smithy/eventstream-serde-node/package.json deleted file mode 100644 index c94fae0a..00000000 --- a/node_modules/@smithy/eventstream-serde-node/package.json +++ /dev/null @@ -1,62 +0,0 @@ -{ - "name": "@smithy/eventstream-serde-node", - "version": "2.0.14", - "scripts": { - "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'", - "build:cjs": "yarn g:tsc -p tsconfig.cjs.json", - "build:es": "yarn g:tsc -p tsconfig.es.json", - "build:types": "yarn g:tsc -p tsconfig.types.json", - "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", - "stage-release": "rimraf ./.release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz", - "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo", - "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"", - "format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"", - "test": "exit 0" - }, - "main": "./dist-cjs/index.js", - "module": "./dist-es/index.js", - "types": "./dist-types/index.d.ts", - "author": { - "name": "AWS SDK for JavaScript Team", - "url": "https://aws.amazon.com/javascript/" - }, - "license": "Apache-2.0", - "dependencies": { - "@smithy/eventstream-serde-universal": "^2.0.14", - "@smithy/types": "^2.6.0", - "tslib": "^2.5.0" - }, - "devDependencies": { - "@tsconfig/recommended": "1.0.1", - "@types/node": "^14.14.31", - "concurrently": "7.0.0", - "downlevel-dts": "0.10.1", - "rimraf": "3.0.2", - "typedoc": "0.23.23" - }, - "engines": { - "node": ">=14.0.0" - }, - "typesVersions": { - "<4.0": { - "dist-types/*": [ - "dist-types/ts3.4/*" - ] - } - }, - "files": [ - "dist-*/**" - ], - "homepage": "https://github.com/awslabs/smithy-typescript/tree/main/packages/eventstream-serde-node", - "repository": { - "type": "git", - "url": "https://github.com/awslabs/smithy-typescript.git", - "directory": "packages/eventstream-serde-node" - }, - "typedoc": { - "entryPoint": "src/index.ts" - }, - "publishConfig": { - "directory": ".release/package" - } -} \ No newline at end of file diff --git a/node_modules/@smithy/eventstream-serde-universal/LICENSE b/node_modules/@smithy/eventstream-serde-universal/LICENSE deleted file mode 100644 index e907b586..00000000 --- a/node_modules/@smithy/eventstream-serde-universal/LICENSE +++ /dev/null @@ -1,201 +0,0 @@ - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "{}" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. diff --git a/node_modules/@smithy/eventstream-serde-universal/README.md b/node_modules/@smithy/eventstream-serde-universal/README.md deleted file mode 100644 index 3c7fee12..00000000 --- a/node_modules/@smithy/eventstream-serde-universal/README.md +++ /dev/null @@ -1,10 +0,0 @@ -# @smithy/eventstream-serde-universal - -[![NPM version](https://img.shields.io/npm/v/@smithy/eventstream-serde-universal/latest.svg)](https://www.npmjs.com/package/@smithy/eventstream-serde-universal) -[![NPM downloads](https://img.shields.io/npm/dm/@smithy/eventstream-serde-universal.svg)](https://www.npmjs.com/package/@smithy/eventstream-serde-universal) - -> An internal package - -## Usage - -You probably shouldn't, at least directly. diff --git a/node_modules/@smithy/eventstream-serde-universal/dist-cjs/EventStreamMarshaller.js b/node_modules/@smithy/eventstream-serde-universal/dist-cjs/EventStreamMarshaller.js deleted file mode 100644 index 8f9fc5fc..00000000 --- a/node_modules/@smithy/eventstream-serde-universal/dist-cjs/EventStreamMarshaller.js +++ /dev/null @@ -1,27 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.EventStreamMarshaller = void 0; -const eventstream_codec_1 = require("@smithy/eventstream-codec"); -const getChunkedStream_1 = require("./getChunkedStream"); -const getUnmarshalledStream_1 = require("./getUnmarshalledStream"); -class EventStreamMarshaller { - constructor({ utf8Encoder, utf8Decoder }) { - this.eventStreamCodec = new eventstream_codec_1.EventStreamCodec(utf8Encoder, utf8Decoder); - this.utfEncoder = utf8Encoder; - } - deserialize(body, deserializer) { - const inputStream = (0, getChunkedStream_1.getChunkedStream)(body); - return new eventstream_codec_1.SmithyMessageDecoderStream({ - messageStream: new eventstream_codec_1.MessageDecoderStream({ inputStream, decoder: this.eventStreamCodec }), - deserializer: (0, getUnmarshalledStream_1.getMessageUnmarshaller)(deserializer, this.utfEncoder), - }); - } - serialize(inputStream, serializer) { - return new eventstream_codec_1.MessageEncoderStream({ - messageStream: new eventstream_codec_1.SmithyMessageEncoderStream({ inputStream, serializer }), - encoder: this.eventStreamCodec, - includeEndFrame: true, - }); - } -} -exports.EventStreamMarshaller = EventStreamMarshaller; diff --git a/node_modules/@smithy/eventstream-serde-universal/dist-cjs/fixtures/MockEventMessageSource.fixture.js b/node_modules/@smithy/eventstream-serde-universal/dist-cjs/fixtures/MockEventMessageSource.fixture.js deleted file mode 100644 index 57218123..00000000 --- a/node_modules/@smithy/eventstream-serde-universal/dist-cjs/fixtures/MockEventMessageSource.fixture.js +++ /dev/null @@ -1,34 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.MockEventMessageSource = void 0; -const stream_1 = require("stream"); -class MockEventMessageSource extends stream_1.Readable { - constructor(options) { - super(options); - this.readCount = 0; - this.data = Buffer.concat(options.messages); - this.emitSize = options.emitSize; - this.throwError = options.throwError; - } - _read() { - const self = this; - if (this.readCount === this.data.length) { - if (this.throwError) { - process.nextTick(function () { - self.emit("error", new Error("Throwing an error!")); - }); - return; - } - else { - this.push(null); - return; - } - } - const bytesLeft = this.data.length - this.readCount; - const numBytesToSend = Math.min(bytesLeft, this.emitSize); - const chunk = this.data.slice(this.readCount, this.readCount + numBytesToSend); - this.readCount += numBytesToSend; - this.push(chunk); - } -} -exports.MockEventMessageSource = MockEventMessageSource; diff --git a/node_modules/@smithy/eventstream-serde-universal/dist-cjs/fixtures/event.fixture.js b/node_modules/@smithy/eventstream-serde-universal/dist-cjs/fixtures/event.fixture.js deleted file mode 100644 index e3665c54..00000000 --- a/node_modules/@smithy/eventstream-serde-universal/dist-cjs/fixtures/event.fixture.js +++ /dev/null @@ -1,7 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.exception = exports.endEventMessage = exports.statsEventMessage = exports.recordEventMessage = void 0; -exports.recordEventMessage = Buffer.from("AAAA0AAAAFX31gVLDTptZXNzYWdlLXR5cGUHAAVldmVudAs6ZXZlbnQtdHlwZQcAB1JlY29yZHMNOmNvbnRlbnQtdHlwZQcAGGFwcGxpY2F0aW9uL29jdGV0LXN0cmVhbTEsRm9vLFdoZW4gbGlmZSBnaXZlcyB5b3UgZm9vLi4uCjIsQmFyLG1ha2UgQmFyIQozLEZpenosU29tZXRpbWVzIHBhaXJlZCB3aXRoLi4uCjQsQnV6eix0aGUgaW5mYW1vdXMgQnV6eiEKzxKeSw==", "base64"); -exports.statsEventMessage = Buffer.from("AAAA0QAAAEM+YpmqDTptZXNzYWdlLXR5cGUHAAVldmVudAs6ZXZlbnQtdHlwZQcABVN0YXRzDTpjb250ZW50LXR5cGUHAAh0ZXh0L3htbDxTdGF0cyB4bWxucz0iIj48Qnl0ZXNTY2FubmVkPjEyNjwvQnl0ZXNTY2FubmVkPjxCeXRlc1Byb2Nlc3NlZD4xMjY8L0J5dGVzUHJvY2Vzc2VkPjxCeXRlc1JldHVybmVkPjEwNzwvQnl0ZXNSZXR1cm5lZD48L1N0YXRzPiJ0pLk=", "base64"); -exports.endEventMessage = Buffer.from("AAAAOAAAACjBxoTUDTptZXNzYWdlLXR5cGUHAAVldmVudAs6ZXZlbnQtdHlwZQcAA0VuZM+X05I=", "base64"); -exports.exception = Buffer.from("AAAAtgAAAF8BcW64DTpjb250ZW50LXR5cGUHABhhcHBsaWNhdGlvbi9vY3RldC1zdHJlYW0NOm1lc3NhZ2UtdHlwZQcACWV4Y2VwdGlvbg86ZXhjZXB0aW9uLXR5cGUHAAlFeGNlcHRpb25UaGlzIGlzIGEgbW9kZWxlZCBleGNlcHRpb24gZXZlbnQgdGhhdCB3b3VsZCBiZSB0aHJvd24gaW4gZGVzZXJpYWxpemVyLj6Gc60=", "base64"); diff --git a/node_modules/@smithy/eventstream-serde-universal/dist-cjs/getChunkedStream.js b/node_modules/@smithy/eventstream-serde-universal/dist-cjs/getChunkedStream.js deleted file mode 100644 index b85458e7..00000000 --- a/node_modules/@smithy/eventstream-serde-universal/dist-cjs/getChunkedStream.js +++ /dev/null @@ -1,70 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.getChunkedStream = void 0; -function getChunkedStream(source) { - let currentMessageTotalLength = 0; - let currentMessagePendingLength = 0; - let currentMessage = null; - let messageLengthBuffer = null; - const allocateMessage = (size) => { - if (typeof size !== "number") { - throw new Error("Attempted to allocate an event message where size was not a number: " + size); - } - currentMessageTotalLength = size; - currentMessagePendingLength = 4; - currentMessage = new Uint8Array(size); - const currentMessageView = new DataView(currentMessage.buffer); - currentMessageView.setUint32(0, size, false); - }; - const iterator = async function* () { - const sourceIterator = source[Symbol.asyncIterator](); - while (true) { - const { value, done } = await sourceIterator.next(); - if (done) { - if (!currentMessageTotalLength) { - return; - } - else if (currentMessageTotalLength === currentMessagePendingLength) { - yield currentMessage; - } - else { - throw new Error("Truncated event message received."); - } - return; - } - const chunkLength = value.length; - let currentOffset = 0; - while (currentOffset < chunkLength) { - if (!currentMessage) { - const bytesRemaining = chunkLength - currentOffset; - if (!messageLengthBuffer) { - messageLengthBuffer = new Uint8Array(4); - } - const numBytesForTotal = Math.min(4 - currentMessagePendingLength, bytesRemaining); - messageLengthBuffer.set(value.slice(currentOffset, currentOffset + numBytesForTotal), currentMessagePendingLength); - currentMessagePendingLength += numBytesForTotal; - currentOffset += numBytesForTotal; - if (currentMessagePendingLength < 4) { - break; - } - allocateMessage(new DataView(messageLengthBuffer.buffer).getUint32(0, false)); - messageLengthBuffer = null; - } - const numBytesToWrite = Math.min(currentMessageTotalLength - currentMessagePendingLength, chunkLength - currentOffset); - currentMessage.set(value.slice(currentOffset, currentOffset + numBytesToWrite), currentMessagePendingLength); - currentMessagePendingLength += numBytesToWrite; - currentOffset += numBytesToWrite; - if (currentMessageTotalLength && currentMessageTotalLength === currentMessagePendingLength) { - yield currentMessage; - currentMessage = null; - currentMessageTotalLength = 0; - currentMessagePendingLength = 0; - } - } - } - }; - return { - [Symbol.asyncIterator]: iterator, - }; -} -exports.getChunkedStream = getChunkedStream; diff --git a/node_modules/@smithy/eventstream-serde-universal/dist-cjs/getUnmarshalledStream.js b/node_modules/@smithy/eventstream-serde-universal/dist-cjs/getUnmarshalledStream.js deleted file mode 100644 index cbbe895d..00000000 --- a/node_modules/@smithy/eventstream-serde-universal/dist-cjs/getUnmarshalledStream.js +++ /dev/null @@ -1,52 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.getMessageUnmarshaller = exports.getUnmarshalledStream = void 0; -function getUnmarshalledStream(source, options) { - const messageUnmarshaller = getMessageUnmarshaller(options.deserializer, options.toUtf8); - return { - [Symbol.asyncIterator]: async function* () { - for await (const chunk of source) { - const message = options.eventStreamCodec.decode(chunk); - const type = await messageUnmarshaller(message); - if (type === undefined) - continue; - yield type; - } - }, - }; -} -exports.getUnmarshalledStream = getUnmarshalledStream; -function getMessageUnmarshaller(deserializer, toUtf8) { - return async function (message) { - const { value: messageType } = message.headers[":message-type"]; - if (messageType === "error") { - const unmodeledError = new Error(message.headers[":error-message"].value || "UnknownError"); - unmodeledError.name = message.headers[":error-code"].value; - throw unmodeledError; - } - else if (messageType === "exception") { - const code = message.headers[":exception-type"].value; - const exception = { [code]: message }; - const deserializedException = await deserializer(exception); - if (deserializedException.$unknown) { - const error = new Error(toUtf8(message.body)); - error.name = code; - throw error; - } - throw deserializedException[code]; - } - else if (messageType === "event") { - const event = { - [message.headers[":event-type"].value]: message, - }; - const deserialized = await deserializer(event); - if (deserialized.$unknown) - return; - return deserialized; - } - else { - throw Error(`Unrecognizable event type: ${message.headers[":event-type"].value}`); - } - }; -} -exports.getMessageUnmarshaller = getMessageUnmarshaller; diff --git a/node_modules/@smithy/eventstream-serde-universal/dist-cjs/index.js b/node_modules/@smithy/eventstream-serde-universal/dist-cjs/index.js deleted file mode 100644 index 19d693f9..00000000 --- a/node_modules/@smithy/eventstream-serde-universal/dist-cjs/index.js +++ /dev/null @@ -1,5 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -const tslib_1 = require("tslib"); -tslib_1.__exportStar(require("./EventStreamMarshaller"), exports); -tslib_1.__exportStar(require("./provider"), exports); diff --git a/node_modules/@smithy/eventstream-serde-universal/dist-cjs/provider.js b/node_modules/@smithy/eventstream-serde-universal/dist-cjs/provider.js deleted file mode 100644 index 86765412..00000000 --- a/node_modules/@smithy/eventstream-serde-universal/dist-cjs/provider.js +++ /dev/null @@ -1,6 +0,0 @@ -"use strict"; -Object.defineProperty(exports, "__esModule", { value: true }); -exports.eventStreamSerdeProvider = void 0; -const EventStreamMarshaller_1 = require("./EventStreamMarshaller"); -const eventStreamSerdeProvider = (options) => new EventStreamMarshaller_1.EventStreamMarshaller(options); -exports.eventStreamSerdeProvider = eventStreamSerdeProvider; diff --git a/node_modules/@smithy/eventstream-serde-universal/dist-es/EventStreamMarshaller.js b/node_modules/@smithy/eventstream-serde-universal/dist-es/EventStreamMarshaller.js deleted file mode 100644 index ca1d175f..00000000 --- a/node_modules/@smithy/eventstream-serde-universal/dist-es/EventStreamMarshaller.js +++ /dev/null @@ -1,23 +0,0 @@ -import { EventStreamCodec, MessageDecoderStream, MessageEncoderStream, SmithyMessageDecoderStream, SmithyMessageEncoderStream, } from "@smithy/eventstream-codec"; -import { getChunkedStream } from "./getChunkedStream"; -import { getMessageUnmarshaller } from "./getUnmarshalledStream"; -export class EventStreamMarshaller { - constructor({ utf8Encoder, utf8Decoder }) { - this.eventStreamCodec = new EventStreamCodec(utf8Encoder, utf8Decoder); - this.utfEncoder = utf8Encoder; - } - deserialize(body, deserializer) { - const inputStream = getChunkedStream(body); - return new SmithyMessageDecoderStream({ - messageStream: new MessageDecoderStream({ inputStream, decoder: this.eventStreamCodec }), - deserializer: getMessageUnmarshaller(deserializer, this.utfEncoder), - }); - } - serialize(inputStream, serializer) { - return new MessageEncoderStream({ - messageStream: new SmithyMessageEncoderStream({ inputStream, serializer }), - encoder: this.eventStreamCodec, - includeEndFrame: true, - }); - } -} diff --git a/node_modules/@smithy/eventstream-serde-universal/dist-es/fixtures/MockEventMessageSource.fixture.js b/node_modules/@smithy/eventstream-serde-universal/dist-es/fixtures/MockEventMessageSource.fixture.js deleted file mode 100644 index a450e4ea..00000000 --- a/node_modules/@smithy/eventstream-serde-universal/dist-es/fixtures/MockEventMessageSource.fixture.js +++ /dev/null @@ -1,30 +0,0 @@ -import { Readable } from "stream"; -export class MockEventMessageSource extends Readable { - constructor(options) { - super(options); - this.readCount = 0; - this.data = Buffer.concat(options.messages); - this.emitSize = options.emitSize; - this.throwError = options.throwError; - } - _read() { - const self = this; - if (this.readCount === this.data.length) { - if (this.throwError) { - process.nextTick(function () { - self.emit("error", new Error("Throwing an error!")); - }); - return; - } - else { - this.push(null); - return; - } - } - const bytesLeft = this.data.length - this.readCount; - const numBytesToSend = Math.min(bytesLeft, this.emitSize); - const chunk = this.data.slice(this.readCount, this.readCount + numBytesToSend); - this.readCount += numBytesToSend; - this.push(chunk); - } -} diff --git a/node_modules/@smithy/eventstream-serde-universal/dist-es/fixtures/event.fixture.js b/node_modules/@smithy/eventstream-serde-universal/dist-es/fixtures/event.fixture.js deleted file mode 100644 index 48d93bf5..00000000 --- a/node_modules/@smithy/eventstream-serde-universal/dist-es/fixtures/event.fixture.js +++ /dev/null @@ -1,4 +0,0 @@ -export const recordEventMessage = Buffer.from("AAAA0AAAAFX31gVLDTptZXNzYWdlLXR5cGUHAAVldmVudAs6ZXZlbnQtdHlwZQcAB1JlY29yZHMNOmNvbnRlbnQtdHlwZQcAGGFwcGxpY2F0aW9uL29jdGV0LXN0cmVhbTEsRm9vLFdoZW4gbGlmZSBnaXZlcyB5b3UgZm9vLi4uCjIsQmFyLG1ha2UgQmFyIQozLEZpenosU29tZXRpbWVzIHBhaXJlZCB3aXRoLi4uCjQsQnV6eix0aGUgaW5mYW1vdXMgQnV6eiEKzxKeSw==", "base64"); -export const statsEventMessage = Buffer.from("AAAA0QAAAEM+YpmqDTptZXNzYWdlLXR5cGUHAAVldmVudAs6ZXZlbnQtdHlwZQcABVN0YXRzDTpjb250ZW50LXR5cGUHAAh0ZXh0L3htbDxTdGF0cyB4bWxucz0iIj48Qnl0ZXNTY2FubmVkPjEyNjwvQnl0ZXNTY2FubmVkPjxCeXRlc1Byb2Nlc3NlZD4xMjY8L0J5dGVzUHJvY2Vzc2VkPjxCeXRlc1JldHVybmVkPjEwNzwvQnl0ZXNSZXR1cm5lZD48L1N0YXRzPiJ0pLk=", "base64"); -export const endEventMessage = Buffer.from("AAAAOAAAACjBxoTUDTptZXNzYWdlLXR5cGUHAAVldmVudAs6ZXZlbnQtdHlwZQcAA0VuZM+X05I=", "base64"); -export const exception = Buffer.from("AAAAtgAAAF8BcW64DTpjb250ZW50LXR5cGUHABhhcHBsaWNhdGlvbi9vY3RldC1zdHJlYW0NOm1lc3NhZ2UtdHlwZQcACWV4Y2VwdGlvbg86ZXhjZXB0aW9uLXR5cGUHAAlFeGNlcHRpb25UaGlzIGlzIGEgbW9kZWxlZCBleGNlcHRpb24gZXZlbnQgdGhhdCB3b3VsZCBiZSB0aHJvd24gaW4gZGVzZXJpYWxpemVyLj6Gc60=", "base64"); diff --git a/node_modules/@smithy/eventstream-serde-universal/dist-es/getChunkedStream.js b/node_modules/@smithy/eventstream-serde-universal/dist-es/getChunkedStream.js deleted file mode 100644 index b738b459..00000000 --- a/node_modules/@smithy/eventstream-serde-universal/dist-es/getChunkedStream.js +++ /dev/null @@ -1,66 +0,0 @@ -export function getChunkedStream(source) { - let currentMessageTotalLength = 0; - let currentMessagePendingLength = 0; - let currentMessage = null; - let messageLengthBuffer = null; - const allocateMessage = (size) => { - if (typeof size !== "number") { - throw new Error("Attempted to allocate an event message where size was not a number: " + size); - } - currentMessageTotalLength = size; - currentMessagePendingLength = 4; - currentMessage = new Uint8Array(size); - const currentMessageView = new DataView(currentMessage.buffer); - currentMessageView.setUint32(0, size, false); - }; - const iterator = async function* () { - const sourceIterator = source[Symbol.asyncIterator](); - while (true) { - const { value, done } = await sourceIterator.next(); - if (done) { - if (!currentMessageTotalLength) { - return; - } - else if (currentMessageTotalLength === currentMessagePendingLength) { - yield currentMessage; - } - else { - throw new Error("Truncated event message received."); - } - return; - } - const chunkLength = value.length; - let currentOffset = 0; - while (currentOffset < chunkLength) { - if (!currentMessage) { - const bytesRemaining = chunkLength - currentOffset; - if (!messageLengthBuffer) { - messageLengthBuffer = new Uint8Array(4); - } - const numBytesForTotal = Math.min(4 - currentMessagePendingLength, bytesRemaining); - messageLengthBuffer.set(value.slice(currentOffset, currentOffset + numBytesForTotal), currentMessagePendingLength); - currentMessagePendingLength += numBytesForTotal; - currentOffset += numBytesForTotal; - if (currentMessagePendingLength < 4) { - break; - } - allocateMessage(new DataView(messageLengthBuffer.buffer).getUint32(0, false)); - messageLengthBuffer = null; - } - const numBytesToWrite = Math.min(currentMessageTotalLength - currentMessagePendingLength, chunkLength - currentOffset); - currentMessage.set(value.slice(currentOffset, currentOffset + numBytesToWrite), currentMessagePendingLength); - currentMessagePendingLength += numBytesToWrite; - currentOffset += numBytesToWrite; - if (currentMessageTotalLength && currentMessageTotalLength === currentMessagePendingLength) { - yield currentMessage; - currentMessage = null; - currentMessageTotalLength = 0; - currentMessagePendingLength = 0; - } - } - } - }; - return { - [Symbol.asyncIterator]: iterator, - }; -} diff --git a/node_modules/@smithy/eventstream-serde-universal/dist-es/getUnmarshalledStream.js b/node_modules/@smithy/eventstream-serde-universal/dist-es/getUnmarshalledStream.js deleted file mode 100644 index 119399cd..00000000 --- a/node_modules/@smithy/eventstream-serde-universal/dist-es/getUnmarshalledStream.js +++ /dev/null @@ -1,47 +0,0 @@ -export function getUnmarshalledStream(source, options) { - const messageUnmarshaller = getMessageUnmarshaller(options.deserializer, options.toUtf8); - return { - [Symbol.asyncIterator]: async function* () { - for await (const chunk of source) { - const message = options.eventStreamCodec.decode(chunk); - const type = await messageUnmarshaller(message); - if (type === undefined) - continue; - yield type; - } - }, - }; -} -export function getMessageUnmarshaller(deserializer, toUtf8) { - return async function (message) { - const { value: messageType } = message.headers[":message-type"]; - if (messageType === "error") { - const unmodeledError = new Error(message.headers[":error-message"].value || "UnknownError"); - unmodeledError.name = message.headers[":error-code"].value; - throw unmodeledError; - } - else if (messageType === "exception") { - const code = message.headers[":exception-type"].value; - const exception = { [code]: message }; - const deserializedException = await deserializer(exception); - if (deserializedException.$unknown) { - const error = new Error(toUtf8(message.body)); - error.name = code; - throw error; - } - throw deserializedException[code]; - } - else if (messageType === "event") { - const event = { - [message.headers[":event-type"].value]: message, - }; - const deserialized = await deserializer(event); - if (deserialized.$unknown) - return; - return deserialized; - } - else { - throw Error(`Unrecognizable event type: ${message.headers[":event-type"].value}`); - } - }; -} diff --git a/node_modules/@smithy/eventstream-serde-universal/dist-es/index.js b/node_modules/@smithy/eventstream-serde-universal/dist-es/index.js deleted file mode 100644 index 294fec53..00000000 --- a/node_modules/@smithy/eventstream-serde-universal/dist-es/index.js +++ /dev/null @@ -1,2 +0,0 @@ -export * from "./EventStreamMarshaller"; -export * from "./provider"; diff --git a/node_modules/@smithy/eventstream-serde-universal/dist-es/provider.js b/node_modules/@smithy/eventstream-serde-universal/dist-es/provider.js deleted file mode 100644 index b71c3f0e..00000000 --- a/node_modules/@smithy/eventstream-serde-universal/dist-es/provider.js +++ /dev/null @@ -1,2 +0,0 @@ -import { EventStreamMarshaller } from "./EventStreamMarshaller"; -export const eventStreamSerdeProvider = (options) => new EventStreamMarshaller(options); diff --git a/node_modules/@smithy/eventstream-serde-universal/dist-types/EventStreamMarshaller.d.ts b/node_modules/@smithy/eventstream-serde-universal/dist-types/EventStreamMarshaller.d.ts deleted file mode 100644 index 49941161..00000000 --- a/node_modules/@smithy/eventstream-serde-universal/dist-types/EventStreamMarshaller.d.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { Decoder, Encoder, EventStreamMarshaller as IEventStreamMarshaller, Message } from "@smithy/types"; -/** - * @internal - */ -export interface EventStreamMarshaller extends IEventStreamMarshaller { -} -/** - * @internal - */ -export interface EventStreamMarshallerOptions { - utf8Encoder: Encoder; - utf8Decoder: Decoder; -} -/** - * @internal - */ -export declare class EventStreamMarshaller { - private readonly eventStreamCodec; - private readonly utfEncoder; - constructor({ utf8Encoder, utf8Decoder }: EventStreamMarshallerOptions); - deserialize(body: AsyncIterable, deserializer: (input: Record) => Promise): AsyncIterable; - serialize(inputStream: AsyncIterable, serializer: (event: T) => Message): AsyncIterable; -} diff --git a/node_modules/@smithy/eventstream-serde-universal/dist-types/fixtures/MockEventMessageSource.fixture.d.ts b/node_modules/@smithy/eventstream-serde-universal/dist-types/fixtures/MockEventMessageSource.fixture.d.ts deleted file mode 100644 index 32b81a8b..00000000 --- a/node_modules/@smithy/eventstream-serde-universal/dist-types/fixtures/MockEventMessageSource.fixture.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -/// -/// -import { Readable, ReadableOptions } from "stream"; -/** - * @internal - */ -export interface MockEventMessageSourceOptions extends ReadableOptions { - messages: Array; - emitSize: number; - throwError?: Error; -} -/** - * @internal - */ -export declare class MockEventMessageSource extends Readable { - private readonly data; - private readonly emitSize; - private readonly throwError?; - private readCount; - constructor(options: MockEventMessageSourceOptions); - _read(): void; -} diff --git a/node_modules/@smithy/eventstream-serde-universal/dist-types/fixtures/event.fixture.d.ts b/node_modules/@smithy/eventstream-serde-universal/dist-types/fixtures/event.fixture.d.ts deleted file mode 100644 index bb6c3c94..00000000 --- a/node_modules/@smithy/eventstream-serde-universal/dist-types/fixtures/event.fixture.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/// -/** - * @internal - */ -export declare const recordEventMessage: Buffer; -/** - * @internal - */ -export declare const statsEventMessage: Buffer; -/** - * @internal - */ -export declare const endEventMessage: Buffer; -/** - * @internal - */ -export declare const exception: Buffer; diff --git a/node_modules/@smithy/eventstream-serde-universal/dist-types/getChunkedStream.d.ts b/node_modules/@smithy/eventstream-serde-universal/dist-types/getChunkedStream.d.ts deleted file mode 100644 index d2a58c0b..00000000 --- a/node_modules/@smithy/eventstream-serde-universal/dist-types/getChunkedStream.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -/** - * @internal - */ -export declare function getChunkedStream(source: AsyncIterable): AsyncIterable; diff --git a/node_modules/@smithy/eventstream-serde-universal/dist-types/getUnmarshalledStream.d.ts b/node_modules/@smithy/eventstream-serde-universal/dist-types/getUnmarshalledStream.d.ts deleted file mode 100644 index 8cb0a664..00000000 --- a/node_modules/@smithy/eventstream-serde-universal/dist-types/getUnmarshalledStream.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { EventStreamCodec } from "@smithy/eventstream-codec"; -import { Encoder, Message } from "@smithy/types"; -/** - * @internal - */ -export type UnmarshalledStreamOptions = { - eventStreamCodec: EventStreamCodec; - deserializer: (input: Record) => Promise; - toUtf8: Encoder; -}; -/** - * @internal - */ -export declare function getUnmarshalledStream>(source: AsyncIterable, options: UnmarshalledStreamOptions): AsyncIterable; -/** - * @internal - */ -export declare function getMessageUnmarshaller>(deserializer: (input: Record) => Promise, toUtf8: Encoder): (input: Message) => Promise; diff --git a/node_modules/@smithy/eventstream-serde-universal/dist-types/index.d.ts b/node_modules/@smithy/eventstream-serde-universal/dist-types/index.d.ts deleted file mode 100644 index 9f8e9f7e..00000000 --- a/node_modules/@smithy/eventstream-serde-universal/dist-types/index.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -/** - * @internal - */ -export * from "./EventStreamMarshaller"; -/** - * @internal - */ -export * from "./provider"; diff --git a/node_modules/@smithy/eventstream-serde-universal/dist-types/provider.d.ts b/node_modules/@smithy/eventstream-serde-universal/dist-types/provider.d.ts deleted file mode 100644 index 538197d1..00000000 --- a/node_modules/@smithy/eventstream-serde-universal/dist-types/provider.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { EventStreamSerdeProvider } from "@smithy/types"; -/** NodeJS event stream utils provider */ -export declare const eventStreamSerdeProvider: EventStreamSerdeProvider; diff --git a/node_modules/@smithy/eventstream-serde-universal/dist-types/ts3.4/EventStreamMarshaller.d.ts b/node_modules/@smithy/eventstream-serde-universal/dist-types/ts3.4/EventStreamMarshaller.d.ts deleted file mode 100644 index 6fa2c5af..00000000 --- a/node_modules/@smithy/eventstream-serde-universal/dist-types/ts3.4/EventStreamMarshaller.d.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { Decoder, Encoder, EventStreamMarshaller as IEventStreamMarshaller, Message } from "@smithy/types"; -/** - * @internal - */ -export interface EventStreamMarshaller extends IEventStreamMarshaller { -} -/** - * @internal - */ -export interface EventStreamMarshallerOptions { - utf8Encoder: Encoder; - utf8Decoder: Decoder; -} -/** - * @internal - */ -export declare class EventStreamMarshaller { - private readonly eventStreamCodec; - private readonly utfEncoder; - constructor({ utf8Encoder, utf8Decoder }: EventStreamMarshallerOptions); - deserialize(body: AsyncIterable, deserializer: (input: Record) => Promise): AsyncIterable; - serialize(inputStream: AsyncIterable, serializer: (event: T) => Message): AsyncIterable; -} diff --git a/node_modules/@smithy/eventstream-serde-universal/dist-types/ts3.4/fixtures/MockEventMessageSource.fixture.d.ts b/node_modules/@smithy/eventstream-serde-universal/dist-types/ts3.4/fixtures/MockEventMessageSource.fixture.d.ts deleted file mode 100644 index 5f8aa6b7..00000000 --- a/node_modules/@smithy/eventstream-serde-universal/dist-types/ts3.4/fixtures/MockEventMessageSource.fixture.d.ts +++ /dev/null @@ -1,21 +0,0 @@ -/// -import { Readable, ReadableOptions } from "stream"; -/** - * @internal - */ -export interface MockEventMessageSourceOptions extends ReadableOptions { - messages: Array; - emitSize: number; - throwError?: Error; -} -/** - * @internal - */ -export declare class MockEventMessageSource extends Readable { - private readonly data; - private readonly emitSize; - private readonly throwError?; - private readCount; - constructor(options: MockEventMessageSourceOptions); - _read(): void; -} diff --git a/node_modules/@smithy/eventstream-serde-universal/dist-types/ts3.4/fixtures/event.fixture.d.ts b/node_modules/@smithy/eventstream-serde-universal/dist-types/ts3.4/fixtures/event.fixture.d.ts deleted file mode 100644 index 40cd9d87..00000000 --- a/node_modules/@smithy/eventstream-serde-universal/dist-types/ts3.4/fixtures/event.fixture.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/// -/** - * @internal - */ -export declare const recordEventMessage: Buffer; -/** - * @internal - */ -export declare const statsEventMessage: Buffer; -/** - * @internal - */ -export declare const endEventMessage: Buffer; -/** - * @internal - */ -export declare const exception: Buffer; diff --git a/node_modules/@smithy/eventstream-serde-universal/dist-types/ts3.4/getChunkedStream.d.ts b/node_modules/@smithy/eventstream-serde-universal/dist-types/ts3.4/getChunkedStream.d.ts deleted file mode 100644 index 9a7e9823..00000000 --- a/node_modules/@smithy/eventstream-serde-universal/dist-types/ts3.4/getChunkedStream.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -/** - * @internal - */ -export declare function getChunkedStream(source: AsyncIterable): AsyncIterable; diff --git a/node_modules/@smithy/eventstream-serde-universal/dist-types/ts3.4/getUnmarshalledStream.d.ts b/node_modules/@smithy/eventstream-serde-universal/dist-types/ts3.4/getUnmarshalledStream.d.ts deleted file mode 100644 index aeeafd88..00000000 --- a/node_modules/@smithy/eventstream-serde-universal/dist-types/ts3.4/getUnmarshalledStream.d.ts +++ /dev/null @@ -1,18 +0,0 @@ -import { EventStreamCodec } from "@smithy/eventstream-codec"; -import { Encoder, Message } from "@smithy/types"; -/** - * @internal - */ -export type UnmarshalledStreamOptions = { - eventStreamCodec: EventStreamCodec; - deserializer: (input: Record) => Promise; - toUtf8: Encoder; -}; -/** - * @internal - */ -export declare function getUnmarshalledStream>(source: AsyncIterable, options: UnmarshalledStreamOptions): AsyncIterable; -/** - * @internal - */ -export declare function getMessageUnmarshaller>(deserializer: (input: Record) => Promise, toUtf8: Encoder): (input: Message) => Promise; diff --git a/node_modules/@smithy/eventstream-serde-universal/dist-types/ts3.4/index.d.ts b/node_modules/@smithy/eventstream-serde-universal/dist-types/ts3.4/index.d.ts deleted file mode 100644 index a82a7873..00000000 --- a/node_modules/@smithy/eventstream-serde-universal/dist-types/ts3.4/index.d.ts +++ /dev/null @@ -1,8 +0,0 @@ -/** - * @internal - */ -export * from "./EventStreamMarshaller"; -/** - * @internal - */ -export * from "./provider"; diff --git a/node_modules/@smithy/eventstream-serde-universal/dist-types/ts3.4/provider.d.ts b/node_modules/@smithy/eventstream-serde-universal/dist-types/ts3.4/provider.d.ts deleted file mode 100644 index ef02e9a5..00000000 --- a/node_modules/@smithy/eventstream-serde-universal/dist-types/ts3.4/provider.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -import { EventStreamSerdeProvider } from "@smithy/types"; -/** NodeJS event stream utils provider */ -export declare const eventStreamSerdeProvider: EventStreamSerdeProvider; diff --git a/node_modules/@smithy/eventstream-serde-universal/package.json b/node_modules/@smithy/eventstream-serde-universal/package.json deleted file mode 100644 index 57d98232..00000000 --- a/node_modules/@smithy/eventstream-serde-universal/package.json +++ /dev/null @@ -1,63 +0,0 @@ -{ - "name": "@smithy/eventstream-serde-universal", - "version": "2.0.14", - "scripts": { - "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types && yarn build:types:downlevel'", - "build:cjs": "yarn g:tsc -p tsconfig.cjs.json", - "build:es": "yarn g:tsc -p tsconfig.es.json", - "build:types": "yarn g:tsc -p tsconfig.types.json", - "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", - "stage-release": "rimraf ./.release && yarn pack && mkdir ./.release && tar zxvf ./package.tgz --directory ./.release && rm ./package.tgz", - "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo", - "lint": "eslint -c ../../.eslintrc.js \"src/**/*.ts\"", - "format": "prettier --config ../../prettier.config.js --ignore-path ../.prettierignore --write \"**/*.{ts,md,json}\"", - "test": "yarn g:jest" - }, - "main": "./dist-cjs/index.js", - "module": "./dist-es/index.js", - "types": "./dist-types/index.d.ts", - "author": { - "name": "AWS SDK for JavaScript Team", - "url": "https://aws.amazon.com/javascript/" - }, - "license": "Apache-2.0", - "dependencies": { - "@smithy/eventstream-codec": "^2.0.14", - "@smithy/types": "^2.6.0", - "tslib": "^2.5.0" - }, - "devDependencies": { - "@smithy/util-utf8": "^2.0.2", - "@tsconfig/recommended": "1.0.1", - "@types/node": "^14.14.31", - "concurrently": "7.0.0", - "downlevel-dts": "0.10.1", - "rimraf": "3.0.2", - "typedoc": "0.23.23" - }, - "engines": { - "node": ">=14.0.0" - }, - "typesVersions": { - "<4.0": { - "dist-types/*": [ - "dist-types/ts3.4/*" - ] - } - }, - "files": [ - "dist-*/**" - ], - "homepage": "https://github.com/awslabs/smithy-typescript/tree/main/packages/eventstream-serde-universal", - "repository": { - "type": "git", - "url": "https://github.com/awslabs/smithy-typescript.git", - "directory": "packages/eventstream-serde-universal" - }, - "typedoc": { - "entryPoint": "src/index.ts" - }, - "publishConfig": { - "directory": ".release/package" - } -} \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index d5eda383..0b7ac6c9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "1.0.0", "license": "ISC", "dependencies": { - "@aws-sdk/client-lambda": "^3.454.0", + "@aws-sdk/client-ssm": "^3.454.0", "@extractus/feed-extractor": "^7.0.7", "@nostr-dev-kit/ndk": "^2.0.5", "bech32-buffer": "^0.2.1", @@ -108,10 +108,10 @@ "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz", "integrity": "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==" }, - "node_modules/@aws-sdk/client-lambda": { + "node_modules/@aws-sdk/client-ssm": { "version": "3.454.0", - "resolved": "https://registry.npmjs.org/@aws-sdk/client-lambda/-/client-lambda-3.454.0.tgz", - "integrity": "sha512-nYak+ojl0H0AG0WTF2894npak4Uj2slBr09+3lBUz4rwPol93TsUHy8/5GfGLcqPMNnEKOknc4jioJOK7cb2Pw==", + "resolved": "https://registry.npmjs.org/@aws-sdk/client-ssm/-/client-ssm-3.454.0.tgz", + "integrity": "sha512-Vrf93hOzB4FAUpkGHvKywZ0yOVbghS0KbCsnlN1Mka780zmyc185YXGYSLv6B+yrI2tMj0cBvEad3M0qk69qVw==", "dependencies": { "@aws-crypto/sha256-browser": "3.0.0", "@aws-crypto/sha256-js": "3.0.0", @@ -129,9 +129,6 @@ "@aws-sdk/util-user-agent-browser": "3.451.0", "@aws-sdk/util-user-agent-node": "3.451.0", "@smithy/config-resolver": "^2.0.18", - "@smithy/eventstream-serde-browser": "^2.0.13", - "@smithy/eventstream-serde-config-resolver": "^2.0.13", - "@smithy/eventstream-serde-node": "^2.0.13", "@smithy/fetch-http-handler": "^2.2.6", "@smithy/hash-node": "^2.0.15", "@smithy/invalid-dependency": "^2.0.13", @@ -153,10 +150,10 @@ "@smithy/util-defaults-mode-node": "^2.0.25", "@smithy/util-endpoints": "^1.0.4", "@smithy/util-retry": "^2.0.6", - "@smithy/util-stream": "^2.0.20", "@smithy/util-utf8": "^2.0.2", "@smithy/util-waiter": "^2.0.13", - "tslib": "^2.5.0" + "tslib": "^2.5.0", + "uuid": "^8.3.2" }, "engines": { "node": ">=14.0.0" @@ -805,57 +802,6 @@ "tslib": "^2.5.0" } }, - "node_modules/@smithy/eventstream-serde-browser": { - "version": "2.0.14", - "resolved": "https://registry.npmjs.org/@smithy/eventstream-serde-browser/-/eventstream-serde-browser-2.0.14.tgz", - "integrity": "sha512-41wmYE9smDGJi1ZXp+LogH6BR7MkSsQD91wneIFISF/mupKULvoOJUkv/Nf0NMRxWlM3Bf1Vvi9FlR2oV4KU8Q==", - "dependencies": { - "@smithy/eventstream-serde-universal": "^2.0.14", - "@smithy/types": "^2.6.0", - "tslib": "^2.5.0" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "node_modules/@smithy/eventstream-serde-config-resolver": { - "version": "2.0.14", - "resolved": "https://registry.npmjs.org/@smithy/eventstream-serde-config-resolver/-/eventstream-serde-config-resolver-2.0.14.tgz", - "integrity": "sha512-43IyRIzQ82s+5X+t/3Ood00CcWtAXQdmUIUKMed2Qg9REPk8SVIHhpm3rwewLwg+3G2Nh8NOxXlEQu6DsPUcMw==", - "dependencies": { - "@smithy/types": "^2.6.0", - "tslib": "^2.5.0" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "node_modules/@smithy/eventstream-serde-node": { - "version": "2.0.14", - "resolved": "https://registry.npmjs.org/@smithy/eventstream-serde-node/-/eventstream-serde-node-2.0.14.tgz", - "integrity": "sha512-jVh9E2qAr6DxH5tWfCAl9HV6tI0pEQ3JVmu85JknDvYTC66djcjDdhctPV2EHuKWf2kjRiFJcMIn0eercW4THA==", - "dependencies": { - "@smithy/eventstream-serde-universal": "^2.0.14", - "@smithy/types": "^2.6.0", - "tslib": "^2.5.0" - }, - "engines": { - "node": ">=14.0.0" - } - }, - "node_modules/@smithy/eventstream-serde-universal": { - "version": "2.0.14", - "resolved": "https://registry.npmjs.org/@smithy/eventstream-serde-universal/-/eventstream-serde-universal-2.0.14.tgz", - "integrity": "sha512-Ie35+AISNn1NmEjn5b2SchIE49pvKp4Q74bE9ME5RULWI1MgXyGkQUajWd5E6OBSr/sqGcs+rD3IjPErXnCm9g==", - "dependencies": { - "@smithy/eventstream-codec": "^2.0.14", - "@smithy/types": "^2.6.0", - "tslib": "^2.5.0" - }, - "engines": { - "node": ">=14.0.0" - } - }, "node_modules/@smithy/fetch-http-handler": { "version": "2.2.7", "resolved": "https://registry.npmjs.org/@smithy/fetch-http-handler/-/fetch-http-handler-2.2.7.tgz", diff --git a/package.json b/package.json index 9d219e44..87a03986 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,7 @@ "author": "David Lick", "license": "ISC", "dependencies": { - "@aws-sdk/client-lambda": "^3.454.0", + "@aws-sdk/client-ssm": "^3.454.0", "@extractus/feed-extractor": "^7.0.7", "@nostr-dev-kit/ndk": "^2.0.5", "bech32-buffer": "^0.2.1",