@aws-sdk/client-lambda 3.35.0 → 3.36.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/CHANGELOG.md +13 -0
- package/dist-cjs/Lambda.js +0 -1
- package/dist-cjs/LambdaClient.js +0 -1
- package/dist-cjs/commands/AddLayerVersionPermissionCommand.js +0 -1
- package/dist-cjs/commands/AddPermissionCommand.js +0 -1
- package/dist-cjs/commands/CreateAliasCommand.js +0 -1
- package/dist-cjs/commands/CreateCodeSigningConfigCommand.js +0 -1
- package/dist-cjs/commands/CreateEventSourceMappingCommand.js +0 -1
- package/dist-cjs/commands/CreateFunctionCommand.js +0 -1
- package/dist-cjs/commands/DeleteAliasCommand.js +0 -1
- package/dist-cjs/commands/DeleteCodeSigningConfigCommand.js +0 -1
- package/dist-cjs/commands/DeleteEventSourceMappingCommand.js +0 -1
- package/dist-cjs/commands/DeleteFunctionCodeSigningConfigCommand.js +0 -1
- package/dist-cjs/commands/DeleteFunctionCommand.js +0 -1
- package/dist-cjs/commands/DeleteFunctionConcurrencyCommand.js +0 -1
- package/dist-cjs/commands/DeleteFunctionEventInvokeConfigCommand.js +0 -1
- package/dist-cjs/commands/DeleteLayerVersionCommand.js +0 -1
- package/dist-cjs/commands/DeleteProvisionedConcurrencyConfigCommand.js +0 -1
- package/dist-cjs/commands/GetAccountSettingsCommand.js +0 -1
- package/dist-cjs/commands/GetAliasCommand.js +0 -1
- package/dist-cjs/commands/GetCodeSigningConfigCommand.js +0 -1
- package/dist-cjs/commands/GetEventSourceMappingCommand.js +0 -1
- package/dist-cjs/commands/GetFunctionCodeSigningConfigCommand.js +0 -1
- package/dist-cjs/commands/GetFunctionCommand.js +0 -1
- package/dist-cjs/commands/GetFunctionConcurrencyCommand.js +0 -1
- package/dist-cjs/commands/GetFunctionConfigurationCommand.js +0 -1
- package/dist-cjs/commands/GetFunctionEventInvokeConfigCommand.js +0 -1
- package/dist-cjs/commands/GetLayerVersionByArnCommand.js +0 -1
- package/dist-cjs/commands/GetLayerVersionCommand.js +0 -1
- package/dist-cjs/commands/GetLayerVersionPolicyCommand.js +0 -1
- package/dist-cjs/commands/GetPolicyCommand.js +0 -1
- package/dist-cjs/commands/GetProvisionedConcurrencyConfigCommand.js +0 -1
- package/dist-cjs/commands/InvokeAsyncCommand.js +0 -1
- package/dist-cjs/commands/InvokeCommand.js +0 -1
- package/dist-cjs/commands/ListAliasesCommand.js +0 -1
- package/dist-cjs/commands/ListCodeSigningConfigsCommand.js +0 -1
- package/dist-cjs/commands/ListEventSourceMappingsCommand.js +0 -1
- package/dist-cjs/commands/ListFunctionEventInvokeConfigsCommand.js +0 -1
- package/dist-cjs/commands/ListFunctionsByCodeSigningConfigCommand.js +0 -1
- package/dist-cjs/commands/ListFunctionsCommand.js +0 -1
- package/dist-cjs/commands/ListLayerVersionsCommand.js +0 -1
- package/dist-cjs/commands/ListLayersCommand.js +0 -1
- package/dist-cjs/commands/ListProvisionedConcurrencyConfigsCommand.js +0 -1
- package/dist-cjs/commands/ListTagsCommand.js +0 -1
- package/dist-cjs/commands/ListVersionsByFunctionCommand.js +0 -1
- package/dist-cjs/commands/PublishLayerVersionCommand.js +0 -1
- package/dist-cjs/commands/PublishVersionCommand.js +0 -1
- package/dist-cjs/commands/PutFunctionCodeSigningConfigCommand.js +0 -1
- package/dist-cjs/commands/PutFunctionConcurrencyCommand.js +0 -1
- package/dist-cjs/commands/PutFunctionEventInvokeConfigCommand.js +0 -1
- package/dist-cjs/commands/PutProvisionedConcurrencyConfigCommand.js +0 -1
- package/dist-cjs/commands/RemoveLayerVersionPermissionCommand.js +0 -1
- package/dist-cjs/commands/RemovePermissionCommand.js +0 -1
- package/dist-cjs/commands/TagResourceCommand.js +0 -1
- package/dist-cjs/commands/UntagResourceCommand.js +0 -1
- package/dist-cjs/commands/UpdateAliasCommand.js +0 -1
- package/dist-cjs/commands/UpdateCodeSigningConfigCommand.js +0 -1
- package/dist-cjs/commands/UpdateEventSourceMappingCommand.js +0 -1
- package/dist-cjs/commands/UpdateFunctionCodeCommand.js +0 -1
- package/dist-cjs/commands/UpdateFunctionConfigurationCommand.js +0 -1
- package/dist-cjs/commands/UpdateFunctionEventInvokeConfigCommand.js +0 -1
- package/dist-cjs/endpoints.js +0 -1
- package/dist-cjs/index.js +0 -1
- package/dist-cjs/models/index.js +0 -1
- package/dist-cjs/models/models_0.js +0 -1
- package/dist-cjs/pagination/Interfaces.js +0 -1
- package/dist-cjs/pagination/ListAliasesPaginator.js +0 -1
- package/dist-cjs/pagination/ListCodeSigningConfigsPaginator.js +0 -1
- package/dist-cjs/pagination/ListEventSourceMappingsPaginator.js +0 -1
- package/dist-cjs/pagination/ListFunctionEventInvokeConfigsPaginator.js +0 -1
- package/dist-cjs/pagination/ListFunctionsByCodeSigningConfigPaginator.js +0 -1
- package/dist-cjs/pagination/ListFunctionsPaginator.js +0 -1
- package/dist-cjs/pagination/ListLayerVersionsPaginator.js +0 -1
- package/dist-cjs/pagination/ListLayersPaginator.js +0 -1
- package/dist-cjs/pagination/ListProvisionedConcurrencyConfigsPaginator.js +0 -1
- package/dist-cjs/pagination/ListVersionsByFunctionPaginator.js +0 -1
- package/dist-cjs/protocols/Aws_restJson1.js +0 -1
- package/dist-cjs/runtimeConfig.browser.js +2 -3
- package/dist-cjs/runtimeConfig.js +3 -4
- package/dist-cjs/runtimeConfig.native.js +0 -1
- package/dist-cjs/runtimeConfig.shared.js +0 -1
- package/dist-cjs/waiters/waitForFunctionActive.js +0 -1
- package/dist-cjs/waiters/waitForFunctionExists.js +0 -1
- package/dist-cjs/waiters/waitForFunctionUpdated.js +0 -1
- package/dist-es/Lambda.js +0 -1
- package/dist-es/LambdaClient.js +0 -1
- package/dist-es/commands/AddLayerVersionPermissionCommand.js +0 -1
- package/dist-es/commands/AddPermissionCommand.js +0 -1
- package/dist-es/commands/CreateAliasCommand.js +0 -1
- package/dist-es/commands/CreateCodeSigningConfigCommand.js +0 -1
- package/dist-es/commands/CreateEventSourceMappingCommand.js +0 -1
- package/dist-es/commands/CreateFunctionCommand.js +0 -1
- package/dist-es/commands/DeleteAliasCommand.js +0 -1
- package/dist-es/commands/DeleteCodeSigningConfigCommand.js +0 -1
- package/dist-es/commands/DeleteEventSourceMappingCommand.js +0 -1
- package/dist-es/commands/DeleteFunctionCodeSigningConfigCommand.js +0 -1
- package/dist-es/commands/DeleteFunctionCommand.js +0 -1
- package/dist-es/commands/DeleteFunctionConcurrencyCommand.js +0 -1
- package/dist-es/commands/DeleteFunctionEventInvokeConfigCommand.js +0 -1
- package/dist-es/commands/DeleteLayerVersionCommand.js +0 -1
- package/dist-es/commands/DeleteProvisionedConcurrencyConfigCommand.js +0 -1
- package/dist-es/commands/GetAccountSettingsCommand.js +0 -1
- package/dist-es/commands/GetAliasCommand.js +0 -1
- package/dist-es/commands/GetCodeSigningConfigCommand.js +0 -1
- package/dist-es/commands/GetEventSourceMappingCommand.js +0 -1
- package/dist-es/commands/GetFunctionCodeSigningConfigCommand.js +0 -1
- package/dist-es/commands/GetFunctionCommand.js +0 -1
- package/dist-es/commands/GetFunctionConcurrencyCommand.js +0 -1
- package/dist-es/commands/GetFunctionConfigurationCommand.js +0 -1
- package/dist-es/commands/GetFunctionEventInvokeConfigCommand.js +0 -1
- package/dist-es/commands/GetLayerVersionByArnCommand.js +0 -1
- package/dist-es/commands/GetLayerVersionCommand.js +0 -1
- package/dist-es/commands/GetLayerVersionPolicyCommand.js +0 -1
- package/dist-es/commands/GetPolicyCommand.js +0 -1
- package/dist-es/commands/GetProvisionedConcurrencyConfigCommand.js +0 -1
- package/dist-es/commands/InvokeAsyncCommand.js +0 -1
- package/dist-es/commands/InvokeCommand.js +0 -1
- package/dist-es/commands/ListAliasesCommand.js +0 -1
- package/dist-es/commands/ListCodeSigningConfigsCommand.js +0 -1
- package/dist-es/commands/ListEventSourceMappingsCommand.js +0 -1
- package/dist-es/commands/ListFunctionEventInvokeConfigsCommand.js +0 -1
- package/dist-es/commands/ListFunctionsByCodeSigningConfigCommand.js +0 -1
- package/dist-es/commands/ListFunctionsCommand.js +0 -1
- package/dist-es/commands/ListLayerVersionsCommand.js +0 -1
- package/dist-es/commands/ListLayersCommand.js +0 -1
- package/dist-es/commands/ListProvisionedConcurrencyConfigsCommand.js +0 -1
- package/dist-es/commands/ListTagsCommand.js +0 -1
- package/dist-es/commands/ListVersionsByFunctionCommand.js +0 -1
- package/dist-es/commands/PublishLayerVersionCommand.js +0 -1
- package/dist-es/commands/PublishVersionCommand.js +0 -1
- package/dist-es/commands/PutFunctionCodeSigningConfigCommand.js +0 -1
- package/dist-es/commands/PutFunctionConcurrencyCommand.js +0 -1
- package/dist-es/commands/PutFunctionEventInvokeConfigCommand.js +0 -1
- package/dist-es/commands/PutProvisionedConcurrencyConfigCommand.js +0 -1
- package/dist-es/commands/RemoveLayerVersionPermissionCommand.js +0 -1
- package/dist-es/commands/RemovePermissionCommand.js +0 -1
- package/dist-es/commands/TagResourceCommand.js +0 -1
- package/dist-es/commands/UntagResourceCommand.js +0 -1
- package/dist-es/commands/UpdateAliasCommand.js +0 -1
- package/dist-es/commands/UpdateCodeSigningConfigCommand.js +0 -1
- package/dist-es/commands/UpdateEventSourceMappingCommand.js +0 -1
- package/dist-es/commands/UpdateFunctionCodeCommand.js +0 -1
- package/dist-es/commands/UpdateFunctionConfigurationCommand.js +0 -1
- package/dist-es/commands/UpdateFunctionEventInvokeConfigCommand.js +0 -1
- package/dist-es/endpoints.js +0 -1
- package/dist-es/index.js +0 -1
- package/dist-es/models/index.js +0 -1
- package/dist-es/models/models_0.js +0 -1
- package/dist-es/pagination/Interfaces.js +0 -1
- package/dist-es/pagination/ListAliasesPaginator.js +0 -1
- package/dist-es/pagination/ListCodeSigningConfigsPaginator.js +0 -1
- package/dist-es/pagination/ListEventSourceMappingsPaginator.js +0 -1
- package/dist-es/pagination/ListFunctionEventInvokeConfigsPaginator.js +0 -1
- package/dist-es/pagination/ListFunctionsByCodeSigningConfigPaginator.js +0 -1
- package/dist-es/pagination/ListFunctionsPaginator.js +0 -1
- package/dist-es/pagination/ListLayerVersionsPaginator.js +0 -1
- package/dist-es/pagination/ListLayersPaginator.js +0 -1
- package/dist-es/pagination/ListProvisionedConcurrencyConfigsPaginator.js +0 -1
- package/dist-es/pagination/ListVersionsByFunctionPaginator.js +0 -1
- package/dist-es/protocols/Aws_restJson1.js +0 -1
- package/dist-es/runtimeConfig.browser.js +1 -2
- package/dist-es/runtimeConfig.js +2 -3
- package/dist-es/runtimeConfig.native.js +0 -1
- package/dist-es/runtimeConfig.shared.js +0 -1
- package/dist-es/waiters/waitForFunctionActive.js +0 -1
- package/dist-es/waiters/waitForFunctionExists.js +0 -1
- package/dist-es/waiters/waitForFunctionUpdated.js +0 -1
- package/package.json +34 -31
- package/dist-cjs/Lambda.js.map +0 -1
- package/dist-cjs/LambdaClient.js.map +0 -1
- package/dist-cjs/commands/AddLayerVersionPermissionCommand.js.map +0 -1
- package/dist-cjs/commands/AddPermissionCommand.js.map +0 -1
- package/dist-cjs/commands/CreateAliasCommand.js.map +0 -1
- package/dist-cjs/commands/CreateCodeSigningConfigCommand.js.map +0 -1
- package/dist-cjs/commands/CreateEventSourceMappingCommand.js.map +0 -1
- package/dist-cjs/commands/CreateFunctionCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteAliasCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteCodeSigningConfigCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteEventSourceMappingCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteFunctionCodeSigningConfigCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteFunctionCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteFunctionConcurrencyCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteFunctionEventInvokeConfigCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteLayerVersionCommand.js.map +0 -1
- package/dist-cjs/commands/DeleteProvisionedConcurrencyConfigCommand.js.map +0 -1
- package/dist-cjs/commands/GetAccountSettingsCommand.js.map +0 -1
- package/dist-cjs/commands/GetAliasCommand.js.map +0 -1
- package/dist-cjs/commands/GetCodeSigningConfigCommand.js.map +0 -1
- package/dist-cjs/commands/GetEventSourceMappingCommand.js.map +0 -1
- package/dist-cjs/commands/GetFunctionCodeSigningConfigCommand.js.map +0 -1
- package/dist-cjs/commands/GetFunctionCommand.js.map +0 -1
- package/dist-cjs/commands/GetFunctionConcurrencyCommand.js.map +0 -1
- package/dist-cjs/commands/GetFunctionConfigurationCommand.js.map +0 -1
- package/dist-cjs/commands/GetFunctionEventInvokeConfigCommand.js.map +0 -1
- package/dist-cjs/commands/GetLayerVersionByArnCommand.js.map +0 -1
- package/dist-cjs/commands/GetLayerVersionCommand.js.map +0 -1
- package/dist-cjs/commands/GetLayerVersionPolicyCommand.js.map +0 -1
- package/dist-cjs/commands/GetPolicyCommand.js.map +0 -1
- package/dist-cjs/commands/GetProvisionedConcurrencyConfigCommand.js.map +0 -1
- package/dist-cjs/commands/InvokeAsyncCommand.js.map +0 -1
- package/dist-cjs/commands/InvokeCommand.js.map +0 -1
- package/dist-cjs/commands/ListAliasesCommand.js.map +0 -1
- package/dist-cjs/commands/ListCodeSigningConfigsCommand.js.map +0 -1
- package/dist-cjs/commands/ListEventSourceMappingsCommand.js.map +0 -1
- package/dist-cjs/commands/ListFunctionEventInvokeConfigsCommand.js.map +0 -1
- package/dist-cjs/commands/ListFunctionsByCodeSigningConfigCommand.js.map +0 -1
- package/dist-cjs/commands/ListFunctionsCommand.js.map +0 -1
- package/dist-cjs/commands/ListLayerVersionsCommand.js.map +0 -1
- package/dist-cjs/commands/ListLayersCommand.js.map +0 -1
- package/dist-cjs/commands/ListProvisionedConcurrencyConfigsCommand.js.map +0 -1
- package/dist-cjs/commands/ListTagsCommand.js.map +0 -1
- package/dist-cjs/commands/ListVersionsByFunctionCommand.js.map +0 -1
- package/dist-cjs/commands/PublishLayerVersionCommand.js.map +0 -1
- package/dist-cjs/commands/PublishVersionCommand.js.map +0 -1
- package/dist-cjs/commands/PutFunctionCodeSigningConfigCommand.js.map +0 -1
- package/dist-cjs/commands/PutFunctionConcurrencyCommand.js.map +0 -1
- package/dist-cjs/commands/PutFunctionEventInvokeConfigCommand.js.map +0 -1
- package/dist-cjs/commands/PutProvisionedConcurrencyConfigCommand.js.map +0 -1
- package/dist-cjs/commands/RemoveLayerVersionPermissionCommand.js.map +0 -1
- package/dist-cjs/commands/RemovePermissionCommand.js.map +0 -1
- package/dist-cjs/commands/TagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/UntagResourceCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateAliasCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateCodeSigningConfigCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateEventSourceMappingCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateFunctionCodeCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateFunctionConfigurationCommand.js.map +0 -1
- package/dist-cjs/commands/UpdateFunctionEventInvokeConfigCommand.js.map +0 -1
- package/dist-cjs/endpoints.js.map +0 -1
- package/dist-cjs/index.js.map +0 -1
- package/dist-cjs/models/index.js.map +0 -1
- package/dist-cjs/models/models_0.js.map +0 -1
- package/dist-cjs/pagination/Interfaces.js.map +0 -1
- package/dist-cjs/pagination/ListAliasesPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListCodeSigningConfigsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListEventSourceMappingsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListFunctionEventInvokeConfigsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListFunctionsByCodeSigningConfigPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListFunctionsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListLayerVersionsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListLayersPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListProvisionedConcurrencyConfigsPaginator.js.map +0 -1
- package/dist-cjs/pagination/ListVersionsByFunctionPaginator.js.map +0 -1
- package/dist-cjs/protocols/Aws_restJson1.js.map +0 -1
- package/dist-cjs/runtimeConfig.browser.js.map +0 -1
- package/dist-cjs/runtimeConfig.js.map +0 -1
- package/dist-cjs/runtimeConfig.native.js.map +0 -1
- package/dist-cjs/runtimeConfig.shared.js.map +0 -1
- package/dist-cjs/waiters/waitForFunctionActive.js.map +0 -1
- package/dist-cjs/waiters/waitForFunctionExists.js.map +0 -1
- package/dist-cjs/waiters/waitForFunctionUpdated.js.map +0 -1
- package/dist-es/Lambda.js.map +0 -1
- package/dist-es/LambdaClient.js.map +0 -1
- package/dist-es/commands/AddLayerVersionPermissionCommand.js.map +0 -1
- package/dist-es/commands/AddPermissionCommand.js.map +0 -1
- package/dist-es/commands/CreateAliasCommand.js.map +0 -1
- package/dist-es/commands/CreateCodeSigningConfigCommand.js.map +0 -1
- package/dist-es/commands/CreateEventSourceMappingCommand.js.map +0 -1
- package/dist-es/commands/CreateFunctionCommand.js.map +0 -1
- package/dist-es/commands/DeleteAliasCommand.js.map +0 -1
- package/dist-es/commands/DeleteCodeSigningConfigCommand.js.map +0 -1
- package/dist-es/commands/DeleteEventSourceMappingCommand.js.map +0 -1
- package/dist-es/commands/DeleteFunctionCodeSigningConfigCommand.js.map +0 -1
- package/dist-es/commands/DeleteFunctionCommand.js.map +0 -1
- package/dist-es/commands/DeleteFunctionConcurrencyCommand.js.map +0 -1
- package/dist-es/commands/DeleteFunctionEventInvokeConfigCommand.js.map +0 -1
- package/dist-es/commands/DeleteLayerVersionCommand.js.map +0 -1
- package/dist-es/commands/DeleteProvisionedConcurrencyConfigCommand.js.map +0 -1
- package/dist-es/commands/GetAccountSettingsCommand.js.map +0 -1
- package/dist-es/commands/GetAliasCommand.js.map +0 -1
- package/dist-es/commands/GetCodeSigningConfigCommand.js.map +0 -1
- package/dist-es/commands/GetEventSourceMappingCommand.js.map +0 -1
- package/dist-es/commands/GetFunctionCodeSigningConfigCommand.js.map +0 -1
- package/dist-es/commands/GetFunctionCommand.js.map +0 -1
- package/dist-es/commands/GetFunctionConcurrencyCommand.js.map +0 -1
- package/dist-es/commands/GetFunctionConfigurationCommand.js.map +0 -1
- package/dist-es/commands/GetFunctionEventInvokeConfigCommand.js.map +0 -1
- package/dist-es/commands/GetLayerVersionByArnCommand.js.map +0 -1
- package/dist-es/commands/GetLayerVersionCommand.js.map +0 -1
- package/dist-es/commands/GetLayerVersionPolicyCommand.js.map +0 -1
- package/dist-es/commands/GetPolicyCommand.js.map +0 -1
- package/dist-es/commands/GetProvisionedConcurrencyConfigCommand.js.map +0 -1
- package/dist-es/commands/InvokeAsyncCommand.js.map +0 -1
- package/dist-es/commands/InvokeCommand.js.map +0 -1
- package/dist-es/commands/ListAliasesCommand.js.map +0 -1
- package/dist-es/commands/ListCodeSigningConfigsCommand.js.map +0 -1
- package/dist-es/commands/ListEventSourceMappingsCommand.js.map +0 -1
- package/dist-es/commands/ListFunctionEventInvokeConfigsCommand.js.map +0 -1
- package/dist-es/commands/ListFunctionsByCodeSigningConfigCommand.js.map +0 -1
- package/dist-es/commands/ListFunctionsCommand.js.map +0 -1
- package/dist-es/commands/ListLayerVersionsCommand.js.map +0 -1
- package/dist-es/commands/ListLayersCommand.js.map +0 -1
- package/dist-es/commands/ListProvisionedConcurrencyConfigsCommand.js.map +0 -1
- package/dist-es/commands/ListTagsCommand.js.map +0 -1
- package/dist-es/commands/ListVersionsByFunctionCommand.js.map +0 -1
- package/dist-es/commands/PublishLayerVersionCommand.js.map +0 -1
- package/dist-es/commands/PublishVersionCommand.js.map +0 -1
- package/dist-es/commands/PutFunctionCodeSigningConfigCommand.js.map +0 -1
- package/dist-es/commands/PutFunctionConcurrencyCommand.js.map +0 -1
- package/dist-es/commands/PutFunctionEventInvokeConfigCommand.js.map +0 -1
- package/dist-es/commands/PutProvisionedConcurrencyConfigCommand.js.map +0 -1
- package/dist-es/commands/RemoveLayerVersionPermissionCommand.js.map +0 -1
- package/dist-es/commands/RemovePermissionCommand.js.map +0 -1
- package/dist-es/commands/TagResourceCommand.js.map +0 -1
- package/dist-es/commands/UntagResourceCommand.js.map +0 -1
- package/dist-es/commands/UpdateAliasCommand.js.map +0 -1
- package/dist-es/commands/UpdateCodeSigningConfigCommand.js.map +0 -1
- package/dist-es/commands/UpdateEventSourceMappingCommand.js.map +0 -1
- package/dist-es/commands/UpdateFunctionCodeCommand.js.map +0 -1
- package/dist-es/commands/UpdateFunctionConfigurationCommand.js.map +0 -1
- package/dist-es/commands/UpdateFunctionEventInvokeConfigCommand.js.map +0 -1
- package/dist-es/endpoints.js.map +0 -1
- package/dist-es/index.js.map +0 -1
- package/dist-es/models/index.js.map +0 -1
- package/dist-es/models/models_0.js.map +0 -1
- package/dist-es/pagination/Interfaces.js.map +0 -1
- package/dist-es/pagination/ListAliasesPaginator.js.map +0 -1
- package/dist-es/pagination/ListCodeSigningConfigsPaginator.js.map +0 -1
- package/dist-es/pagination/ListEventSourceMappingsPaginator.js.map +0 -1
- package/dist-es/pagination/ListFunctionEventInvokeConfigsPaginator.js.map +0 -1
- package/dist-es/pagination/ListFunctionsByCodeSigningConfigPaginator.js.map +0 -1
- package/dist-es/pagination/ListFunctionsPaginator.js.map +0 -1
- package/dist-es/pagination/ListLayerVersionsPaginator.js.map +0 -1
- package/dist-es/pagination/ListLayersPaginator.js.map +0 -1
- package/dist-es/pagination/ListProvisionedConcurrencyConfigsPaginator.js.map +0 -1
- package/dist-es/pagination/ListVersionsByFunctionPaginator.js.map +0 -1
- package/dist-es/protocols/Aws_restJson1.js.map +0 -1
- package/dist-es/runtimeConfig.browser.js.map +0 -1
- package/dist-es/runtimeConfig.js.map +0 -1
- package/dist-es/runtimeConfig.native.js.map +0 -1
- package/dist-es/runtimeConfig.shared.js.map +0 -1
- package/dist-es/waiters/waitForFunctionActive.js.map +0 -1
- package/dist-es/waiters/waitForFunctionExists.js.map +0 -1
- package/dist-es/waiters/waitForFunctionUpdated.js.map +0 -1
- package/jest.config.js +0 -4
- package/src/Lambda.ts +0 -2335
- package/src/LambdaClient.ts +0 -518
- package/src/commands/AddLayerVersionPermissionCommand.ts +0 -103
- package/src/commands/AddPermissionCommand.ts +0 -107
- package/src/commands/CreateAliasCommand.ts +0 -100
- package/src/commands/CreateCodeSigningConfigCommand.ts +0 -97
- package/src/commands/CreateEventSourceMappingCommand.ts +0 -159
- package/src/commands/CreateFunctionCommand.ts +0 -141
- package/src/commands/DeleteAliasCommand.ts +0 -95
- package/src/commands/DeleteCodeSigningConfigCommand.ts +0 -96
- package/src/commands/DeleteEventSourceMappingCommand.ts +0 -98
- package/src/commands/DeleteFunctionCodeSigningConfigCommand.ts +0 -101
- package/src/commands/DeleteFunctionCommand.ts +0 -100
- package/src/commands/DeleteFunctionConcurrencyCommand.ts +0 -98
- package/src/commands/DeleteFunctionEventInvokeConfigCommand.ts +0 -102
- package/src/commands/DeleteLayerVersionCommand.ts +0 -97
- package/src/commands/DeleteProvisionedConcurrencyConfigCommand.ts +0 -101
- package/src/commands/GetAccountSettingsCommand.ts +0 -95
- package/src/commands/GetAliasCommand.ts +0 -91
- package/src/commands/GetCodeSigningConfigCommand.ts +0 -95
- package/src/commands/GetEventSourceMappingCommand.ts +0 -96
- package/src/commands/GetFunctionCodeSigningConfigCommand.ts +0 -100
- package/src/commands/GetFunctionCommand.ts +0 -97
- package/src/commands/GetFunctionConcurrencyCommand.ts +0 -96
- package/src/commands/GetFunctionConfigurationCommand.ts +0 -97
- package/src/commands/GetFunctionEventInvokeConfigCommand.ts +0 -99
- package/src/commands/GetLayerVersionByArnCommand.ts +0 -97
- package/src/commands/GetLayerVersionCommand.ts +0 -97
- package/src/commands/GetLayerVersionPolicyCommand.ts +0 -96
- package/src/commands/GetPolicyCommand.ts +0 -95
- package/src/commands/GetProvisionedConcurrencyConfigCommand.ts +0 -103
- package/src/commands/InvokeAsyncCommand.ts +0 -109
- package/src/commands/InvokeCommand.ts +0 -114
- package/src/commands/ListAliasesCommand.ts +0 -96
- package/src/commands/ListCodeSigningConfigsCommand.ts +0 -97
- package/src/commands/ListEventSourceMappingsCommand.ts +0 -96
- package/src/commands/ListFunctionEventInvokeConfigsCommand.ts +0 -104
- package/src/commands/ListFunctionsByCodeSigningConfigCommand.ts +0 -104
- package/src/commands/ListFunctionsCommand.ts +0 -103
- package/src/commands/ListLayerVersionsCommand.ts +0 -98
- package/src/commands/ListLayersCommand.ts +0 -100
- package/src/commands/ListProvisionedConcurrencyConfigsCommand.ts +0 -106
- package/src/commands/ListTagsCommand.ts +0 -92
- package/src/commands/ListVersionsByFunctionCommand.ts +0 -96
- package/src/commands/PublishLayerVersionCommand.ts +0 -98
- package/src/commands/PublishVersionCommand.ts +0 -103
- package/src/commands/PutFunctionCodeSigningConfigCommand.ts +0 -101
- package/src/commands/PutFunctionConcurrencyCommand.ts +0 -103
- package/src/commands/PutFunctionEventInvokeConfigCommand.ts +0 -108
- package/src/commands/PutProvisionedConcurrencyConfigCommand.ts +0 -103
- package/src/commands/RemoveLayerVersionPermissionCommand.ts +0 -100
- package/src/commands/RemovePermissionCommand.ts +0 -96
- package/src/commands/TagResourceCommand.ts +0 -95
- package/src/commands/UntagResourceCommand.ts +0 -95
- package/src/commands/UpdateAliasCommand.ts +0 -95
- package/src/commands/UpdateCodeSigningConfigCommand.ts +0 -96
- package/src/commands/UpdateEventSourceMappingCommand.ts +0 -120
- package/src/commands/UpdateFunctionCodeCommand.ts +0 -103
- package/src/commands/UpdateFunctionConfigurationCommand.ts +0 -112
- package/src/commands/UpdateFunctionEventInvokeConfigCommand.ts +0 -102
- package/src/endpoints.ts +0 -86
- package/src/index.ts +0 -75
- package/src/models/index.ts +0 -1
- package/src/models/models_0.ts +0 -5703
- package/src/pagination/Interfaces.ts +0 -8
- package/src/pagination/ListAliasesPaginator.ts +0 -55
- package/src/pagination/ListCodeSigningConfigsPaginator.ts +0 -59
- package/src/pagination/ListEventSourceMappingsPaginator.ts +0 -59
- package/src/pagination/ListFunctionEventInvokeConfigsPaginator.ts +0 -59
- package/src/pagination/ListFunctionsByCodeSigningConfigPaginator.ts +0 -59
- package/src/pagination/ListFunctionsPaginator.ts +0 -59
- package/src/pagination/ListLayerVersionsPaginator.ts +0 -59
- package/src/pagination/ListLayersPaginator.ts +0 -55
- package/src/pagination/ListProvisionedConcurrencyConfigsPaginator.ts +0 -59
- package/src/pagination/ListVersionsByFunctionPaginator.ts +0 -59
- package/src/protocols/Aws_restJson1.ts +0 -10745
- package/src/runtimeConfig.browser.ts +0 -41
- package/src/runtimeConfig.native.ts +0 -17
- package/src/runtimeConfig.shared.ts +0 -17
- package/src/runtimeConfig.ts +0 -46
- package/src/waiters/waitForFunctionActive.ts +0 -66
- package/src/waiters/waitForFunctionExists.ts +0 -43
- package/src/waiters/waitForFunctionUpdated.ts +0 -66
- package/tsconfig.es.json +0 -10
- package/tsconfig.json +0 -33
- package/tsconfig.types.json +0 -9
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient";
|
|
15
|
-
import { GetLayerVersionPolicyRequest, GetLayerVersionPolicyResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1GetLayerVersionPolicyCommand,
|
|
18
|
-
serializeAws_restJson1GetLayerVersionPolicyCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface GetLayerVersionPolicyCommandInput extends GetLayerVersionPolicyRequest {}
|
|
22
|
-
export interface GetLayerVersionPolicyCommandOutput extends GetLayerVersionPolicyResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Returns the permission policy for a version of an <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-layers.html">Lambda
|
|
26
|
-
* layer</a>. For more information, see <a>AddLayerVersionPermission</a>.</p>
|
|
27
|
-
* @example
|
|
28
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
-
* ```javascript
|
|
30
|
-
* import { LambdaClient, GetLayerVersionPolicyCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
31
|
-
* // const { LambdaClient, GetLayerVersionPolicyCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
32
|
-
* const client = new LambdaClient(config);
|
|
33
|
-
* const command = new GetLayerVersionPolicyCommand(input);
|
|
34
|
-
* const response = await client.send(command);
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* @see {@link GetLayerVersionPolicyCommandInput} for command's `input` shape.
|
|
38
|
-
* @see {@link GetLayerVersionPolicyCommandOutput} for command's `response` shape.
|
|
39
|
-
* @see {@link LambdaClientResolvedConfig | config} for command's `input` shape.
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
|
-
export class GetLayerVersionPolicyCommand extends $Command<
|
|
43
|
-
GetLayerVersionPolicyCommandInput,
|
|
44
|
-
GetLayerVersionPolicyCommandOutput,
|
|
45
|
-
LambdaClientResolvedConfig
|
|
46
|
-
> {
|
|
47
|
-
// Start section: command_properties
|
|
48
|
-
// End section: command_properties
|
|
49
|
-
|
|
50
|
-
constructor(readonly input: GetLayerVersionPolicyCommandInput) {
|
|
51
|
-
// Start section: command_constructor
|
|
52
|
-
super();
|
|
53
|
-
// End section: command_constructor
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* @internal
|
|
58
|
-
*/
|
|
59
|
-
resolveMiddleware(
|
|
60
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
61
|
-
configuration: LambdaClientResolvedConfig,
|
|
62
|
-
options?: __HttpHandlerOptions
|
|
63
|
-
): Handler<GetLayerVersionPolicyCommandInput, GetLayerVersionPolicyCommandOutput> {
|
|
64
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
65
|
-
|
|
66
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
67
|
-
|
|
68
|
-
const { logger } = configuration;
|
|
69
|
-
const clientName = "LambdaClient";
|
|
70
|
-
const commandName = "GetLayerVersionPolicyCommand";
|
|
71
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
72
|
-
logger,
|
|
73
|
-
clientName,
|
|
74
|
-
commandName,
|
|
75
|
-
inputFilterSensitiveLog: GetLayerVersionPolicyRequest.filterSensitiveLog,
|
|
76
|
-
outputFilterSensitiveLog: GetLayerVersionPolicyResponse.filterSensitiveLog,
|
|
77
|
-
};
|
|
78
|
-
const { requestHandler } = configuration;
|
|
79
|
-
return stack.resolve(
|
|
80
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
81
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
82
|
-
handlerExecutionContext
|
|
83
|
-
);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
private serialize(input: GetLayerVersionPolicyCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
87
|
-
return serializeAws_restJson1GetLayerVersionPolicyCommand(input, context);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetLayerVersionPolicyCommandOutput> {
|
|
91
|
-
return deserializeAws_restJson1GetLayerVersionPolicyCommand(output, context);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
// Start section: command_body_extra
|
|
95
|
-
// End section: command_body_extra
|
|
96
|
-
}
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient";
|
|
15
|
-
import { GetPolicyRequest, GetPolicyResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1GetPolicyCommand,
|
|
18
|
-
serializeAws_restJson1GetPolicyCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface GetPolicyCommandInput extends GetPolicyRequest {}
|
|
22
|
-
export interface GetPolicyCommandOutput extends GetPolicyResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Returns the <a href="https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html">resource-based IAM policy</a> for a function, version, or alias.</p>
|
|
26
|
-
* @example
|
|
27
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
28
|
-
* ```javascript
|
|
29
|
-
* import { LambdaClient, GetPolicyCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
30
|
-
* // const { LambdaClient, GetPolicyCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
31
|
-
* const client = new LambdaClient(config);
|
|
32
|
-
* const command = new GetPolicyCommand(input);
|
|
33
|
-
* const response = await client.send(command);
|
|
34
|
-
* ```
|
|
35
|
-
*
|
|
36
|
-
* @see {@link GetPolicyCommandInput} for command's `input` shape.
|
|
37
|
-
* @see {@link GetPolicyCommandOutput} for command's `response` shape.
|
|
38
|
-
* @see {@link LambdaClientResolvedConfig | config} for command's `input` shape.
|
|
39
|
-
*
|
|
40
|
-
*/
|
|
41
|
-
export class GetPolicyCommand extends $Command<
|
|
42
|
-
GetPolicyCommandInput,
|
|
43
|
-
GetPolicyCommandOutput,
|
|
44
|
-
LambdaClientResolvedConfig
|
|
45
|
-
> {
|
|
46
|
-
// Start section: command_properties
|
|
47
|
-
// End section: command_properties
|
|
48
|
-
|
|
49
|
-
constructor(readonly input: GetPolicyCommandInput) {
|
|
50
|
-
// Start section: command_constructor
|
|
51
|
-
super();
|
|
52
|
-
// End section: command_constructor
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
/**
|
|
56
|
-
* @internal
|
|
57
|
-
*/
|
|
58
|
-
resolveMiddleware(
|
|
59
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
60
|
-
configuration: LambdaClientResolvedConfig,
|
|
61
|
-
options?: __HttpHandlerOptions
|
|
62
|
-
): Handler<GetPolicyCommandInput, GetPolicyCommandOutput> {
|
|
63
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
64
|
-
|
|
65
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
66
|
-
|
|
67
|
-
const { logger } = configuration;
|
|
68
|
-
const clientName = "LambdaClient";
|
|
69
|
-
const commandName = "GetPolicyCommand";
|
|
70
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
71
|
-
logger,
|
|
72
|
-
clientName,
|
|
73
|
-
commandName,
|
|
74
|
-
inputFilterSensitiveLog: GetPolicyRequest.filterSensitiveLog,
|
|
75
|
-
outputFilterSensitiveLog: GetPolicyResponse.filterSensitiveLog,
|
|
76
|
-
};
|
|
77
|
-
const { requestHandler } = configuration;
|
|
78
|
-
return stack.resolve(
|
|
79
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
80
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
81
|
-
handlerExecutionContext
|
|
82
|
-
);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
private serialize(input: GetPolicyCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
86
|
-
return serializeAws_restJson1GetPolicyCommand(input, context);
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<GetPolicyCommandOutput> {
|
|
90
|
-
return deserializeAws_restJson1GetPolicyCommand(output, context);
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
// Start section: command_body_extra
|
|
94
|
-
// End section: command_body_extra
|
|
95
|
-
}
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient";
|
|
15
|
-
import { GetProvisionedConcurrencyConfigRequest, GetProvisionedConcurrencyConfigResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1GetProvisionedConcurrencyConfigCommand,
|
|
18
|
-
serializeAws_restJson1GetProvisionedConcurrencyConfigCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface GetProvisionedConcurrencyConfigCommandInput extends GetProvisionedConcurrencyConfigRequest {}
|
|
22
|
-
export interface GetProvisionedConcurrencyConfigCommandOutput
|
|
23
|
-
extends GetProvisionedConcurrencyConfigResponse,
|
|
24
|
-
__MetadataBearer {}
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* <p>Retrieves the provisioned concurrency configuration for a function's alias or version.</p>
|
|
28
|
-
* @example
|
|
29
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
-
* ```javascript
|
|
31
|
-
* import { LambdaClient, GetProvisionedConcurrencyConfigCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
32
|
-
* // const { LambdaClient, GetProvisionedConcurrencyConfigCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
33
|
-
* const client = new LambdaClient(config);
|
|
34
|
-
* const command = new GetProvisionedConcurrencyConfigCommand(input);
|
|
35
|
-
* const response = await client.send(command);
|
|
36
|
-
* ```
|
|
37
|
-
*
|
|
38
|
-
* @see {@link GetProvisionedConcurrencyConfigCommandInput} for command's `input` shape.
|
|
39
|
-
* @see {@link GetProvisionedConcurrencyConfigCommandOutput} for command's `response` shape.
|
|
40
|
-
* @see {@link LambdaClientResolvedConfig | config} for command's `input` shape.
|
|
41
|
-
*
|
|
42
|
-
*/
|
|
43
|
-
export class GetProvisionedConcurrencyConfigCommand extends $Command<
|
|
44
|
-
GetProvisionedConcurrencyConfigCommandInput,
|
|
45
|
-
GetProvisionedConcurrencyConfigCommandOutput,
|
|
46
|
-
LambdaClientResolvedConfig
|
|
47
|
-
> {
|
|
48
|
-
// Start section: command_properties
|
|
49
|
-
// End section: command_properties
|
|
50
|
-
|
|
51
|
-
constructor(readonly input: GetProvisionedConcurrencyConfigCommandInput) {
|
|
52
|
-
// Start section: command_constructor
|
|
53
|
-
super();
|
|
54
|
-
// End section: command_constructor
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
/**
|
|
58
|
-
* @internal
|
|
59
|
-
*/
|
|
60
|
-
resolveMiddleware(
|
|
61
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
62
|
-
configuration: LambdaClientResolvedConfig,
|
|
63
|
-
options?: __HttpHandlerOptions
|
|
64
|
-
): Handler<GetProvisionedConcurrencyConfigCommandInput, GetProvisionedConcurrencyConfigCommandOutput> {
|
|
65
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
66
|
-
|
|
67
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
68
|
-
|
|
69
|
-
const { logger } = configuration;
|
|
70
|
-
const clientName = "LambdaClient";
|
|
71
|
-
const commandName = "GetProvisionedConcurrencyConfigCommand";
|
|
72
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
73
|
-
logger,
|
|
74
|
-
clientName,
|
|
75
|
-
commandName,
|
|
76
|
-
inputFilterSensitiveLog: GetProvisionedConcurrencyConfigRequest.filterSensitiveLog,
|
|
77
|
-
outputFilterSensitiveLog: GetProvisionedConcurrencyConfigResponse.filterSensitiveLog,
|
|
78
|
-
};
|
|
79
|
-
const { requestHandler } = configuration;
|
|
80
|
-
return stack.resolve(
|
|
81
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
82
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
83
|
-
handlerExecutionContext
|
|
84
|
-
);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
private serialize(
|
|
88
|
-
input: GetProvisionedConcurrencyConfigCommandInput,
|
|
89
|
-
context: __SerdeContext
|
|
90
|
-
): Promise<__HttpRequest> {
|
|
91
|
-
return serializeAws_restJson1GetProvisionedConcurrencyConfigCommand(input, context);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
private deserialize(
|
|
95
|
-
output: __HttpResponse,
|
|
96
|
-
context: __SerdeContext
|
|
97
|
-
): Promise<GetProvisionedConcurrencyConfigCommandOutput> {
|
|
98
|
-
return deserializeAws_restJson1GetProvisionedConcurrencyConfigCommand(output, context);
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
// Start section: command_body_extra
|
|
102
|
-
// End section: command_body_extra
|
|
103
|
-
}
|
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient";
|
|
15
|
-
import { InvokeAsyncRequest, InvokeAsyncResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1InvokeAsyncCommand,
|
|
18
|
-
serializeAws_restJson1InvokeAsyncCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
type InvokeAsyncCommandInputType = Omit<InvokeAsyncRequest, "InvokeArgs"> & {
|
|
22
|
-
/**
|
|
23
|
-
* For *`InvokeAsyncRequest["InvokeArgs"]`*, see {@link InvokeAsyncRequest.InvokeArgs}.
|
|
24
|
-
*/
|
|
25
|
-
InvokeArgs: InvokeAsyncRequest["InvokeArgs"] | string | Uint8Array | Buffer;
|
|
26
|
-
};
|
|
27
|
-
/**
|
|
28
|
-
* This interface extends from `InvokeAsyncRequest` interface. There are more parameters than `InvokeArgs` defined in {@link InvokeAsyncRequest}
|
|
29
|
-
*/
|
|
30
|
-
export interface InvokeAsyncCommandInput extends InvokeAsyncCommandInputType {}
|
|
31
|
-
export interface InvokeAsyncCommandOutput extends InvokeAsyncResponse, __MetadataBearer {}
|
|
32
|
-
|
|
33
|
-
/**
|
|
34
|
-
* @deprecated
|
|
35
|
-
*
|
|
36
|
-
* <important>
|
|
37
|
-
* <p>For asynchronous function invocation, use <a>Invoke</a>.</p>
|
|
38
|
-
* </important>
|
|
39
|
-
* <p>Invokes a function asynchronously.</p>
|
|
40
|
-
* @example
|
|
41
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
42
|
-
* ```javascript
|
|
43
|
-
* import { LambdaClient, InvokeAsyncCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
44
|
-
* // const { LambdaClient, InvokeAsyncCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
45
|
-
* const client = new LambdaClient(config);
|
|
46
|
-
* const command = new InvokeAsyncCommand(input);
|
|
47
|
-
* const response = await client.send(command);
|
|
48
|
-
* ```
|
|
49
|
-
*
|
|
50
|
-
* @see {@link InvokeAsyncCommandInput} for command's `input` shape.
|
|
51
|
-
* @see {@link InvokeAsyncCommandOutput} for command's `response` shape.
|
|
52
|
-
* @see {@link LambdaClientResolvedConfig | config} for command's `input` shape.
|
|
53
|
-
*
|
|
54
|
-
*/
|
|
55
|
-
export class InvokeAsyncCommand extends $Command<
|
|
56
|
-
InvokeAsyncCommandInput,
|
|
57
|
-
InvokeAsyncCommandOutput,
|
|
58
|
-
LambdaClientResolvedConfig
|
|
59
|
-
> {
|
|
60
|
-
// Start section: command_properties
|
|
61
|
-
// End section: command_properties
|
|
62
|
-
|
|
63
|
-
constructor(readonly input: InvokeAsyncCommandInput) {
|
|
64
|
-
// Start section: command_constructor
|
|
65
|
-
super();
|
|
66
|
-
// End section: command_constructor
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
/**
|
|
70
|
-
* @internal
|
|
71
|
-
*/
|
|
72
|
-
resolveMiddleware(
|
|
73
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
74
|
-
configuration: LambdaClientResolvedConfig,
|
|
75
|
-
options?: __HttpHandlerOptions
|
|
76
|
-
): Handler<InvokeAsyncCommandInput, InvokeAsyncCommandOutput> {
|
|
77
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
78
|
-
|
|
79
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
80
|
-
|
|
81
|
-
const { logger } = configuration;
|
|
82
|
-
const clientName = "LambdaClient";
|
|
83
|
-
const commandName = "InvokeAsyncCommand";
|
|
84
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
85
|
-
logger,
|
|
86
|
-
clientName,
|
|
87
|
-
commandName,
|
|
88
|
-
inputFilterSensitiveLog: InvokeAsyncRequest.filterSensitiveLog,
|
|
89
|
-
outputFilterSensitiveLog: InvokeAsyncResponse.filterSensitiveLog,
|
|
90
|
-
};
|
|
91
|
-
const { requestHandler } = configuration;
|
|
92
|
-
return stack.resolve(
|
|
93
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
94
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
95
|
-
handlerExecutionContext
|
|
96
|
-
);
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
private serialize(input: InvokeAsyncCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
100
|
-
return serializeAws_restJson1InvokeAsyncCommand(input, context);
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<InvokeAsyncCommandOutput> {
|
|
104
|
-
return deserializeAws_restJson1InvokeAsyncCommand(output, context);
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
// Start section: command_body_extra
|
|
108
|
-
// End section: command_body_extra
|
|
109
|
-
}
|
|
@@ -1,114 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient";
|
|
15
|
-
import { InvocationRequest, InvocationResponse } from "../models/models_0";
|
|
16
|
-
import { deserializeAws_restJson1InvokeCommand, serializeAws_restJson1InvokeCommand } from "../protocols/Aws_restJson1";
|
|
17
|
-
|
|
18
|
-
export interface InvokeCommandInput extends InvocationRequest {}
|
|
19
|
-
export interface InvokeCommandOutput extends InvocationResponse, __MetadataBearer {}
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* <p>Invokes a Lambda function. You can invoke a function synchronously (and wait for the response), or
|
|
23
|
-
* asynchronously. To invoke a function asynchronously, set <code>InvocationType</code> to <code>Event</code>.</p>
|
|
24
|
-
*
|
|
25
|
-
* <p>For <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-sync.html">synchronous invocation</a>,
|
|
26
|
-
* details about the function response, including errors, are included in the response body and headers. For either
|
|
27
|
-
* invocation type, you can find more information in the <a href="https://docs.aws.amazon.com/lambda/latest/dg/monitoring-functions.html">execution log</a> and <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-x-ray.html">trace</a>.</p>
|
|
28
|
-
*
|
|
29
|
-
* <p>When an error occurs, your function may be invoked multiple times. Retry behavior varies by error type,
|
|
30
|
-
* client, event source, and invocation type. For example, if you invoke a function asynchronously and it returns an
|
|
31
|
-
* error, Lambda executes the function up to two more times. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/retries-on-errors.html">Retry Behavior</a>.</p>
|
|
32
|
-
*
|
|
33
|
-
* <p>For <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html">asynchronous invocation</a>,
|
|
34
|
-
* Lambda adds events to a queue before sending them to your function. If your function does not have enough capacity
|
|
35
|
-
* to keep up with the queue, events may be lost. Occasionally, your function may receive the same event multiple
|
|
36
|
-
* times, even if no error occurs. To retain events that were not processed, configure your function with a <a href="https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html#dlq">dead-letter queue</a>.</p>
|
|
37
|
-
*
|
|
38
|
-
* <p>The status code in the API response doesn't reflect function errors. Error codes are reserved for errors that
|
|
39
|
-
* prevent your function from executing, such as permissions errors, <a href="https://docs.aws.amazon.com/lambda/latest/dg/limits.html">limit errors</a>, or issues with your function's code and configuration.
|
|
40
|
-
* For example, Lambda returns <code>TooManyRequestsException</code> if executing the function would cause you to
|
|
41
|
-
* exceed a concurrency limit at either the account level (<code>ConcurrentInvocationLimitExceeded</code>) or
|
|
42
|
-
* function level (<code>ReservedFunctionConcurrentInvocationLimitExceeded</code>).</p>
|
|
43
|
-
*
|
|
44
|
-
* <p>For functions with a long timeout, your client might be disconnected during synchronous invocation while it
|
|
45
|
-
* waits for a response. Configure your HTTP client, SDK, firewall, proxy, or operating system to allow for long
|
|
46
|
-
* connections with timeout or keep-alive settings.</p>
|
|
47
|
-
*
|
|
48
|
-
* <p>This operation requires permission for the <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/list_awslambda.html">lambda:InvokeFunction</a> action.</p>
|
|
49
|
-
* @example
|
|
50
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
51
|
-
* ```javascript
|
|
52
|
-
* import { LambdaClient, InvokeCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
53
|
-
* // const { LambdaClient, InvokeCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
54
|
-
* const client = new LambdaClient(config);
|
|
55
|
-
* const command = new InvokeCommand(input);
|
|
56
|
-
* const response = await client.send(command);
|
|
57
|
-
* ```
|
|
58
|
-
*
|
|
59
|
-
* @see {@link InvokeCommandInput} for command's `input` shape.
|
|
60
|
-
* @see {@link InvokeCommandOutput} for command's `response` shape.
|
|
61
|
-
* @see {@link LambdaClientResolvedConfig | config} for command's `input` shape.
|
|
62
|
-
*
|
|
63
|
-
*/
|
|
64
|
-
export class InvokeCommand extends $Command<InvokeCommandInput, InvokeCommandOutput, LambdaClientResolvedConfig> {
|
|
65
|
-
// Start section: command_properties
|
|
66
|
-
// End section: command_properties
|
|
67
|
-
|
|
68
|
-
constructor(readonly input: InvokeCommandInput) {
|
|
69
|
-
// Start section: command_constructor
|
|
70
|
-
super();
|
|
71
|
-
// End section: command_constructor
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
/**
|
|
75
|
-
* @internal
|
|
76
|
-
*/
|
|
77
|
-
resolveMiddleware(
|
|
78
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
79
|
-
configuration: LambdaClientResolvedConfig,
|
|
80
|
-
options?: __HttpHandlerOptions
|
|
81
|
-
): Handler<InvokeCommandInput, InvokeCommandOutput> {
|
|
82
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
83
|
-
|
|
84
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
85
|
-
|
|
86
|
-
const { logger } = configuration;
|
|
87
|
-
const clientName = "LambdaClient";
|
|
88
|
-
const commandName = "InvokeCommand";
|
|
89
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
90
|
-
logger,
|
|
91
|
-
clientName,
|
|
92
|
-
commandName,
|
|
93
|
-
inputFilterSensitiveLog: InvocationRequest.filterSensitiveLog,
|
|
94
|
-
outputFilterSensitiveLog: InvocationResponse.filterSensitiveLog,
|
|
95
|
-
};
|
|
96
|
-
const { requestHandler } = configuration;
|
|
97
|
-
return stack.resolve(
|
|
98
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
99
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
100
|
-
handlerExecutionContext
|
|
101
|
-
);
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
private serialize(input: InvokeCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
105
|
-
return serializeAws_restJson1InvokeCommand(input, context);
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<InvokeCommandOutput> {
|
|
109
|
-
return deserializeAws_restJson1InvokeCommand(output, context);
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
// Start section: command_body_extra
|
|
113
|
-
// End section: command_body_extra
|
|
114
|
-
}
|
|
@@ -1,96 +0,0 @@
|
|
|
1
|
-
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
2
|
-
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
3
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import {
|
|
5
|
-
FinalizeHandlerArguments,
|
|
6
|
-
Handler,
|
|
7
|
-
HandlerExecutionContext,
|
|
8
|
-
HttpHandlerOptions as __HttpHandlerOptions,
|
|
9
|
-
MetadataBearer as __MetadataBearer,
|
|
10
|
-
MiddlewareStack,
|
|
11
|
-
SerdeContext as __SerdeContext,
|
|
12
|
-
} from "@aws-sdk/types";
|
|
13
|
-
|
|
14
|
-
import { LambdaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../LambdaClient";
|
|
15
|
-
import { ListAliasesRequest, ListAliasesResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1ListAliasesCommand,
|
|
18
|
-
serializeAws_restJson1ListAliasesCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface ListAliasesCommandInput extends ListAliasesRequest {}
|
|
22
|
-
export interface ListAliasesCommandOutput extends ListAliasesResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Returns a list of <a href="https://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html">aliases</a>
|
|
26
|
-
* for a Lambda function.</p>
|
|
27
|
-
* @example
|
|
28
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
-
* ```javascript
|
|
30
|
-
* import { LambdaClient, ListAliasesCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
31
|
-
* // const { LambdaClient, ListAliasesCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
32
|
-
* const client = new LambdaClient(config);
|
|
33
|
-
* const command = new ListAliasesCommand(input);
|
|
34
|
-
* const response = await client.send(command);
|
|
35
|
-
* ```
|
|
36
|
-
*
|
|
37
|
-
* @see {@link ListAliasesCommandInput} for command's `input` shape.
|
|
38
|
-
* @see {@link ListAliasesCommandOutput} for command's `response` shape.
|
|
39
|
-
* @see {@link LambdaClientResolvedConfig | config} for command's `input` shape.
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
|
-
export class ListAliasesCommand extends $Command<
|
|
43
|
-
ListAliasesCommandInput,
|
|
44
|
-
ListAliasesCommandOutput,
|
|
45
|
-
LambdaClientResolvedConfig
|
|
46
|
-
> {
|
|
47
|
-
// Start section: command_properties
|
|
48
|
-
// End section: command_properties
|
|
49
|
-
|
|
50
|
-
constructor(readonly input: ListAliasesCommandInput) {
|
|
51
|
-
// Start section: command_constructor
|
|
52
|
-
super();
|
|
53
|
-
// End section: command_constructor
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
/**
|
|
57
|
-
* @internal
|
|
58
|
-
*/
|
|
59
|
-
resolveMiddleware(
|
|
60
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
61
|
-
configuration: LambdaClientResolvedConfig,
|
|
62
|
-
options?: __HttpHandlerOptions
|
|
63
|
-
): Handler<ListAliasesCommandInput, ListAliasesCommandOutput> {
|
|
64
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
65
|
-
|
|
66
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
67
|
-
|
|
68
|
-
const { logger } = configuration;
|
|
69
|
-
const clientName = "LambdaClient";
|
|
70
|
-
const commandName = "ListAliasesCommand";
|
|
71
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
72
|
-
logger,
|
|
73
|
-
clientName,
|
|
74
|
-
commandName,
|
|
75
|
-
inputFilterSensitiveLog: ListAliasesRequest.filterSensitiveLog,
|
|
76
|
-
outputFilterSensitiveLog: ListAliasesResponse.filterSensitiveLog,
|
|
77
|
-
};
|
|
78
|
-
const { requestHandler } = configuration;
|
|
79
|
-
return stack.resolve(
|
|
80
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
81
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
82
|
-
handlerExecutionContext
|
|
83
|
-
);
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
private serialize(input: ListAliasesCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
87
|
-
return serializeAws_restJson1ListAliasesCommand(input, context);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<ListAliasesCommandOutput> {
|
|
91
|
-
return deserializeAws_restJson1ListAliasesCommand(output, context);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
// Start section: command_body_extra
|
|
95
|
-
// End section: command_body_extra
|
|
96
|
-
}
|