@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,8 +0,0 @@
|
|
|
1
|
-
import { PaginationConfiguration } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import { Lambda } from "../Lambda";
|
|
4
|
-
import { LambdaClient } from "../LambdaClient";
|
|
5
|
-
|
|
6
|
-
export interface LambdaPaginationConfiguration extends PaginationConfiguration {
|
|
7
|
-
client: Lambda | LambdaClient;
|
|
8
|
-
}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import { ListAliasesCommand, ListAliasesCommandInput, ListAliasesCommandOutput } from "../commands/ListAliasesCommand";
|
|
4
|
-
import { Lambda } from "../Lambda";
|
|
5
|
-
import { LambdaClient } from "../LambdaClient";
|
|
6
|
-
import { LambdaPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
* @private
|
|
10
|
-
*/
|
|
11
|
-
const makePagedClientRequest = async (
|
|
12
|
-
client: LambdaClient,
|
|
13
|
-
input: ListAliasesCommandInput,
|
|
14
|
-
...args: any
|
|
15
|
-
): Promise<ListAliasesCommandOutput> => {
|
|
16
|
-
// @ts-ignore
|
|
17
|
-
return await client.send(new ListAliasesCommand(input), ...args);
|
|
18
|
-
};
|
|
19
|
-
/**
|
|
20
|
-
* @private
|
|
21
|
-
*/
|
|
22
|
-
const makePagedRequest = async (
|
|
23
|
-
client: Lambda,
|
|
24
|
-
input: ListAliasesCommandInput,
|
|
25
|
-
...args: any
|
|
26
|
-
): Promise<ListAliasesCommandOutput> => {
|
|
27
|
-
// @ts-ignore
|
|
28
|
-
return await client.listAliases(input, ...args);
|
|
29
|
-
};
|
|
30
|
-
export async function* paginateListAliases(
|
|
31
|
-
config: LambdaPaginationConfiguration,
|
|
32
|
-
input: ListAliasesCommandInput,
|
|
33
|
-
...additionalArguments: any
|
|
34
|
-
): Paginator<ListAliasesCommandOutput> {
|
|
35
|
-
// ToDo: replace with actual type instead of typeof input.Marker
|
|
36
|
-
let token: typeof input.Marker | undefined = config.startingToken || undefined;
|
|
37
|
-
let hasNext = true;
|
|
38
|
-
let page: ListAliasesCommandOutput;
|
|
39
|
-
while (hasNext) {
|
|
40
|
-
input.Marker = token;
|
|
41
|
-
input["MaxItems"] = config.pageSize;
|
|
42
|
-
if (config.client instanceof Lambda) {
|
|
43
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
44
|
-
} else if (config.client instanceof LambdaClient) {
|
|
45
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
46
|
-
} else {
|
|
47
|
-
throw new Error("Invalid client, expected Lambda | LambdaClient");
|
|
48
|
-
}
|
|
49
|
-
yield page;
|
|
50
|
-
token = page.NextMarker;
|
|
51
|
-
hasNext = !!token;
|
|
52
|
-
}
|
|
53
|
-
// @ts-ignore
|
|
54
|
-
return undefined;
|
|
55
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
ListCodeSigningConfigsCommand,
|
|
5
|
-
ListCodeSigningConfigsCommandInput,
|
|
6
|
-
ListCodeSigningConfigsCommandOutput,
|
|
7
|
-
} from "../commands/ListCodeSigningConfigsCommand";
|
|
8
|
-
import { Lambda } from "../Lambda";
|
|
9
|
-
import { LambdaClient } from "../LambdaClient";
|
|
10
|
-
import { LambdaPaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: LambdaClient,
|
|
17
|
-
input: ListCodeSigningConfigsCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<ListCodeSigningConfigsCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new ListCodeSigningConfigsCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: Lambda,
|
|
28
|
-
input: ListCodeSigningConfigsCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<ListCodeSigningConfigsCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.listCodeSigningConfigs(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateListCodeSigningConfigs(
|
|
35
|
-
config: LambdaPaginationConfiguration,
|
|
36
|
-
input: ListCodeSigningConfigsCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<ListCodeSigningConfigsCommandOutput> {
|
|
39
|
-
// ToDo: replace with actual type instead of typeof input.Marker
|
|
40
|
-
let token: typeof input.Marker | undefined = config.startingToken || undefined;
|
|
41
|
-
let hasNext = true;
|
|
42
|
-
let page: ListCodeSigningConfigsCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.Marker = token;
|
|
45
|
-
input["MaxItems"] = config.pageSize;
|
|
46
|
-
if (config.client instanceof Lambda) {
|
|
47
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
48
|
-
} else if (config.client instanceof LambdaClient) {
|
|
49
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
50
|
-
} else {
|
|
51
|
-
throw new Error("Invalid client, expected Lambda | LambdaClient");
|
|
52
|
-
}
|
|
53
|
-
yield page;
|
|
54
|
-
token = page.NextMarker;
|
|
55
|
-
hasNext = !!token;
|
|
56
|
-
}
|
|
57
|
-
// @ts-ignore
|
|
58
|
-
return undefined;
|
|
59
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
ListEventSourceMappingsCommand,
|
|
5
|
-
ListEventSourceMappingsCommandInput,
|
|
6
|
-
ListEventSourceMappingsCommandOutput,
|
|
7
|
-
} from "../commands/ListEventSourceMappingsCommand";
|
|
8
|
-
import { Lambda } from "../Lambda";
|
|
9
|
-
import { LambdaClient } from "../LambdaClient";
|
|
10
|
-
import { LambdaPaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: LambdaClient,
|
|
17
|
-
input: ListEventSourceMappingsCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<ListEventSourceMappingsCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new ListEventSourceMappingsCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: Lambda,
|
|
28
|
-
input: ListEventSourceMappingsCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<ListEventSourceMappingsCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.listEventSourceMappings(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateListEventSourceMappings(
|
|
35
|
-
config: LambdaPaginationConfiguration,
|
|
36
|
-
input: ListEventSourceMappingsCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<ListEventSourceMappingsCommandOutput> {
|
|
39
|
-
// ToDo: replace with actual type instead of typeof input.Marker
|
|
40
|
-
let token: typeof input.Marker | undefined = config.startingToken || undefined;
|
|
41
|
-
let hasNext = true;
|
|
42
|
-
let page: ListEventSourceMappingsCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.Marker = token;
|
|
45
|
-
input["MaxItems"] = config.pageSize;
|
|
46
|
-
if (config.client instanceof Lambda) {
|
|
47
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
48
|
-
} else if (config.client instanceof LambdaClient) {
|
|
49
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
50
|
-
} else {
|
|
51
|
-
throw new Error("Invalid client, expected Lambda | LambdaClient");
|
|
52
|
-
}
|
|
53
|
-
yield page;
|
|
54
|
-
token = page.NextMarker;
|
|
55
|
-
hasNext = !!token;
|
|
56
|
-
}
|
|
57
|
-
// @ts-ignore
|
|
58
|
-
return undefined;
|
|
59
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
ListFunctionEventInvokeConfigsCommand,
|
|
5
|
-
ListFunctionEventInvokeConfigsCommandInput,
|
|
6
|
-
ListFunctionEventInvokeConfigsCommandOutput,
|
|
7
|
-
} from "../commands/ListFunctionEventInvokeConfigsCommand";
|
|
8
|
-
import { Lambda } from "../Lambda";
|
|
9
|
-
import { LambdaClient } from "../LambdaClient";
|
|
10
|
-
import { LambdaPaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: LambdaClient,
|
|
17
|
-
input: ListFunctionEventInvokeConfigsCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<ListFunctionEventInvokeConfigsCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new ListFunctionEventInvokeConfigsCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: Lambda,
|
|
28
|
-
input: ListFunctionEventInvokeConfigsCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<ListFunctionEventInvokeConfigsCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.listFunctionEventInvokeConfigs(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateListFunctionEventInvokeConfigs(
|
|
35
|
-
config: LambdaPaginationConfiguration,
|
|
36
|
-
input: ListFunctionEventInvokeConfigsCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<ListFunctionEventInvokeConfigsCommandOutput> {
|
|
39
|
-
// ToDo: replace with actual type instead of typeof input.Marker
|
|
40
|
-
let token: typeof input.Marker | undefined = config.startingToken || undefined;
|
|
41
|
-
let hasNext = true;
|
|
42
|
-
let page: ListFunctionEventInvokeConfigsCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.Marker = token;
|
|
45
|
-
input["MaxItems"] = config.pageSize;
|
|
46
|
-
if (config.client instanceof Lambda) {
|
|
47
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
48
|
-
} else if (config.client instanceof LambdaClient) {
|
|
49
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
50
|
-
} else {
|
|
51
|
-
throw new Error("Invalid client, expected Lambda | LambdaClient");
|
|
52
|
-
}
|
|
53
|
-
yield page;
|
|
54
|
-
token = page.NextMarker;
|
|
55
|
-
hasNext = !!token;
|
|
56
|
-
}
|
|
57
|
-
// @ts-ignore
|
|
58
|
-
return undefined;
|
|
59
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
ListFunctionsByCodeSigningConfigCommand,
|
|
5
|
-
ListFunctionsByCodeSigningConfigCommandInput,
|
|
6
|
-
ListFunctionsByCodeSigningConfigCommandOutput,
|
|
7
|
-
} from "../commands/ListFunctionsByCodeSigningConfigCommand";
|
|
8
|
-
import { Lambda } from "../Lambda";
|
|
9
|
-
import { LambdaClient } from "../LambdaClient";
|
|
10
|
-
import { LambdaPaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: LambdaClient,
|
|
17
|
-
input: ListFunctionsByCodeSigningConfigCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<ListFunctionsByCodeSigningConfigCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new ListFunctionsByCodeSigningConfigCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: Lambda,
|
|
28
|
-
input: ListFunctionsByCodeSigningConfigCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<ListFunctionsByCodeSigningConfigCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.listFunctionsByCodeSigningConfig(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateListFunctionsByCodeSigningConfig(
|
|
35
|
-
config: LambdaPaginationConfiguration,
|
|
36
|
-
input: ListFunctionsByCodeSigningConfigCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<ListFunctionsByCodeSigningConfigCommandOutput> {
|
|
39
|
-
// ToDo: replace with actual type instead of typeof input.Marker
|
|
40
|
-
let token: typeof input.Marker | undefined = config.startingToken || undefined;
|
|
41
|
-
let hasNext = true;
|
|
42
|
-
let page: ListFunctionsByCodeSigningConfigCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.Marker = token;
|
|
45
|
-
input["MaxItems"] = config.pageSize;
|
|
46
|
-
if (config.client instanceof Lambda) {
|
|
47
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
48
|
-
} else if (config.client instanceof LambdaClient) {
|
|
49
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
50
|
-
} else {
|
|
51
|
-
throw new Error("Invalid client, expected Lambda | LambdaClient");
|
|
52
|
-
}
|
|
53
|
-
yield page;
|
|
54
|
-
token = page.NextMarker;
|
|
55
|
-
hasNext = !!token;
|
|
56
|
-
}
|
|
57
|
-
// @ts-ignore
|
|
58
|
-
return undefined;
|
|
59
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
ListFunctionsCommand,
|
|
5
|
-
ListFunctionsCommandInput,
|
|
6
|
-
ListFunctionsCommandOutput,
|
|
7
|
-
} from "../commands/ListFunctionsCommand";
|
|
8
|
-
import { Lambda } from "../Lambda";
|
|
9
|
-
import { LambdaClient } from "../LambdaClient";
|
|
10
|
-
import { LambdaPaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: LambdaClient,
|
|
17
|
-
input: ListFunctionsCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<ListFunctionsCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new ListFunctionsCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: Lambda,
|
|
28
|
-
input: ListFunctionsCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<ListFunctionsCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.listFunctions(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateListFunctions(
|
|
35
|
-
config: LambdaPaginationConfiguration,
|
|
36
|
-
input: ListFunctionsCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<ListFunctionsCommandOutput> {
|
|
39
|
-
// ToDo: replace with actual type instead of typeof input.Marker
|
|
40
|
-
let token: typeof input.Marker | undefined = config.startingToken || undefined;
|
|
41
|
-
let hasNext = true;
|
|
42
|
-
let page: ListFunctionsCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.Marker = token;
|
|
45
|
-
input["MaxItems"] = config.pageSize;
|
|
46
|
-
if (config.client instanceof Lambda) {
|
|
47
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
48
|
-
} else if (config.client instanceof LambdaClient) {
|
|
49
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
50
|
-
} else {
|
|
51
|
-
throw new Error("Invalid client, expected Lambda | LambdaClient");
|
|
52
|
-
}
|
|
53
|
-
yield page;
|
|
54
|
-
token = page.NextMarker;
|
|
55
|
-
hasNext = !!token;
|
|
56
|
-
}
|
|
57
|
-
// @ts-ignore
|
|
58
|
-
return undefined;
|
|
59
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
ListLayerVersionsCommand,
|
|
5
|
-
ListLayerVersionsCommandInput,
|
|
6
|
-
ListLayerVersionsCommandOutput,
|
|
7
|
-
} from "../commands/ListLayerVersionsCommand";
|
|
8
|
-
import { Lambda } from "../Lambda";
|
|
9
|
-
import { LambdaClient } from "../LambdaClient";
|
|
10
|
-
import { LambdaPaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: LambdaClient,
|
|
17
|
-
input: ListLayerVersionsCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<ListLayerVersionsCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new ListLayerVersionsCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: Lambda,
|
|
28
|
-
input: ListLayerVersionsCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<ListLayerVersionsCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.listLayerVersions(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateListLayerVersions(
|
|
35
|
-
config: LambdaPaginationConfiguration,
|
|
36
|
-
input: ListLayerVersionsCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<ListLayerVersionsCommandOutput> {
|
|
39
|
-
// ToDo: replace with actual type instead of typeof input.Marker
|
|
40
|
-
let token: typeof input.Marker | undefined = config.startingToken || undefined;
|
|
41
|
-
let hasNext = true;
|
|
42
|
-
let page: ListLayerVersionsCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.Marker = token;
|
|
45
|
-
input["MaxItems"] = config.pageSize;
|
|
46
|
-
if (config.client instanceof Lambda) {
|
|
47
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
48
|
-
} else if (config.client instanceof LambdaClient) {
|
|
49
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
50
|
-
} else {
|
|
51
|
-
throw new Error("Invalid client, expected Lambda | LambdaClient");
|
|
52
|
-
}
|
|
53
|
-
yield page;
|
|
54
|
-
token = page.NextMarker;
|
|
55
|
-
hasNext = !!token;
|
|
56
|
-
}
|
|
57
|
-
// @ts-ignore
|
|
58
|
-
return undefined;
|
|
59
|
-
}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import { ListLayersCommand, ListLayersCommandInput, ListLayersCommandOutput } from "../commands/ListLayersCommand";
|
|
4
|
-
import { Lambda } from "../Lambda";
|
|
5
|
-
import { LambdaClient } from "../LambdaClient";
|
|
6
|
-
import { LambdaPaginationConfiguration } from "./Interfaces";
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
* @private
|
|
10
|
-
*/
|
|
11
|
-
const makePagedClientRequest = async (
|
|
12
|
-
client: LambdaClient,
|
|
13
|
-
input: ListLayersCommandInput,
|
|
14
|
-
...args: any
|
|
15
|
-
): Promise<ListLayersCommandOutput> => {
|
|
16
|
-
// @ts-ignore
|
|
17
|
-
return await client.send(new ListLayersCommand(input), ...args);
|
|
18
|
-
};
|
|
19
|
-
/**
|
|
20
|
-
* @private
|
|
21
|
-
*/
|
|
22
|
-
const makePagedRequest = async (
|
|
23
|
-
client: Lambda,
|
|
24
|
-
input: ListLayersCommandInput,
|
|
25
|
-
...args: any
|
|
26
|
-
): Promise<ListLayersCommandOutput> => {
|
|
27
|
-
// @ts-ignore
|
|
28
|
-
return await client.listLayers(input, ...args);
|
|
29
|
-
};
|
|
30
|
-
export async function* paginateListLayers(
|
|
31
|
-
config: LambdaPaginationConfiguration,
|
|
32
|
-
input: ListLayersCommandInput,
|
|
33
|
-
...additionalArguments: any
|
|
34
|
-
): Paginator<ListLayersCommandOutput> {
|
|
35
|
-
// ToDo: replace with actual type instead of typeof input.Marker
|
|
36
|
-
let token: typeof input.Marker | undefined = config.startingToken || undefined;
|
|
37
|
-
let hasNext = true;
|
|
38
|
-
let page: ListLayersCommandOutput;
|
|
39
|
-
while (hasNext) {
|
|
40
|
-
input.Marker = token;
|
|
41
|
-
input["MaxItems"] = config.pageSize;
|
|
42
|
-
if (config.client instanceof Lambda) {
|
|
43
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
44
|
-
} else if (config.client instanceof LambdaClient) {
|
|
45
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
46
|
-
} else {
|
|
47
|
-
throw new Error("Invalid client, expected Lambda | LambdaClient");
|
|
48
|
-
}
|
|
49
|
-
yield page;
|
|
50
|
-
token = page.NextMarker;
|
|
51
|
-
hasNext = !!token;
|
|
52
|
-
}
|
|
53
|
-
// @ts-ignore
|
|
54
|
-
return undefined;
|
|
55
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
ListProvisionedConcurrencyConfigsCommand,
|
|
5
|
-
ListProvisionedConcurrencyConfigsCommandInput,
|
|
6
|
-
ListProvisionedConcurrencyConfigsCommandOutput,
|
|
7
|
-
} from "../commands/ListProvisionedConcurrencyConfigsCommand";
|
|
8
|
-
import { Lambda } from "../Lambda";
|
|
9
|
-
import { LambdaClient } from "../LambdaClient";
|
|
10
|
-
import { LambdaPaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: LambdaClient,
|
|
17
|
-
input: ListProvisionedConcurrencyConfigsCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<ListProvisionedConcurrencyConfigsCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new ListProvisionedConcurrencyConfigsCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: Lambda,
|
|
28
|
-
input: ListProvisionedConcurrencyConfigsCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<ListProvisionedConcurrencyConfigsCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.listProvisionedConcurrencyConfigs(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateListProvisionedConcurrencyConfigs(
|
|
35
|
-
config: LambdaPaginationConfiguration,
|
|
36
|
-
input: ListProvisionedConcurrencyConfigsCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<ListProvisionedConcurrencyConfigsCommandOutput> {
|
|
39
|
-
// ToDo: replace with actual type instead of typeof input.Marker
|
|
40
|
-
let token: typeof input.Marker | undefined = config.startingToken || undefined;
|
|
41
|
-
let hasNext = true;
|
|
42
|
-
let page: ListProvisionedConcurrencyConfigsCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.Marker = token;
|
|
45
|
-
input["MaxItems"] = config.pageSize;
|
|
46
|
-
if (config.client instanceof Lambda) {
|
|
47
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
48
|
-
} else if (config.client instanceof LambdaClient) {
|
|
49
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
50
|
-
} else {
|
|
51
|
-
throw new Error("Invalid client, expected Lambda | LambdaClient");
|
|
52
|
-
}
|
|
53
|
-
yield page;
|
|
54
|
-
token = page.NextMarker;
|
|
55
|
-
hasNext = !!token;
|
|
56
|
-
}
|
|
57
|
-
// @ts-ignore
|
|
58
|
-
return undefined;
|
|
59
|
-
}
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { Paginator } from "@aws-sdk/types";
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
ListVersionsByFunctionCommand,
|
|
5
|
-
ListVersionsByFunctionCommandInput,
|
|
6
|
-
ListVersionsByFunctionCommandOutput,
|
|
7
|
-
} from "../commands/ListVersionsByFunctionCommand";
|
|
8
|
-
import { Lambda } from "../Lambda";
|
|
9
|
-
import { LambdaClient } from "../LambdaClient";
|
|
10
|
-
import { LambdaPaginationConfiguration } from "./Interfaces";
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* @private
|
|
14
|
-
*/
|
|
15
|
-
const makePagedClientRequest = async (
|
|
16
|
-
client: LambdaClient,
|
|
17
|
-
input: ListVersionsByFunctionCommandInput,
|
|
18
|
-
...args: any
|
|
19
|
-
): Promise<ListVersionsByFunctionCommandOutput> => {
|
|
20
|
-
// @ts-ignore
|
|
21
|
-
return await client.send(new ListVersionsByFunctionCommand(input), ...args);
|
|
22
|
-
};
|
|
23
|
-
/**
|
|
24
|
-
* @private
|
|
25
|
-
*/
|
|
26
|
-
const makePagedRequest = async (
|
|
27
|
-
client: Lambda,
|
|
28
|
-
input: ListVersionsByFunctionCommandInput,
|
|
29
|
-
...args: any
|
|
30
|
-
): Promise<ListVersionsByFunctionCommandOutput> => {
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
return await client.listVersionsByFunction(input, ...args);
|
|
33
|
-
};
|
|
34
|
-
export async function* paginateListVersionsByFunction(
|
|
35
|
-
config: LambdaPaginationConfiguration,
|
|
36
|
-
input: ListVersionsByFunctionCommandInput,
|
|
37
|
-
...additionalArguments: any
|
|
38
|
-
): Paginator<ListVersionsByFunctionCommandOutput> {
|
|
39
|
-
// ToDo: replace with actual type instead of typeof input.Marker
|
|
40
|
-
let token: typeof input.Marker | undefined = config.startingToken || undefined;
|
|
41
|
-
let hasNext = true;
|
|
42
|
-
let page: ListVersionsByFunctionCommandOutput;
|
|
43
|
-
while (hasNext) {
|
|
44
|
-
input.Marker = token;
|
|
45
|
-
input["MaxItems"] = config.pageSize;
|
|
46
|
-
if (config.client instanceof Lambda) {
|
|
47
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
48
|
-
} else if (config.client instanceof LambdaClient) {
|
|
49
|
-
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
50
|
-
} else {
|
|
51
|
-
throw new Error("Invalid client, expected Lambda | LambdaClient");
|
|
52
|
-
}
|
|
53
|
-
yield page;
|
|
54
|
-
token = page.NextMarker;
|
|
55
|
-
hasNext = !!token;
|
|
56
|
-
}
|
|
57
|
-
// @ts-ignore
|
|
58
|
-
return undefined;
|
|
59
|
-
}
|