@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,135 @@
|
|
|
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 { FunctionEventInvokeConfig, PutFunctionEventInvokeConfigRequest } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link PutFunctionEventInvokeConfigCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface PutFunctionEventInvokeConfigCommandInput extends PutFunctionEventInvokeConfigRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link PutFunctionEventInvokeConfigCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface PutFunctionEventInvokeConfigCommandOutput extends FunctionEventInvokeConfig, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const PutFunctionEventInvokeConfigCommand_base: {
|
|
25
|
+
new (input: PutFunctionEventInvokeConfigCommandInput): import("@smithy/smithy-client").CommandImpl<PutFunctionEventInvokeConfigCommandInput, PutFunctionEventInvokeConfigCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: PutFunctionEventInvokeConfigCommandInput): import("@smithy/smithy-client").CommandImpl<PutFunctionEventInvokeConfigCommandInput, PutFunctionEventInvokeConfigCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Configures options for <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html">asynchronous invocation</a> on a function, version, or alias. If a configuration already exists for a function, version, or alias, this operation overwrites it. If you exclude any settings, they are removed. To set one option without affecting existing settings for other options, use <a>UpdateFunctionEventInvokeConfig</a>.</p> <p>By default, Lambda retries an asynchronous invocation twice if the function returns an error. It retains events in a queue for up to six hours. When an event fails all processing attempts or stays in the asynchronous invocation queue for too long, Lambda discards it. To retain discarded events, configure a dead-letter queue with <a>UpdateFunctionConfiguration</a>.</p> <p>To send an invocation record to a queue, topic, S3 bucket, function, or event bus, specify a <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#invocation-async-destinations">destination</a>. You can configure separate destinations for successful invocations (on-success) and events that fail all processing attempts (on-failure). You can configure destinations in addition to or instead of a dead-letter queue.</p> <note> <p>S3 buckets are supported only for on-failure destinations. To retain records of successful invocations, use another destination type.</p> </note>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { LambdaClient, PutFunctionEventInvokeConfigCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
35
|
+
* // const { LambdaClient, PutFunctionEventInvokeConfigCommand } = 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 = { // PutFunctionEventInvokeConfigRequest
|
|
40
|
+
* FunctionName: "STRING_VALUE", // required
|
|
41
|
+
* Qualifier: "STRING_VALUE",
|
|
42
|
+
* MaximumRetryAttempts: Number("int"),
|
|
43
|
+
* MaximumEventAgeInSeconds: Number("int"),
|
|
44
|
+
* DestinationConfig: { // DestinationConfig
|
|
45
|
+
* OnSuccess: { // OnSuccess
|
|
46
|
+
* Destination: "STRING_VALUE",
|
|
47
|
+
* },
|
|
48
|
+
* OnFailure: { // OnFailure
|
|
49
|
+
* Destination: "STRING_VALUE",
|
|
50
|
+
* },
|
|
51
|
+
* },
|
|
52
|
+
* };
|
|
53
|
+
* const command = new PutFunctionEventInvokeConfigCommand(input);
|
|
54
|
+
* const response = await client.send(command);
|
|
55
|
+
* // { // FunctionEventInvokeConfig
|
|
56
|
+
* // LastModified: new Date("TIMESTAMP"),
|
|
57
|
+
* // FunctionArn: "STRING_VALUE",
|
|
58
|
+
* // MaximumRetryAttempts: Number("int"),
|
|
59
|
+
* // MaximumEventAgeInSeconds: Number("int"),
|
|
60
|
+
* // DestinationConfig: { // DestinationConfig
|
|
61
|
+
* // OnSuccess: { // OnSuccess
|
|
62
|
+
* // Destination: "STRING_VALUE",
|
|
63
|
+
* // },
|
|
64
|
+
* // OnFailure: { // OnFailure
|
|
65
|
+
* // Destination: "STRING_VALUE",
|
|
66
|
+
* // },
|
|
67
|
+
* // },
|
|
68
|
+
* // };
|
|
69
|
+
*
|
|
70
|
+
* ```
|
|
71
|
+
*
|
|
72
|
+
* @param PutFunctionEventInvokeConfigCommandInput - {@link PutFunctionEventInvokeConfigCommandInput}
|
|
73
|
+
* @returns {@link PutFunctionEventInvokeConfigCommandOutput}
|
|
74
|
+
* @see {@link PutFunctionEventInvokeConfigCommandInput} for command's `input` shape.
|
|
75
|
+
* @see {@link PutFunctionEventInvokeConfigCommandOutput} for command's `response` shape.
|
|
76
|
+
* @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape.
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
79
|
+
* <p>One of the parameters in the request is not valid.</p>
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ResourceConflictException} (client fault)
|
|
82
|
+
* <p>The resource already exists, or another operation is in progress.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
85
|
+
* <p>The resource specified in the request does not exist.</p>
|
|
86
|
+
*
|
|
87
|
+
* @throws {@link ServiceException} (server fault)
|
|
88
|
+
* <p>The Lambda service encountered an internal error.</p>
|
|
89
|
+
*
|
|
90
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
91
|
+
* <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>
|
|
92
|
+
*
|
|
93
|
+
* @throws {@link LambdaServiceException}
|
|
94
|
+
* <p>Base exception class for all service exceptions from Lambda service.</p>
|
|
95
|
+
*
|
|
96
|
+
*
|
|
97
|
+
* @example To configure error handling for asynchronous invocation
|
|
98
|
+
* ```javascript
|
|
99
|
+
* // The following example sets a maximum event age of one hour and disables retries for the specified function.
|
|
100
|
+
* const input = {
|
|
101
|
+
* FunctionName: "my-function",
|
|
102
|
+
* MaximumEventAgeInSeconds: 3600,
|
|
103
|
+
* MaximumRetryAttempts: 0
|
|
104
|
+
* };
|
|
105
|
+
* const command = new PutFunctionEventInvokeConfigCommand(input);
|
|
106
|
+
* const response = await client.send(command);
|
|
107
|
+
* /* response is
|
|
108
|
+
* {
|
|
109
|
+
* DestinationConfig: {
|
|
110
|
+
* OnFailure: { /* empty *\/ },
|
|
111
|
+
* OnSuccess: { /* empty *\/ }
|
|
112
|
+
* },
|
|
113
|
+
* FunctionArn: "arn:aws:lambda:us-east-2:123456789012:function:my-function:$LATEST",
|
|
114
|
+
* LastModified: "2016-11-21T19:49:20.006Z",
|
|
115
|
+
* MaximumEventAgeInSeconds: 3600,
|
|
116
|
+
* MaximumRetryAttempts: 0
|
|
117
|
+
* }
|
|
118
|
+
* *\/
|
|
119
|
+
* ```
|
|
120
|
+
*
|
|
121
|
+
* @public
|
|
122
|
+
*/
|
|
123
|
+
export declare class PutFunctionEventInvokeConfigCommand extends PutFunctionEventInvokeConfigCommand_base {
|
|
124
|
+
/** @internal type navigation helper, not in runtime. */
|
|
125
|
+
protected static __types: {
|
|
126
|
+
api: {
|
|
127
|
+
input: PutFunctionEventInvokeConfigRequest;
|
|
128
|
+
output: FunctionEventInvokeConfig;
|
|
129
|
+
};
|
|
130
|
+
sdk: {
|
|
131
|
+
input: PutFunctionEventInvokeConfigCommandInput;
|
|
132
|
+
output: PutFunctionEventInvokeConfigCommandOutput;
|
|
133
|
+
};
|
|
134
|
+
};
|
|
135
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
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 { PutFunctionRecursionConfigRequest, PutFunctionRecursionConfigResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link PutFunctionRecursionConfigCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface PutFunctionRecursionConfigCommandInput extends PutFunctionRecursionConfigRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link PutFunctionRecursionConfigCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface PutFunctionRecursionConfigCommandOutput extends PutFunctionRecursionConfigResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const PutFunctionRecursionConfigCommand_base: {
|
|
25
|
+
new (input: PutFunctionRecursionConfigCommandInput): import("@smithy/smithy-client").CommandImpl<PutFunctionRecursionConfigCommandInput, PutFunctionRecursionConfigCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: PutFunctionRecursionConfigCommandInput): import("@smithy/smithy-client").CommandImpl<PutFunctionRecursionConfigCommandInput, PutFunctionRecursionConfigCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Sets your function's <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-recursion.html">recursive loop detection</a> configuration.</p> <p>When you configure a Lambda function to output to the same service or resource that invokes the function, it's possible to create an infinite recursive loop. For example, a Lambda function might write a message to an Amazon Simple Queue Service (Amazon SQS) queue, which then invokes the same function. This invocation causes the function to write another message to the queue, which in turn invokes the function again.</p> <p>Lambda can detect certain types of recursive loops shortly after they occur. When Lambda detects a recursive loop and your function's recursive loop detection configuration is set to <code>Terminate</code>, it stops your function being invoked and notifies you.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { LambdaClient, PutFunctionRecursionConfigCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
35
|
+
* // const { LambdaClient, PutFunctionRecursionConfigCommand } = 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 = { // PutFunctionRecursionConfigRequest
|
|
40
|
+
* FunctionName: "STRING_VALUE", // required
|
|
41
|
+
* RecursiveLoop: "Allow" || "Terminate", // required
|
|
42
|
+
* };
|
|
43
|
+
* const command = new PutFunctionRecursionConfigCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // PutFunctionRecursionConfigResponse
|
|
46
|
+
* // RecursiveLoop: "Allow" || "Terminate",
|
|
47
|
+
* // };
|
|
48
|
+
*
|
|
49
|
+
* ```
|
|
50
|
+
*
|
|
51
|
+
* @param PutFunctionRecursionConfigCommandInput - {@link PutFunctionRecursionConfigCommandInput}
|
|
52
|
+
* @returns {@link PutFunctionRecursionConfigCommandOutput}
|
|
53
|
+
* @see {@link PutFunctionRecursionConfigCommandInput} for command's `input` shape.
|
|
54
|
+
* @see {@link PutFunctionRecursionConfigCommandOutput} for command's `response` shape.
|
|
55
|
+
* @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape.
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
58
|
+
* <p>One of the parameters in the request is not valid.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link ResourceConflictException} (client fault)
|
|
61
|
+
* <p>The resource already exists, or another operation is in progress.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
64
|
+
* <p>The resource specified in the request does not exist.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ServiceException} (server fault)
|
|
67
|
+
* <p>The Lambda service encountered an internal error.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
70
|
+
* <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>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link LambdaServiceException}
|
|
73
|
+
* <p>Base exception class for all service exceptions from Lambda service.</p>
|
|
74
|
+
*
|
|
75
|
+
*
|
|
76
|
+
* @public
|
|
77
|
+
*/
|
|
78
|
+
export declare class PutFunctionRecursionConfigCommand extends PutFunctionRecursionConfigCommand_base {
|
|
79
|
+
/** @internal type navigation helper, not in runtime. */
|
|
80
|
+
protected static __types: {
|
|
81
|
+
api: {
|
|
82
|
+
input: PutFunctionRecursionConfigRequest;
|
|
83
|
+
output: PutFunctionRecursionConfigResponse;
|
|
84
|
+
};
|
|
85
|
+
sdk: {
|
|
86
|
+
input: PutFunctionRecursionConfigCommandInput;
|
|
87
|
+
output: PutFunctionRecursionConfigCommandOutput;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
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 { PutFunctionScalingConfigRequest, PutFunctionScalingConfigResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link PutFunctionScalingConfigCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface PutFunctionScalingConfigCommandInput extends PutFunctionScalingConfigRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link PutFunctionScalingConfigCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface PutFunctionScalingConfigCommandOutput extends PutFunctionScalingConfigResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const PutFunctionScalingConfigCommand_base: {
|
|
25
|
+
new (input: PutFunctionScalingConfigCommandInput): import("@smithy/smithy-client").CommandImpl<PutFunctionScalingConfigCommandInput, PutFunctionScalingConfigCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: PutFunctionScalingConfigCommandInput): import("@smithy/smithy-client").CommandImpl<PutFunctionScalingConfigCommandInput, PutFunctionScalingConfigCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Sets the scaling configuration for a Lambda Managed Instances function. The scaling configuration defines the minimum and maximum number of execution environments that can be provisioned for the function, allowing you to control scaling behavior and resource allocation.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { LambdaClient, PutFunctionScalingConfigCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
35
|
+
* // const { LambdaClient, PutFunctionScalingConfigCommand } = 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 = { // PutFunctionScalingConfigRequest
|
|
40
|
+
* FunctionName: "STRING_VALUE", // required
|
|
41
|
+
* Qualifier: "STRING_VALUE", // required
|
|
42
|
+
* FunctionScalingConfig: { // FunctionScalingConfig
|
|
43
|
+
* MinExecutionEnvironments: Number("int"),
|
|
44
|
+
* MaxExecutionEnvironments: Number("int"),
|
|
45
|
+
* },
|
|
46
|
+
* };
|
|
47
|
+
* const command = new PutFunctionScalingConfigCommand(input);
|
|
48
|
+
* const response = await client.send(command);
|
|
49
|
+
* // { // PutFunctionScalingConfigResponse
|
|
50
|
+
* // FunctionState: "Pending" || "Active" || "Inactive" || "Failed" || "Deactivating" || "Deactivated" || "ActiveNonInvocable" || "Deleting",
|
|
51
|
+
* // };
|
|
52
|
+
*
|
|
53
|
+
* ```
|
|
54
|
+
*
|
|
55
|
+
* @param PutFunctionScalingConfigCommandInput - {@link PutFunctionScalingConfigCommandInput}
|
|
56
|
+
* @returns {@link PutFunctionScalingConfigCommandOutput}
|
|
57
|
+
* @see {@link PutFunctionScalingConfigCommandInput} for command's `input` shape.
|
|
58
|
+
* @see {@link PutFunctionScalingConfigCommandOutput} for command's `response` shape.
|
|
59
|
+
* @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape.
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
62
|
+
* <p>One of the parameters in the request is not valid.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link ResourceConflictException} (client fault)
|
|
65
|
+
* <p>The resource already exists, or another operation is in progress.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
68
|
+
* <p>The resource specified in the request does not exist.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ServiceException} (server fault)
|
|
71
|
+
* <p>The Lambda service encountered an internal error.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
74
|
+
* <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>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link LambdaServiceException}
|
|
77
|
+
* <p>Base exception class for all service exceptions from Lambda service.</p>
|
|
78
|
+
*
|
|
79
|
+
*
|
|
80
|
+
* @public
|
|
81
|
+
*/
|
|
82
|
+
export declare class PutFunctionScalingConfigCommand extends PutFunctionScalingConfigCommand_base {
|
|
83
|
+
/** @internal type navigation helper, not in runtime. */
|
|
84
|
+
protected static __types: {
|
|
85
|
+
api: {
|
|
86
|
+
input: PutFunctionScalingConfigRequest;
|
|
87
|
+
output: PutFunctionScalingConfigResponse;
|
|
88
|
+
};
|
|
89
|
+
sdk: {
|
|
90
|
+
input: PutFunctionScalingConfigCommandInput;
|
|
91
|
+
output: PutFunctionScalingConfigCommandOutput;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
}
|
|
@@ -0,0 +1,116 @@
|
|
|
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 { PutProvisionedConcurrencyConfigRequest, PutProvisionedConcurrencyConfigResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link PutProvisionedConcurrencyConfigCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface PutProvisionedConcurrencyConfigCommandInput extends PutProvisionedConcurrencyConfigRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link PutProvisionedConcurrencyConfigCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface PutProvisionedConcurrencyConfigCommandOutput extends PutProvisionedConcurrencyConfigResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const PutProvisionedConcurrencyConfigCommand_base: {
|
|
25
|
+
new (input: PutProvisionedConcurrencyConfigCommandInput): import("@smithy/smithy-client").CommandImpl<PutProvisionedConcurrencyConfigCommandInput, PutProvisionedConcurrencyConfigCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: PutProvisionedConcurrencyConfigCommandInput): import("@smithy/smithy-client").CommandImpl<PutProvisionedConcurrencyConfigCommandInput, PutProvisionedConcurrencyConfigCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Adds a provisioned concurrency configuration to a function's alias or version.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { LambdaClient, PutProvisionedConcurrencyConfigCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
35
|
+
* // const { LambdaClient, PutProvisionedConcurrencyConfigCommand } = 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 = { // PutProvisionedConcurrencyConfigRequest
|
|
40
|
+
* FunctionName: "STRING_VALUE", // required
|
|
41
|
+
* Qualifier: "STRING_VALUE", // required
|
|
42
|
+
* ProvisionedConcurrentExecutions: Number("int"), // required
|
|
43
|
+
* };
|
|
44
|
+
* const command = new PutProvisionedConcurrencyConfigCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // { // PutProvisionedConcurrencyConfigResponse
|
|
47
|
+
* // RequestedProvisionedConcurrentExecutions: Number("int"),
|
|
48
|
+
* // AvailableProvisionedConcurrentExecutions: Number("int"),
|
|
49
|
+
* // AllocatedProvisionedConcurrentExecutions: Number("int"),
|
|
50
|
+
* // Status: "IN_PROGRESS" || "READY" || "FAILED",
|
|
51
|
+
* // StatusReason: "STRING_VALUE",
|
|
52
|
+
* // LastModified: "STRING_VALUE",
|
|
53
|
+
* // };
|
|
54
|
+
*
|
|
55
|
+
* ```
|
|
56
|
+
*
|
|
57
|
+
* @param PutProvisionedConcurrencyConfigCommandInput - {@link PutProvisionedConcurrencyConfigCommandInput}
|
|
58
|
+
* @returns {@link PutProvisionedConcurrencyConfigCommandOutput}
|
|
59
|
+
* @see {@link PutProvisionedConcurrencyConfigCommandInput} for command's `input` shape.
|
|
60
|
+
* @see {@link PutProvisionedConcurrencyConfigCommandOutput} 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 ResourceConflictException} (client fault)
|
|
67
|
+
* <p>The resource already exists, or another operation is in progress.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
70
|
+
* <p>The resource specified in the request does not exist.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link ServiceException} (server fault)
|
|
73
|
+
* <p>The Lambda service encountered an internal error.</p>
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
76
|
+
* <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>
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link LambdaServiceException}
|
|
79
|
+
* <p>Base exception class for all service exceptions from Lambda service.</p>
|
|
80
|
+
*
|
|
81
|
+
*
|
|
82
|
+
* @example To allocate provisioned concurrency
|
|
83
|
+
* ```javascript
|
|
84
|
+
* // The following example allocates 100 provisioned concurrency for the BLUE alias of the specified function.
|
|
85
|
+
* const input = {
|
|
86
|
+
* FunctionName: "my-function",
|
|
87
|
+
* ProvisionedConcurrentExecutions: 100,
|
|
88
|
+
* Qualifier: "BLUE"
|
|
89
|
+
* };
|
|
90
|
+
* const command = new PutProvisionedConcurrencyConfigCommand(input);
|
|
91
|
+
* const response = await client.send(command);
|
|
92
|
+
* /* response is
|
|
93
|
+
* {
|
|
94
|
+
* AllocatedProvisionedConcurrentExecutions: 0,
|
|
95
|
+
* LastModified: "2019-11-21T19:32:12+0000",
|
|
96
|
+
* RequestedProvisionedConcurrentExecutions: 100,
|
|
97
|
+
* Status: "IN_PROGRESS"
|
|
98
|
+
* }
|
|
99
|
+
* *\/
|
|
100
|
+
* ```
|
|
101
|
+
*
|
|
102
|
+
* @public
|
|
103
|
+
*/
|
|
104
|
+
export declare class PutProvisionedConcurrencyConfigCommand extends PutProvisionedConcurrencyConfigCommand_base {
|
|
105
|
+
/** @internal type navigation helper, not in runtime. */
|
|
106
|
+
protected static __types: {
|
|
107
|
+
api: {
|
|
108
|
+
input: PutProvisionedConcurrencyConfigRequest;
|
|
109
|
+
output: PutProvisionedConcurrencyConfigResponse;
|
|
110
|
+
};
|
|
111
|
+
sdk: {
|
|
112
|
+
input: PutProvisionedConcurrencyConfigCommandInput;
|
|
113
|
+
output: PutProvisionedConcurrencyConfigCommandOutput;
|
|
114
|
+
};
|
|
115
|
+
};
|
|
116
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
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 { PutRuntimeManagementConfigRequest, PutRuntimeManagementConfigResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link PutRuntimeManagementConfigCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface PutRuntimeManagementConfigCommandInput extends PutRuntimeManagementConfigRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link PutRuntimeManagementConfigCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface PutRuntimeManagementConfigCommandOutput extends PutRuntimeManagementConfigResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const PutRuntimeManagementConfigCommand_base: {
|
|
25
|
+
new (input: PutRuntimeManagementConfigCommandInput): import("@smithy/smithy-client").CommandImpl<PutRuntimeManagementConfigCommandInput, PutRuntimeManagementConfigCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: PutRuntimeManagementConfigCommandInput): import("@smithy/smithy-client").CommandImpl<PutRuntimeManagementConfigCommandInput, PutRuntimeManagementConfigCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Sets the runtime management configuration for a function's version. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/runtimes-update.html">Runtime updates</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, PutRuntimeManagementConfigCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
35
|
+
* // const { LambdaClient, PutRuntimeManagementConfigCommand } = 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 = { // PutRuntimeManagementConfigRequest
|
|
40
|
+
* FunctionName: "STRING_VALUE", // required
|
|
41
|
+
* Qualifier: "STRING_VALUE",
|
|
42
|
+
* UpdateRuntimeOn: "Auto" || "Manual" || "FunctionUpdate", // required
|
|
43
|
+
* RuntimeVersionArn: "STRING_VALUE",
|
|
44
|
+
* };
|
|
45
|
+
* const command = new PutRuntimeManagementConfigCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // { // PutRuntimeManagementConfigResponse
|
|
48
|
+
* // UpdateRuntimeOn: "Auto" || "Manual" || "FunctionUpdate", // required
|
|
49
|
+
* // FunctionArn: "STRING_VALUE", // required
|
|
50
|
+
* // RuntimeVersionArn: "STRING_VALUE",
|
|
51
|
+
* // };
|
|
52
|
+
*
|
|
53
|
+
* ```
|
|
54
|
+
*
|
|
55
|
+
* @param PutRuntimeManagementConfigCommandInput - {@link PutRuntimeManagementConfigCommandInput}
|
|
56
|
+
* @returns {@link PutRuntimeManagementConfigCommandOutput}
|
|
57
|
+
* @see {@link PutRuntimeManagementConfigCommandInput} for command's `input` shape.
|
|
58
|
+
* @see {@link PutRuntimeManagementConfigCommandOutput} for command's `response` shape.
|
|
59
|
+
* @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape.
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
62
|
+
* <p>One of the parameters in the request is not valid.</p>
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link ResourceConflictException} (client fault)
|
|
65
|
+
* <p>The resource already exists, or another operation is in progress.</p>
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
68
|
+
* <p>The resource specified in the request does not exist.</p>
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ServiceException} (server fault)
|
|
71
|
+
* <p>The Lambda service encountered an internal error.</p>
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
74
|
+
* <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>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link LambdaServiceException}
|
|
77
|
+
* <p>Base exception class for all service exceptions from Lambda service.</p>
|
|
78
|
+
*
|
|
79
|
+
*
|
|
80
|
+
* @public
|
|
81
|
+
*/
|
|
82
|
+
export declare class PutRuntimeManagementConfigCommand extends PutRuntimeManagementConfigCommand_base {
|
|
83
|
+
/** @internal type navigation helper, not in runtime. */
|
|
84
|
+
protected static __types: {
|
|
85
|
+
api: {
|
|
86
|
+
input: PutRuntimeManagementConfigRequest;
|
|
87
|
+
output: PutRuntimeManagementConfigResponse;
|
|
88
|
+
};
|
|
89
|
+
sdk: {
|
|
90
|
+
input: PutRuntimeManagementConfigCommandInput;
|
|
91
|
+
output: PutRuntimeManagementConfigCommandOutput;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
}
|
|
@@ -0,0 +1,105 @@
|
|
|
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 { RemoveLayerVersionPermissionRequest } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link RemoveLayerVersionPermissionCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface RemoveLayerVersionPermissionCommandInput extends RemoveLayerVersionPermissionRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link RemoveLayerVersionPermissionCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface RemoveLayerVersionPermissionCommandOutput extends __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const RemoveLayerVersionPermissionCommand_base: {
|
|
25
|
+
new (input: RemoveLayerVersionPermissionCommandInput): import("@smithy/smithy-client").CommandImpl<RemoveLayerVersionPermissionCommandInput, RemoveLayerVersionPermissionCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: RemoveLayerVersionPermissionCommandInput): import("@smithy/smithy-client").CommandImpl<RemoveLayerVersionPermissionCommandInput, RemoveLayerVersionPermissionCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Removes a statement from the permissions policy for a version of an <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html">Lambda layer</a>. For more information, see <a>AddLayerVersionPermission</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, RemoveLayerVersionPermissionCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
35
|
+
* // const { LambdaClient, RemoveLayerVersionPermissionCommand } = 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 = { // RemoveLayerVersionPermissionRequest
|
|
40
|
+
* LayerName: "STRING_VALUE", // required
|
|
41
|
+
* VersionNumber: Number("long"), // required
|
|
42
|
+
* StatementId: "STRING_VALUE", // required
|
|
43
|
+
* RevisionId: "STRING_VALUE",
|
|
44
|
+
* };
|
|
45
|
+
* const command = new RemoveLayerVersionPermissionCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // {};
|
|
48
|
+
*
|
|
49
|
+
* ```
|
|
50
|
+
*
|
|
51
|
+
* @param RemoveLayerVersionPermissionCommandInput - {@link RemoveLayerVersionPermissionCommandInput}
|
|
52
|
+
* @returns {@link RemoveLayerVersionPermissionCommandOutput}
|
|
53
|
+
* @see {@link RemoveLayerVersionPermissionCommandInput} for command's `input` shape.
|
|
54
|
+
* @see {@link RemoveLayerVersionPermissionCommandOutput} for command's `response` shape.
|
|
55
|
+
* @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape.
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
58
|
+
* <p>One of the parameters in the request is not valid.</p>
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link PreconditionFailedException} (client fault)
|
|
61
|
+
* <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>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
64
|
+
* <p>The resource specified in the request does not exist.</p>
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ServiceException} (server fault)
|
|
67
|
+
* <p>The Lambda service encountered an internal error.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
70
|
+
* <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>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link LambdaServiceException}
|
|
73
|
+
* <p>Base exception class for all service exceptions from Lambda service.</p>
|
|
74
|
+
*
|
|
75
|
+
*
|
|
76
|
+
* @example To delete layer-version permissions
|
|
77
|
+
* ```javascript
|
|
78
|
+
* // The following example deletes permission for an account to configure a layer version.
|
|
79
|
+
* const input = {
|
|
80
|
+
* LayerName: "my-layer",
|
|
81
|
+
* StatementId: "xaccount",
|
|
82
|
+
* VersionNumber: 1
|
|
83
|
+
* };
|
|
84
|
+
* const command = new RemoveLayerVersionPermissionCommand(input);
|
|
85
|
+
* const response = await client.send(command);
|
|
86
|
+
* /* response is
|
|
87
|
+
* { /* metadata only *\/ }
|
|
88
|
+
* *\/
|
|
89
|
+
* ```
|
|
90
|
+
*
|
|
91
|
+
* @public
|
|
92
|
+
*/
|
|
93
|
+
export declare class RemoveLayerVersionPermissionCommand extends RemoveLayerVersionPermissionCommand_base {
|
|
94
|
+
/** @internal type navigation helper, not in runtime. */
|
|
95
|
+
protected static __types: {
|
|
96
|
+
api: {
|
|
97
|
+
input: RemoveLayerVersionPermissionRequest;
|
|
98
|
+
output: {};
|
|
99
|
+
};
|
|
100
|
+
sdk: {
|
|
101
|
+
input: RemoveLayerVersionPermissionCommandInput;
|
|
102
|
+
output: RemoveLayerVersionPermissionCommandOutput;
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
}
|