@depup/aws-sdk__client-lambda 3.1010.0-depup.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/README.md +40 -0
- package/changes.json +46 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +46 -0
- package/dist-cjs/endpoint/endpointResolver.js +18 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/index.js +2089 -0
- package/dist-cjs/models/LambdaServiceException.js +12 -0
- package/dist-cjs/models/errors.js +730 -0
- package/dist-cjs/runtimeConfig.browser.js +40 -0
- package/dist-cjs/runtimeConfig.js +55 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +43 -0
- package/dist-cjs/schemas/schemas_0.js +2680 -0
- package/dist-es/Lambda.js +225 -0
- package/dist-es/LambdaClient.js +52 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +40 -0
- package/dist-es/commands/AddLayerVersionPermissionCommand.js +16 -0
- package/dist-es/commands/AddPermissionCommand.js +16 -0
- package/dist-es/commands/CheckpointDurableExecutionCommand.js +16 -0
- package/dist-es/commands/CreateAliasCommand.js +16 -0
- package/dist-es/commands/CreateCapacityProviderCommand.js +16 -0
- package/dist-es/commands/CreateCodeSigningConfigCommand.js +16 -0
- package/dist-es/commands/CreateEventSourceMappingCommand.js +16 -0
- package/dist-es/commands/CreateFunctionCommand.js +16 -0
- package/dist-es/commands/CreateFunctionUrlConfigCommand.js +16 -0
- package/dist-es/commands/DeleteAliasCommand.js +16 -0
- package/dist-es/commands/DeleteCapacityProviderCommand.js +16 -0
- package/dist-es/commands/DeleteCodeSigningConfigCommand.js +16 -0
- package/dist-es/commands/DeleteEventSourceMappingCommand.js +16 -0
- package/dist-es/commands/DeleteFunctionCodeSigningConfigCommand.js +16 -0
- package/dist-es/commands/DeleteFunctionCommand.js +16 -0
- package/dist-es/commands/DeleteFunctionConcurrencyCommand.js +16 -0
- package/dist-es/commands/DeleteFunctionEventInvokeConfigCommand.js +16 -0
- package/dist-es/commands/DeleteFunctionUrlConfigCommand.js +16 -0
- package/dist-es/commands/DeleteLayerVersionCommand.js +16 -0
- package/dist-es/commands/DeleteProvisionedConcurrencyConfigCommand.js +16 -0
- package/dist-es/commands/GetAccountSettingsCommand.js +16 -0
- package/dist-es/commands/GetAliasCommand.js +16 -0
- package/dist-es/commands/GetCapacityProviderCommand.js +16 -0
- package/dist-es/commands/GetCodeSigningConfigCommand.js +16 -0
- package/dist-es/commands/GetDurableExecutionCommand.js +16 -0
- package/dist-es/commands/GetDurableExecutionHistoryCommand.js +16 -0
- package/dist-es/commands/GetDurableExecutionStateCommand.js +16 -0
- package/dist-es/commands/GetEventSourceMappingCommand.js +16 -0
- package/dist-es/commands/GetFunctionCodeSigningConfigCommand.js +16 -0
- package/dist-es/commands/GetFunctionCommand.js +16 -0
- package/dist-es/commands/GetFunctionConcurrencyCommand.js +16 -0
- package/dist-es/commands/GetFunctionConfigurationCommand.js +16 -0
- package/dist-es/commands/GetFunctionEventInvokeConfigCommand.js +16 -0
- package/dist-es/commands/GetFunctionRecursionConfigCommand.js +16 -0
- package/dist-es/commands/GetFunctionScalingConfigCommand.js +16 -0
- package/dist-es/commands/GetFunctionUrlConfigCommand.js +16 -0
- package/dist-es/commands/GetLayerVersionByArnCommand.js +16 -0
- package/dist-es/commands/GetLayerVersionCommand.js +16 -0
- package/dist-es/commands/GetLayerVersionPolicyCommand.js +16 -0
- package/dist-es/commands/GetPolicyCommand.js +16 -0
- package/dist-es/commands/GetProvisionedConcurrencyConfigCommand.js +16 -0
- package/dist-es/commands/GetRuntimeManagementConfigCommand.js +16 -0
- package/dist-es/commands/InvokeAsyncCommand.js +16 -0
- package/dist-es/commands/InvokeCommand.js +16 -0
- package/dist-es/commands/InvokeWithResponseStreamCommand.js +20 -0
- package/dist-es/commands/ListAliasesCommand.js +16 -0
- package/dist-es/commands/ListCapacityProvidersCommand.js +16 -0
- package/dist-es/commands/ListCodeSigningConfigsCommand.js +16 -0
- package/dist-es/commands/ListDurableExecutionsByFunctionCommand.js +16 -0
- package/dist-es/commands/ListEventSourceMappingsCommand.js +16 -0
- package/dist-es/commands/ListFunctionEventInvokeConfigsCommand.js +16 -0
- package/dist-es/commands/ListFunctionUrlConfigsCommand.js +16 -0
- package/dist-es/commands/ListFunctionVersionsByCapacityProviderCommand.js +16 -0
- package/dist-es/commands/ListFunctionsByCodeSigningConfigCommand.js +16 -0
- package/dist-es/commands/ListFunctionsCommand.js +16 -0
- package/dist-es/commands/ListLayerVersionsCommand.js +16 -0
- package/dist-es/commands/ListLayersCommand.js +16 -0
- package/dist-es/commands/ListProvisionedConcurrencyConfigsCommand.js +16 -0
- package/dist-es/commands/ListTagsCommand.js +16 -0
- package/dist-es/commands/ListVersionsByFunctionCommand.js +16 -0
- package/dist-es/commands/PublishLayerVersionCommand.js +16 -0
- package/dist-es/commands/PublishVersionCommand.js +16 -0
- package/dist-es/commands/PutFunctionCodeSigningConfigCommand.js +16 -0
- package/dist-es/commands/PutFunctionConcurrencyCommand.js +16 -0
- package/dist-es/commands/PutFunctionEventInvokeConfigCommand.js +16 -0
- package/dist-es/commands/PutFunctionRecursionConfigCommand.js +16 -0
- package/dist-es/commands/PutFunctionScalingConfigCommand.js +16 -0
- package/dist-es/commands/PutProvisionedConcurrencyConfigCommand.js +16 -0
- package/dist-es/commands/PutRuntimeManagementConfigCommand.js +16 -0
- package/dist-es/commands/RemoveLayerVersionPermissionCommand.js +16 -0
- package/dist-es/commands/RemovePermissionCommand.js +16 -0
- package/dist-es/commands/SendDurableExecutionCallbackFailureCommand.js +16 -0
- package/dist-es/commands/SendDurableExecutionCallbackHeartbeatCommand.js +16 -0
- package/dist-es/commands/SendDurableExecutionCallbackSuccessCommand.js +16 -0
- package/dist-es/commands/StopDurableExecutionCommand.js +16 -0
- package/dist-es/commands/TagResourceCommand.js +16 -0
- package/dist-es/commands/UntagResourceCommand.js +16 -0
- package/dist-es/commands/UpdateAliasCommand.js +16 -0
- package/dist-es/commands/UpdateCapacityProviderCommand.js +16 -0
- package/dist-es/commands/UpdateCodeSigningConfigCommand.js +16 -0
- package/dist-es/commands/UpdateEventSourceMappingCommand.js +16 -0
- package/dist-es/commands/UpdateFunctionCodeCommand.js +16 -0
- package/dist-es/commands/UpdateFunctionConfigurationCommand.js +16 -0
- package/dist-es/commands/UpdateFunctionEventInvokeConfigCommand.js +16 -0
- package/dist-es/commands/UpdateFunctionUrlConfigCommand.js +16 -0
- package/dist-es/commands/index.js +85 -0
- package/dist-es/endpoint/EndpointParameters.js +13 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +10 -0
- package/dist-es/models/LambdaServiceException.js +8 -0
- package/dist-es/models/enums.js +350 -0
- package/dist-es/models/errors.js +683 -0
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/pagination/GetDurableExecutionHistoryPaginator.js +4 -0
- package/dist-es/pagination/GetDurableExecutionStatePaginator.js +4 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListAliasesPaginator.js +4 -0
- package/dist-es/pagination/ListCapacityProvidersPaginator.js +4 -0
- package/dist-es/pagination/ListCodeSigningConfigsPaginator.js +4 -0
- package/dist-es/pagination/ListDurableExecutionsByFunctionPaginator.js +4 -0
- package/dist-es/pagination/ListEventSourceMappingsPaginator.js +4 -0
- package/dist-es/pagination/ListFunctionEventInvokeConfigsPaginator.js +4 -0
- package/dist-es/pagination/ListFunctionUrlConfigsPaginator.js +4 -0
- package/dist-es/pagination/ListFunctionVersionsByCapacityProviderPaginator.js +4 -0
- package/dist-es/pagination/ListFunctionsByCodeSigningConfigPaginator.js +4 -0
- package/dist-es/pagination/ListFunctionsPaginator.js +4 -0
- package/dist-es/pagination/ListLayerVersionsPaginator.js +4 -0
- package/dist-es/pagination/ListLayersPaginator.js +4 -0
- package/dist-es/pagination/ListProvisionedConcurrencyConfigsPaginator.js +4 -0
- package/dist-es/pagination/ListVersionsByFunctionPaginator.js +4 -0
- package/dist-es/pagination/index.js +17 -0
- package/dist-es/runtimeConfig.browser.js +35 -0
- package/dist-es/runtimeConfig.js +50 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +39 -0
- package/dist-es/runtimeExtensions.js +9 -0
- package/dist-es/schemas/schemas_0.js +2670 -0
- package/dist-es/waiters/index.js +6 -0
- package/dist-es/waiters/waitForFunctionActive.js +49 -0
- package/dist-es/waiters/waitForFunctionActiveV2.js +49 -0
- package/dist-es/waiters/waitForFunctionExists.js +26 -0
- package/dist-es/waiters/waitForFunctionUpdated.js +49 -0
- package/dist-es/waiters/waitForFunctionUpdatedV2.js +49 -0
- package/dist-es/waiters/waitForPublishedVersionActive.js +49 -0
- package/dist-types/Lambda.d.ts +760 -0
- package/dist-types/LambdaClient.d.ts +277 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
- package/dist-types/commands/AddLayerVersionPermissionCommand.d.ts +122 -0
- package/dist-types/commands/AddPermissionCommand.d.ts +144 -0
- package/dist-types/commands/CheckpointDurableExecutionCommand.d.ts +190 -0
- package/dist-types/commands/CreateAliasCommand.d.ts +128 -0
- package/dist-types/commands/CreateCapacityProviderCommand.d.ts +162 -0
- package/dist-types/commands/CreateCodeSigningConfigCommand.d.ts +104 -0
- package/dist-types/commands/CreateEventSourceMappingCommand.d.ts +336 -0
- package/dist-types/commands/CreateFunctionCommand.d.ts +379 -0
- package/dist-types/commands/CreateFunctionUrlConfigCommand.d.ts +128 -0
- package/dist-types/commands/DeleteAliasCommand.d.ts +99 -0
- package/dist-types/commands/DeleteCapacityProviderCommand.d.ts +126 -0
- package/dist-types/commands/DeleteCodeSigningConfigCommand.d.ts +84 -0
- package/dist-types/commands/DeleteEventSourceMappingCommand.d.ts +228 -0
- package/dist-types/commands/DeleteFunctionCodeSigningConfigCommand.d.ts +90 -0
- package/dist-types/commands/DeleteFunctionCommand.d.ts +104 -0
- package/dist-types/commands/DeleteFunctionConcurrencyCommand.d.ts +100 -0
- package/dist-types/commands/DeleteFunctionEventInvokeConfigCommand.d.ts +102 -0
- package/dist-types/commands/DeleteFunctionUrlConfigCommand.d.ts +85 -0
- package/dist-types/commands/DeleteLayerVersionCommand.d.ts +93 -0
- package/dist-types/commands/DeleteProvisionedConcurrencyConfigCommand.d.ts +102 -0
- package/dist-types/commands/GetAccountSettingsCommand.d.ts +111 -0
- package/dist-types/commands/GetAliasCommand.d.ts +116 -0
- package/dist-types/commands/GetCapacityProviderCommand.d.ts +123 -0
- package/dist-types/commands/GetCodeSigningConfigCommand.d.ts +96 -0
- package/dist-types/commands/GetDurableExecutionCommand.d.ts +105 -0
- package/dist-types/commands/GetDurableExecutionHistoryCommand.d.ts +259 -0
- package/dist-types/commands/GetDurableExecutionStateCommand.d.ts +152 -0
- package/dist-types/commands/GetEventSourceMappingCommand.d.ts +227 -0
- package/dist-types/commands/GetFunctionCodeSigningConfigCommand.d.ts +87 -0
- package/dist-types/commands/GetFunctionCommand.d.ts +274 -0
- package/dist-types/commands/GetFunctionConcurrencyCommand.d.ts +101 -0
- package/dist-types/commands/GetFunctionConfigurationCommand.d.ts +246 -0
- package/dist-types/commands/GetFunctionEventInvokeConfigCommand.d.ts +123 -0
- package/dist-types/commands/GetFunctionRecursionConfigCommand.d.ts +86 -0
- package/dist-types/commands/GetFunctionScalingConfigCommand.d.ts +95 -0
- package/dist-types/commands/GetFunctionUrlConfigCommand.d.ts +108 -0
- package/dist-types/commands/GetLayerVersionByArnCommand.d.ts +131 -0
- package/dist-types/commands/GetLayerVersionCommand.d.ts +135 -0
- package/dist-types/commands/GetLayerVersionPolicyCommand.d.ts +88 -0
- package/dist-types/commands/GetPolicyCommand.d.ts +105 -0
- package/dist-types/commands/GetProvisionedConcurrencyConfigCommand.d.ts +135 -0
- package/dist-types/commands/GetRuntimeManagementConfigCommand.d.ts +89 -0
- package/dist-types/commands/InvokeAsyncCommand.d.ts +109 -0
- package/dist-types/commands/InvokeCommand.d.ts +237 -0
- package/dist-types/commands/InvokeWithResponseStreamCommand.d.ts +194 -0
- package/dist-types/commands/ListAliasesCommand.d.ts +138 -0
- package/dist-types/commands/ListCapacityProvidersCommand.d.ts +125 -0
- package/dist-types/commands/ListCodeSigningConfigsCommand.d.ts +97 -0
- package/dist-types/commands/ListDurableExecutionsByFunctionCommand.d.ts +106 -0
- package/dist-types/commands/ListEventSourceMappingsCommand.d.ts +234 -0
- package/dist-types/commands/ListFunctionEventInvokeConfigsCommand.d.ts +132 -0
- package/dist-types/commands/ListFunctionUrlConfigsCommand.d.ts +114 -0
- package/dist-types/commands/ListFunctionVersionsByCapacityProviderCommand.d.ts +95 -0
- package/dist-types/commands/ListFunctionsByCodeSigningConfigCommand.d.ts +88 -0
- package/dist-types/commands/ListFunctionsCommand.d.ts +266 -0
- package/dist-types/commands/ListLayerVersionsCommand.d.ts +139 -0
- package/dist-types/commands/ListLayersCommand.d.ts +135 -0
- package/dist-types/commands/ListProvisionedConcurrencyConfigsCommand.d.ts +131 -0
- package/dist-types/commands/ListTagsCommand.d.ts +106 -0
- package/dist-types/commands/ListVersionsByFunctionCommand.d.ts +282 -0
- package/dist-types/commands/PublishLayerVersionCommand.d.ts +160 -0
- package/dist-types/commands/PublishVersionCommand.d.ts +258 -0
- package/dist-types/commands/PutFunctionCodeSigningConfigCommand.d.ts +94 -0
- package/dist-types/commands/PutFunctionConcurrencyCommand.d.ts +106 -0
- package/dist-types/commands/PutFunctionEventInvokeConfigCommand.d.ts +135 -0
- package/dist-types/commands/PutFunctionRecursionConfigCommand.d.ts +90 -0
- package/dist-types/commands/PutFunctionScalingConfigCommand.d.ts +94 -0
- package/dist-types/commands/PutProvisionedConcurrencyConfigCommand.d.ts +116 -0
- package/dist-types/commands/PutRuntimeManagementConfigCommand.d.ts +94 -0
- package/dist-types/commands/RemoveLayerVersionPermissionCommand.d.ts +105 -0
- package/dist-types/commands/RemovePermissionCommand.d.ts +105 -0
- package/dist-types/commands/SendDurableExecutionCallbackFailureCommand.d.ts +92 -0
- package/dist-types/commands/SendDurableExecutionCallbackHeartbeatCommand.d.ts +84 -0
- package/dist-types/commands/SendDurableExecutionCallbackSuccessCommand.d.ts +91 -0
- package/dist-types/commands/StopDurableExecutionCommand.d.ts +94 -0
- package/dist-types/commands/TagResourceCommand.d.ts +106 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +106 -0
- package/dist-types/commands/UpdateAliasCommand.d.ts +141 -0
- package/dist-types/commands/UpdateCapacityProviderCommand.d.ts +136 -0
- package/dist-types/commands/UpdateCodeSigningConfigCommand.d.ts +105 -0
- package/dist-types/commands/UpdateEventSourceMappingCommand.d.ts +323 -0
- package/dist-types/commands/UpdateFunctionCodeCommand.d.ts +264 -0
- package/dist-types/commands/UpdateFunctionConfigurationCommand.d.ts +324 -0
- package/dist-types/commands/UpdateFunctionEventInvokeConfigCommand.d.ts +140 -0
- package/dist-types/commands/UpdateFunctionUrlConfigCommand.d.ts +129 -0
- package/dist-types/commands/index.d.ts +85 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +50 -0
- package/dist-types/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +18 -0
- package/dist-types/models/LambdaServiceException.d.ts +14 -0
- package/dist-types/models/enums.d.ts +702 -0
- package/dist-types/models/errors.d.ts +668 -0
- package/dist-types/models/models_0.d.ts +5953 -0
- package/dist-types/pagination/GetDurableExecutionHistoryPaginator.d.ts +7 -0
- package/dist-types/pagination/GetDurableExecutionStatePaginator.d.ts +7 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListAliasesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListCapacityProvidersPaginator.d.ts +7 -0
- package/dist-types/pagination/ListCodeSigningConfigsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListDurableExecutionsByFunctionPaginator.d.ts +7 -0
- package/dist-types/pagination/ListEventSourceMappingsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListFunctionEventInvokeConfigsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListFunctionUrlConfigsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListFunctionVersionsByCapacityProviderPaginator.d.ts +7 -0
- package/dist-types/pagination/ListFunctionsByCodeSigningConfigPaginator.d.ts +7 -0
- package/dist-types/pagination/ListFunctionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListLayerVersionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListLayersPaginator.d.ts +7 -0
- package/dist-types/pagination/ListProvisionedConcurrencyConfigsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListVersionsByFunctionPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +17 -0
- package/dist-types/runtimeConfig.browser.d.ts +56 -0
- package/dist-types/runtimeConfig.d.ts +56 -0
- package/dist-types/runtimeConfig.native.d.ts +55 -0
- package/dist-types/runtimeConfig.shared.d.ts +27 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/schemas/schemas_0.d.ts +399 -0
- package/dist-types/ts3.4/Lambda.d.ts +1664 -0
- package/dist-types/ts3.4/LambdaClient.d.ts +637 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +47 -0
- package/dist-types/ts3.4/commands/AddLayerVersionPermissionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/AddPermissionCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/CheckpointDurableExecutionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateAliasCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/CreateCapacityProviderCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateCodeSigningConfigCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateEventSourceMappingCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateFunctionCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/CreateFunctionUrlConfigCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteAliasCommand.d.ts +45 -0
- package/dist-types/ts3.4/commands/DeleteCapacityProviderCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteCodeSigningConfigCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteEventSourceMappingCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteFunctionCodeSigningConfigCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DeleteFunctionCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/DeleteFunctionConcurrencyCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DeleteFunctionEventInvokeConfigCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DeleteFunctionUrlConfigCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DeleteLayerVersionCommand.d.ts +46 -0
- package/dist-types/ts3.4/commands/DeleteProvisionedConcurrencyConfigCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetAccountSettingsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetAliasCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetCapacityProviderCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetCodeSigningConfigCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetDurableExecutionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetDurableExecutionHistoryCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetDurableExecutionStateCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetEventSourceMappingCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetFunctionCodeSigningConfigCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetFunctionCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetFunctionConcurrencyCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetFunctionConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetFunctionEventInvokeConfigCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetFunctionRecursionConfigCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetFunctionScalingConfigCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetFunctionUrlConfigCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetLayerVersionByArnCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetLayerVersionCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetLayerVersionPolicyCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetPolicyCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetProvisionedConcurrencyConfigCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetRuntimeManagementConfigCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/InvokeAsyncCommand.d.ts +56 -0
- package/dist-types/ts3.4/commands/InvokeCommand.d.ts +59 -0
- package/dist-types/ts3.4/commands/InvokeWithResponseStreamCommand.d.ts +60 -0
- package/dist-types/ts3.4/commands/ListAliasesCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListCapacityProvidersCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListCodeSigningConfigsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListDurableExecutionsByFunctionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListEventSourceMappingsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListFunctionEventInvokeConfigsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListFunctionUrlConfigsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListFunctionVersionsByCapacityProviderCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListFunctionsByCodeSigningConfigCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListFunctionsCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListLayerVersionsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListLayersCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListProvisionedConcurrencyConfigsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListTagsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListVersionsByFunctionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/PublishLayerVersionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/PublishVersionCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/PutFunctionCodeSigningConfigCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/PutFunctionConcurrencyCommand.d.ts +48 -0
- package/dist-types/ts3.4/commands/PutFunctionEventInvokeConfigCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/PutFunctionRecursionConfigCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/PutFunctionScalingConfigCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/PutProvisionedConcurrencyConfigCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/PutRuntimeManagementConfigCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/RemoveLayerVersionPermissionCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/RemovePermissionCommand.d.ts +45 -0
- package/dist-types/ts3.4/commands/SendDurableExecutionCallbackFailureCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/SendDurableExecutionCallbackHeartbeatCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/SendDurableExecutionCallbackSuccessCommand.d.ts +60 -0
- package/dist-types/ts3.4/commands/StopDurableExecutionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +45 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +45 -0
- package/dist-types/ts3.4/commands/UpdateAliasCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UpdateCapacityProviderCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateCodeSigningConfigCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateEventSourceMappingCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateFunctionCodeCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateFunctionConfigurationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateFunctionEventInvokeConfigCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateFunctionUrlConfigCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +85 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +13 -0
- package/dist-types/ts3.4/models/LambdaServiceException.d.ts +9 -0
- package/dist-types/ts3.4/models/enums.d.ts +425 -0
- package/dist-types/ts3.4/models/errors.d.ts +409 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1499 -0
- package/dist-types/ts3.4/pagination/GetDurableExecutionHistoryPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/GetDurableExecutionStatePaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +5 -0
- package/dist-types/ts3.4/pagination/ListAliasesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListCapacityProvidersPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListCodeSigningConfigsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListDurableExecutionsByFunctionPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListEventSourceMappingsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListFunctionEventInvokeConfigsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListFunctionUrlConfigsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListFunctionVersionsByCapacityProviderPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListFunctionsByCodeSigningConfigPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListFunctionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListLayerVersionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListLayersPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListProvisionedConcurrencyConfigsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListVersionsByFunctionPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +17 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +101 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +96 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +105 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +30 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +399 -0
- package/dist-types/ts3.4/waiters/index.d.ts +6 -0
- package/dist-types/ts3.4/waiters/waitForFunctionActive.d.ts +11 -0
- package/dist-types/ts3.4/waiters/waitForFunctionActiveV2.d.ts +11 -0
- package/dist-types/ts3.4/waiters/waitForFunctionExists.d.ts +11 -0
- package/dist-types/ts3.4/waiters/waitForFunctionUpdated.d.ts +11 -0
- package/dist-types/ts3.4/waiters/waitForFunctionUpdatedV2.d.ts +11 -0
- package/dist-types/ts3.4/waiters/waitForPublishedVersionActive.d.ts +11 -0
- package/dist-types/waiters/index.d.ts +6 -0
- package/dist-types/waiters/waitForFunctionActive.d.ts +14 -0
- package/dist-types/waiters/waitForFunctionActiveV2.d.ts +14 -0
- package/dist-types/waiters/waitForFunctionExists.d.ts +14 -0
- package/dist-types/waiters/waitForFunctionUpdated.d.ts +14 -0
- package/dist-types/waiters/waitForFunctionUpdatedV2.d.ts +14 -0
- package/dist-types/waiters/waitForPublishedVersionActive.d.ts +14 -0
- package/package.json +164 -0
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient";
|
|
4
|
+
import type { CreateCodeSigningConfigRequest, CreateCodeSigningConfigResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateCodeSigningConfigCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateCodeSigningConfigCommandInput extends CreateCodeSigningConfigRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateCodeSigningConfigCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateCodeSigningConfigCommandOutput extends CreateCodeSigningConfigResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateCodeSigningConfigCommand_base: {
|
|
25
|
+
new (input: CreateCodeSigningConfigCommandInput): import("@smithy/smithy-client").CommandImpl<CreateCodeSigningConfigCommandInput, CreateCodeSigningConfigCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreateCodeSigningConfigCommandInput): import("@smithy/smithy-client").CommandImpl<CreateCodeSigningConfigCommandInput, CreateCodeSigningConfigCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Creates a code signing configuration. A <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-codesigning.html">code signing configuration</a> defines a list of allowed signing profiles and defines the code-signing validation policy (action to be taken if deployment validation checks fail). </p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { LambdaClient, CreateCodeSigningConfigCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
35
|
+
* // const { LambdaClient, CreateCodeSigningConfigCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
36
|
+
* // import type { LambdaClientConfig } from "@aws-sdk/client-lambda";
|
|
37
|
+
* const config = {}; // type is LambdaClientConfig
|
|
38
|
+
* const client = new LambdaClient(config);
|
|
39
|
+
* const input = { // CreateCodeSigningConfigRequest
|
|
40
|
+
* Description: "STRING_VALUE",
|
|
41
|
+
* AllowedPublishers: { // AllowedPublishers
|
|
42
|
+
* SigningProfileVersionArns: [ // SigningProfileVersionArns // required
|
|
43
|
+
* "STRING_VALUE",
|
|
44
|
+
* ],
|
|
45
|
+
* },
|
|
46
|
+
* CodeSigningPolicies: { // CodeSigningPolicies
|
|
47
|
+
* UntrustedArtifactOnDeployment: "Warn" || "Enforce",
|
|
48
|
+
* },
|
|
49
|
+
* Tags: { // Tags
|
|
50
|
+
* "<keys>": "STRING_VALUE",
|
|
51
|
+
* },
|
|
52
|
+
* };
|
|
53
|
+
* const command = new CreateCodeSigningConfigCommand(input);
|
|
54
|
+
* const response = await client.send(command);
|
|
55
|
+
* // { // CreateCodeSigningConfigResponse
|
|
56
|
+
* // CodeSigningConfig: { // CodeSigningConfig
|
|
57
|
+
* // CodeSigningConfigId: "STRING_VALUE", // required
|
|
58
|
+
* // CodeSigningConfigArn: "STRING_VALUE", // required
|
|
59
|
+
* // Description: "STRING_VALUE",
|
|
60
|
+
* // AllowedPublishers: { // AllowedPublishers
|
|
61
|
+
* // SigningProfileVersionArns: [ // SigningProfileVersionArns // required
|
|
62
|
+
* // "STRING_VALUE",
|
|
63
|
+
* // ],
|
|
64
|
+
* // },
|
|
65
|
+
* // CodeSigningPolicies: { // CodeSigningPolicies
|
|
66
|
+
* // UntrustedArtifactOnDeployment: "Warn" || "Enforce",
|
|
67
|
+
* // },
|
|
68
|
+
* // LastModified: "STRING_VALUE", // required
|
|
69
|
+
* // },
|
|
70
|
+
* // };
|
|
71
|
+
*
|
|
72
|
+
* ```
|
|
73
|
+
*
|
|
74
|
+
* @param CreateCodeSigningConfigCommandInput - {@link CreateCodeSigningConfigCommandInput}
|
|
75
|
+
* @returns {@link CreateCodeSigningConfigCommandOutput}
|
|
76
|
+
* @see {@link CreateCodeSigningConfigCommandInput} for command's `input` shape.
|
|
77
|
+
* @see {@link CreateCodeSigningConfigCommandOutput} for command's `response` shape.
|
|
78
|
+
* @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape.
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
81
|
+
* <p>One of the parameters in the request is not valid.</p>
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link ServiceException} (server fault)
|
|
84
|
+
* <p>The Lambda service encountered an internal error.</p>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link LambdaServiceException}
|
|
87
|
+
* <p>Base exception class for all service exceptions from Lambda service.</p>
|
|
88
|
+
*
|
|
89
|
+
*
|
|
90
|
+
* @public
|
|
91
|
+
*/
|
|
92
|
+
export declare class CreateCodeSigningConfigCommand extends CreateCodeSigningConfigCommand_base {
|
|
93
|
+
/** @internal type navigation helper, not in runtime. */
|
|
94
|
+
protected static __types: {
|
|
95
|
+
api: {
|
|
96
|
+
input: CreateCodeSigningConfigRequest;
|
|
97
|
+
output: CreateCodeSigningConfigResponse;
|
|
98
|
+
};
|
|
99
|
+
sdk: {
|
|
100
|
+
input: CreateCodeSigningConfigCommandInput;
|
|
101
|
+
output: CreateCodeSigningConfigCommandOutput;
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
}
|
|
@@ -0,0 +1,336 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient";
|
|
4
|
+
import type { CreateEventSourceMappingRequest, EventSourceMappingConfiguration } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateEventSourceMappingCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateEventSourceMappingCommandInput extends CreateEventSourceMappingRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateEventSourceMappingCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateEventSourceMappingCommandOutput extends EventSourceMappingConfiguration, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateEventSourceMappingCommand_base: {
|
|
25
|
+
new (input: CreateEventSourceMappingCommandInput): import("@smithy/smithy-client").CommandImpl<CreateEventSourceMappingCommandInput, CreateEventSourceMappingCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreateEventSourceMappingCommandInput): import("@smithy/smithy-client").CommandImpl<CreateEventSourceMappingCommandInput, CreateEventSourceMappingCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Creates a mapping between an event source and an Lambda function. Lambda reads items from the event source and invokes the function.</p> <p>For details about how to configure different event sources, see the following topics. </p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html#services-dynamodb-eventsourcemapping"> Amazon DynamoDB Streams</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html#services-kinesis-eventsourcemapping"> Amazon Kinesis</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#events-sqs-eventsource"> Amazon SQS</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-mq.html#services-mq-eventsourcemapping"> Amazon MQ and RabbitMQ</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html"> Amazon MSK</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/lambda/latest/dg/kafka-smaa.html"> Apache Kafka</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-documentdb.html"> Amazon DocumentDB</a> </p> </li> </ul> <p>The following error handling options are available for stream sources (DynamoDB, Kinesis, Amazon MSK, and self-managed Apache Kafka):</p> <ul> <li> <p> <code>BisectBatchOnFunctionError</code> – If the function returns an error, split the batch in two and retry.</p> </li> <li> <p> <code>MaximumRecordAgeInSeconds</code> – 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</p> </li> <li> <p> <code>MaximumRetryAttempts</code> – 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.</p> </li> <li> <p> <code>OnFailure</code> – Send discarded records to an Amazon SQS queue, Amazon SNS topic, Kafka topic, or Amazon S3 bucket. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-async-retain-records.html#invocation-async-destinations">Adding a destination</a>.</p> </li> </ul> <p>The following option is available only for DynamoDB and Kinesis event sources:</p> <ul> <li> <p> <code>ParallelizationFactor</code> – Process multiple batches from each shard concurrently.</p> </li> </ul> <p>For information about which configuration parameters apply to each event source, see the following topics.</p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html#services-ddb-params"> Amazon DynamoDB Streams</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html#services-kinesis-params"> Amazon Kinesis</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#services-sqs-params"> Amazon SQS</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-mq.html#services-mq-params"> Amazon MQ and RabbitMQ</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html#services-msk-parms"> Amazon MSK</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-kafka.html#services-kafka-parms"> Apache Kafka</a> </p> </li> <li> <p> <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-documentdb.html#docdb-configuration"> Amazon DocumentDB</a> </p> </li> </ul>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { LambdaClient, CreateEventSourceMappingCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
35
|
+
* // const { LambdaClient, CreateEventSourceMappingCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
36
|
+
* // import type { LambdaClientConfig } from "@aws-sdk/client-lambda";
|
|
37
|
+
* const config = {}; // type is LambdaClientConfig
|
|
38
|
+
* const client = new LambdaClient(config);
|
|
39
|
+
* const input = { // CreateEventSourceMappingRequest
|
|
40
|
+
* EventSourceArn: "STRING_VALUE",
|
|
41
|
+
* FunctionName: "STRING_VALUE", // required
|
|
42
|
+
* Enabled: true || false,
|
|
43
|
+
* BatchSize: Number("int"),
|
|
44
|
+
* FilterCriteria: { // FilterCriteria
|
|
45
|
+
* Filters: [ // FilterList
|
|
46
|
+
* { // Filter
|
|
47
|
+
* Pattern: "STRING_VALUE",
|
|
48
|
+
* },
|
|
49
|
+
* ],
|
|
50
|
+
* },
|
|
51
|
+
* MaximumBatchingWindowInSeconds: Number("int"),
|
|
52
|
+
* ParallelizationFactor: Number("int"),
|
|
53
|
+
* StartingPosition: "TRIM_HORIZON" || "LATEST" || "AT_TIMESTAMP",
|
|
54
|
+
* StartingPositionTimestamp: new Date("TIMESTAMP"),
|
|
55
|
+
* DestinationConfig: { // DestinationConfig
|
|
56
|
+
* OnSuccess: { // OnSuccess
|
|
57
|
+
* Destination: "STRING_VALUE",
|
|
58
|
+
* },
|
|
59
|
+
* OnFailure: { // OnFailure
|
|
60
|
+
* Destination: "STRING_VALUE",
|
|
61
|
+
* },
|
|
62
|
+
* },
|
|
63
|
+
* MaximumRecordAgeInSeconds: Number("int"),
|
|
64
|
+
* BisectBatchOnFunctionError: true || false,
|
|
65
|
+
* MaximumRetryAttempts: Number("int"),
|
|
66
|
+
* Tags: { // Tags
|
|
67
|
+
* "<keys>": "STRING_VALUE",
|
|
68
|
+
* },
|
|
69
|
+
* TumblingWindowInSeconds: Number("int"),
|
|
70
|
+
* Topics: [ // Topics
|
|
71
|
+
* "STRING_VALUE",
|
|
72
|
+
* ],
|
|
73
|
+
* Queues: [ // Queues
|
|
74
|
+
* "STRING_VALUE",
|
|
75
|
+
* ],
|
|
76
|
+
* SourceAccessConfigurations: [ // SourceAccessConfigurations
|
|
77
|
+
* { // SourceAccessConfiguration
|
|
78
|
+
* 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",
|
|
79
|
+
* URI: "STRING_VALUE",
|
|
80
|
+
* },
|
|
81
|
+
* ],
|
|
82
|
+
* SelfManagedEventSource: { // SelfManagedEventSource
|
|
83
|
+
* Endpoints: { // Endpoints
|
|
84
|
+
* "<keys>": [ // EndpointLists
|
|
85
|
+
* "STRING_VALUE",
|
|
86
|
+
* ],
|
|
87
|
+
* },
|
|
88
|
+
* },
|
|
89
|
+
* FunctionResponseTypes: [ // FunctionResponseTypeList
|
|
90
|
+
* "ReportBatchItemFailures",
|
|
91
|
+
* ],
|
|
92
|
+
* AmazonManagedKafkaEventSourceConfig: { // AmazonManagedKafkaEventSourceConfig
|
|
93
|
+
* ConsumerGroupId: "STRING_VALUE",
|
|
94
|
+
* SchemaRegistryConfig: { // KafkaSchemaRegistryConfig
|
|
95
|
+
* SchemaRegistryURI: "STRING_VALUE",
|
|
96
|
+
* EventRecordFormat: "JSON" || "SOURCE",
|
|
97
|
+
* AccessConfigs: [ // KafkaSchemaRegistryAccessConfigList
|
|
98
|
+
* { // KafkaSchemaRegistryAccessConfig
|
|
99
|
+
* Type: "BASIC_AUTH" || "CLIENT_CERTIFICATE_TLS_AUTH" || "SERVER_ROOT_CA_CERTIFICATE",
|
|
100
|
+
* URI: "STRING_VALUE",
|
|
101
|
+
* },
|
|
102
|
+
* ],
|
|
103
|
+
* SchemaValidationConfigs: [ // KafkaSchemaValidationConfigList
|
|
104
|
+
* { // KafkaSchemaValidationConfig
|
|
105
|
+
* Attribute: "KEY" || "VALUE",
|
|
106
|
+
* },
|
|
107
|
+
* ],
|
|
108
|
+
* },
|
|
109
|
+
* },
|
|
110
|
+
* SelfManagedKafkaEventSourceConfig: { // SelfManagedKafkaEventSourceConfig
|
|
111
|
+
* ConsumerGroupId: "STRING_VALUE",
|
|
112
|
+
* SchemaRegistryConfig: {
|
|
113
|
+
* SchemaRegistryURI: "STRING_VALUE",
|
|
114
|
+
* EventRecordFormat: "JSON" || "SOURCE",
|
|
115
|
+
* AccessConfigs: [
|
|
116
|
+
* {
|
|
117
|
+
* Type: "BASIC_AUTH" || "CLIENT_CERTIFICATE_TLS_AUTH" || "SERVER_ROOT_CA_CERTIFICATE",
|
|
118
|
+
* URI: "STRING_VALUE",
|
|
119
|
+
* },
|
|
120
|
+
* ],
|
|
121
|
+
* SchemaValidationConfigs: [
|
|
122
|
+
* {
|
|
123
|
+
* Attribute: "KEY" || "VALUE",
|
|
124
|
+
* },
|
|
125
|
+
* ],
|
|
126
|
+
* },
|
|
127
|
+
* },
|
|
128
|
+
* ScalingConfig: { // ScalingConfig
|
|
129
|
+
* MaximumConcurrency: Number("int"),
|
|
130
|
+
* },
|
|
131
|
+
* DocumentDBEventSourceConfig: { // DocumentDBEventSourceConfig
|
|
132
|
+
* DatabaseName: "STRING_VALUE",
|
|
133
|
+
* CollectionName: "STRING_VALUE",
|
|
134
|
+
* FullDocument: "UpdateLookup" || "Default",
|
|
135
|
+
* },
|
|
136
|
+
* KMSKeyArn: "STRING_VALUE",
|
|
137
|
+
* MetricsConfig: { // EventSourceMappingMetricsConfig
|
|
138
|
+
* Metrics: [ // EventSourceMappingMetricList
|
|
139
|
+
* "EventCount" || "ErrorCount" || "KafkaMetrics",
|
|
140
|
+
* ],
|
|
141
|
+
* },
|
|
142
|
+
* LoggingConfig: { // EventSourceMappingLoggingConfig
|
|
143
|
+
* SystemLogLevel: "DEBUG" || "INFO" || "WARN",
|
|
144
|
+
* },
|
|
145
|
+
* ProvisionedPollerConfig: { // ProvisionedPollerConfig
|
|
146
|
+
* MinimumPollers: Number("int"),
|
|
147
|
+
* MaximumPollers: Number("int"),
|
|
148
|
+
* PollerGroupName: "STRING_VALUE",
|
|
149
|
+
* },
|
|
150
|
+
* };
|
|
151
|
+
* const command = new CreateEventSourceMappingCommand(input);
|
|
152
|
+
* const response = await client.send(command);
|
|
153
|
+
* // { // EventSourceMappingConfiguration
|
|
154
|
+
* // UUID: "STRING_VALUE",
|
|
155
|
+
* // StartingPosition: "TRIM_HORIZON" || "LATEST" || "AT_TIMESTAMP",
|
|
156
|
+
* // StartingPositionTimestamp: new Date("TIMESTAMP"),
|
|
157
|
+
* // BatchSize: Number("int"),
|
|
158
|
+
* // MaximumBatchingWindowInSeconds: Number("int"),
|
|
159
|
+
* // ParallelizationFactor: Number("int"),
|
|
160
|
+
* // EventSourceArn: "STRING_VALUE",
|
|
161
|
+
* // FilterCriteria: { // FilterCriteria
|
|
162
|
+
* // Filters: [ // FilterList
|
|
163
|
+
* // { // Filter
|
|
164
|
+
* // Pattern: "STRING_VALUE",
|
|
165
|
+
* // },
|
|
166
|
+
* // ],
|
|
167
|
+
* // },
|
|
168
|
+
* // FunctionArn: "STRING_VALUE",
|
|
169
|
+
* // LastModified: new Date("TIMESTAMP"),
|
|
170
|
+
* // LastProcessingResult: "STRING_VALUE",
|
|
171
|
+
* // State: "STRING_VALUE",
|
|
172
|
+
* // StateTransitionReason: "STRING_VALUE",
|
|
173
|
+
* // DestinationConfig: { // DestinationConfig
|
|
174
|
+
* // OnSuccess: { // OnSuccess
|
|
175
|
+
* // Destination: "STRING_VALUE",
|
|
176
|
+
* // },
|
|
177
|
+
* // OnFailure: { // OnFailure
|
|
178
|
+
* // Destination: "STRING_VALUE",
|
|
179
|
+
* // },
|
|
180
|
+
* // },
|
|
181
|
+
* // Topics: [ // Topics
|
|
182
|
+
* // "STRING_VALUE",
|
|
183
|
+
* // ],
|
|
184
|
+
* // Queues: [ // Queues
|
|
185
|
+
* // "STRING_VALUE",
|
|
186
|
+
* // ],
|
|
187
|
+
* // SourceAccessConfigurations: [ // SourceAccessConfigurations
|
|
188
|
+
* // { // SourceAccessConfiguration
|
|
189
|
+
* // 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",
|
|
190
|
+
* // URI: "STRING_VALUE",
|
|
191
|
+
* // },
|
|
192
|
+
* // ],
|
|
193
|
+
* // SelfManagedEventSource: { // SelfManagedEventSource
|
|
194
|
+
* // Endpoints: { // Endpoints
|
|
195
|
+
* // "<keys>": [ // EndpointLists
|
|
196
|
+
* // "STRING_VALUE",
|
|
197
|
+
* // ],
|
|
198
|
+
* // },
|
|
199
|
+
* // },
|
|
200
|
+
* // MaximumRecordAgeInSeconds: Number("int"),
|
|
201
|
+
* // BisectBatchOnFunctionError: true || false,
|
|
202
|
+
* // MaximumRetryAttempts: Number("int"),
|
|
203
|
+
* // TumblingWindowInSeconds: Number("int"),
|
|
204
|
+
* // FunctionResponseTypes: [ // FunctionResponseTypeList
|
|
205
|
+
* // "ReportBatchItemFailures",
|
|
206
|
+
* // ],
|
|
207
|
+
* // AmazonManagedKafkaEventSourceConfig: { // AmazonManagedKafkaEventSourceConfig
|
|
208
|
+
* // ConsumerGroupId: "STRING_VALUE",
|
|
209
|
+
* // SchemaRegistryConfig: { // KafkaSchemaRegistryConfig
|
|
210
|
+
* // SchemaRegistryURI: "STRING_VALUE",
|
|
211
|
+
* // EventRecordFormat: "JSON" || "SOURCE",
|
|
212
|
+
* // AccessConfigs: [ // KafkaSchemaRegistryAccessConfigList
|
|
213
|
+
* // { // KafkaSchemaRegistryAccessConfig
|
|
214
|
+
* // Type: "BASIC_AUTH" || "CLIENT_CERTIFICATE_TLS_AUTH" || "SERVER_ROOT_CA_CERTIFICATE",
|
|
215
|
+
* // URI: "STRING_VALUE",
|
|
216
|
+
* // },
|
|
217
|
+
* // ],
|
|
218
|
+
* // SchemaValidationConfigs: [ // KafkaSchemaValidationConfigList
|
|
219
|
+
* // { // KafkaSchemaValidationConfig
|
|
220
|
+
* // Attribute: "KEY" || "VALUE",
|
|
221
|
+
* // },
|
|
222
|
+
* // ],
|
|
223
|
+
* // },
|
|
224
|
+
* // },
|
|
225
|
+
* // SelfManagedKafkaEventSourceConfig: { // SelfManagedKafkaEventSourceConfig
|
|
226
|
+
* // ConsumerGroupId: "STRING_VALUE",
|
|
227
|
+
* // SchemaRegistryConfig: {
|
|
228
|
+
* // SchemaRegistryURI: "STRING_VALUE",
|
|
229
|
+
* // EventRecordFormat: "JSON" || "SOURCE",
|
|
230
|
+
* // AccessConfigs: [
|
|
231
|
+
* // {
|
|
232
|
+
* // Type: "BASIC_AUTH" || "CLIENT_CERTIFICATE_TLS_AUTH" || "SERVER_ROOT_CA_CERTIFICATE",
|
|
233
|
+
* // URI: "STRING_VALUE",
|
|
234
|
+
* // },
|
|
235
|
+
* // ],
|
|
236
|
+
* // SchemaValidationConfigs: [
|
|
237
|
+
* // {
|
|
238
|
+
* // Attribute: "KEY" || "VALUE",
|
|
239
|
+
* // },
|
|
240
|
+
* // ],
|
|
241
|
+
* // },
|
|
242
|
+
* // },
|
|
243
|
+
* // ScalingConfig: { // ScalingConfig
|
|
244
|
+
* // MaximumConcurrency: Number("int"),
|
|
245
|
+
* // },
|
|
246
|
+
* // DocumentDBEventSourceConfig: { // DocumentDBEventSourceConfig
|
|
247
|
+
* // DatabaseName: "STRING_VALUE",
|
|
248
|
+
* // CollectionName: "STRING_VALUE",
|
|
249
|
+
* // FullDocument: "UpdateLookup" || "Default",
|
|
250
|
+
* // },
|
|
251
|
+
* // KMSKeyArn: "STRING_VALUE",
|
|
252
|
+
* // FilterCriteriaError: { // FilterCriteriaError
|
|
253
|
+
* // ErrorCode: "STRING_VALUE",
|
|
254
|
+
* // Message: "STRING_VALUE",
|
|
255
|
+
* // },
|
|
256
|
+
* // EventSourceMappingArn: "STRING_VALUE",
|
|
257
|
+
* // MetricsConfig: { // EventSourceMappingMetricsConfig
|
|
258
|
+
* // Metrics: [ // EventSourceMappingMetricList
|
|
259
|
+
* // "EventCount" || "ErrorCount" || "KafkaMetrics",
|
|
260
|
+
* // ],
|
|
261
|
+
* // },
|
|
262
|
+
* // LoggingConfig: { // EventSourceMappingLoggingConfig
|
|
263
|
+
* // SystemLogLevel: "DEBUG" || "INFO" || "WARN",
|
|
264
|
+
* // },
|
|
265
|
+
* // ProvisionedPollerConfig: { // ProvisionedPollerConfig
|
|
266
|
+
* // MinimumPollers: Number("int"),
|
|
267
|
+
* // MaximumPollers: Number("int"),
|
|
268
|
+
* // PollerGroupName: "STRING_VALUE",
|
|
269
|
+
* // },
|
|
270
|
+
* // };
|
|
271
|
+
*
|
|
272
|
+
* ```
|
|
273
|
+
*
|
|
274
|
+
* @param CreateEventSourceMappingCommandInput - {@link CreateEventSourceMappingCommandInput}
|
|
275
|
+
* @returns {@link CreateEventSourceMappingCommandOutput}
|
|
276
|
+
* @see {@link CreateEventSourceMappingCommandInput} for command's `input` shape.
|
|
277
|
+
* @see {@link CreateEventSourceMappingCommandOutput} for command's `response` shape.
|
|
278
|
+
* @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape.
|
|
279
|
+
*
|
|
280
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
281
|
+
* <p>One of the parameters in the request is not valid.</p>
|
|
282
|
+
*
|
|
283
|
+
* @throws {@link ResourceConflictException} (client fault)
|
|
284
|
+
* <p>The resource already exists, or another operation is in progress.</p>
|
|
285
|
+
*
|
|
286
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
287
|
+
* <p>The resource specified in the request does not exist.</p>
|
|
288
|
+
*
|
|
289
|
+
* @throws {@link ServiceException} (server fault)
|
|
290
|
+
* <p>The Lambda service encountered an internal error.</p>
|
|
291
|
+
*
|
|
292
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
293
|
+
* <p>The request throughput limit was exceeded. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html#api-requests">Lambda quotas</a>.</p>
|
|
294
|
+
*
|
|
295
|
+
* @throws {@link LambdaServiceException}
|
|
296
|
+
* <p>Base exception class for all service exceptions from Lambda service.</p>
|
|
297
|
+
*
|
|
298
|
+
*
|
|
299
|
+
* @example To create a mapping between an event source and an AWS Lambda function
|
|
300
|
+
* ```javascript
|
|
301
|
+
* // The following example creates a mapping between an SQS queue and the my-function Lambda function.
|
|
302
|
+
* const input = {
|
|
303
|
+
* BatchSize: 5,
|
|
304
|
+
* EventSourceArn: "arn:aws:sqs:us-west-2:123456789012:my-queue",
|
|
305
|
+
* FunctionName: "my-function"
|
|
306
|
+
* };
|
|
307
|
+
* const command = new CreateEventSourceMappingCommand(input);
|
|
308
|
+
* const response = await client.send(command);
|
|
309
|
+
* /* response is
|
|
310
|
+
* {
|
|
311
|
+
* BatchSize: 5,
|
|
312
|
+
* EventSourceArn: "arn:aws:sqs:us-west-2:123456789012:my-queue",
|
|
313
|
+
* FunctionArn: "arn:aws:lambda:us-west-2:123456789012:function:my-function",
|
|
314
|
+
* LastModified: 1.569284520333E9,
|
|
315
|
+
* State: "Creating",
|
|
316
|
+
* StateTransitionReason: "USER_INITIATED",
|
|
317
|
+
* UUID: "a1b2c3d4-5678-90ab-cdef-11111EXAMPLE"
|
|
318
|
+
* }
|
|
319
|
+
* *\/
|
|
320
|
+
* ```
|
|
321
|
+
*
|
|
322
|
+
* @public
|
|
323
|
+
*/
|
|
324
|
+
export declare class CreateEventSourceMappingCommand extends CreateEventSourceMappingCommand_base {
|
|
325
|
+
/** @internal type navigation helper, not in runtime. */
|
|
326
|
+
protected static __types: {
|
|
327
|
+
api: {
|
|
328
|
+
input: CreateEventSourceMappingRequest;
|
|
329
|
+
output: EventSourceMappingConfiguration;
|
|
330
|
+
};
|
|
331
|
+
sdk: {
|
|
332
|
+
input: CreateEventSourceMappingCommandInput;
|
|
333
|
+
output: CreateEventSourceMappingCommandOutput;
|
|
334
|
+
};
|
|
335
|
+
};
|
|
336
|
+
}
|