@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,277 @@
|
|
|
1
|
+
import { type HostHeaderInputConfig, type HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
2
|
+
import { type UserAgentInputConfig, type UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
3
|
+
import { type RegionInputConfig, type RegionResolvedConfig } from "@smithy/config-resolver";
|
|
4
|
+
import { type EventStreamSerdeInputConfig, type EventStreamSerdeResolvedConfig } from "@smithy/eventstream-serde-config-resolver";
|
|
5
|
+
import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/middleware-endpoint";
|
|
6
|
+
import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
7
|
+
import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
8
|
+
import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client";
|
|
9
|
+
import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type Decoder as __Decoder, type Encoder as __Encoder, type EventStreamSerdeProvider as __EventStreamSerdeProvider, type HashConstructor as __HashConstructor, type HttpHandlerOptions as __HttpHandlerOptions, type Logger as __Logger, type Provider as __Provider, type StreamCollector as __StreamCollector, type UrlParser as __UrlParser, AwsCredentialIdentityProvider, Provider, UserAgent as __UserAgent } from "@smithy/types";
|
|
10
|
+
import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
11
|
+
import { AddLayerVersionPermissionCommandInput, AddLayerVersionPermissionCommandOutput } from "./commands/AddLayerVersionPermissionCommand";
|
|
12
|
+
import { AddPermissionCommandInput, AddPermissionCommandOutput } from "./commands/AddPermissionCommand";
|
|
13
|
+
import { CheckpointDurableExecutionCommandInput, CheckpointDurableExecutionCommandOutput } from "./commands/CheckpointDurableExecutionCommand";
|
|
14
|
+
import { CreateAliasCommandInput, CreateAliasCommandOutput } from "./commands/CreateAliasCommand";
|
|
15
|
+
import { CreateCapacityProviderCommandInput, CreateCapacityProviderCommandOutput } from "./commands/CreateCapacityProviderCommand";
|
|
16
|
+
import { CreateCodeSigningConfigCommandInput, CreateCodeSigningConfigCommandOutput } from "./commands/CreateCodeSigningConfigCommand";
|
|
17
|
+
import { CreateEventSourceMappingCommandInput, CreateEventSourceMappingCommandOutput } from "./commands/CreateEventSourceMappingCommand";
|
|
18
|
+
import { CreateFunctionCommandInput, CreateFunctionCommandOutput } from "./commands/CreateFunctionCommand";
|
|
19
|
+
import { CreateFunctionUrlConfigCommandInput, CreateFunctionUrlConfigCommandOutput } from "./commands/CreateFunctionUrlConfigCommand";
|
|
20
|
+
import { DeleteAliasCommandInput, DeleteAliasCommandOutput } from "./commands/DeleteAliasCommand";
|
|
21
|
+
import { DeleteCapacityProviderCommandInput, DeleteCapacityProviderCommandOutput } from "./commands/DeleteCapacityProviderCommand";
|
|
22
|
+
import { DeleteCodeSigningConfigCommandInput, DeleteCodeSigningConfigCommandOutput } from "./commands/DeleteCodeSigningConfigCommand";
|
|
23
|
+
import { DeleteEventSourceMappingCommandInput, DeleteEventSourceMappingCommandOutput } from "./commands/DeleteEventSourceMappingCommand";
|
|
24
|
+
import { DeleteFunctionCodeSigningConfigCommandInput, DeleteFunctionCodeSigningConfigCommandOutput } from "./commands/DeleteFunctionCodeSigningConfigCommand";
|
|
25
|
+
import { DeleteFunctionCommandInput, DeleteFunctionCommandOutput } from "./commands/DeleteFunctionCommand";
|
|
26
|
+
import { DeleteFunctionConcurrencyCommandInput, DeleteFunctionConcurrencyCommandOutput } from "./commands/DeleteFunctionConcurrencyCommand";
|
|
27
|
+
import { DeleteFunctionEventInvokeConfigCommandInput, DeleteFunctionEventInvokeConfigCommandOutput } from "./commands/DeleteFunctionEventInvokeConfigCommand";
|
|
28
|
+
import { DeleteFunctionUrlConfigCommandInput, DeleteFunctionUrlConfigCommandOutput } from "./commands/DeleteFunctionUrlConfigCommand";
|
|
29
|
+
import { DeleteLayerVersionCommandInput, DeleteLayerVersionCommandOutput } from "./commands/DeleteLayerVersionCommand";
|
|
30
|
+
import { DeleteProvisionedConcurrencyConfigCommandInput, DeleteProvisionedConcurrencyConfigCommandOutput } from "./commands/DeleteProvisionedConcurrencyConfigCommand";
|
|
31
|
+
import { GetAccountSettingsCommandInput, GetAccountSettingsCommandOutput } from "./commands/GetAccountSettingsCommand";
|
|
32
|
+
import { GetAliasCommandInput, GetAliasCommandOutput } from "./commands/GetAliasCommand";
|
|
33
|
+
import { GetCapacityProviderCommandInput, GetCapacityProviderCommandOutput } from "./commands/GetCapacityProviderCommand";
|
|
34
|
+
import { GetCodeSigningConfigCommandInput, GetCodeSigningConfigCommandOutput } from "./commands/GetCodeSigningConfigCommand";
|
|
35
|
+
import { GetDurableExecutionCommandInput, GetDurableExecutionCommandOutput } from "./commands/GetDurableExecutionCommand";
|
|
36
|
+
import { GetDurableExecutionHistoryCommandInput, GetDurableExecutionHistoryCommandOutput } from "./commands/GetDurableExecutionHistoryCommand";
|
|
37
|
+
import { GetDurableExecutionStateCommandInput, GetDurableExecutionStateCommandOutput } from "./commands/GetDurableExecutionStateCommand";
|
|
38
|
+
import { GetEventSourceMappingCommandInput, GetEventSourceMappingCommandOutput } from "./commands/GetEventSourceMappingCommand";
|
|
39
|
+
import { GetFunctionCodeSigningConfigCommandInput, GetFunctionCodeSigningConfigCommandOutput } from "./commands/GetFunctionCodeSigningConfigCommand";
|
|
40
|
+
import { GetFunctionCommandInput, GetFunctionCommandOutput } from "./commands/GetFunctionCommand";
|
|
41
|
+
import { GetFunctionConcurrencyCommandInput, GetFunctionConcurrencyCommandOutput } from "./commands/GetFunctionConcurrencyCommand";
|
|
42
|
+
import { GetFunctionConfigurationCommandInput, GetFunctionConfigurationCommandOutput } from "./commands/GetFunctionConfigurationCommand";
|
|
43
|
+
import { GetFunctionEventInvokeConfigCommandInput, GetFunctionEventInvokeConfigCommandOutput } from "./commands/GetFunctionEventInvokeConfigCommand";
|
|
44
|
+
import { GetFunctionRecursionConfigCommandInput, GetFunctionRecursionConfigCommandOutput } from "./commands/GetFunctionRecursionConfigCommand";
|
|
45
|
+
import { GetFunctionScalingConfigCommandInput, GetFunctionScalingConfigCommandOutput } from "./commands/GetFunctionScalingConfigCommand";
|
|
46
|
+
import { GetFunctionUrlConfigCommandInput, GetFunctionUrlConfigCommandOutput } from "./commands/GetFunctionUrlConfigCommand";
|
|
47
|
+
import { GetLayerVersionByArnCommandInput, GetLayerVersionByArnCommandOutput } from "./commands/GetLayerVersionByArnCommand";
|
|
48
|
+
import { GetLayerVersionCommandInput, GetLayerVersionCommandOutput } from "./commands/GetLayerVersionCommand";
|
|
49
|
+
import { GetLayerVersionPolicyCommandInput, GetLayerVersionPolicyCommandOutput } from "./commands/GetLayerVersionPolicyCommand";
|
|
50
|
+
import { GetPolicyCommandInput, GetPolicyCommandOutput } from "./commands/GetPolicyCommand";
|
|
51
|
+
import { GetProvisionedConcurrencyConfigCommandInput, GetProvisionedConcurrencyConfigCommandOutput } from "./commands/GetProvisionedConcurrencyConfigCommand";
|
|
52
|
+
import { GetRuntimeManagementConfigCommandInput, GetRuntimeManagementConfigCommandOutput } from "./commands/GetRuntimeManagementConfigCommand";
|
|
53
|
+
import { InvokeAsyncCommandInput, InvokeAsyncCommandOutput } from "./commands/InvokeAsyncCommand";
|
|
54
|
+
import { InvokeCommandInput, InvokeCommandOutput } from "./commands/InvokeCommand";
|
|
55
|
+
import { InvokeWithResponseStreamCommandInput, InvokeWithResponseStreamCommandOutput } from "./commands/InvokeWithResponseStreamCommand";
|
|
56
|
+
import { ListAliasesCommandInput, ListAliasesCommandOutput } from "./commands/ListAliasesCommand";
|
|
57
|
+
import { ListCapacityProvidersCommandInput, ListCapacityProvidersCommandOutput } from "./commands/ListCapacityProvidersCommand";
|
|
58
|
+
import { ListCodeSigningConfigsCommandInput, ListCodeSigningConfigsCommandOutput } from "./commands/ListCodeSigningConfigsCommand";
|
|
59
|
+
import { ListDurableExecutionsByFunctionCommandInput, ListDurableExecutionsByFunctionCommandOutput } from "./commands/ListDurableExecutionsByFunctionCommand";
|
|
60
|
+
import { ListEventSourceMappingsCommandInput, ListEventSourceMappingsCommandOutput } from "./commands/ListEventSourceMappingsCommand";
|
|
61
|
+
import { ListFunctionEventInvokeConfigsCommandInput, ListFunctionEventInvokeConfigsCommandOutput } from "./commands/ListFunctionEventInvokeConfigsCommand";
|
|
62
|
+
import { ListFunctionsByCodeSigningConfigCommandInput, ListFunctionsByCodeSigningConfigCommandOutput } from "./commands/ListFunctionsByCodeSigningConfigCommand";
|
|
63
|
+
import { ListFunctionsCommandInput, ListFunctionsCommandOutput } from "./commands/ListFunctionsCommand";
|
|
64
|
+
import { ListFunctionUrlConfigsCommandInput, ListFunctionUrlConfigsCommandOutput } from "./commands/ListFunctionUrlConfigsCommand";
|
|
65
|
+
import { ListFunctionVersionsByCapacityProviderCommandInput, ListFunctionVersionsByCapacityProviderCommandOutput } from "./commands/ListFunctionVersionsByCapacityProviderCommand";
|
|
66
|
+
import { ListLayersCommandInput, ListLayersCommandOutput } from "./commands/ListLayersCommand";
|
|
67
|
+
import { ListLayerVersionsCommandInput, ListLayerVersionsCommandOutput } from "./commands/ListLayerVersionsCommand";
|
|
68
|
+
import { ListProvisionedConcurrencyConfigsCommandInput, ListProvisionedConcurrencyConfigsCommandOutput } from "./commands/ListProvisionedConcurrencyConfigsCommand";
|
|
69
|
+
import { ListTagsCommandInput, ListTagsCommandOutput } from "./commands/ListTagsCommand";
|
|
70
|
+
import { ListVersionsByFunctionCommandInput, ListVersionsByFunctionCommandOutput } from "./commands/ListVersionsByFunctionCommand";
|
|
71
|
+
import { PublishLayerVersionCommandInput, PublishLayerVersionCommandOutput } from "./commands/PublishLayerVersionCommand";
|
|
72
|
+
import { PublishVersionCommandInput, PublishVersionCommandOutput } from "./commands/PublishVersionCommand";
|
|
73
|
+
import { PutFunctionCodeSigningConfigCommandInput, PutFunctionCodeSigningConfigCommandOutput } from "./commands/PutFunctionCodeSigningConfigCommand";
|
|
74
|
+
import { PutFunctionConcurrencyCommandInput, PutFunctionConcurrencyCommandOutput } from "./commands/PutFunctionConcurrencyCommand";
|
|
75
|
+
import { PutFunctionEventInvokeConfigCommandInput, PutFunctionEventInvokeConfigCommandOutput } from "./commands/PutFunctionEventInvokeConfigCommand";
|
|
76
|
+
import { PutFunctionRecursionConfigCommandInput, PutFunctionRecursionConfigCommandOutput } from "./commands/PutFunctionRecursionConfigCommand";
|
|
77
|
+
import { PutFunctionScalingConfigCommandInput, PutFunctionScalingConfigCommandOutput } from "./commands/PutFunctionScalingConfigCommand";
|
|
78
|
+
import { PutProvisionedConcurrencyConfigCommandInput, PutProvisionedConcurrencyConfigCommandOutput } from "./commands/PutProvisionedConcurrencyConfigCommand";
|
|
79
|
+
import { PutRuntimeManagementConfigCommandInput, PutRuntimeManagementConfigCommandOutput } from "./commands/PutRuntimeManagementConfigCommand";
|
|
80
|
+
import { RemoveLayerVersionPermissionCommandInput, RemoveLayerVersionPermissionCommandOutput } from "./commands/RemoveLayerVersionPermissionCommand";
|
|
81
|
+
import { RemovePermissionCommandInput, RemovePermissionCommandOutput } from "./commands/RemovePermissionCommand";
|
|
82
|
+
import { SendDurableExecutionCallbackFailureCommandInput, SendDurableExecutionCallbackFailureCommandOutput } from "./commands/SendDurableExecutionCallbackFailureCommand";
|
|
83
|
+
import { SendDurableExecutionCallbackHeartbeatCommandInput, SendDurableExecutionCallbackHeartbeatCommandOutput } from "./commands/SendDurableExecutionCallbackHeartbeatCommand";
|
|
84
|
+
import { SendDurableExecutionCallbackSuccessCommandInput, SendDurableExecutionCallbackSuccessCommandOutput } from "./commands/SendDurableExecutionCallbackSuccessCommand";
|
|
85
|
+
import { StopDurableExecutionCommandInput, StopDurableExecutionCommandOutput } from "./commands/StopDurableExecutionCommand";
|
|
86
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
87
|
+
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
88
|
+
import { UpdateAliasCommandInput, UpdateAliasCommandOutput } from "./commands/UpdateAliasCommand";
|
|
89
|
+
import { UpdateCapacityProviderCommandInput, UpdateCapacityProviderCommandOutput } from "./commands/UpdateCapacityProviderCommand";
|
|
90
|
+
import { UpdateCodeSigningConfigCommandInput, UpdateCodeSigningConfigCommandOutput } from "./commands/UpdateCodeSigningConfigCommand";
|
|
91
|
+
import { UpdateEventSourceMappingCommandInput, UpdateEventSourceMappingCommandOutput } from "./commands/UpdateEventSourceMappingCommand";
|
|
92
|
+
import { UpdateFunctionCodeCommandInput, UpdateFunctionCodeCommandOutput } from "./commands/UpdateFunctionCodeCommand";
|
|
93
|
+
import { UpdateFunctionConfigurationCommandInput, UpdateFunctionConfigurationCommandOutput } from "./commands/UpdateFunctionConfigurationCommand";
|
|
94
|
+
import { UpdateFunctionEventInvokeConfigCommandInput, UpdateFunctionEventInvokeConfigCommandOutput } from "./commands/UpdateFunctionEventInvokeConfigCommand";
|
|
95
|
+
import { UpdateFunctionUrlConfigCommandInput, UpdateFunctionUrlConfigCommandOutput } from "./commands/UpdateFunctionUrlConfigCommand";
|
|
96
|
+
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
97
|
+
import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
98
|
+
export { __Client };
|
|
99
|
+
/**
|
|
100
|
+
* @public
|
|
101
|
+
*/
|
|
102
|
+
export type ServiceInputTypes = AddLayerVersionPermissionCommandInput | AddPermissionCommandInput | CheckpointDurableExecutionCommandInput | CreateAliasCommandInput | CreateCapacityProviderCommandInput | CreateCodeSigningConfigCommandInput | CreateEventSourceMappingCommandInput | CreateFunctionCommandInput | CreateFunctionUrlConfigCommandInput | DeleteAliasCommandInput | DeleteCapacityProviderCommandInput | DeleteCodeSigningConfigCommandInput | DeleteEventSourceMappingCommandInput | DeleteFunctionCodeSigningConfigCommandInput | DeleteFunctionCommandInput | DeleteFunctionConcurrencyCommandInput | DeleteFunctionEventInvokeConfigCommandInput | DeleteFunctionUrlConfigCommandInput | DeleteLayerVersionCommandInput | DeleteProvisionedConcurrencyConfigCommandInput | GetAccountSettingsCommandInput | GetAliasCommandInput | GetCapacityProviderCommandInput | GetCodeSigningConfigCommandInput | GetDurableExecutionCommandInput | GetDurableExecutionHistoryCommandInput | GetDurableExecutionStateCommandInput | GetEventSourceMappingCommandInput | GetFunctionCodeSigningConfigCommandInput | GetFunctionCommandInput | GetFunctionConcurrencyCommandInput | GetFunctionConfigurationCommandInput | GetFunctionEventInvokeConfigCommandInput | GetFunctionRecursionConfigCommandInput | GetFunctionScalingConfigCommandInput | GetFunctionUrlConfigCommandInput | GetLayerVersionByArnCommandInput | GetLayerVersionCommandInput | GetLayerVersionPolicyCommandInput | GetPolicyCommandInput | GetProvisionedConcurrencyConfigCommandInput | GetRuntimeManagementConfigCommandInput | InvokeAsyncCommandInput | InvokeCommandInput | InvokeWithResponseStreamCommandInput | ListAliasesCommandInput | ListCapacityProvidersCommandInput | ListCodeSigningConfigsCommandInput | ListDurableExecutionsByFunctionCommandInput | ListEventSourceMappingsCommandInput | ListFunctionEventInvokeConfigsCommandInput | ListFunctionUrlConfigsCommandInput | ListFunctionVersionsByCapacityProviderCommandInput | ListFunctionsByCodeSigningConfigCommandInput | ListFunctionsCommandInput | ListLayerVersionsCommandInput | ListLayersCommandInput | ListProvisionedConcurrencyConfigsCommandInput | ListTagsCommandInput | ListVersionsByFunctionCommandInput | PublishLayerVersionCommandInput | PublishVersionCommandInput | PutFunctionCodeSigningConfigCommandInput | PutFunctionConcurrencyCommandInput | PutFunctionEventInvokeConfigCommandInput | PutFunctionRecursionConfigCommandInput | PutFunctionScalingConfigCommandInput | PutProvisionedConcurrencyConfigCommandInput | PutRuntimeManagementConfigCommandInput | RemoveLayerVersionPermissionCommandInput | RemovePermissionCommandInput | SendDurableExecutionCallbackFailureCommandInput | SendDurableExecutionCallbackHeartbeatCommandInput | SendDurableExecutionCallbackSuccessCommandInput | StopDurableExecutionCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateAliasCommandInput | UpdateCapacityProviderCommandInput | UpdateCodeSigningConfigCommandInput | UpdateEventSourceMappingCommandInput | UpdateFunctionCodeCommandInput | UpdateFunctionConfigurationCommandInput | UpdateFunctionEventInvokeConfigCommandInput | UpdateFunctionUrlConfigCommandInput;
|
|
103
|
+
/**
|
|
104
|
+
* @public
|
|
105
|
+
*/
|
|
106
|
+
export type ServiceOutputTypes = AddLayerVersionPermissionCommandOutput | AddPermissionCommandOutput | CheckpointDurableExecutionCommandOutput | CreateAliasCommandOutput | CreateCapacityProviderCommandOutput | CreateCodeSigningConfigCommandOutput | CreateEventSourceMappingCommandOutput | CreateFunctionCommandOutput | CreateFunctionUrlConfigCommandOutput | DeleteAliasCommandOutput | DeleteCapacityProviderCommandOutput | DeleteCodeSigningConfigCommandOutput | DeleteEventSourceMappingCommandOutput | DeleteFunctionCodeSigningConfigCommandOutput | DeleteFunctionCommandOutput | DeleteFunctionConcurrencyCommandOutput | DeleteFunctionEventInvokeConfigCommandOutput | DeleteFunctionUrlConfigCommandOutput | DeleteLayerVersionCommandOutput | DeleteProvisionedConcurrencyConfigCommandOutput | GetAccountSettingsCommandOutput | GetAliasCommandOutput | GetCapacityProviderCommandOutput | GetCodeSigningConfigCommandOutput | GetDurableExecutionCommandOutput | GetDurableExecutionHistoryCommandOutput | GetDurableExecutionStateCommandOutput | GetEventSourceMappingCommandOutput | GetFunctionCodeSigningConfigCommandOutput | GetFunctionCommandOutput | GetFunctionConcurrencyCommandOutput | GetFunctionConfigurationCommandOutput | GetFunctionEventInvokeConfigCommandOutput | GetFunctionRecursionConfigCommandOutput | GetFunctionScalingConfigCommandOutput | GetFunctionUrlConfigCommandOutput | GetLayerVersionByArnCommandOutput | GetLayerVersionCommandOutput | GetLayerVersionPolicyCommandOutput | GetPolicyCommandOutput | GetProvisionedConcurrencyConfigCommandOutput | GetRuntimeManagementConfigCommandOutput | InvokeAsyncCommandOutput | InvokeCommandOutput | InvokeWithResponseStreamCommandOutput | ListAliasesCommandOutput | ListCapacityProvidersCommandOutput | ListCodeSigningConfigsCommandOutput | ListDurableExecutionsByFunctionCommandOutput | ListEventSourceMappingsCommandOutput | ListFunctionEventInvokeConfigsCommandOutput | ListFunctionUrlConfigsCommandOutput | ListFunctionVersionsByCapacityProviderCommandOutput | ListFunctionsByCodeSigningConfigCommandOutput | ListFunctionsCommandOutput | ListLayerVersionsCommandOutput | ListLayersCommandOutput | ListProvisionedConcurrencyConfigsCommandOutput | ListTagsCommandOutput | ListVersionsByFunctionCommandOutput | PublishLayerVersionCommandOutput | PublishVersionCommandOutput | PutFunctionCodeSigningConfigCommandOutput | PutFunctionConcurrencyCommandOutput | PutFunctionEventInvokeConfigCommandOutput | PutFunctionRecursionConfigCommandOutput | PutFunctionScalingConfigCommandOutput | PutProvisionedConcurrencyConfigCommandOutput | PutRuntimeManagementConfigCommandOutput | RemoveLayerVersionPermissionCommandOutput | RemovePermissionCommandOutput | SendDurableExecutionCallbackFailureCommandOutput | SendDurableExecutionCallbackHeartbeatCommandOutput | SendDurableExecutionCallbackSuccessCommandOutput | StopDurableExecutionCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateAliasCommandOutput | UpdateCapacityProviderCommandOutput | UpdateCodeSigningConfigCommandOutput | UpdateEventSourceMappingCommandOutput | UpdateFunctionCodeCommandOutput | UpdateFunctionConfigurationCommandOutput | UpdateFunctionEventInvokeConfigCommandOutput | UpdateFunctionUrlConfigCommandOutput;
|
|
107
|
+
/**
|
|
108
|
+
* @public
|
|
109
|
+
*/
|
|
110
|
+
export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
111
|
+
/**
|
|
112
|
+
* The HTTP handler to use or its constructor options. Fetch in browser and Https in Nodejs.
|
|
113
|
+
*/
|
|
114
|
+
requestHandler?: __HttpHandlerUserInput;
|
|
115
|
+
/**
|
|
116
|
+
* A constructor for a class implementing the {@link @smithy/types#ChecksumConstructor} interface
|
|
117
|
+
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
118
|
+
* @internal
|
|
119
|
+
*/
|
|
120
|
+
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
121
|
+
/**
|
|
122
|
+
* The function that will be used to convert strings into HTTP endpoints.
|
|
123
|
+
* @internal
|
|
124
|
+
*/
|
|
125
|
+
urlParser?: __UrlParser;
|
|
126
|
+
/**
|
|
127
|
+
* A function that can calculate the length of a request body.
|
|
128
|
+
* @internal
|
|
129
|
+
*/
|
|
130
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
131
|
+
/**
|
|
132
|
+
* A function that converts a stream into an array of bytes.
|
|
133
|
+
* @internal
|
|
134
|
+
*/
|
|
135
|
+
streamCollector?: __StreamCollector;
|
|
136
|
+
/**
|
|
137
|
+
* The function that will be used to convert a base64-encoded string to a byte array.
|
|
138
|
+
* @internal
|
|
139
|
+
*/
|
|
140
|
+
base64Decoder?: __Decoder;
|
|
141
|
+
/**
|
|
142
|
+
* The function that will be used to convert binary data to a base64-encoded string.
|
|
143
|
+
* @internal
|
|
144
|
+
*/
|
|
145
|
+
base64Encoder?: __Encoder;
|
|
146
|
+
/**
|
|
147
|
+
* The function that will be used to convert a UTF8-encoded string to a byte array.
|
|
148
|
+
* @internal
|
|
149
|
+
*/
|
|
150
|
+
utf8Decoder?: __Decoder;
|
|
151
|
+
/**
|
|
152
|
+
* The function that will be used to convert binary data to a UTF-8 encoded string.
|
|
153
|
+
* @internal
|
|
154
|
+
*/
|
|
155
|
+
utf8Encoder?: __Encoder;
|
|
156
|
+
/**
|
|
157
|
+
* The runtime environment.
|
|
158
|
+
* @internal
|
|
159
|
+
*/
|
|
160
|
+
runtime?: string;
|
|
161
|
+
/**
|
|
162
|
+
* Disable dynamically changing the endpoint of the client based on the hostPrefix
|
|
163
|
+
* trait of an operation.
|
|
164
|
+
*/
|
|
165
|
+
disableHostPrefix?: boolean;
|
|
166
|
+
/**
|
|
167
|
+
* Unique service identifier.
|
|
168
|
+
* @internal
|
|
169
|
+
*/
|
|
170
|
+
serviceId?: string;
|
|
171
|
+
/**
|
|
172
|
+
* Enables IPv6/IPv4 dualstack endpoint.
|
|
173
|
+
*/
|
|
174
|
+
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
175
|
+
/**
|
|
176
|
+
* Enables FIPS compatible endpoints.
|
|
177
|
+
*/
|
|
178
|
+
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
179
|
+
/**
|
|
180
|
+
* The AWS region to which this client will send requests
|
|
181
|
+
*/
|
|
182
|
+
region?: string | __Provider<string>;
|
|
183
|
+
/**
|
|
184
|
+
* Setting a client profile is similar to setting a value for the
|
|
185
|
+
* AWS_PROFILE environment variable. Setting a profile on a client
|
|
186
|
+
* in code only affects the single client instance, unlike AWS_PROFILE.
|
|
187
|
+
*
|
|
188
|
+
* When set, and only for environments where an AWS configuration
|
|
189
|
+
* file exists, fields configurable by this file will be retrieved
|
|
190
|
+
* from the specified profile within that file.
|
|
191
|
+
* Conflicting code configuration and environment variables will
|
|
192
|
+
* still have higher priority.
|
|
193
|
+
*
|
|
194
|
+
* For client credential resolution that involves checking the AWS
|
|
195
|
+
* configuration file, the client's profile (this value) will be
|
|
196
|
+
* used unless a different profile is set in the credential
|
|
197
|
+
* provider options.
|
|
198
|
+
*
|
|
199
|
+
*/
|
|
200
|
+
profile?: string;
|
|
201
|
+
/**
|
|
202
|
+
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
203
|
+
* @internal
|
|
204
|
+
*/
|
|
205
|
+
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
206
|
+
/**
|
|
207
|
+
* Default credentials provider; Not available in browser runtime.
|
|
208
|
+
* @deprecated
|
|
209
|
+
* @internal
|
|
210
|
+
*/
|
|
211
|
+
credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
|
|
212
|
+
/**
|
|
213
|
+
* Value for how many times a request will be made at most in case of retry.
|
|
214
|
+
*/
|
|
215
|
+
maxAttempts?: number | __Provider<number>;
|
|
216
|
+
/**
|
|
217
|
+
* Specifies which retry algorithm to use.
|
|
218
|
+
* @see https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-smithy-util-retry/Enum/RETRY_MODES/
|
|
219
|
+
*
|
|
220
|
+
*/
|
|
221
|
+
retryMode?: string | __Provider<string>;
|
|
222
|
+
/**
|
|
223
|
+
* Optional logger for logging debug/info/warn/error.
|
|
224
|
+
*/
|
|
225
|
+
logger?: __Logger;
|
|
226
|
+
/**
|
|
227
|
+
* Optional extensions
|
|
228
|
+
*/
|
|
229
|
+
extensions?: RuntimeExtension[];
|
|
230
|
+
/**
|
|
231
|
+
* The function that provides necessary utilities for generating and parsing event stream
|
|
232
|
+
*/
|
|
233
|
+
eventStreamSerdeProvider?: __EventStreamSerdeProvider;
|
|
234
|
+
/**
|
|
235
|
+
* The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
236
|
+
*/
|
|
237
|
+
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
238
|
+
}
|
|
239
|
+
/**
|
|
240
|
+
* @public
|
|
241
|
+
*/
|
|
242
|
+
export type LambdaClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & UserAgentInputConfig & RetryInputConfig & RegionInputConfig & HostHeaderInputConfig & EndpointInputConfig<EndpointParameters> & EventStreamSerdeInputConfig & HttpAuthSchemeInputConfig & ClientInputEndpointParameters;
|
|
243
|
+
/**
|
|
244
|
+
* @public
|
|
245
|
+
*
|
|
246
|
+
* The configuration interface of LambdaClient class constructor that set the region, credentials and other options.
|
|
247
|
+
*/
|
|
248
|
+
export interface LambdaClientConfig extends LambdaClientConfigType {
|
|
249
|
+
}
|
|
250
|
+
/**
|
|
251
|
+
* @public
|
|
252
|
+
*/
|
|
253
|
+
export type LambdaClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & UserAgentResolvedConfig & RetryResolvedConfig & RegionResolvedConfig & HostHeaderResolvedConfig & EndpointResolvedConfig<EndpointParameters> & EventStreamSerdeResolvedConfig & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters;
|
|
254
|
+
/**
|
|
255
|
+
* @public
|
|
256
|
+
*
|
|
257
|
+
* The resolved configuration interface of LambdaClient class. This is resolved and normalized from the {@link LambdaClientConfig | constructor configuration interface}.
|
|
258
|
+
*/
|
|
259
|
+
export interface LambdaClientResolvedConfig extends LambdaClientResolvedConfigType {
|
|
260
|
+
}
|
|
261
|
+
/**
|
|
262
|
+
* <fullname>Lambda</fullname> <p> <b>Overview</b> </p> <p>Lambda is a compute service that lets you run code without provisioning or managing servers. Lambda runs your code on a high-availability compute infrastructure and performs all of the administration of the compute resources, including server and operating system maintenance, capacity provisioning and automatic scaling, code monitoring and logging. With Lambda, you can run code for virtually any type of application or backend service. For more information about the Lambda service, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/welcome.html">What is Lambda</a> in the <b>Lambda Developer Guide</b>.</p> <p>The <i>Lambda API Reference</i> provides information about each of the API methods, including details about the parameters in each API request and response. </p> <p/> <p>You can use Software Development Kits (SDKs), Integrated Development Environment (IDE) Toolkits, and command line tools to access the API. For installation instructions, see <a href="http://aws.amazon.com/tools/">Tools for Amazon Web Services</a>. </p> <p>For a list of Region-specific endpoints that Lambda supports, see <a href="https://docs.aws.amazon.com/general/latest/gr/lambda-service.html">Lambda endpoints and quotas </a> in the <i>Amazon Web Services General Reference.</i>. </p> <p>When making the API calls, you will need to authenticate your request by providing a signature. Lambda supports signature version 4. For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/signature-version-4.html">Signature Version 4 signing process</a> in the <i>Amazon Web Services General Reference.</i>. </p> <p> <b>CA certificates</b> </p> <p>Because Amazon Web Services SDKs use the CA certificates from your computer, changes to the certificates on the Amazon Web Services servers can cause connection failures when you attempt to use an SDK. You can prevent these failures by keeping your computer's CA certificates and operating system up-to-date. If you encounter this issue in a corporate environment and do not manage your own computer, you might need to ask an administrator to assist with the update process. The following list shows minimum operating system and Java versions:</p> <ul> <li> <p>Microsoft Windows versions that have updates from January 2005 or later installed contain at least one of the required CAs in their trust list. </p> </li> <li> <p>Mac OS X 10.4 with Java for Mac OS X 10.4 Release 5 (February 2007), Mac OS X 10.5 (October 2007), and later versions contain at least one of the required CAs in their trust list. </p> </li> <li> <p>Red Hat Enterprise Linux 5 (March 2007), 6, and 7 and CentOS 5, 6, and 7 all contain at least one of the required CAs in their default trusted CA list. </p> </li> <li> <p>Java 1.4.2_12 (May 2006), 5 Update 2 (March 2005), and all later versions, including Java 6 (December 2006), 7, and 8, contain at least one of the required CAs in their default trusted CA list. </p> </li> </ul> <p>When accessing the Lambda management console or Lambda API endpoints, whether through browsers or programmatically, you will need to ensure your client machines support any of the following CAs: </p> <ul> <li> <p>Amazon Root CA 1</p> </li> <li> <p>Starfield Services Root Certificate Authority - G2</p> </li> <li> <p>Starfield Class 2 Certification Authority</p> </li> </ul> <p>Root certificates from the first two authorities are available from <a href="https://www.amazontrust.com/repository/">Amazon trust services</a>, but keeping your computer up-to-date is the more straightforward solution. To learn more about ACM-provided certificates, see <a href="http://aws.amazon.com/certificate-manager/faqs/#certificates">Amazon Web Services Certificate Manager FAQs.</a> </p>
|
|
263
|
+
* @public
|
|
264
|
+
*/
|
|
265
|
+
export declare class LambdaClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, LambdaClientResolvedConfig> {
|
|
266
|
+
/**
|
|
267
|
+
* The resolved configuration of LambdaClient class. This is resolved and normalized from the {@link LambdaClientConfig | constructor configuration interface}.
|
|
268
|
+
*/
|
|
269
|
+
readonly config: LambdaClientResolvedConfig;
|
|
270
|
+
constructor(...[configuration]: __CheckOptionalClientConfig<LambdaClientConfig>);
|
|
271
|
+
/**
|
|
272
|
+
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
273
|
+
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
274
|
+
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
275
|
+
*/
|
|
276
|
+
destroy(): void;
|
|
277
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { type HttpAuthScheme, AwsCredentialIdentity, AwsCredentialIdentityProvider } from "@smithy/types";
|
|
2
|
+
import type { LambdaHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export interface HttpAuthExtensionConfiguration {
|
|
7
|
+
setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
|
|
8
|
+
httpAuthSchemes(): HttpAuthScheme[];
|
|
9
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider: LambdaHttpAuthSchemeProvider): void;
|
|
10
|
+
httpAuthSchemeProvider(): LambdaHttpAuthSchemeProvider;
|
|
11
|
+
setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void;
|
|
12
|
+
credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @internal
|
|
16
|
+
*/
|
|
17
|
+
export type HttpAuthRuntimeConfig = Partial<{
|
|
18
|
+
httpAuthSchemes: HttpAuthScheme[];
|
|
19
|
+
httpAuthSchemeProvider: LambdaHttpAuthSchemeProvider;
|
|
20
|
+
credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
|
|
21
|
+
}>;
|
|
22
|
+
/**
|
|
23
|
+
* @internal
|
|
24
|
+
*/
|
|
25
|
+
export declare const getHttpAuthExtensionConfiguration: (runtimeConfig: HttpAuthRuntimeConfig) => HttpAuthExtensionConfiguration;
|
|
26
|
+
/**
|
|
27
|
+
* @internal
|
|
28
|
+
*/
|
|
29
|
+
export declare const resolveHttpAuthRuntimeConfig: (config: HttpAuthExtensionConfiguration) => HttpAuthRuntimeConfig;
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core";
|
|
2
|
+
import type { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
|
|
3
|
+
import { type LambdaClientResolvedConfig } from "../LambdaClient";
|
|
4
|
+
/**
|
|
5
|
+
* @internal
|
|
6
|
+
*/
|
|
7
|
+
export interface LambdaHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
|
|
8
|
+
region?: string;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
export interface LambdaHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<LambdaClientResolvedConfig, HandlerExecutionContext, LambdaHttpAuthSchemeParameters, object> {
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
18
|
+
export declare const defaultLambdaHttpAuthSchemeParametersProvider: (config: LambdaClientResolvedConfig, context: HandlerExecutionContext, input: object) => Promise<LambdaHttpAuthSchemeParameters>;
|
|
19
|
+
/**
|
|
20
|
+
* @internal
|
|
21
|
+
*/
|
|
22
|
+
export interface LambdaHttpAuthSchemeProvider extends HttpAuthSchemeProvider<LambdaHttpAuthSchemeParameters> {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @internal
|
|
26
|
+
*/
|
|
27
|
+
export declare const defaultLambdaHttpAuthSchemeProvider: LambdaHttpAuthSchemeProvider;
|
|
28
|
+
/**
|
|
29
|
+
* @public
|
|
30
|
+
*/
|
|
31
|
+
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
32
|
+
/**
|
|
33
|
+
* A comma-separated list of case-sensitive auth scheme names.
|
|
34
|
+
* An auth scheme name is a fully qualified auth scheme ID with the namespace prefix trimmed.
|
|
35
|
+
* For example, the auth scheme with ID aws.auth#sigv4 is named sigv4.
|
|
36
|
+
* @public
|
|
37
|
+
*/
|
|
38
|
+
authSchemePreference?: string[] | Provider<string[]>;
|
|
39
|
+
/**
|
|
40
|
+
* Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
|
|
41
|
+
* @internal
|
|
42
|
+
*/
|
|
43
|
+
httpAuthSchemes?: HttpAuthScheme[];
|
|
44
|
+
/**
|
|
45
|
+
* Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
|
|
46
|
+
* @internal
|
|
47
|
+
*/
|
|
48
|
+
httpAuthSchemeProvider?: LambdaHttpAuthSchemeProvider;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* @internal
|
|
52
|
+
*/
|
|
53
|
+
export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
|
|
54
|
+
/**
|
|
55
|
+
* A comma-separated list of case-sensitive auth scheme names.
|
|
56
|
+
* An auth scheme name is a fully qualified auth scheme ID with the namespace prefix trimmed.
|
|
57
|
+
* For example, the auth scheme with ID aws.auth#sigv4 is named sigv4.
|
|
58
|
+
* @public
|
|
59
|
+
*/
|
|
60
|
+
readonly authSchemePreference: Provider<string[]>;
|
|
61
|
+
/**
|
|
62
|
+
* Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
|
|
63
|
+
* @internal
|
|
64
|
+
*/
|
|
65
|
+
readonly httpAuthSchemes: HttpAuthScheme[];
|
|
66
|
+
/**
|
|
67
|
+
* Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
|
|
68
|
+
* @internal
|
|
69
|
+
*/
|
|
70
|
+
readonly httpAuthSchemeProvider: LambdaHttpAuthSchemeProvider;
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* @internal
|
|
74
|
+
*/
|
|
75
|
+
export declare const resolveHttpAuthSchemeConfig: <T>(config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved) => T & HttpAuthSchemeResolvedConfig;
|
|
@@ -0,0 +1,122 @@
|
|
|
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 { AddLayerVersionPermissionRequest, AddLayerVersionPermissionResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link AddLayerVersionPermissionCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface AddLayerVersionPermissionCommandInput extends AddLayerVersionPermissionRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link AddLayerVersionPermissionCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface AddLayerVersionPermissionCommandOutput extends AddLayerVersionPermissionResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const AddLayerVersionPermissionCommand_base: {
|
|
25
|
+
new (input: AddLayerVersionPermissionCommandInput): import("@smithy/smithy-client").CommandImpl<AddLayerVersionPermissionCommandInput, AddLayerVersionPermissionCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: AddLayerVersionPermissionCommandInput): import("@smithy/smithy-client").CommandImpl<AddLayerVersionPermissionCommandInput, AddLayerVersionPermissionCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Adds permissions to the resource-based policy of a version of an <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html">Lambda layer</a>. Use this action to grant layer usage permission to other accounts. You can grant permission to a single account, all accounts in an organization, or all Amazon Web Services accounts. </p> <p>To revoke permission, call <a>RemoveLayerVersionPermission</a> with the statement ID that you specified when you added it.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { LambdaClient, AddLayerVersionPermissionCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
35
|
+
* // const { LambdaClient, AddLayerVersionPermissionCommand } = 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 = { // AddLayerVersionPermissionRequest
|
|
40
|
+
* LayerName: "STRING_VALUE", // required
|
|
41
|
+
* VersionNumber: Number("long"), // required
|
|
42
|
+
* StatementId: "STRING_VALUE", // required
|
|
43
|
+
* Action: "STRING_VALUE", // required
|
|
44
|
+
* Principal: "STRING_VALUE", // required
|
|
45
|
+
* OrganizationId: "STRING_VALUE",
|
|
46
|
+
* RevisionId: "STRING_VALUE",
|
|
47
|
+
* };
|
|
48
|
+
* const command = new AddLayerVersionPermissionCommand(input);
|
|
49
|
+
* const response = await client.send(command);
|
|
50
|
+
* // { // AddLayerVersionPermissionResponse
|
|
51
|
+
* // Statement: "STRING_VALUE",
|
|
52
|
+
* // RevisionId: "STRING_VALUE",
|
|
53
|
+
* // };
|
|
54
|
+
*
|
|
55
|
+
* ```
|
|
56
|
+
*
|
|
57
|
+
* @param AddLayerVersionPermissionCommandInput - {@link AddLayerVersionPermissionCommandInput}
|
|
58
|
+
* @returns {@link AddLayerVersionPermissionCommandOutput}
|
|
59
|
+
* @see {@link AddLayerVersionPermissionCommandInput} for command's `input` shape.
|
|
60
|
+
* @see {@link AddLayerVersionPermissionCommandOutput} for command's `response` shape.
|
|
61
|
+
* @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape.
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
64
|
+
* <p>One of the parameters in the request is not valid.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link PolicyLengthExceededException} (client fault)
|
|
67
|
+
* <p>The permissions policy for the resource is too large. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html">Lambda quotas</a>.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link PreconditionFailedException} (client fault)
|
|
70
|
+
* <p>The RevisionId provided does not match the latest RevisionId for the Lambda function or alias.</p> <ul> <li> <p> <b>For AddPermission and RemovePermission API operations:</b> Call <code>GetPolicy</code> to retrieve the latest RevisionId for your resource.</p> </li> <li> <p> <b>For all other API operations:</b> Call <code>GetFunction</code> or <code>GetAlias</code> to retrieve the latest RevisionId for your resource.</p> </li> </ul>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ResourceConflictException} (client fault)
|
|
73
|
+
* <p>The resource already exists, or another operation is in progress.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
76
|
+
* <p>The resource specified in the request does not exist.</p>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ServiceException} (server fault)
|
|
79
|
+
* <p>The Lambda service encountered an internal error.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
82
|
+
* <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>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link LambdaServiceException}
|
|
85
|
+
* <p>Base exception class for all service exceptions from Lambda service.</p>
|
|
86
|
+
*
|
|
87
|
+
*
|
|
88
|
+
* @example To add permissions to a layer version
|
|
89
|
+
* ```javascript
|
|
90
|
+
* // The following example grants permission for the account 223456789012 to use version 1 of a layer named my-layer.
|
|
91
|
+
* const input = {
|
|
92
|
+
* Action: "lambda:GetLayerVersion",
|
|
93
|
+
* LayerName: "my-layer",
|
|
94
|
+
* Principal: "223456789012",
|
|
95
|
+
* StatementId: "xaccount",
|
|
96
|
+
* VersionNumber: 1
|
|
97
|
+
* };
|
|
98
|
+
* const command = new AddLayerVersionPermissionCommand(input);
|
|
99
|
+
* const response = await client.send(command);
|
|
100
|
+
* /* response is
|
|
101
|
+
* {
|
|
102
|
+
* RevisionId: "35d87451-f796-4a3f-a618-95a3671b0a0c",
|
|
103
|
+
* Statement: `{"Sid":"xaccount","Effect":"Allow","Principal":{"AWS":"arn:aws:iam::223456789012:root"},"Action":"lambda:GetLayerVersion","Resource":"arn:aws:lambda:us-east-2:123456789012:layer:my-layer:1"}`
|
|
104
|
+
* }
|
|
105
|
+
* *\/
|
|
106
|
+
* ```
|
|
107
|
+
*
|
|
108
|
+
* @public
|
|
109
|
+
*/
|
|
110
|
+
export declare class AddLayerVersionPermissionCommand extends AddLayerVersionPermissionCommand_base {
|
|
111
|
+
/** @internal type navigation helper, not in runtime. */
|
|
112
|
+
protected static __types: {
|
|
113
|
+
api: {
|
|
114
|
+
input: AddLayerVersionPermissionRequest;
|
|
115
|
+
output: AddLayerVersionPermissionResponse;
|
|
116
|
+
};
|
|
117
|
+
sdk: {
|
|
118
|
+
input: AddLayerVersionPermissionCommandInput;
|
|
119
|
+
output: AddLayerVersionPermissionCommandOutput;
|
|
120
|
+
};
|
|
121
|
+
};
|
|
122
|
+
}
|