@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,107 +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 { AddPermissionRequest, AddPermissionResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1AddPermissionCommand,
|
|
18
|
-
serializeAws_restJson1AddPermissionCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface AddPermissionCommandInput extends AddPermissionRequest {}
|
|
22
|
-
export interface AddPermissionCommandOutput extends AddPermissionResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Grants an Amazon Web Services service or another account permission to use a function. You can apply the policy at the
|
|
26
|
-
* function level, or specify a qualifier to restrict access to a single version or alias. If you use a qualifier,
|
|
27
|
-
* the invoker must use the full Amazon Resource Name (ARN) of that version or alias to invoke the function.
|
|
28
|
-
* Note: Lambda does not support adding policies to version $LATEST.</p>
|
|
29
|
-
*
|
|
30
|
-
* <p>To grant permission to another account, specify the account ID as the <code>Principal</code>. For Amazon Web Services
|
|
31
|
-
* services, the principal is a domain-style identifier defined by the service, like <code>s3.amazonaws.com</code> or
|
|
32
|
-
* <code>sns.amazonaws.com</code>. For Amazon Web Services services, you can also specify the ARN of the associated resource as the
|
|
33
|
-
* <code>SourceArn</code>. If you grant permission to a service principal without specifying the source, other
|
|
34
|
-
* accounts could potentially configure resources in their account to invoke your Lambda function.</p>
|
|
35
|
-
*
|
|
36
|
-
* <p>This action adds a statement to a resource-based permissions policy for the function. For more information
|
|
37
|
-
* about function policies, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/access-control-resource-based.html">Lambda Function Policies</a>. </p>
|
|
38
|
-
* @example
|
|
39
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
40
|
-
* ```javascript
|
|
41
|
-
* import { LambdaClient, AddPermissionCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
42
|
-
* // const { LambdaClient, AddPermissionCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
43
|
-
* const client = new LambdaClient(config);
|
|
44
|
-
* const command = new AddPermissionCommand(input);
|
|
45
|
-
* const response = await client.send(command);
|
|
46
|
-
* ```
|
|
47
|
-
*
|
|
48
|
-
* @see {@link AddPermissionCommandInput} for command's `input` shape.
|
|
49
|
-
* @see {@link AddPermissionCommandOutput} for command's `response` shape.
|
|
50
|
-
* @see {@link LambdaClientResolvedConfig | config} for command's `input` shape.
|
|
51
|
-
*
|
|
52
|
-
*/
|
|
53
|
-
export class AddPermissionCommand extends $Command<
|
|
54
|
-
AddPermissionCommandInput,
|
|
55
|
-
AddPermissionCommandOutput,
|
|
56
|
-
LambdaClientResolvedConfig
|
|
57
|
-
> {
|
|
58
|
-
// Start section: command_properties
|
|
59
|
-
// End section: command_properties
|
|
60
|
-
|
|
61
|
-
constructor(readonly input: AddPermissionCommandInput) {
|
|
62
|
-
// Start section: command_constructor
|
|
63
|
-
super();
|
|
64
|
-
// End section: command_constructor
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
/**
|
|
68
|
-
* @internal
|
|
69
|
-
*/
|
|
70
|
-
resolveMiddleware(
|
|
71
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
72
|
-
configuration: LambdaClientResolvedConfig,
|
|
73
|
-
options?: __HttpHandlerOptions
|
|
74
|
-
): Handler<AddPermissionCommandInput, AddPermissionCommandOutput> {
|
|
75
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
76
|
-
|
|
77
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
78
|
-
|
|
79
|
-
const { logger } = configuration;
|
|
80
|
-
const clientName = "LambdaClient";
|
|
81
|
-
const commandName = "AddPermissionCommand";
|
|
82
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
83
|
-
logger,
|
|
84
|
-
clientName,
|
|
85
|
-
commandName,
|
|
86
|
-
inputFilterSensitiveLog: AddPermissionRequest.filterSensitiveLog,
|
|
87
|
-
outputFilterSensitiveLog: AddPermissionResponse.filterSensitiveLog,
|
|
88
|
-
};
|
|
89
|
-
const { requestHandler } = configuration;
|
|
90
|
-
return stack.resolve(
|
|
91
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
92
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
93
|
-
handlerExecutionContext
|
|
94
|
-
);
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
private serialize(input: AddPermissionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
98
|
-
return serializeAws_restJson1AddPermissionCommand(input, context);
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<AddPermissionCommandOutput> {
|
|
102
|
-
return deserializeAws_restJson1AddPermissionCommand(output, context);
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
// Start section: command_body_extra
|
|
106
|
-
// End section: command_body_extra
|
|
107
|
-
}
|
|
@@ -1,100 +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 { AliasConfiguration, CreateAliasRequest } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1CreateAliasCommand,
|
|
18
|
-
serializeAws_restJson1CreateAliasCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface CreateAliasCommandInput extends CreateAliasRequest {}
|
|
22
|
-
export interface CreateAliasCommandOutput extends AliasConfiguration, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Creates an <a href="https://docs.aws.amazon.com/lambda/latest/dg/versioning-aliases.html">alias</a> for a
|
|
26
|
-
* Lambda function version. Use aliases to provide clients with a function identifier that you can update to invoke a
|
|
27
|
-
* different version.</p>
|
|
28
|
-
* <p>You can also map an alias to split invocation requests between two versions. Use the
|
|
29
|
-
* <code>RoutingConfig</code> parameter to specify a second version and the percentage of invocation requests that
|
|
30
|
-
* it receives.</p>
|
|
31
|
-
* @example
|
|
32
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
-
* ```javascript
|
|
34
|
-
* import { LambdaClient, CreateAliasCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
35
|
-
* // const { LambdaClient, CreateAliasCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
36
|
-
* const client = new LambdaClient(config);
|
|
37
|
-
* const command = new CreateAliasCommand(input);
|
|
38
|
-
* const response = await client.send(command);
|
|
39
|
-
* ```
|
|
40
|
-
*
|
|
41
|
-
* @see {@link CreateAliasCommandInput} for command's `input` shape.
|
|
42
|
-
* @see {@link CreateAliasCommandOutput} for command's `response` shape.
|
|
43
|
-
* @see {@link LambdaClientResolvedConfig | config} for command's `input` shape.
|
|
44
|
-
*
|
|
45
|
-
*/
|
|
46
|
-
export class CreateAliasCommand extends $Command<
|
|
47
|
-
CreateAliasCommandInput,
|
|
48
|
-
CreateAliasCommandOutput,
|
|
49
|
-
LambdaClientResolvedConfig
|
|
50
|
-
> {
|
|
51
|
-
// Start section: command_properties
|
|
52
|
-
// End section: command_properties
|
|
53
|
-
|
|
54
|
-
constructor(readonly input: CreateAliasCommandInput) {
|
|
55
|
-
// Start section: command_constructor
|
|
56
|
-
super();
|
|
57
|
-
// End section: command_constructor
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
/**
|
|
61
|
-
* @internal
|
|
62
|
-
*/
|
|
63
|
-
resolveMiddleware(
|
|
64
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
65
|
-
configuration: LambdaClientResolvedConfig,
|
|
66
|
-
options?: __HttpHandlerOptions
|
|
67
|
-
): Handler<CreateAliasCommandInput, CreateAliasCommandOutput> {
|
|
68
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
69
|
-
|
|
70
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
71
|
-
|
|
72
|
-
const { logger } = configuration;
|
|
73
|
-
const clientName = "LambdaClient";
|
|
74
|
-
const commandName = "CreateAliasCommand";
|
|
75
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
76
|
-
logger,
|
|
77
|
-
clientName,
|
|
78
|
-
commandName,
|
|
79
|
-
inputFilterSensitiveLog: CreateAliasRequest.filterSensitiveLog,
|
|
80
|
-
outputFilterSensitiveLog: AliasConfiguration.filterSensitiveLog,
|
|
81
|
-
};
|
|
82
|
-
const { requestHandler } = configuration;
|
|
83
|
-
return stack.resolve(
|
|
84
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
85
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
86
|
-
handlerExecutionContext
|
|
87
|
-
);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
private serialize(input: CreateAliasCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
91
|
-
return serializeAws_restJson1CreateAliasCommand(input, context);
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateAliasCommandOutput> {
|
|
95
|
-
return deserializeAws_restJson1CreateAliasCommand(output, context);
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
// Start section: command_body_extra
|
|
99
|
-
// End section: command_body_extra
|
|
100
|
-
}
|
|
@@ -1,97 +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 { CreateCodeSigningConfigRequest, CreateCodeSigningConfigResponse } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1CreateCodeSigningConfigCommand,
|
|
18
|
-
serializeAws_restJson1CreateCodeSigningConfigCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface CreateCodeSigningConfigCommandInput extends CreateCodeSigningConfigRequest {}
|
|
22
|
-
export interface CreateCodeSigningConfigCommandOutput extends CreateCodeSigningConfigResponse, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Creates a code signing configuration. A <a href="https://docs.aws.amazon.com/lambda/latest/dg/configuration-trustedcode.html">code signing configuration</a> defines a list of
|
|
26
|
-
* allowed signing profiles and defines the code-signing validation policy (action to be taken if deployment
|
|
27
|
-
* validation checks fail). </p>
|
|
28
|
-
* @example
|
|
29
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
-
* ```javascript
|
|
31
|
-
* import { LambdaClient, CreateCodeSigningConfigCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
32
|
-
* // const { LambdaClient, CreateCodeSigningConfigCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
33
|
-
* const client = new LambdaClient(config);
|
|
34
|
-
* const command = new CreateCodeSigningConfigCommand(input);
|
|
35
|
-
* const response = await client.send(command);
|
|
36
|
-
* ```
|
|
37
|
-
*
|
|
38
|
-
* @see {@link CreateCodeSigningConfigCommandInput} for command's `input` shape.
|
|
39
|
-
* @see {@link CreateCodeSigningConfigCommandOutput} for command's `response` shape.
|
|
40
|
-
* @see {@link LambdaClientResolvedConfig | config} for command's `input` shape.
|
|
41
|
-
*
|
|
42
|
-
*/
|
|
43
|
-
export class CreateCodeSigningConfigCommand extends $Command<
|
|
44
|
-
CreateCodeSigningConfigCommandInput,
|
|
45
|
-
CreateCodeSigningConfigCommandOutput,
|
|
46
|
-
LambdaClientResolvedConfig
|
|
47
|
-
> {
|
|
48
|
-
// Start section: command_properties
|
|
49
|
-
// End section: command_properties
|
|
50
|
-
|
|
51
|
-
constructor(readonly input: CreateCodeSigningConfigCommandInput) {
|
|
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<CreateCodeSigningConfigCommandInput, CreateCodeSigningConfigCommandOutput> {
|
|
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 = "CreateCodeSigningConfigCommand";
|
|
72
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
73
|
-
logger,
|
|
74
|
-
clientName,
|
|
75
|
-
commandName,
|
|
76
|
-
inputFilterSensitiveLog: CreateCodeSigningConfigRequest.filterSensitiveLog,
|
|
77
|
-
outputFilterSensitiveLog: CreateCodeSigningConfigResponse.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(input: CreateCodeSigningConfigCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
88
|
-
return serializeAws_restJson1CreateCodeSigningConfigCommand(input, context);
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateCodeSigningConfigCommandOutput> {
|
|
92
|
-
return deserializeAws_restJson1CreateCodeSigningConfigCommand(output, context);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
// Start section: command_body_extra
|
|
96
|
-
// End section: command_body_extra
|
|
97
|
-
}
|
|
@@ -1,159 +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 { CreateEventSourceMappingRequest, EventSourceMappingConfiguration } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1CreateEventSourceMappingCommand,
|
|
18
|
-
serializeAws_restJson1CreateEventSourceMappingCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface CreateEventSourceMappingCommandInput extends CreateEventSourceMappingRequest {}
|
|
22
|
-
export interface CreateEventSourceMappingCommandOutput extends EventSourceMappingConfiguration, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Creates a mapping between an event source and an Lambda function. Lambda reads items from the
|
|
26
|
-
* event source and triggers the function.</p>
|
|
27
|
-
* <p>For details about each event source type, see the following topics. </p>
|
|
28
|
-
* <ul>
|
|
29
|
-
* <li>
|
|
30
|
-
* <p>
|
|
31
|
-
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-ddb.html#services-dynamodb-eventsourcemapping">
|
|
32
|
-
* Configuring a Dynamo DB stream as an event source</a>
|
|
33
|
-
* </p>
|
|
34
|
-
* </li>
|
|
35
|
-
* <li>
|
|
36
|
-
* <p>
|
|
37
|
-
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-kinesis.html#services-kinesis-eventsourcemapping">
|
|
38
|
-
* Configuring a Kinesis stream as an event source</a>
|
|
39
|
-
* </p>
|
|
40
|
-
* </li>
|
|
41
|
-
* <li>
|
|
42
|
-
* <p>
|
|
43
|
-
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-sqs.html#events-sqs-eventsource"> Configuring an
|
|
44
|
-
* Amazon SQS queue as an event source</a>
|
|
45
|
-
* </p>
|
|
46
|
-
* </li>
|
|
47
|
-
* <li>
|
|
48
|
-
* <p>
|
|
49
|
-
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-mq.html#services-mq-eventsourcemapping">
|
|
50
|
-
* Configuring an MQ broker as an event source</a>
|
|
51
|
-
* </p>
|
|
52
|
-
* </li>
|
|
53
|
-
* <li>
|
|
54
|
-
* <p>
|
|
55
|
-
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/with-msk.html"> Configuring MSK as an event
|
|
56
|
-
* source</a>
|
|
57
|
-
* </p>
|
|
58
|
-
* </li>
|
|
59
|
-
* <li>
|
|
60
|
-
* <p>
|
|
61
|
-
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/kafka-smaa.html"> Configuring Self-Managed Apache Kafka
|
|
62
|
-
* as an event source</a>
|
|
63
|
-
* </p>
|
|
64
|
-
* </li>
|
|
65
|
-
* </ul>
|
|
66
|
-
*
|
|
67
|
-
* <p>The following error handling options are only available for stream sources (DynamoDB and Kinesis):</p>
|
|
68
|
-
* <ul>
|
|
69
|
-
* <li>
|
|
70
|
-
* <p>
|
|
71
|
-
* <code>BisectBatchOnFunctionError</code> - If the function returns an error, split the batch in two and retry.</p>
|
|
72
|
-
* </li>
|
|
73
|
-
* <li>
|
|
74
|
-
* <p>
|
|
75
|
-
* <code>DestinationConfig</code> - Send discarded records to an Amazon SQS queue or Amazon SNS topic.</p>
|
|
76
|
-
* </li>
|
|
77
|
-
* <li>
|
|
78
|
-
* <p>
|
|
79
|
-
* <code>MaximumRecordAgeInSeconds</code> - Discard records older than the specified age. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires</p>
|
|
80
|
-
* </li>
|
|
81
|
-
* <li>
|
|
82
|
-
* <p>
|
|
83
|
-
* <code>MaximumRetryAttempts</code> - Discard records after the specified number of retries. The default value is infinite (-1). When set to infinite (-1), failed records are retried until the record expires.</p>
|
|
84
|
-
* </li>
|
|
85
|
-
* <li>
|
|
86
|
-
* <p>
|
|
87
|
-
* <code>ParallelizationFactor</code> - Process multiple batches from each shard concurrently.</p>
|
|
88
|
-
* </li>
|
|
89
|
-
* </ul>
|
|
90
|
-
* @example
|
|
91
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
92
|
-
* ```javascript
|
|
93
|
-
* import { LambdaClient, CreateEventSourceMappingCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
94
|
-
* // const { LambdaClient, CreateEventSourceMappingCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
95
|
-
* const client = new LambdaClient(config);
|
|
96
|
-
* const command = new CreateEventSourceMappingCommand(input);
|
|
97
|
-
* const response = await client.send(command);
|
|
98
|
-
* ```
|
|
99
|
-
*
|
|
100
|
-
* @see {@link CreateEventSourceMappingCommandInput} for command's `input` shape.
|
|
101
|
-
* @see {@link CreateEventSourceMappingCommandOutput} for command's `response` shape.
|
|
102
|
-
* @see {@link LambdaClientResolvedConfig | config} for command's `input` shape.
|
|
103
|
-
*
|
|
104
|
-
*/
|
|
105
|
-
export class CreateEventSourceMappingCommand extends $Command<
|
|
106
|
-
CreateEventSourceMappingCommandInput,
|
|
107
|
-
CreateEventSourceMappingCommandOutput,
|
|
108
|
-
LambdaClientResolvedConfig
|
|
109
|
-
> {
|
|
110
|
-
// Start section: command_properties
|
|
111
|
-
// End section: command_properties
|
|
112
|
-
|
|
113
|
-
constructor(readonly input: CreateEventSourceMappingCommandInput) {
|
|
114
|
-
// Start section: command_constructor
|
|
115
|
-
super();
|
|
116
|
-
// End section: command_constructor
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
/**
|
|
120
|
-
* @internal
|
|
121
|
-
*/
|
|
122
|
-
resolveMiddleware(
|
|
123
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
124
|
-
configuration: LambdaClientResolvedConfig,
|
|
125
|
-
options?: __HttpHandlerOptions
|
|
126
|
-
): Handler<CreateEventSourceMappingCommandInput, CreateEventSourceMappingCommandOutput> {
|
|
127
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
128
|
-
|
|
129
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
130
|
-
|
|
131
|
-
const { logger } = configuration;
|
|
132
|
-
const clientName = "LambdaClient";
|
|
133
|
-
const commandName = "CreateEventSourceMappingCommand";
|
|
134
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
135
|
-
logger,
|
|
136
|
-
clientName,
|
|
137
|
-
commandName,
|
|
138
|
-
inputFilterSensitiveLog: CreateEventSourceMappingRequest.filterSensitiveLog,
|
|
139
|
-
outputFilterSensitiveLog: EventSourceMappingConfiguration.filterSensitiveLog,
|
|
140
|
-
};
|
|
141
|
-
const { requestHandler } = configuration;
|
|
142
|
-
return stack.resolve(
|
|
143
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
144
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
145
|
-
handlerExecutionContext
|
|
146
|
-
);
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
private serialize(input: CreateEventSourceMappingCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
150
|
-
return serializeAws_restJson1CreateEventSourceMappingCommand(input, context);
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateEventSourceMappingCommandOutput> {
|
|
154
|
-
return deserializeAws_restJson1CreateEventSourceMappingCommand(output, context);
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
// Start section: command_body_extra
|
|
158
|
-
// End section: command_body_extra
|
|
159
|
-
}
|
|
@@ -1,141 +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 { CreateFunctionRequest, FunctionConfiguration } from "../models/models_0";
|
|
16
|
-
import {
|
|
17
|
-
deserializeAws_restJson1CreateFunctionCommand,
|
|
18
|
-
serializeAws_restJson1CreateFunctionCommand,
|
|
19
|
-
} from "../protocols/Aws_restJson1";
|
|
20
|
-
|
|
21
|
-
export interface CreateFunctionCommandInput extends CreateFunctionRequest {}
|
|
22
|
-
export interface CreateFunctionCommandOutput extends FunctionConfiguration, __MetadataBearer {}
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* <p>Creates a Lambda function. To create a function, you need a <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-package.html">deployment package</a> and an <a href="https://docs.aws.amazon.com/lambda/latest/dg/intro-permission-model.html#lambda-intro-execution-role">execution role</a>. The
|
|
26
|
-
* deployment package is a .zip file archive or container image that contains your function code. The execution role grants the function permission to use Amazon Web Services
|
|
27
|
-
* services, such as Amazon CloudWatch Logs for log streaming and X-Ray for request tracing.</p>
|
|
28
|
-
*
|
|
29
|
-
* <p>You set the package type to <code>Image</code> if the deployment package is a
|
|
30
|
-
* <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-images.html">container image</a>. For a container image,
|
|
31
|
-
* the code property must include the URI of a container image in the Amazon ECR registry.
|
|
32
|
-
* You do not need to specify the handler and runtime properties. </p>
|
|
33
|
-
*
|
|
34
|
-
* <p>You set the package type to <code>Zip</code> if the deployment package is a <a href="https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-package.html#gettingstarted-package-zip">.zip file
|
|
35
|
-
* archive</a>. For a .zip file archive, the code property specifies the location of the
|
|
36
|
-
* .zip file. You must also specify the handler and runtime properties. The code in the
|
|
37
|
-
* deployment package must be compatible with the target instruction set architecture of the
|
|
38
|
-
* function (<code>x86-64</code> or <code>arm64</code>). If you do not specify the architecture, the default value is
|
|
39
|
-
* <code>x86-64</code>.</p>
|
|
40
|
-
*
|
|
41
|
-
* <p>When you create a function, Lambda provisions an instance of the function and its supporting resources. If
|
|
42
|
-
* your function connects to a VPC, this process can take a minute or so. During this time, you can't invoke or
|
|
43
|
-
* modify the function. The <code>State</code>, <code>StateReason</code>, and <code>StateReasonCode</code> fields in
|
|
44
|
-
* the response from <a>GetFunctionConfiguration</a> indicate when the function is ready to invoke. For
|
|
45
|
-
* more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/functions-states.html">Function
|
|
46
|
-
* States</a>.</p>
|
|
47
|
-
*
|
|
48
|
-
* <p>A function has an unpublished version, and can have published versions and aliases. The unpublished version
|
|
49
|
-
* changes when you update your function's code and configuration. A published version is a snapshot of your function
|
|
50
|
-
* code and configuration that can't be changed. An alias is a named resource that maps to a version, and can be
|
|
51
|
-
* changed to map to a different version. Use the <code>Publish</code> parameter to create version <code>1</code> of
|
|
52
|
-
* your function from its initial configuration.</p>
|
|
53
|
-
*
|
|
54
|
-
* <p>The other parameters let you configure version-specific and function-level settings. You can modify
|
|
55
|
-
* version-specific settings later with <a>UpdateFunctionConfiguration</a>. Function-level settings apply
|
|
56
|
-
* to both the unpublished and published versions of the function, and include tags (<a>TagResource</a>)
|
|
57
|
-
* and per-function concurrency limits (<a>PutFunctionConcurrency</a>).</p>
|
|
58
|
-
*
|
|
59
|
-
* <p>You can use code signing if your deployment package is a .zip file archive. To enable code signing for this function,
|
|
60
|
-
* specify the ARN of a code-signing configuration. When a user
|
|
61
|
-
* attempts to deploy a code package with <a>UpdateFunctionCode</a>, Lambda checks that the code
|
|
62
|
-
* package has a valid signature from a trusted publisher. The code-signing configuration
|
|
63
|
-
* includes set set of signing profiles, which define the trusted publishers for this function.</p>
|
|
64
|
-
*
|
|
65
|
-
* <p>If another account or an Amazon Web Services service invokes your function, use <a>AddPermission</a> to grant
|
|
66
|
-
* permission by creating a resource-based IAM policy. You can grant permissions at the function level, on a version,
|
|
67
|
-
* or on an alias.</p>
|
|
68
|
-
*
|
|
69
|
-
* <p>To invoke your function directly, use <a>Invoke</a>. To invoke your function in response to events
|
|
70
|
-
* in other Amazon Web Services services, create an event source mapping (<a>CreateEventSourceMapping</a>), or configure a
|
|
71
|
-
* function trigger in the other service. For more information, see <a href="https://docs.aws.amazon.com/lambda/latest/dg/lambda-invocation.html">Invoking Functions</a>.</p>
|
|
72
|
-
* @example
|
|
73
|
-
* Use a bare-bones client and the command you need to make an API call.
|
|
74
|
-
* ```javascript
|
|
75
|
-
* import { LambdaClient, CreateFunctionCommand } from "@aws-sdk/client-lambda"; // ES Modules import
|
|
76
|
-
* // const { LambdaClient, CreateFunctionCommand } = require("@aws-sdk/client-lambda"); // CommonJS import
|
|
77
|
-
* const client = new LambdaClient(config);
|
|
78
|
-
* const command = new CreateFunctionCommand(input);
|
|
79
|
-
* const response = await client.send(command);
|
|
80
|
-
* ```
|
|
81
|
-
*
|
|
82
|
-
* @see {@link CreateFunctionCommandInput} for command's `input` shape.
|
|
83
|
-
* @see {@link CreateFunctionCommandOutput} for command's `response` shape.
|
|
84
|
-
* @see {@link LambdaClientResolvedConfig | config} for command's `input` shape.
|
|
85
|
-
*
|
|
86
|
-
*/
|
|
87
|
-
export class CreateFunctionCommand extends $Command<
|
|
88
|
-
CreateFunctionCommandInput,
|
|
89
|
-
CreateFunctionCommandOutput,
|
|
90
|
-
LambdaClientResolvedConfig
|
|
91
|
-
> {
|
|
92
|
-
// Start section: command_properties
|
|
93
|
-
// End section: command_properties
|
|
94
|
-
|
|
95
|
-
constructor(readonly input: CreateFunctionCommandInput) {
|
|
96
|
-
// Start section: command_constructor
|
|
97
|
-
super();
|
|
98
|
-
// End section: command_constructor
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
/**
|
|
102
|
-
* @internal
|
|
103
|
-
*/
|
|
104
|
-
resolveMiddleware(
|
|
105
|
-
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
106
|
-
configuration: LambdaClientResolvedConfig,
|
|
107
|
-
options?: __HttpHandlerOptions
|
|
108
|
-
): Handler<CreateFunctionCommandInput, CreateFunctionCommandOutput> {
|
|
109
|
-
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
110
|
-
|
|
111
|
-
const stack = clientStack.concat(this.middlewareStack);
|
|
112
|
-
|
|
113
|
-
const { logger } = configuration;
|
|
114
|
-
const clientName = "LambdaClient";
|
|
115
|
-
const commandName = "CreateFunctionCommand";
|
|
116
|
-
const handlerExecutionContext: HandlerExecutionContext = {
|
|
117
|
-
logger,
|
|
118
|
-
clientName,
|
|
119
|
-
commandName,
|
|
120
|
-
inputFilterSensitiveLog: CreateFunctionRequest.filterSensitiveLog,
|
|
121
|
-
outputFilterSensitiveLog: FunctionConfiguration.filterSensitiveLog,
|
|
122
|
-
};
|
|
123
|
-
const { requestHandler } = configuration;
|
|
124
|
-
return stack.resolve(
|
|
125
|
-
(request: FinalizeHandlerArguments<any>) =>
|
|
126
|
-
requestHandler.handle(request.request as __HttpRequest, options || {}),
|
|
127
|
-
handlerExecutionContext
|
|
128
|
-
);
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
private serialize(input: CreateFunctionCommandInput, context: __SerdeContext): Promise<__HttpRequest> {
|
|
132
|
-
return serializeAws_restJson1CreateFunctionCommand(input, context);
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
private deserialize(output: __HttpResponse, context: __SerdeContext): Promise<CreateFunctionCommandOutput> {
|
|
136
|
-
return deserializeAws_restJson1CreateFunctionCommand(output, context);
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
// Start section: command_body_extra
|
|
140
|
-
// End section: command_body_extra
|
|
141
|
-
}
|