@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,259 @@
|
|
|
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 { GetDurableExecutionHistoryRequest, GetDurableExecutionHistoryResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetDurableExecutionHistoryCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetDurableExecutionHistoryCommandInput extends GetDurableExecutionHistoryRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetDurableExecutionHistoryCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetDurableExecutionHistoryCommandOutput extends GetDurableExecutionHistoryResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetDurableExecutionHistoryCommand_base: {
|
|
25
|
+
new (input: GetDurableExecutionHistoryCommandInput): import("@smithy/smithy-client").CommandImpl<GetDurableExecutionHistoryCommandInput, GetDurableExecutionHistoryCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetDurableExecutionHistoryCommandInput): import("@smithy/smithy-client").CommandImpl<GetDurableExecutionHistoryCommandInput, GetDurableExecutionHistoryCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Retrieves the execution history for a <a href="https://docs.aws.amazon.com/lambda/latest/dg/durable-functions.html">durable execution</a>, showing all the steps, callbacks, and events that occurred during the execution. This provides a detailed audit trail of the execution's progress over time.</p> <p>The history is available while the execution is running and for a retention period after it completes (1-90 days, default 30 days). You can control whether to include execution data such as step results and callback payloads.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { LambdaClient, GetDurableExecutionHistoryCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
35
|
+
* // const { LambdaClient, GetDurableExecutionHistoryCommand } = 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 = { // GetDurableExecutionHistoryRequest
|
|
40
|
+
* DurableExecutionArn: "STRING_VALUE", // required
|
|
41
|
+
* IncludeExecutionData: true || false,
|
|
42
|
+
* MaxItems: Number("int"),
|
|
43
|
+
* Marker: "STRING_VALUE",
|
|
44
|
+
* ReverseOrder: true || false,
|
|
45
|
+
* };
|
|
46
|
+
* const command = new GetDurableExecutionHistoryCommand(input);
|
|
47
|
+
* const response = await client.send(command);
|
|
48
|
+
* // { // GetDurableExecutionHistoryResponse
|
|
49
|
+
* // Events: [ // Events // required
|
|
50
|
+
* // { // Event
|
|
51
|
+
* // EventType: "ExecutionStarted" || "ExecutionSucceeded" || "ExecutionFailed" || "ExecutionTimedOut" || "ExecutionStopped" || "ContextStarted" || "ContextSucceeded" || "ContextFailed" || "WaitStarted" || "WaitSucceeded" || "WaitCancelled" || "StepStarted" || "StepSucceeded" || "StepFailed" || "ChainedInvokeStarted" || "ChainedInvokeSucceeded" || "ChainedInvokeFailed" || "ChainedInvokeTimedOut" || "ChainedInvokeStopped" || "CallbackStarted" || "CallbackSucceeded" || "CallbackFailed" || "CallbackTimedOut" || "InvocationCompleted",
|
|
52
|
+
* // SubType: "STRING_VALUE",
|
|
53
|
+
* // EventId: Number("int"),
|
|
54
|
+
* // Id: "STRING_VALUE",
|
|
55
|
+
* // Name: "STRING_VALUE",
|
|
56
|
+
* // EventTimestamp: new Date("TIMESTAMP"),
|
|
57
|
+
* // ParentId: "STRING_VALUE",
|
|
58
|
+
* // ExecutionStartedDetails: { // ExecutionStartedDetails
|
|
59
|
+
* // Input: { // EventInput
|
|
60
|
+
* // Payload: "STRING_VALUE",
|
|
61
|
+
* // Truncated: true || false,
|
|
62
|
+
* // },
|
|
63
|
+
* // ExecutionTimeout: Number("int"), // required
|
|
64
|
+
* // },
|
|
65
|
+
* // ExecutionSucceededDetails: { // ExecutionSucceededDetails
|
|
66
|
+
* // Result: { // EventResult
|
|
67
|
+
* // Payload: "STRING_VALUE",
|
|
68
|
+
* // Truncated: true || false,
|
|
69
|
+
* // },
|
|
70
|
+
* // },
|
|
71
|
+
* // ExecutionFailedDetails: { // ExecutionFailedDetails
|
|
72
|
+
* // Error: { // EventError
|
|
73
|
+
* // Payload: { // ErrorObject
|
|
74
|
+
* // ErrorMessage: "STRING_VALUE",
|
|
75
|
+
* // ErrorType: "STRING_VALUE",
|
|
76
|
+
* // ErrorData: "STRING_VALUE",
|
|
77
|
+
* // StackTrace: [ // StackTraceEntries
|
|
78
|
+
* // "STRING_VALUE",
|
|
79
|
+
* // ],
|
|
80
|
+
* // },
|
|
81
|
+
* // Truncated: true || false,
|
|
82
|
+
* // },
|
|
83
|
+
* // },
|
|
84
|
+
* // ExecutionTimedOutDetails: { // ExecutionTimedOutDetails
|
|
85
|
+
* // Error: {
|
|
86
|
+
* // Payload: {
|
|
87
|
+
* // ErrorMessage: "STRING_VALUE",
|
|
88
|
+
* // ErrorType: "STRING_VALUE",
|
|
89
|
+
* // ErrorData: "STRING_VALUE",
|
|
90
|
+
* // StackTrace: [
|
|
91
|
+
* // "STRING_VALUE",
|
|
92
|
+
* // ],
|
|
93
|
+
* // },
|
|
94
|
+
* // Truncated: true || false,
|
|
95
|
+
* // },
|
|
96
|
+
* // },
|
|
97
|
+
* // ExecutionStoppedDetails: { // ExecutionStoppedDetails
|
|
98
|
+
* // Error: {
|
|
99
|
+
* // Payload: {
|
|
100
|
+
* // ErrorMessage: "STRING_VALUE",
|
|
101
|
+
* // ErrorType: "STRING_VALUE",
|
|
102
|
+
* // ErrorData: "STRING_VALUE",
|
|
103
|
+
* // StackTrace: [
|
|
104
|
+
* // "STRING_VALUE",
|
|
105
|
+
* // ],
|
|
106
|
+
* // },
|
|
107
|
+
* // Truncated: true || false,
|
|
108
|
+
* // },
|
|
109
|
+
* // },
|
|
110
|
+
* // ContextStartedDetails: {},
|
|
111
|
+
* // ContextSucceededDetails: { // ContextSucceededDetails
|
|
112
|
+
* // Result: {
|
|
113
|
+
* // Payload: "STRING_VALUE",
|
|
114
|
+
* // Truncated: true || false,
|
|
115
|
+
* // },
|
|
116
|
+
* // },
|
|
117
|
+
* // ContextFailedDetails: { // ContextFailedDetails
|
|
118
|
+
* // Error: {
|
|
119
|
+
* // Payload: {
|
|
120
|
+
* // ErrorMessage: "STRING_VALUE",
|
|
121
|
+
* // ErrorType: "STRING_VALUE",
|
|
122
|
+
* // ErrorData: "STRING_VALUE",
|
|
123
|
+
* // StackTrace: [
|
|
124
|
+
* // "STRING_VALUE",
|
|
125
|
+
* // ],
|
|
126
|
+
* // },
|
|
127
|
+
* // Truncated: true || false,
|
|
128
|
+
* // },
|
|
129
|
+
* // },
|
|
130
|
+
* // WaitStartedDetails: { // WaitStartedDetails
|
|
131
|
+
* // Duration: Number("int"), // required
|
|
132
|
+
* // ScheduledEndTimestamp: new Date("TIMESTAMP"), // required
|
|
133
|
+
* // },
|
|
134
|
+
* // WaitSucceededDetails: { // WaitSucceededDetails
|
|
135
|
+
* // Duration: Number("int"),
|
|
136
|
+
* // },
|
|
137
|
+
* // WaitCancelledDetails: { // WaitCancelledDetails
|
|
138
|
+
* // Error: {
|
|
139
|
+
* // Payload: {
|
|
140
|
+
* // ErrorMessage: "STRING_VALUE",
|
|
141
|
+
* // ErrorType: "STRING_VALUE",
|
|
142
|
+
* // ErrorData: "STRING_VALUE",
|
|
143
|
+
* // StackTrace: [
|
|
144
|
+
* // "STRING_VALUE",
|
|
145
|
+
* // ],
|
|
146
|
+
* // },
|
|
147
|
+
* // Truncated: true || false,
|
|
148
|
+
* // },
|
|
149
|
+
* // },
|
|
150
|
+
* // StepStartedDetails: {},
|
|
151
|
+
* // StepSucceededDetails: { // StepSucceededDetails
|
|
152
|
+
* // Result: {
|
|
153
|
+
* // Payload: "STRING_VALUE",
|
|
154
|
+
* // Truncated: true || false,
|
|
155
|
+
* // },
|
|
156
|
+
* // RetryDetails: { // RetryDetails
|
|
157
|
+
* // CurrentAttempt: Number("int"),
|
|
158
|
+
* // NextAttemptDelaySeconds: Number("int"),
|
|
159
|
+
* // },
|
|
160
|
+
* // },
|
|
161
|
+
* // StepFailedDetails: { // StepFailedDetails
|
|
162
|
+
* // Error: "<EventError>", // required
|
|
163
|
+
* // RetryDetails: {
|
|
164
|
+
* // CurrentAttempt: Number("int"),
|
|
165
|
+
* // NextAttemptDelaySeconds: Number("int"),
|
|
166
|
+
* // },
|
|
167
|
+
* // },
|
|
168
|
+
* // ChainedInvokeStartedDetails: { // ChainedInvokeStartedDetails
|
|
169
|
+
* // FunctionName: "STRING_VALUE", // required
|
|
170
|
+
* // TenantId: "STRING_VALUE",
|
|
171
|
+
* // Input: {
|
|
172
|
+
* // Payload: "STRING_VALUE",
|
|
173
|
+
* // Truncated: true || false,
|
|
174
|
+
* // },
|
|
175
|
+
* // ExecutedVersion: "STRING_VALUE",
|
|
176
|
+
* // DurableExecutionArn: "STRING_VALUE",
|
|
177
|
+
* // },
|
|
178
|
+
* // ChainedInvokeSucceededDetails: { // ChainedInvokeSucceededDetails
|
|
179
|
+
* // Result: {
|
|
180
|
+
* // Payload: "STRING_VALUE",
|
|
181
|
+
* // Truncated: true || false,
|
|
182
|
+
* // },
|
|
183
|
+
* // },
|
|
184
|
+
* // ChainedInvokeFailedDetails: { // ChainedInvokeFailedDetails
|
|
185
|
+
* // Error: "<EventError>", // required
|
|
186
|
+
* // },
|
|
187
|
+
* // ChainedInvokeTimedOutDetails: { // ChainedInvokeTimedOutDetails
|
|
188
|
+
* // Error: "<EventError>", // required
|
|
189
|
+
* // },
|
|
190
|
+
* // ChainedInvokeStoppedDetails: { // ChainedInvokeStoppedDetails
|
|
191
|
+
* // Error: "<EventError>", // required
|
|
192
|
+
* // },
|
|
193
|
+
* // CallbackStartedDetails: { // CallbackStartedDetails
|
|
194
|
+
* // CallbackId: "STRING_VALUE", // required
|
|
195
|
+
* // HeartbeatTimeout: Number("int"),
|
|
196
|
+
* // Timeout: Number("int"),
|
|
197
|
+
* // },
|
|
198
|
+
* // CallbackSucceededDetails: { // CallbackSucceededDetails
|
|
199
|
+
* // Result: {
|
|
200
|
+
* // Payload: "STRING_VALUE",
|
|
201
|
+
* // Truncated: true || false,
|
|
202
|
+
* // },
|
|
203
|
+
* // },
|
|
204
|
+
* // CallbackFailedDetails: { // CallbackFailedDetails
|
|
205
|
+
* // Error: "<EventError>", // required
|
|
206
|
+
* // },
|
|
207
|
+
* // CallbackTimedOutDetails: { // CallbackTimedOutDetails
|
|
208
|
+
* // Error: "<EventError>", // required
|
|
209
|
+
* // },
|
|
210
|
+
* // InvocationCompletedDetails: { // InvocationCompletedDetails
|
|
211
|
+
* // StartTimestamp: new Date("TIMESTAMP"), // required
|
|
212
|
+
* // EndTimestamp: new Date("TIMESTAMP"), // required
|
|
213
|
+
* // RequestId: "STRING_VALUE", // required
|
|
214
|
+
* // Error: "<EventError>",
|
|
215
|
+
* // },
|
|
216
|
+
* // },
|
|
217
|
+
* // ],
|
|
218
|
+
* // NextMarker: "STRING_VALUE",
|
|
219
|
+
* // };
|
|
220
|
+
*
|
|
221
|
+
* ```
|
|
222
|
+
*
|
|
223
|
+
* @param GetDurableExecutionHistoryCommandInput - {@link GetDurableExecutionHistoryCommandInput}
|
|
224
|
+
* @returns {@link GetDurableExecutionHistoryCommandOutput}
|
|
225
|
+
* @see {@link GetDurableExecutionHistoryCommandInput} for command's `input` shape.
|
|
226
|
+
* @see {@link GetDurableExecutionHistoryCommandOutput} for command's `response` shape.
|
|
227
|
+
* @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape.
|
|
228
|
+
*
|
|
229
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
230
|
+
* <p>One of the parameters in the request is not valid.</p>
|
|
231
|
+
*
|
|
232
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
233
|
+
* <p>The resource specified in the request does not exist.</p>
|
|
234
|
+
*
|
|
235
|
+
* @throws {@link ServiceException} (server fault)
|
|
236
|
+
* <p>The Lambda service encountered an internal error.</p>
|
|
237
|
+
*
|
|
238
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
239
|
+
* <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>
|
|
240
|
+
*
|
|
241
|
+
* @throws {@link LambdaServiceException}
|
|
242
|
+
* <p>Base exception class for all service exceptions from Lambda service.</p>
|
|
243
|
+
*
|
|
244
|
+
*
|
|
245
|
+
* @public
|
|
246
|
+
*/
|
|
247
|
+
export declare class GetDurableExecutionHistoryCommand extends GetDurableExecutionHistoryCommand_base {
|
|
248
|
+
/** @internal type navigation helper, not in runtime. */
|
|
249
|
+
protected static __types: {
|
|
250
|
+
api: {
|
|
251
|
+
input: GetDurableExecutionHistoryRequest;
|
|
252
|
+
output: GetDurableExecutionHistoryResponse;
|
|
253
|
+
};
|
|
254
|
+
sdk: {
|
|
255
|
+
input: GetDurableExecutionHistoryCommandInput;
|
|
256
|
+
output: GetDurableExecutionHistoryCommandOutput;
|
|
257
|
+
};
|
|
258
|
+
};
|
|
259
|
+
}
|
|
@@ -0,0 +1,152 @@
|
|
|
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 { GetDurableExecutionStateRequest, GetDurableExecutionStateResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetDurableExecutionStateCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetDurableExecutionStateCommandInput extends GetDurableExecutionStateRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetDurableExecutionStateCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetDurableExecutionStateCommandOutput extends GetDurableExecutionStateResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetDurableExecutionStateCommand_base: {
|
|
25
|
+
new (input: GetDurableExecutionStateCommandInput): import("@smithy/smithy-client").CommandImpl<GetDurableExecutionStateCommandInput, GetDurableExecutionStateCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetDurableExecutionStateCommandInput): import("@smithy/smithy-client").CommandImpl<GetDurableExecutionStateCommandInput, GetDurableExecutionStateCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Retrieves the current execution state required for the replay process during <a href="https://docs.aws.amazon.com/lambda/latest/dg/durable-functions.html">durable function</a> execution. This API is used by the Lambda durable functions SDK to get state information needed for replay. You typically don't need to call this API directly as the SDK handles state management automatically.</p> <p>The response contains operations ordered by start sequence number in ascending order. Completed operations with children don't include child operation details since they don't need to be replayed.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { LambdaClient, GetDurableExecutionStateCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
35
|
+
* // const { LambdaClient, GetDurableExecutionStateCommand } = 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 = { // GetDurableExecutionStateRequest
|
|
40
|
+
* DurableExecutionArn: "STRING_VALUE", // required
|
|
41
|
+
* CheckpointToken: "STRING_VALUE", // required
|
|
42
|
+
* Marker: "STRING_VALUE",
|
|
43
|
+
* MaxItems: Number("int"),
|
|
44
|
+
* };
|
|
45
|
+
* const command = new GetDurableExecutionStateCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // { // GetDurableExecutionStateResponse
|
|
48
|
+
* // Operations: [ // Operations // required
|
|
49
|
+
* // { // Operation
|
|
50
|
+
* // Id: "STRING_VALUE", // required
|
|
51
|
+
* // ParentId: "STRING_VALUE",
|
|
52
|
+
* // Name: "STRING_VALUE",
|
|
53
|
+
* // Type: "EXECUTION" || "CONTEXT" || "STEP" || "WAIT" || "CALLBACK" || "CHAINED_INVOKE", // required
|
|
54
|
+
* // SubType: "STRING_VALUE",
|
|
55
|
+
* // StartTimestamp: new Date("TIMESTAMP"), // required
|
|
56
|
+
* // EndTimestamp: new Date("TIMESTAMP"),
|
|
57
|
+
* // Status: "STARTED" || "PENDING" || "READY" || "SUCCEEDED" || "FAILED" || "CANCELLED" || "TIMED_OUT" || "STOPPED", // required
|
|
58
|
+
* // ExecutionDetails: { // ExecutionDetails
|
|
59
|
+
* // InputPayload: "STRING_VALUE",
|
|
60
|
+
* // },
|
|
61
|
+
* // ContextDetails: { // ContextDetails
|
|
62
|
+
* // ReplayChildren: true || false,
|
|
63
|
+
* // Result: "STRING_VALUE",
|
|
64
|
+
* // Error: { // ErrorObject
|
|
65
|
+
* // ErrorMessage: "STRING_VALUE",
|
|
66
|
+
* // ErrorType: "STRING_VALUE",
|
|
67
|
+
* // ErrorData: "STRING_VALUE",
|
|
68
|
+
* // StackTrace: [ // StackTraceEntries
|
|
69
|
+
* // "STRING_VALUE",
|
|
70
|
+
* // ],
|
|
71
|
+
* // },
|
|
72
|
+
* // },
|
|
73
|
+
* // StepDetails: { // StepDetails
|
|
74
|
+
* // Attempt: Number("int"),
|
|
75
|
+
* // NextAttemptTimestamp: new Date("TIMESTAMP"),
|
|
76
|
+
* // Result: "STRING_VALUE",
|
|
77
|
+
* // Error: {
|
|
78
|
+
* // ErrorMessage: "STRING_VALUE",
|
|
79
|
+
* // ErrorType: "STRING_VALUE",
|
|
80
|
+
* // ErrorData: "STRING_VALUE",
|
|
81
|
+
* // StackTrace: [
|
|
82
|
+
* // "STRING_VALUE",
|
|
83
|
+
* // ],
|
|
84
|
+
* // },
|
|
85
|
+
* // },
|
|
86
|
+
* // WaitDetails: { // WaitDetails
|
|
87
|
+
* // ScheduledEndTimestamp: new Date("TIMESTAMP"),
|
|
88
|
+
* // },
|
|
89
|
+
* // CallbackDetails: { // CallbackDetails
|
|
90
|
+
* // CallbackId: "STRING_VALUE",
|
|
91
|
+
* // Result: "STRING_VALUE",
|
|
92
|
+
* // Error: {
|
|
93
|
+
* // ErrorMessage: "STRING_VALUE",
|
|
94
|
+
* // ErrorType: "STRING_VALUE",
|
|
95
|
+
* // ErrorData: "STRING_VALUE",
|
|
96
|
+
* // StackTrace: [
|
|
97
|
+
* // "STRING_VALUE",
|
|
98
|
+
* // ],
|
|
99
|
+
* // },
|
|
100
|
+
* // },
|
|
101
|
+
* // ChainedInvokeDetails: { // ChainedInvokeDetails
|
|
102
|
+
* // Result: "STRING_VALUE",
|
|
103
|
+
* // Error: {
|
|
104
|
+
* // ErrorMessage: "STRING_VALUE",
|
|
105
|
+
* // ErrorType: "STRING_VALUE",
|
|
106
|
+
* // ErrorData: "STRING_VALUE",
|
|
107
|
+
* // StackTrace: [
|
|
108
|
+
* // "STRING_VALUE",
|
|
109
|
+
* // ],
|
|
110
|
+
* // },
|
|
111
|
+
* // },
|
|
112
|
+
* // },
|
|
113
|
+
* // ],
|
|
114
|
+
* // NextMarker: "STRING_VALUE",
|
|
115
|
+
* // };
|
|
116
|
+
*
|
|
117
|
+
* ```
|
|
118
|
+
*
|
|
119
|
+
* @param GetDurableExecutionStateCommandInput - {@link GetDurableExecutionStateCommandInput}
|
|
120
|
+
* @returns {@link GetDurableExecutionStateCommandOutput}
|
|
121
|
+
* @see {@link GetDurableExecutionStateCommandInput} for command's `input` shape.
|
|
122
|
+
* @see {@link GetDurableExecutionStateCommandOutput} for command's `response` shape.
|
|
123
|
+
* @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape.
|
|
124
|
+
*
|
|
125
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
126
|
+
* <p>One of the parameters in the request is not valid.</p>
|
|
127
|
+
*
|
|
128
|
+
* @throws {@link ServiceException} (server fault)
|
|
129
|
+
* <p>The Lambda service encountered an internal error.</p>
|
|
130
|
+
*
|
|
131
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
132
|
+
* <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>
|
|
133
|
+
*
|
|
134
|
+
* @throws {@link LambdaServiceException}
|
|
135
|
+
* <p>Base exception class for all service exceptions from Lambda service.</p>
|
|
136
|
+
*
|
|
137
|
+
*
|
|
138
|
+
* @public
|
|
139
|
+
*/
|
|
140
|
+
export declare class GetDurableExecutionStateCommand extends GetDurableExecutionStateCommand_base {
|
|
141
|
+
/** @internal type navigation helper, not in runtime. */
|
|
142
|
+
protected static __types: {
|
|
143
|
+
api: {
|
|
144
|
+
input: GetDurableExecutionStateRequest;
|
|
145
|
+
output: GetDurableExecutionStateResponse;
|
|
146
|
+
};
|
|
147
|
+
sdk: {
|
|
148
|
+
input: GetDurableExecutionStateCommandInput;
|
|
149
|
+
output: GetDurableExecutionStateCommandOutput;
|
|
150
|
+
};
|
|
151
|
+
};
|
|
152
|
+
}
|
|
@@ -0,0 +1,227 @@
|
|
|
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 { EventSourceMappingConfiguration, GetEventSourceMappingRequest } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetEventSourceMappingCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetEventSourceMappingCommandInput extends GetEventSourceMappingRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetEventSourceMappingCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetEventSourceMappingCommandOutput extends EventSourceMappingConfiguration, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetEventSourceMappingCommand_base: {
|
|
25
|
+
new (input: GetEventSourceMappingCommandInput): import("@smithy/smithy-client").CommandImpl<GetEventSourceMappingCommandInput, GetEventSourceMappingCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetEventSourceMappingCommandInput): import("@smithy/smithy-client").CommandImpl<GetEventSourceMappingCommandInput, GetEventSourceMappingCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Returns details about an event source mapping. You can get the identifier of a mapping from the output of <a>ListEventSourceMappings</a>.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { LambdaClient, GetEventSourceMappingCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
35
|
+
* // const { LambdaClient, GetEventSourceMappingCommand } = 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 = { // GetEventSourceMappingRequest
|
|
40
|
+
* UUID: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
42
|
+
* const command = new GetEventSourceMappingCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // EventSourceMappingConfiguration
|
|
45
|
+
* // UUID: "STRING_VALUE",
|
|
46
|
+
* // StartingPosition: "TRIM_HORIZON" || "LATEST" || "AT_TIMESTAMP",
|
|
47
|
+
* // StartingPositionTimestamp: new Date("TIMESTAMP"),
|
|
48
|
+
* // BatchSize: Number("int"),
|
|
49
|
+
* // MaximumBatchingWindowInSeconds: Number("int"),
|
|
50
|
+
* // ParallelizationFactor: Number("int"),
|
|
51
|
+
* // EventSourceArn: "STRING_VALUE",
|
|
52
|
+
* // FilterCriteria: { // FilterCriteria
|
|
53
|
+
* // Filters: [ // FilterList
|
|
54
|
+
* // { // Filter
|
|
55
|
+
* // Pattern: "STRING_VALUE",
|
|
56
|
+
* // },
|
|
57
|
+
* // ],
|
|
58
|
+
* // },
|
|
59
|
+
* // FunctionArn: "STRING_VALUE",
|
|
60
|
+
* // LastModified: new Date("TIMESTAMP"),
|
|
61
|
+
* // LastProcessingResult: "STRING_VALUE",
|
|
62
|
+
* // State: "STRING_VALUE",
|
|
63
|
+
* // StateTransitionReason: "STRING_VALUE",
|
|
64
|
+
* // DestinationConfig: { // DestinationConfig
|
|
65
|
+
* // OnSuccess: { // OnSuccess
|
|
66
|
+
* // Destination: "STRING_VALUE",
|
|
67
|
+
* // },
|
|
68
|
+
* // OnFailure: { // OnFailure
|
|
69
|
+
* // Destination: "STRING_VALUE",
|
|
70
|
+
* // },
|
|
71
|
+
* // },
|
|
72
|
+
* // Topics: [ // Topics
|
|
73
|
+
* // "STRING_VALUE",
|
|
74
|
+
* // ],
|
|
75
|
+
* // Queues: [ // Queues
|
|
76
|
+
* // "STRING_VALUE",
|
|
77
|
+
* // ],
|
|
78
|
+
* // SourceAccessConfigurations: [ // SourceAccessConfigurations
|
|
79
|
+
* // { // SourceAccessConfiguration
|
|
80
|
+
* // 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",
|
|
81
|
+
* // URI: "STRING_VALUE",
|
|
82
|
+
* // },
|
|
83
|
+
* // ],
|
|
84
|
+
* // SelfManagedEventSource: { // SelfManagedEventSource
|
|
85
|
+
* // Endpoints: { // Endpoints
|
|
86
|
+
* // "<keys>": [ // EndpointLists
|
|
87
|
+
* // "STRING_VALUE",
|
|
88
|
+
* // ],
|
|
89
|
+
* // },
|
|
90
|
+
* // },
|
|
91
|
+
* // MaximumRecordAgeInSeconds: Number("int"),
|
|
92
|
+
* // BisectBatchOnFunctionError: true || false,
|
|
93
|
+
* // MaximumRetryAttempts: Number("int"),
|
|
94
|
+
* // TumblingWindowInSeconds: Number("int"),
|
|
95
|
+
* // FunctionResponseTypes: [ // FunctionResponseTypeList
|
|
96
|
+
* // "ReportBatchItemFailures",
|
|
97
|
+
* // ],
|
|
98
|
+
* // AmazonManagedKafkaEventSourceConfig: { // AmazonManagedKafkaEventSourceConfig
|
|
99
|
+
* // ConsumerGroupId: "STRING_VALUE",
|
|
100
|
+
* // SchemaRegistryConfig: { // KafkaSchemaRegistryConfig
|
|
101
|
+
* // SchemaRegistryURI: "STRING_VALUE",
|
|
102
|
+
* // EventRecordFormat: "JSON" || "SOURCE",
|
|
103
|
+
* // AccessConfigs: [ // KafkaSchemaRegistryAccessConfigList
|
|
104
|
+
* // { // KafkaSchemaRegistryAccessConfig
|
|
105
|
+
* // Type: "BASIC_AUTH" || "CLIENT_CERTIFICATE_TLS_AUTH" || "SERVER_ROOT_CA_CERTIFICATE",
|
|
106
|
+
* // URI: "STRING_VALUE",
|
|
107
|
+
* // },
|
|
108
|
+
* // ],
|
|
109
|
+
* // SchemaValidationConfigs: [ // KafkaSchemaValidationConfigList
|
|
110
|
+
* // { // KafkaSchemaValidationConfig
|
|
111
|
+
* // Attribute: "KEY" || "VALUE",
|
|
112
|
+
* // },
|
|
113
|
+
* // ],
|
|
114
|
+
* // },
|
|
115
|
+
* // },
|
|
116
|
+
* // SelfManagedKafkaEventSourceConfig: { // SelfManagedKafkaEventSourceConfig
|
|
117
|
+
* // ConsumerGroupId: "STRING_VALUE",
|
|
118
|
+
* // SchemaRegistryConfig: {
|
|
119
|
+
* // SchemaRegistryURI: "STRING_VALUE",
|
|
120
|
+
* // EventRecordFormat: "JSON" || "SOURCE",
|
|
121
|
+
* // AccessConfigs: [
|
|
122
|
+
* // {
|
|
123
|
+
* // Type: "BASIC_AUTH" || "CLIENT_CERTIFICATE_TLS_AUTH" || "SERVER_ROOT_CA_CERTIFICATE",
|
|
124
|
+
* // URI: "STRING_VALUE",
|
|
125
|
+
* // },
|
|
126
|
+
* // ],
|
|
127
|
+
* // SchemaValidationConfigs: [
|
|
128
|
+
* // {
|
|
129
|
+
* // Attribute: "KEY" || "VALUE",
|
|
130
|
+
* // },
|
|
131
|
+
* // ],
|
|
132
|
+
* // },
|
|
133
|
+
* // },
|
|
134
|
+
* // ScalingConfig: { // ScalingConfig
|
|
135
|
+
* // MaximumConcurrency: Number("int"),
|
|
136
|
+
* // },
|
|
137
|
+
* // DocumentDBEventSourceConfig: { // DocumentDBEventSourceConfig
|
|
138
|
+
* // DatabaseName: "STRING_VALUE",
|
|
139
|
+
* // CollectionName: "STRING_VALUE",
|
|
140
|
+
* // FullDocument: "UpdateLookup" || "Default",
|
|
141
|
+
* // },
|
|
142
|
+
* // KMSKeyArn: "STRING_VALUE",
|
|
143
|
+
* // FilterCriteriaError: { // FilterCriteriaError
|
|
144
|
+
* // ErrorCode: "STRING_VALUE",
|
|
145
|
+
* // Message: "STRING_VALUE",
|
|
146
|
+
* // },
|
|
147
|
+
* // EventSourceMappingArn: "STRING_VALUE",
|
|
148
|
+
* // MetricsConfig: { // EventSourceMappingMetricsConfig
|
|
149
|
+
* // Metrics: [ // EventSourceMappingMetricList
|
|
150
|
+
* // "EventCount" || "ErrorCount" || "KafkaMetrics",
|
|
151
|
+
* // ],
|
|
152
|
+
* // },
|
|
153
|
+
* // LoggingConfig: { // EventSourceMappingLoggingConfig
|
|
154
|
+
* // SystemLogLevel: "DEBUG" || "INFO" || "WARN",
|
|
155
|
+
* // },
|
|
156
|
+
* // ProvisionedPollerConfig: { // ProvisionedPollerConfig
|
|
157
|
+
* // MinimumPollers: Number("int"),
|
|
158
|
+
* // MaximumPollers: Number("int"),
|
|
159
|
+
* // PollerGroupName: "STRING_VALUE",
|
|
160
|
+
* // },
|
|
161
|
+
* // };
|
|
162
|
+
*
|
|
163
|
+
* ```
|
|
164
|
+
*
|
|
165
|
+
* @param GetEventSourceMappingCommandInput - {@link GetEventSourceMappingCommandInput}
|
|
166
|
+
* @returns {@link GetEventSourceMappingCommandOutput}
|
|
167
|
+
* @see {@link GetEventSourceMappingCommandInput} for command's `input` shape.
|
|
168
|
+
* @see {@link GetEventSourceMappingCommandOutput} for command's `response` shape.
|
|
169
|
+
* @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape.
|
|
170
|
+
*
|
|
171
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
172
|
+
* <p>One of the parameters in the request is not valid.</p>
|
|
173
|
+
*
|
|
174
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
175
|
+
* <p>The resource specified in the request does not exist.</p>
|
|
176
|
+
*
|
|
177
|
+
* @throws {@link ServiceException} (server fault)
|
|
178
|
+
* <p>The Lambda service encountered an internal error.</p>
|
|
179
|
+
*
|
|
180
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
181
|
+
* <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>
|
|
182
|
+
*
|
|
183
|
+
* @throws {@link LambdaServiceException}
|
|
184
|
+
* <p>Base exception class for all service exceptions from Lambda service.</p>
|
|
185
|
+
*
|
|
186
|
+
*
|
|
187
|
+
* @example To get a Lambda function's event source mapping
|
|
188
|
+
* ```javascript
|
|
189
|
+
* // The following example returns details about an event source mapping. To get a mapping's UUID, use ListEventSourceMappings.
|
|
190
|
+
* const input = {
|
|
191
|
+
* UUID: "14e0db71-xmpl-4eb5-b481-8945cf9d10c2"
|
|
192
|
+
* };
|
|
193
|
+
* const command = new GetEventSourceMappingCommand(input);
|
|
194
|
+
* const response = await client.send(command);
|
|
195
|
+
* /* response is
|
|
196
|
+
* {
|
|
197
|
+
* BatchSize: 500,
|
|
198
|
+
* BisectBatchOnFunctionError: false,
|
|
199
|
+
* DestinationConfig: { /* empty *\/ },
|
|
200
|
+
* EventSourceArn: "arn:aws:sqs:us-east-2:123456789012:mySQSqueue",
|
|
201
|
+
* FunctionArn: "arn:aws:lambda:us-east-2:123456789012:function:myFunction",
|
|
202
|
+
* LastModified: "2016-11-21T19:49:20.006Z",
|
|
203
|
+
* LastProcessingResult: "No records processed",
|
|
204
|
+
* MaximumRecordAgeInSeconds: 604800,
|
|
205
|
+
* MaximumRetryAttempts: 10000,
|
|
206
|
+
* State: "Creating",
|
|
207
|
+
* StateTransitionReason: "User action",
|
|
208
|
+
* UUID: "14e0db71-xmpl-4eb5-b481-8945cf9d10c2"
|
|
209
|
+
* }
|
|
210
|
+
* *\/
|
|
211
|
+
* ```
|
|
212
|
+
*
|
|
213
|
+
* @public
|
|
214
|
+
*/
|
|
215
|
+
export declare class GetEventSourceMappingCommand extends GetEventSourceMappingCommand_base {
|
|
216
|
+
/** @internal type navigation helper, not in runtime. */
|
|
217
|
+
protected static __types: {
|
|
218
|
+
api: {
|
|
219
|
+
input: GetEventSourceMappingRequest;
|
|
220
|
+
output: EventSourceMappingConfiguration;
|
|
221
|
+
};
|
|
222
|
+
sdk: {
|
|
223
|
+
input: GetEventSourceMappingCommandInput;
|
|
224
|
+
output: GetEventSourceMappingCommandOutput;
|
|
225
|
+
};
|
|
226
|
+
};
|
|
227
|
+
}
|