@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,324 @@
|
|
|
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 { FunctionConfiguration, UpdateFunctionConfigurationRequest } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link UpdateFunctionConfigurationCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateFunctionConfigurationCommandInput extends UpdateFunctionConfigurationRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdateFunctionConfigurationCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateFunctionConfigurationCommandOutput extends FunctionConfiguration, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UpdateFunctionConfigurationCommand_base: {
|
|
25
|
+
new (input: UpdateFunctionConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateFunctionConfigurationCommandInput, UpdateFunctionConfigurationCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: UpdateFunctionConfigurationCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateFunctionConfigurationCommandInput, UpdateFunctionConfigurationCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Modify the version-specific settings of a Lambda function.</p> <p>When you update a function, Lambda provisions an instance of the function and its supporting resources. If your function connects to a VPC, this process can take a minute. During this time, you can't modify the function, but you can still invoke it. The <code>LastUpdateStatus</code>, <code>LastUpdateStatusReason</code>, and <code>LastUpdateStatusReasonCode</code> fields in the response from <a>GetFunctionConfiguration</a> indicate when the update is complete and the function is processing events with the new configuration. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/functions-states.html">Lambda function states</a>.</p> <p>These settings can vary between versions of a function and are locked when you publish a version. You can't modify the configuration of a published version, only the unpublished version.</p> <p>To configure function concurrency, use <a>PutFunctionConcurrency</a>. To grant invoke permissions to an Amazon Web Services account or Amazon Web Services service, use <a>AddPermission</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, UpdateFunctionConfigurationCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
35
|
+
* // const { LambdaClient, UpdateFunctionConfigurationCommand } = 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 = { // UpdateFunctionConfigurationRequest
|
|
40
|
+
* FunctionName: "STRING_VALUE", // required
|
|
41
|
+
* Role: "STRING_VALUE",
|
|
42
|
+
* Handler: "STRING_VALUE",
|
|
43
|
+
* Description: "STRING_VALUE",
|
|
44
|
+
* Timeout: Number("int"),
|
|
45
|
+
* MemorySize: Number("int"),
|
|
46
|
+
* VpcConfig: { // VpcConfig
|
|
47
|
+
* SubnetIds: [ // SubnetIds
|
|
48
|
+
* "STRING_VALUE",
|
|
49
|
+
* ],
|
|
50
|
+
* SecurityGroupIds: [ // SecurityGroupIds
|
|
51
|
+
* "STRING_VALUE",
|
|
52
|
+
* ],
|
|
53
|
+
* Ipv6AllowedForDualStack: true || false,
|
|
54
|
+
* },
|
|
55
|
+
* Environment: { // Environment
|
|
56
|
+
* Variables: { // EnvironmentVariables
|
|
57
|
+
* "<keys>": "STRING_VALUE",
|
|
58
|
+
* },
|
|
59
|
+
* },
|
|
60
|
+
* Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "ruby3.4" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21" || "python3.13" || "nodejs22.x" || "nodejs24.x" || "python3.14" || "java25" || "dotnet10",
|
|
61
|
+
* DeadLetterConfig: { // DeadLetterConfig
|
|
62
|
+
* TargetArn: "STRING_VALUE",
|
|
63
|
+
* },
|
|
64
|
+
* KMSKeyArn: "STRING_VALUE",
|
|
65
|
+
* TracingConfig: { // TracingConfig
|
|
66
|
+
* Mode: "Active" || "PassThrough",
|
|
67
|
+
* },
|
|
68
|
+
* RevisionId: "STRING_VALUE",
|
|
69
|
+
* Layers: [ // LayerList
|
|
70
|
+
* "STRING_VALUE",
|
|
71
|
+
* ],
|
|
72
|
+
* FileSystemConfigs: [ // FileSystemConfigList
|
|
73
|
+
* { // FileSystemConfig
|
|
74
|
+
* Arn: "STRING_VALUE", // required
|
|
75
|
+
* LocalMountPath: "STRING_VALUE", // required
|
|
76
|
+
* },
|
|
77
|
+
* ],
|
|
78
|
+
* ImageConfig: { // ImageConfig
|
|
79
|
+
* EntryPoint: [ // StringList
|
|
80
|
+
* "STRING_VALUE",
|
|
81
|
+
* ],
|
|
82
|
+
* Command: [
|
|
83
|
+
* "STRING_VALUE",
|
|
84
|
+
* ],
|
|
85
|
+
* WorkingDirectory: "STRING_VALUE",
|
|
86
|
+
* },
|
|
87
|
+
* EphemeralStorage: { // EphemeralStorage
|
|
88
|
+
* Size: Number("int"), // required
|
|
89
|
+
* },
|
|
90
|
+
* SnapStart: { // SnapStart
|
|
91
|
+
* ApplyOn: "PublishedVersions" || "None",
|
|
92
|
+
* },
|
|
93
|
+
* LoggingConfig: { // LoggingConfig
|
|
94
|
+
* LogFormat: "JSON" || "Text",
|
|
95
|
+
* ApplicationLogLevel: "TRACE" || "DEBUG" || "INFO" || "WARN" || "ERROR" || "FATAL",
|
|
96
|
+
* SystemLogLevel: "DEBUG" || "INFO" || "WARN",
|
|
97
|
+
* LogGroup: "STRING_VALUE",
|
|
98
|
+
* },
|
|
99
|
+
* CapacityProviderConfig: { // CapacityProviderConfig
|
|
100
|
+
* LambdaManagedInstancesCapacityProviderConfig: { // LambdaManagedInstancesCapacityProviderConfig
|
|
101
|
+
* CapacityProviderArn: "STRING_VALUE", // required
|
|
102
|
+
* PerExecutionEnvironmentMaxConcurrency: Number("int"),
|
|
103
|
+
* ExecutionEnvironmentMemoryGiBPerVCpu: Number("double"),
|
|
104
|
+
* },
|
|
105
|
+
* },
|
|
106
|
+
* DurableConfig: { // DurableConfig
|
|
107
|
+
* RetentionPeriodInDays: Number("int"),
|
|
108
|
+
* ExecutionTimeout: Number("int"),
|
|
109
|
+
* },
|
|
110
|
+
* };
|
|
111
|
+
* const command = new UpdateFunctionConfigurationCommand(input);
|
|
112
|
+
* const response = await client.send(command);
|
|
113
|
+
* // { // FunctionConfiguration
|
|
114
|
+
* // FunctionName: "STRING_VALUE",
|
|
115
|
+
* // FunctionArn: "STRING_VALUE",
|
|
116
|
+
* // Runtime: "nodejs" || "nodejs4.3" || "nodejs6.10" || "nodejs8.10" || "nodejs10.x" || "nodejs12.x" || "nodejs14.x" || "nodejs16.x" || "java8" || "java8.al2" || "java11" || "python2.7" || "python3.6" || "python3.7" || "python3.8" || "python3.9" || "dotnetcore1.0" || "dotnetcore2.0" || "dotnetcore2.1" || "dotnetcore3.1" || "dotnet6" || "dotnet8" || "nodejs4.3-edge" || "go1.x" || "ruby2.5" || "ruby2.7" || "provided" || "provided.al2" || "nodejs18.x" || "python3.10" || "java17" || "ruby3.2" || "ruby3.3" || "ruby3.4" || "python3.11" || "nodejs20.x" || "provided.al2023" || "python3.12" || "java21" || "python3.13" || "nodejs22.x" || "nodejs24.x" || "python3.14" || "java25" || "dotnet10",
|
|
117
|
+
* // Role: "STRING_VALUE",
|
|
118
|
+
* // Handler: "STRING_VALUE",
|
|
119
|
+
* // CodeSize: Number("long"),
|
|
120
|
+
* // Description: "STRING_VALUE",
|
|
121
|
+
* // Timeout: Number("int"),
|
|
122
|
+
* // MemorySize: Number("int"),
|
|
123
|
+
* // LastModified: "STRING_VALUE",
|
|
124
|
+
* // CodeSha256: "STRING_VALUE",
|
|
125
|
+
* // Version: "STRING_VALUE",
|
|
126
|
+
* // VpcConfig: { // VpcConfigResponse
|
|
127
|
+
* // SubnetIds: [ // SubnetIds
|
|
128
|
+
* // "STRING_VALUE",
|
|
129
|
+
* // ],
|
|
130
|
+
* // SecurityGroupIds: [ // SecurityGroupIds
|
|
131
|
+
* // "STRING_VALUE",
|
|
132
|
+
* // ],
|
|
133
|
+
* // VpcId: "STRING_VALUE",
|
|
134
|
+
* // Ipv6AllowedForDualStack: true || false,
|
|
135
|
+
* // },
|
|
136
|
+
* // DeadLetterConfig: { // DeadLetterConfig
|
|
137
|
+
* // TargetArn: "STRING_VALUE",
|
|
138
|
+
* // },
|
|
139
|
+
* // Environment: { // EnvironmentResponse
|
|
140
|
+
* // Variables: { // EnvironmentVariables
|
|
141
|
+
* // "<keys>": "STRING_VALUE",
|
|
142
|
+
* // },
|
|
143
|
+
* // Error: { // EnvironmentError
|
|
144
|
+
* // ErrorCode: "STRING_VALUE",
|
|
145
|
+
* // Message: "STRING_VALUE",
|
|
146
|
+
* // },
|
|
147
|
+
* // },
|
|
148
|
+
* // KMSKeyArn: "STRING_VALUE",
|
|
149
|
+
* // TracingConfig: { // TracingConfigResponse
|
|
150
|
+
* // Mode: "Active" || "PassThrough",
|
|
151
|
+
* // },
|
|
152
|
+
* // MasterArn: "STRING_VALUE",
|
|
153
|
+
* // RevisionId: "STRING_VALUE",
|
|
154
|
+
* // Layers: [ // LayersReferenceList
|
|
155
|
+
* // { // Layer
|
|
156
|
+
* // Arn: "STRING_VALUE",
|
|
157
|
+
* // CodeSize: Number("long"),
|
|
158
|
+
* // SigningProfileVersionArn: "STRING_VALUE",
|
|
159
|
+
* // SigningJobArn: "STRING_VALUE",
|
|
160
|
+
* // },
|
|
161
|
+
* // ],
|
|
162
|
+
* // State: "Pending" || "Active" || "Inactive" || "Failed" || "Deactivating" || "Deactivated" || "ActiveNonInvocable" || "Deleting",
|
|
163
|
+
* // StateReason: "STRING_VALUE",
|
|
164
|
+
* // StateReasonCode: "Idle" || "Creating" || "Restoring" || "EniLimitExceeded" || "InsufficientRolePermissions" || "InvalidConfiguration" || "InternalError" || "SubnetOutOfIPAddresses" || "InvalidSubnet" || "InvalidSecurityGroup" || "ImageDeleted" || "ImageAccessDenied" || "InvalidImage" || "KMSKeyAccessDenied" || "KMSKeyNotFound" || "InvalidStateKMSKey" || "DisabledKMSKey" || "EFSIOError" || "EFSMountConnectivityError" || "EFSMountFailure" || "EFSMountTimeout" || "InvalidRuntime" || "InvalidZipFileException" || "FunctionError" || "DrainingDurableExecutions" || "VcpuLimitExceeded" || "CapacityProviderScalingLimitExceeded" || "InsufficientCapacity" || "EC2RequestLimitExceeded" || "FunctionError.InitTimeout" || "FunctionError.RuntimeInitError" || "FunctionError.ExtensionInitError" || "FunctionError.InvalidEntryPoint" || "FunctionError.InvalidWorkingDirectory" || "FunctionError.PermissionDenied" || "FunctionError.TooManyExtensions" || "FunctionError.InitResourceExhausted" || "DisallowedByVpcEncryptionControl",
|
|
165
|
+
* // LastUpdateStatus: "Successful" || "Failed" || "InProgress",
|
|
166
|
+
* // LastUpdateStatusReason: "STRING_VALUE",
|
|
167
|
+
* // LastUpdateStatusReasonCode: "EniLimitExceeded" || "InsufficientRolePermissions" || "InvalidConfiguration" || "InternalError" || "SubnetOutOfIPAddresses" || "InvalidSubnet" || "InvalidSecurityGroup" || "ImageDeleted" || "ImageAccessDenied" || "InvalidImage" || "KMSKeyAccessDenied" || "KMSKeyNotFound" || "InvalidStateKMSKey" || "DisabledKMSKey" || "EFSIOError" || "EFSMountConnectivityError" || "EFSMountFailure" || "EFSMountTimeout" || "InvalidRuntime" || "InvalidZipFileException" || "FunctionError" || "VcpuLimitExceeded" || "CapacityProviderScalingLimitExceeded" || "InsufficientCapacity" || "EC2RequestLimitExceeded" || "FunctionError.InitTimeout" || "FunctionError.RuntimeInitError" || "FunctionError.ExtensionInitError" || "FunctionError.InvalidEntryPoint" || "FunctionError.InvalidWorkingDirectory" || "FunctionError.PermissionDenied" || "FunctionError.TooManyExtensions" || "FunctionError.InitResourceExhausted" || "DisallowedByVpcEncryptionControl",
|
|
168
|
+
* // FileSystemConfigs: [ // FileSystemConfigList
|
|
169
|
+
* // { // FileSystemConfig
|
|
170
|
+
* // Arn: "STRING_VALUE", // required
|
|
171
|
+
* // LocalMountPath: "STRING_VALUE", // required
|
|
172
|
+
* // },
|
|
173
|
+
* // ],
|
|
174
|
+
* // PackageType: "Zip" || "Image",
|
|
175
|
+
* // ImageConfigResponse: { // ImageConfigResponse
|
|
176
|
+
* // ImageConfig: { // ImageConfig
|
|
177
|
+
* // EntryPoint: [ // StringList
|
|
178
|
+
* // "STRING_VALUE",
|
|
179
|
+
* // ],
|
|
180
|
+
* // Command: [
|
|
181
|
+
* // "STRING_VALUE",
|
|
182
|
+
* // ],
|
|
183
|
+
* // WorkingDirectory: "STRING_VALUE",
|
|
184
|
+
* // },
|
|
185
|
+
* // Error: { // ImageConfigError
|
|
186
|
+
* // ErrorCode: "STRING_VALUE",
|
|
187
|
+
* // Message: "STRING_VALUE",
|
|
188
|
+
* // },
|
|
189
|
+
* // },
|
|
190
|
+
* // SigningProfileVersionArn: "STRING_VALUE",
|
|
191
|
+
* // SigningJobArn: "STRING_VALUE",
|
|
192
|
+
* // Architectures: [ // ArchitecturesList
|
|
193
|
+
* // "x86_64" || "arm64",
|
|
194
|
+
* // ],
|
|
195
|
+
* // EphemeralStorage: { // EphemeralStorage
|
|
196
|
+
* // Size: Number("int"), // required
|
|
197
|
+
* // },
|
|
198
|
+
* // SnapStart: { // SnapStartResponse
|
|
199
|
+
* // ApplyOn: "PublishedVersions" || "None",
|
|
200
|
+
* // OptimizationStatus: "On" || "Off",
|
|
201
|
+
* // },
|
|
202
|
+
* // RuntimeVersionConfig: { // RuntimeVersionConfig
|
|
203
|
+
* // RuntimeVersionArn: "STRING_VALUE",
|
|
204
|
+
* // Error: { // RuntimeVersionError
|
|
205
|
+
* // ErrorCode: "STRING_VALUE",
|
|
206
|
+
* // Message: "STRING_VALUE",
|
|
207
|
+
* // },
|
|
208
|
+
* // },
|
|
209
|
+
* // LoggingConfig: { // LoggingConfig
|
|
210
|
+
* // LogFormat: "JSON" || "Text",
|
|
211
|
+
* // ApplicationLogLevel: "TRACE" || "DEBUG" || "INFO" || "WARN" || "ERROR" || "FATAL",
|
|
212
|
+
* // SystemLogLevel: "DEBUG" || "INFO" || "WARN",
|
|
213
|
+
* // LogGroup: "STRING_VALUE",
|
|
214
|
+
* // },
|
|
215
|
+
* // CapacityProviderConfig: { // CapacityProviderConfig
|
|
216
|
+
* // LambdaManagedInstancesCapacityProviderConfig: { // LambdaManagedInstancesCapacityProviderConfig
|
|
217
|
+
* // CapacityProviderArn: "STRING_VALUE", // required
|
|
218
|
+
* // PerExecutionEnvironmentMaxConcurrency: Number("int"),
|
|
219
|
+
* // ExecutionEnvironmentMemoryGiBPerVCpu: Number("double"),
|
|
220
|
+
* // },
|
|
221
|
+
* // },
|
|
222
|
+
* // ConfigSha256: "STRING_VALUE",
|
|
223
|
+
* // DurableConfig: { // DurableConfig
|
|
224
|
+
* // RetentionPeriodInDays: Number("int"),
|
|
225
|
+
* // ExecutionTimeout: Number("int"),
|
|
226
|
+
* // },
|
|
227
|
+
* // TenancyConfig: { // TenancyConfig
|
|
228
|
+
* // TenantIsolationMode: "PER_TENANT", // required
|
|
229
|
+
* // },
|
|
230
|
+
* // };
|
|
231
|
+
*
|
|
232
|
+
* ```
|
|
233
|
+
*
|
|
234
|
+
* @param UpdateFunctionConfigurationCommandInput - {@link UpdateFunctionConfigurationCommandInput}
|
|
235
|
+
* @returns {@link UpdateFunctionConfigurationCommandOutput}
|
|
236
|
+
* @see {@link UpdateFunctionConfigurationCommandInput} for command's `input` shape.
|
|
237
|
+
* @see {@link UpdateFunctionConfigurationCommandOutput} for command's `response` shape.
|
|
238
|
+
* @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape.
|
|
239
|
+
*
|
|
240
|
+
* @throws {@link CodeSigningConfigNotFoundException} (client fault)
|
|
241
|
+
* <p>The specified code signing configuration does not exist.</p>
|
|
242
|
+
*
|
|
243
|
+
* @throws {@link CodeVerificationFailedException} (client fault)
|
|
244
|
+
* <p>The code signature failed one or more of the validation checks for signature mismatch or expiry, and the code signing policy is set to ENFORCE. Lambda blocks the deployment.</p>
|
|
245
|
+
*
|
|
246
|
+
* @throws {@link InvalidCodeSignatureException} (client fault)
|
|
247
|
+
* <p>The code signature failed the integrity check. If the integrity check fails, then Lambda blocks deployment, even if the code signing policy is set to WARN.</p>
|
|
248
|
+
*
|
|
249
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
250
|
+
* <p>One of the parameters in the request is not valid.</p>
|
|
251
|
+
*
|
|
252
|
+
* @throws {@link PreconditionFailedException} (client fault)
|
|
253
|
+
* <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>
|
|
254
|
+
*
|
|
255
|
+
* @throws {@link ResourceConflictException} (client fault)
|
|
256
|
+
* <p>The resource already exists, or another operation is in progress.</p>
|
|
257
|
+
*
|
|
258
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
259
|
+
* <p>The resource specified in the request does not exist.</p>
|
|
260
|
+
*
|
|
261
|
+
* @throws {@link ServiceException} (server fault)
|
|
262
|
+
* <p>The Lambda service encountered an internal error.</p>
|
|
263
|
+
*
|
|
264
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
265
|
+
* <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>
|
|
266
|
+
*
|
|
267
|
+
* @throws {@link LambdaServiceException}
|
|
268
|
+
* <p>Base exception class for all service exceptions from Lambda service.</p>
|
|
269
|
+
*
|
|
270
|
+
*
|
|
271
|
+
* @example To update a Lambda function's configuration
|
|
272
|
+
* ```javascript
|
|
273
|
+
* // The following example modifies the memory size to be 256 MB for the unpublished ($LATEST) version of a function named my-function.
|
|
274
|
+
* const input = {
|
|
275
|
+
* DurableConfig: {
|
|
276
|
+
* ExecutionTimeout: 3600,
|
|
277
|
+
* RetentionPeriodInDays: 45
|
|
278
|
+
* },
|
|
279
|
+
* FunctionName: "my-function",
|
|
280
|
+
* MemorySize: 256
|
|
281
|
+
* };
|
|
282
|
+
* const command = new UpdateFunctionConfigurationCommand(input);
|
|
283
|
+
* const response = await client.send(command);
|
|
284
|
+
* /* response is
|
|
285
|
+
* {
|
|
286
|
+
* CodeSha256: "PFn4S+er27qk+UuZSTKEQfNKG/XNn7QJs90mJgq6oH8=",
|
|
287
|
+
* CodeSize: 308,
|
|
288
|
+
* Description: "",
|
|
289
|
+
* DurableConfig: {
|
|
290
|
+
* ExecutionTimeout: 3600,
|
|
291
|
+
* RetentionPeriodInDays: 45
|
|
292
|
+
* },
|
|
293
|
+
* FunctionArn: "arn:aws:lambda:us-east-2:123456789012:function:my-function",
|
|
294
|
+
* FunctionName: "my-function",
|
|
295
|
+
* Handler: "index.handler",
|
|
296
|
+
* LastModified: "2019-08-14T22:26:11.234+0000",
|
|
297
|
+
* MemorySize: 256,
|
|
298
|
+
* RevisionId: "873282ed-xmpl-4dc8-a069-d0c647e470c6",
|
|
299
|
+
* Role: "arn:aws:iam::123456789012:role/lambda-role",
|
|
300
|
+
* Runtime: "nodejs12.x",
|
|
301
|
+
* Timeout: 3,
|
|
302
|
+
* TracingConfig: {
|
|
303
|
+
* Mode: "PassThrough"
|
|
304
|
+
* },
|
|
305
|
+
* Version: "$LATEST"
|
|
306
|
+
* }
|
|
307
|
+
* *\/
|
|
308
|
+
* ```
|
|
309
|
+
*
|
|
310
|
+
* @public
|
|
311
|
+
*/
|
|
312
|
+
export declare class UpdateFunctionConfigurationCommand extends UpdateFunctionConfigurationCommand_base {
|
|
313
|
+
/** @internal type navigation helper, not in runtime. */
|
|
314
|
+
protected static __types: {
|
|
315
|
+
api: {
|
|
316
|
+
input: UpdateFunctionConfigurationRequest;
|
|
317
|
+
output: FunctionConfiguration;
|
|
318
|
+
};
|
|
319
|
+
sdk: {
|
|
320
|
+
input: UpdateFunctionConfigurationCommandInput;
|
|
321
|
+
output: UpdateFunctionConfigurationCommandOutput;
|
|
322
|
+
};
|
|
323
|
+
};
|
|
324
|
+
}
|
|
@@ -0,0 +1,140 @@
|
|
|
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, UpdateFunctionEventInvokeConfigRequest } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link UpdateFunctionEventInvokeConfigCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateFunctionEventInvokeConfigCommandInput extends UpdateFunctionEventInvokeConfigRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdateFunctionEventInvokeConfigCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateFunctionEventInvokeConfigCommandOutput extends FunctionEventInvokeConfig, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UpdateFunctionEventInvokeConfigCommand_base: {
|
|
25
|
+
new (input: UpdateFunctionEventInvokeConfigCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateFunctionEventInvokeConfigCommandInput, UpdateFunctionEventInvokeConfigCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: UpdateFunctionEventInvokeConfigCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateFunctionEventInvokeConfigCommandInput, UpdateFunctionEventInvokeConfigCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Updates the configuration for asynchronous invocation for a function, version, or alias.</p> <p>To configure options for asynchronous invocation, use <a>PutFunctionEventInvokeConfig</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, UpdateFunctionEventInvokeConfigCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
35
|
+
* // const { LambdaClient, UpdateFunctionEventInvokeConfigCommand } = 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 = { // UpdateFunctionEventInvokeConfigRequest
|
|
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 UpdateFunctionEventInvokeConfigCommand(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 UpdateFunctionEventInvokeConfigCommandInput - {@link UpdateFunctionEventInvokeConfigCommandInput}
|
|
73
|
+
* @returns {@link UpdateFunctionEventInvokeConfigCommandOutput}
|
|
74
|
+
* @see {@link UpdateFunctionEventInvokeConfigCommandInput} for command's `input` shape.
|
|
75
|
+
* @see {@link UpdateFunctionEventInvokeConfigCommandOutput} 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 update an asynchronous invocation configuration
|
|
98
|
+
* ```javascript
|
|
99
|
+
* // The following example adds an on-failure destination to the existing asynchronous invocation configuration for a function named my-function.
|
|
100
|
+
* const input = {
|
|
101
|
+
* DestinationConfig: {
|
|
102
|
+
* OnFailure: {
|
|
103
|
+
* Destination: "arn:aws:sqs:us-east-2:123456789012:destination"
|
|
104
|
+
* }
|
|
105
|
+
* },
|
|
106
|
+
* FunctionName: "my-function"
|
|
107
|
+
* };
|
|
108
|
+
* const command = new UpdateFunctionEventInvokeConfigCommand(input);
|
|
109
|
+
* const response = await client.send(command);
|
|
110
|
+
* /* response is
|
|
111
|
+
* {
|
|
112
|
+
* DestinationConfig: {
|
|
113
|
+
* OnFailure: {
|
|
114
|
+
* Destination: "arn:aws:sqs:us-east-2:123456789012:destination"
|
|
115
|
+
* },
|
|
116
|
+
* OnSuccess: { /* empty *\/ }
|
|
117
|
+
* },
|
|
118
|
+
* FunctionArn: "arn:aws:lambda:us-east-2:123456789012:function:my-function:$LATEST",
|
|
119
|
+
* LastModified: 1.573687896493E9,
|
|
120
|
+
* MaximumEventAgeInSeconds: 3600,
|
|
121
|
+
* MaximumRetryAttempts: 0
|
|
122
|
+
* }
|
|
123
|
+
* *\/
|
|
124
|
+
* ```
|
|
125
|
+
*
|
|
126
|
+
* @public
|
|
127
|
+
*/
|
|
128
|
+
export declare class UpdateFunctionEventInvokeConfigCommand extends UpdateFunctionEventInvokeConfigCommand_base {
|
|
129
|
+
/** @internal type navigation helper, not in runtime. */
|
|
130
|
+
protected static __types: {
|
|
131
|
+
api: {
|
|
132
|
+
input: UpdateFunctionEventInvokeConfigRequest;
|
|
133
|
+
output: FunctionEventInvokeConfig;
|
|
134
|
+
};
|
|
135
|
+
sdk: {
|
|
136
|
+
input: UpdateFunctionEventInvokeConfigCommandInput;
|
|
137
|
+
output: UpdateFunctionEventInvokeConfigCommandOutput;
|
|
138
|
+
};
|
|
139
|
+
};
|
|
140
|
+
}
|
|
@@ -0,0 +1,129 @@
|
|
|
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 { UpdateFunctionUrlConfigRequest, UpdateFunctionUrlConfigResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link UpdateFunctionUrlConfigCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateFunctionUrlConfigCommandInput extends UpdateFunctionUrlConfigRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdateFunctionUrlConfigCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateFunctionUrlConfigCommandOutput extends UpdateFunctionUrlConfigResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UpdateFunctionUrlConfigCommand_base: {
|
|
25
|
+
new (input: UpdateFunctionUrlConfigCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateFunctionUrlConfigCommandInput, UpdateFunctionUrlConfigCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: UpdateFunctionUrlConfigCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateFunctionUrlConfigCommandInput, UpdateFunctionUrlConfigCommandOutput, LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Updates the configuration for a Lambda function URL.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { LambdaClient, UpdateFunctionUrlConfigCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
35
|
+
* // const { LambdaClient, UpdateFunctionUrlConfigCommand } = 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 = { // UpdateFunctionUrlConfigRequest
|
|
40
|
+
* FunctionName: "STRING_VALUE", // required
|
|
41
|
+
* Qualifier: "STRING_VALUE",
|
|
42
|
+
* AuthType: "NONE" || "AWS_IAM",
|
|
43
|
+
* Cors: { // Cors
|
|
44
|
+
* AllowCredentials: true || false,
|
|
45
|
+
* AllowHeaders: [ // HeadersList
|
|
46
|
+
* "STRING_VALUE",
|
|
47
|
+
* ],
|
|
48
|
+
* AllowMethods: [ // AllowMethodsList
|
|
49
|
+
* "STRING_VALUE",
|
|
50
|
+
* ],
|
|
51
|
+
* AllowOrigins: [ // AllowOriginsList
|
|
52
|
+
* "STRING_VALUE",
|
|
53
|
+
* ],
|
|
54
|
+
* ExposeHeaders: [
|
|
55
|
+
* "STRING_VALUE",
|
|
56
|
+
* ],
|
|
57
|
+
* MaxAge: Number("int"),
|
|
58
|
+
* },
|
|
59
|
+
* InvokeMode: "BUFFERED" || "RESPONSE_STREAM",
|
|
60
|
+
* };
|
|
61
|
+
* const command = new UpdateFunctionUrlConfigCommand(input);
|
|
62
|
+
* const response = await client.send(command);
|
|
63
|
+
* // { // UpdateFunctionUrlConfigResponse
|
|
64
|
+
* // FunctionUrl: "STRING_VALUE", // required
|
|
65
|
+
* // FunctionArn: "STRING_VALUE", // required
|
|
66
|
+
* // AuthType: "NONE" || "AWS_IAM", // required
|
|
67
|
+
* // Cors: { // Cors
|
|
68
|
+
* // AllowCredentials: true || false,
|
|
69
|
+
* // AllowHeaders: [ // HeadersList
|
|
70
|
+
* // "STRING_VALUE",
|
|
71
|
+
* // ],
|
|
72
|
+
* // AllowMethods: [ // AllowMethodsList
|
|
73
|
+
* // "STRING_VALUE",
|
|
74
|
+
* // ],
|
|
75
|
+
* // AllowOrigins: [ // AllowOriginsList
|
|
76
|
+
* // "STRING_VALUE",
|
|
77
|
+
* // ],
|
|
78
|
+
* // ExposeHeaders: [
|
|
79
|
+
* // "STRING_VALUE",
|
|
80
|
+
* // ],
|
|
81
|
+
* // MaxAge: Number("int"),
|
|
82
|
+
* // },
|
|
83
|
+
* // CreationTime: "STRING_VALUE", // required
|
|
84
|
+
* // LastModifiedTime: "STRING_VALUE", // required
|
|
85
|
+
* // InvokeMode: "BUFFERED" || "RESPONSE_STREAM",
|
|
86
|
+
* // };
|
|
87
|
+
*
|
|
88
|
+
* ```
|
|
89
|
+
*
|
|
90
|
+
* @param UpdateFunctionUrlConfigCommandInput - {@link UpdateFunctionUrlConfigCommandInput}
|
|
91
|
+
* @returns {@link UpdateFunctionUrlConfigCommandOutput}
|
|
92
|
+
* @see {@link UpdateFunctionUrlConfigCommandInput} for command's `input` shape.
|
|
93
|
+
* @see {@link UpdateFunctionUrlConfigCommandOutput} for command's `response` shape.
|
|
94
|
+
* @see {@link LambdaClientResolvedConfig | config} for LambdaClient's `config` shape.
|
|
95
|
+
*
|
|
96
|
+
* @throws {@link InvalidParameterValueException} (client fault)
|
|
97
|
+
* <p>One of the parameters in the request is not valid.</p>
|
|
98
|
+
*
|
|
99
|
+
* @throws {@link ResourceConflictException} (client fault)
|
|
100
|
+
* <p>The resource already exists, or another operation is in progress.</p>
|
|
101
|
+
*
|
|
102
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
103
|
+
* <p>The resource specified in the request does not exist.</p>
|
|
104
|
+
*
|
|
105
|
+
* @throws {@link ServiceException} (server fault)
|
|
106
|
+
* <p>The Lambda service encountered an internal error.</p>
|
|
107
|
+
*
|
|
108
|
+
* @throws {@link TooManyRequestsException} (client fault)
|
|
109
|
+
* <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>
|
|
110
|
+
*
|
|
111
|
+
* @throws {@link LambdaServiceException}
|
|
112
|
+
* <p>Base exception class for all service exceptions from Lambda service.</p>
|
|
113
|
+
*
|
|
114
|
+
*
|
|
115
|
+
* @public
|
|
116
|
+
*/
|
|
117
|
+
export declare class UpdateFunctionUrlConfigCommand extends UpdateFunctionUrlConfigCommand_base {
|
|
118
|
+
/** @internal type navigation helper, not in runtime. */
|
|
119
|
+
protected static __types: {
|
|
120
|
+
api: {
|
|
121
|
+
input: UpdateFunctionUrlConfigRequest;
|
|
122
|
+
output: UpdateFunctionUrlConfigResponse;
|
|
123
|
+
};
|
|
124
|
+
sdk: {
|
|
125
|
+
input: UpdateFunctionUrlConfigCommandInput;
|
|
126
|
+
output: UpdateFunctionUrlConfigCommandOutput;
|
|
127
|
+
};
|
|
128
|
+
};
|
|
129
|
+
}
|